llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpjn0qx8v5.c'
source_filename = "/tmp/tmpjn0qx8v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_decimal_n(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
%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 i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %8, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %8, align 4
store i32 1, ptr %10, align 4
br label %17
17: ; preds = %14, %2
%18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
store ptr %18, ptr %6, align 8
%19 = load i32, ptr %4, align 4
store i32 %19, ptr %9, align 4
br label %20
20: ; preds = %23, %17
%21 = load i32, ptr %9, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %20
%24 = load i32, ptr %8, align 4
%25 = srem i32 %24, 10
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 48, %26
%28 = trunc i32 %27 to i8
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %6, align 8
store i8 %28, ptr %29, align 1
%31 = load i32, ptr %8, align 4
%32 = sdiv i32 %31, 10
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %9, align 4
br label %20, !llvm.loop !6
35: ; preds = %20
br label %36
36: ; preds = %40, %35
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%39 = icmp ugt ptr %37, %38
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 -1
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @putc(i8 noundef signext %44)
br label %36, !llvm.loop !8
46: ; preds = %36
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjn0qx8v5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_decimal_n(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
%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 i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %8, align 4
%16 = sub nsw i32 0, %15
store i32 %16, ptr %8, align 4
store i32 1, ptr %10, align 4
br label %17
17: ; preds = %14, %2
%18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
store ptr %18, ptr %6, align 8
%19 = load i32, ptr %4, align 4
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %.lr.ph, label %36
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %22
%23 = load i32, ptr %8, align 4
%24 = srem i32 %23, 10
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 48, %25
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
store i8 %27, ptr %28, align 1
%30 = load i32, ptr %8, align 4
%31 = sdiv i32 %30, 10
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %36
36: ; preds = %._crit_edge, %17
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%39 = icmp ugt ptr %37, %38
br i1 %39, label %.lr.ph2, label %48
.lr.ph2: ; preds = %36
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 -1
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @putc(i8 noundef signext %44)
%46 = load ptr, ptr %6, align 8
%47 = icmp ugt ptr %46, %38
br i1 %47, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %48
48: ; preds = %._crit_edge3, %36
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp04f_75sg.c'
source_filename = "/tmp/tmp04f_75sg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(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 i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %8, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 10
br i1 %16, label %17, label %24
17: ; preds = %7
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %18, i64 %22
store i8 0, ptr %23, align 1
br label %24
24: ; preds = %17, %7, %1
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
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/tmp04f_75sg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(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 i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %8, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 10
br i1 %16, label %17, label %24
17: ; preds = %7
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %2, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %18, i64 %22
store i8 0, ptr %23, align 1
br label %24
24: ; preds = %17, %7, %1
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
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/tmp9qom779a.c'
source_filename = "/tmp/tmp9qom779a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @open_netlink()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr %6, align 4
ret i32 %11
12: ; preds = %2
br label %13
13: ; preds = %12, %13
%14 = load i32, ptr %6, align 4
%15 = call i32 @read_event(i32 noundef %14)
br label %13
}
declare i32 @open_netlink(...) #1
declare i32 @read_event(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/tmp9qom779a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @open_netlink()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr %6, align 4
ret i32 %11
12: ; preds = %2
br label %13
13: ; preds = %13, %12
%14 = load i32, ptr %6, align 4
%15 = call i32 @read_event(i32 noundef %14)
br label %13
}
declare i32 @open_netlink(...) #1
declare i32 @read_event(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/tmpoejoi38w.c'
source_filename = "/tmp/tmpoejoi38w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @testScanAndShoot()
%2 = call i32 (...) @testDriveAndCycle()
%3 = call i32 (...) @testRobotsCollision()
ret i32 0
}
declare i32 @testScanAndShoot(...) #1
declare i32 @testDriveAndCycle(...) #1
declare i32 @testRobotsCollision(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoejoi38w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @testScanAndShoot()
%2 = call i32 (...) @testDriveAndCycle()
%3 = call i32 (...) @testRobotsCollision()
ret i32 0
}
declare i32 @testScanAndShoot(...) #1
declare i32 @testDriveAndCycle(...) #1
declare i32 @testRobotsCollision(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9znkpm1t.c'
source_filename = "/tmp/tmp9znkpm1t.c"
target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ModemStarted(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i32 @access(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @access(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/tmp9znkpm1t.c"
target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ModemStarted(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @F_OK, align 4
%5 = call i32 @access(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @access(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/tmp41eh6euw.c'
source_filename = "/tmp/tmp41eh6euw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"out of memory allocating %d bytes.\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"out of memory.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @out_of_mem(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @fatal(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5, %1
%9 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1)
ret void
}
declare i32 @fatal(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp41eh6euw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"out of memory allocating %d bytes.\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"out of memory.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @out_of_mem(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @fatal(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5, %1
%9 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1)
ret void
}
declare i32 @fatal(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiye70pz_.c'
source_filename = "/tmp/tmpiye70pz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @func_t1mskc64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @__t1mskc_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @__t1mskc_u64(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/tmpiye70pz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @func_t1mskc64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i64 @__t1mskc_u64(i64 noundef %3)
ret i64 %4
}
declare i64 @__t1mskc_u64(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/tmpcmaavh8_.c'
source_filename = "/tmp/tmpcmaavh8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [23 x i32], align 16
%3 = alloca [23 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %16, %0
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 23
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 %11
store i32 0, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %14
store i32 0, ptr %15, align 4
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %6, !llvm.loop !6
19: ; preds = %6
br label %20
20: ; preds = %28, %19
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
br label %22
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 20
br label %28
28: ; preds = %25, %22
%29 = phi i1 [ true, %22 ], [ %27, %25 ]
br i1 %29, label %20, label %30, !llvm.loop !8
30: ; preds = %28
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %40, %30
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %37
%39 = call i32 @scanf(ptr noundef @.str, ptr noundef %38)
br label %40
40: ; preds = %35
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %31, !llvm.loop !9
43: ; preds = %31
%44 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 0
%45 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 0
%46 = load i32, ptr %4, align 4
%47 = call i32 @next_generation(ptr noundef %44, ptr noundef %45, i32 noundef %46)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @next_generation(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcmaavh8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [23 x i32], align 16
%3 = alloca [23 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 23
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %15
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 %10
store i32 0, ptr %11, align 4
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %13
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %8
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 23
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
br label %21
21: ; preds = %29, %20
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
br label %23
23: ; preds = %21
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %27, 20
br label %29
29: ; preds = %26, %23
%30 = phi i1 [ true, %23 ], [ %28, %26 ]
br i1 %30, label %21, label %31, !llvm.loop !8
31: ; preds = %29
store i32 0, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %46
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %40
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %37
%39 = call i32 @scanf(ptr noundef @.str, ptr noundef %38)
br label %40
40: ; preds = %35
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %35, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %40
br label %46
46: ; preds = %._crit_edge3, %31
%47 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 0
%48 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 0
%49 = load i32, ptr %4, align 4
%50 = call i32 @next_generation(ptr noundef %47, ptr noundef %48, i32 noundef %49)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @next_generation(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}
|
; ModuleID = '/tmp/tmpsrtly2yw.c'
source_filename = "/tmp/tmpsrtly2yw.c"
target datalayout = "e-m:e-p270: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/tmpsrtly2yw.c"
target datalayout = "e-m:e-p270: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/tmpihfcq_22.c'
source_filename = "/tmp/tmpihfcq_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpihfcq_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4j8dz927.c'
source_filename = "/tmp/tmp4j8dz927.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bleah!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @peasoup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %4, align 4
%7 = icmp ne i32 %5, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = call i32 @puts(ptr noundef @.str)
br label %3, !llvm.loop !6
10: ; preds = %3
%11 = load ptr, ptr %2, align 8
store i32 666, ptr %11, align 4
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4j8dz927.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bleah!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @peasoup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %3, align 4
%6 = icmp ne i32 %4, 0
br i1 %6, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = call i32 @puts(ptr noundef @.str)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %9, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %13
13: ; preds = %._crit_edge, %1
%14 = load ptr, ptr %2, align 8
store i32 666, ptr %14, align 4
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps94jvb00.c'
source_filename = "/tmp/tmps94jvb00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6)
ret float %7
}
declare float @strtod(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/tmps94jvb00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6)
ret float %7
}
declare float @strtod(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/tmpm00ys5_p.c'
source_filename = "/tmp/tmpm00ys5_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fftCosInit(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = shl i64 1, %7
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
store float 1.000000e+00, ptr %10, align 4
store i64 1, ptr %6, align 8
br label %11
11: ; preds = %27, %2
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %5, align 8
%14 = udiv i64 %13, 4
%15 = icmp ult i64 %12, %14
br i1 %15, label %16, label %30
16: ; preds = %11
%17 = load i64, ptr %6, align 8
%18 = uitofp i64 %17 to double
%19 = fmul double 0x401921FB54442D18, %18
%20 = load i64, ptr %5, align 8
%21 = uitofp i64 %20 to double
%22 = fdiv double %19, %21
%23 = call float @cos(double noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds float, ptr %24, i64 %25
store float %23, ptr %26, align 4
br label %27
27: ; preds = %16
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %6, align 8
br label %11, !llvm.loop !6
30: ; preds = %11
%31 = load ptr, ptr %4, align 8
%32 = load i64, ptr %5, align 8
%33 = udiv i64 %32, 4
%34 = getelementptr inbounds float, ptr %31, i64 %33
store float 0.000000e+00, ptr %34, align 4
ret void
}
declare float @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm00ys5_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"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fftCosInit(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = shl i64 1, %7
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
store float 1.000000e+00, ptr %10, align 4
store i64 1, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = load i64, ptr %5, align 8
%13 = udiv i64 %12, 4
%14 = icmp ult i64 %11, %13
br i1 %14, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %26
%16 = load i64, ptr %6, align 8
%17 = uitofp i64 %16 to double
%18 = fmul double 0x401921FB54442D18, %17
%19 = load i64, ptr %5, align 8
%20 = uitofp i64 %19 to double
%21 = fdiv double %18, %20
%22 = call float @cos(double noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds float, ptr %23, i64 %24
store float %22, ptr %25, align 4
br label %26
26: ; preds = %15
%27 = load i64, ptr %6, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %6, align 8
%29 = load i64, ptr %6, align 8
%30 = load i64, ptr %5, align 8
%31 = udiv i64 %30, 4
%32 = icmp ult i64 %29, %31
br i1 %32, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %2
%34 = load ptr, ptr %4, align 8
%35 = load i64, ptr %5, align 8
%36 = udiv i64 %35, 4
%37 = getelementptr inbounds float, ptr %34, i64 %36
store float 0.000000e+00, ptr %37, align 4
ret void
}
declare float @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp14hkf4_s.c'
source_filename = "/tmp/tmp14hkf4_s.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Program timed out after %d seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigalrm_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef 0)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp14hkf4_s.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Program timed out after %d seconds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigalrm_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef 0)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphjt6wqd3.c'
source_filename = "/tmp/tmphjt6wqd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler17() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjt6wqd3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler17() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkuljkz2b.c'
source_filename = "/tmp/tmpkuljkz2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @do_cr(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 = call i32 @write_line_mud(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare i32 @write_line_mud(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/tmpkuljkz2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @do_cr(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 = call i32 @write_line_mud(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare i32 @write_line_mud(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/tmppvarpn6m.c'
source_filename = "/tmp/tmppvarpn6m.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"%s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".tmp\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"VERSION_PATCH\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [24 x i8] c"VERSION_PATCH %d => %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca [1024 x i8], align 16
%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 ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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 null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store ptr null, ptr %11, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %128
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1)
store ptr %29, ptr %8, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %128
33: ; preds = %25
%34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcpy(ptr noundef %34, ptr noundef %37)
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3)
%41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.4)
store ptr %42, ptr %9, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %48
44: ; preds = %33
%45 = call i32 @perror(ptr noundef @.str.2)
%46 = load ptr, ptr %8, align 8
%47 = call i32 @fclose(ptr noundef %46)
store i32 1, ptr %3, align 4
br label %128
48: ; preds = %33
store i32 0, ptr %12, align 4
br label %49
49: ; preds = %77, %48
%50 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%51 = load ptr, ptr %8, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 246, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %78
54: ; preds = %49
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%58 = call ptr @strtok(ptr noundef %57, ptr noundef @.str.5)
store ptr %58, ptr %13, align 8
br label %59
59: ; preds = %75, %54
%60 = load ptr, ptr %13, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %77
62: ; preds = %59
%63 = load i32, ptr %12, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %62
%66 = call ptr @malloc(i32 noundef 9)
store ptr %66, ptr %11, align 8
%67 = load ptr, ptr %11, align 8
%68 = load ptr, ptr %13, align 8
%69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68)
br label %79
70: ; preds = %62
%71 = load ptr, ptr %13, align 8
%72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.6)
%73 = icmp ne i32 %72, 0
br i1 %73, label %75, label %74
74: ; preds = %70
store i32 1, ptr %12, align 4
br label %75
75: ; preds = %74, %70
%76 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
store ptr %76, ptr %13, align 8
br label %59, !llvm.loop !6
77: ; preds = %59
br label %49, !llvm.loop !8
78: ; preds = %49
br label %79
79: ; preds = %78, %65
%80 = load ptr, ptr %8, align 8
%81 = call i32 @rewind(ptr noundef %80)
%82 = load ptr, ptr %11, align 8
%83 = call i32 @atoi(ptr noundef %82)
store i32 %83, ptr %14, align 4
%84 = load i32, ptr %14, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %14, align 4
%86 = load i32, ptr @stdout, align 4
%87 = load i32, ptr %14, align 4
%88 = sub nsw i32 %87, 1
%89 = load i32, ptr %14, align 4
%90 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.7, i32 noundef %88, i32 noundef %89)
store i32 0, ptr %15, align 4
br label %91
91: ; preds = %108, %79
%92 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%93 = load ptr, ptr %8, align 8
%94 = call i64 @fgets(ptr noundef %92, i32 noundef 246, ptr noundef %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %112
96: ; preds = %91
%97 = load i32, ptr %15, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %15, align 4
%99 = load i32, ptr %10, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %108
101: ; preds = %96
%102 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%103 = load ptr, ptr %11, align 8
%104 = call ptr @strstr(ptr noundef %102, ptr noundef %103)
store ptr %104, ptr %16, align 8
%105 = load ptr, ptr %16, align 8
%106 = load i32, ptr %14, align 4
%107 = call i32 @sprintf(ptr noundef %105, ptr noundef @.str.8, i32 noundef %106)
br label %108
108: ; preds = %101, %96
%109 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%110 = load ptr, ptr %9, align 8
%111 = call i32 @fputs(ptr noundef %109, ptr noundef %110)
br label %91, !llvm.loop !9
112: ; preds = %91
%113 = load ptr, ptr %11, align 8
%114 = call i32 @free(ptr noundef %113)
%115 = load ptr, ptr %8, align 8
%116 = call i32 @fclose(ptr noundef %115)
%117 = load ptr, ptr %9, align 8
%118 = call i32 @fclose(ptr noundef %117)
%119 = load ptr, ptr %5, align 8
%120 = getelementptr inbounds ptr, ptr %119, i64 1
%121 = load ptr, ptr %120, align 8
%122 = call i32 @unlink(ptr noundef %121)
%123 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%124 = load ptr, ptr %5, align 8
%125 = getelementptr inbounds ptr, ptr %124, i64 1
%126 = load ptr, ptr %125, align 8
%127 = call i32 @rename(ptr noundef %123, ptr noundef %126)
store i32 0, ptr %3, align 4
br label %128
128: ; preds = %112, %44, %31, %19
%129 = load i32, ptr %3, align 4
ret i32 %129
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvarpn6m.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"%s [FILE]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".tmp\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"VERSION_PATCH\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [24 x i8] c"VERSION_PATCH %d => %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca [1024 x i8], align 16
%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 ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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 null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
store ptr null, ptr %11, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %2
%20 = load i32, ptr @stderr, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23)
store i32 1, ptr %3, align 4
br label %133
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1)
store ptr %29, ptr %8, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %133
33: ; preds = %25
%34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcpy(ptr noundef %34, ptr noundef %37)
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3)
%41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.4)
store ptr %42, ptr %9, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %48
44: ; preds = %33
%45 = call i32 @perror(ptr noundef @.str.2)
%46 = load ptr, ptr %8, align 8
%47 = call i32 @fclose(ptr noundef %46)
store i32 1, ptr %3, align 4
br label %133
48: ; preds = %33
store i32 0, ptr %12, align 4
%49 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%50 = load ptr, ptr %8, align 8
%51 = call i64 @fgets(ptr noundef %49, i32 noundef 246, ptr noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %.lr.ph2, label %81
.lr.ph2: ; preds = %48
br label %53
53: ; preds = %.lr.ph2, %77
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%57 = call ptr @strtok(ptr noundef %56, ptr noundef @.str.5)
store ptr %57, ptr %13, align 8
%58 = load ptr, ptr %13, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %.lr.ph, label %77
.lr.ph: ; preds = %53
br label %60
60: ; preds = %.lr.ph, %73
%61 = load i32, ptr %12, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %68
63: ; preds = %60
%64 = call ptr @malloc(i32 noundef 9)
store ptr %64, ptr %11, align 8
%65 = load ptr, ptr %11, align 8
%66 = load ptr, ptr %13, align 8
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
br label %82
68: ; preds = %60
%69 = load ptr, ptr %13, align 8
%70 = call i32 @strcmp(ptr noundef %69, ptr noundef @.str.6)
%71 = icmp ne i32 %70, 0
br i1 %71, label %73, label %72
72: ; preds = %68
store i32 1, ptr %12, align 4
br label %73
73: ; preds = %72, %68
%74 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5)
store ptr %74, ptr %13, align 8
%75 = load ptr, ptr %13, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %60, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %77
77: ; preds = %._crit_edge, %53
%78 = load ptr, ptr %8, align 8
%79 = call i64 @fgets(ptr noundef %49, i32 noundef 246, ptr noundef %78)
%80 = icmp ne i64 %79, 0
br i1 %80, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %81
81: ; preds = %._crit_edge3, %48
br label %82
82: ; preds = %81, %63
%83 = load ptr, ptr %8, align 8
%84 = call i32 @rewind(ptr noundef %83)
%85 = load ptr, ptr %11, align 8
%86 = call i32 @atoi(ptr noundef %85)
store i32 %86, ptr %14, align 4
%87 = load i32, ptr %14, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %14, align 4
%89 = load i32, ptr @stdout, align 4
%90 = load i32, ptr %14, align 4
%91 = sub nsw i32 %90, 1
%92 = load i32, ptr %14, align 4
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.7, i32 noundef %91, i32 noundef %92)
store i32 0, ptr %15, align 4
%94 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%95 = load ptr, ptr %8, align 8
%96 = call i64 @fgets(ptr noundef %94, i32 noundef 246, ptr noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %.lr.ph5, label %117
.lr.ph5: ; preds = %82
br label %98
98: ; preds = %.lr.ph5, %110
%99 = load i32, ptr %15, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %15, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp eq i32 %100, %101
br i1 %102, label %103, label %110
103: ; preds = %98
%104 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%105 = load ptr, ptr %11, align 8
%106 = call ptr @strstr(ptr noundef %104, ptr noundef %105)
store ptr %106, ptr %16, align 8
%107 = load ptr, ptr %16, align 8
%108 = load i32, ptr %14, align 4
%109 = call i32 @sprintf(ptr noundef %107, ptr noundef @.str.8, i32 noundef %108)
br label %110
110: ; preds = %103, %98
%111 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%112 = load ptr, ptr %9, align 8
%113 = call i32 @fputs(ptr noundef %111, ptr noundef %112)
%114 = load ptr, ptr %8, align 8
%115 = call i64 @fgets(ptr noundef %94, i32 noundef 246, ptr noundef %114)
%116 = icmp ne i64 %115, 0
br i1 %116, label %98, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %110
br label %117
117: ; preds = %._crit_edge6, %82
%118 = load ptr, ptr %11, align 8
%119 = call i32 @free(ptr noundef %118)
%120 = load ptr, ptr %8, align 8
%121 = call i32 @fclose(ptr noundef %120)
%122 = load ptr, ptr %9, align 8
%123 = call i32 @fclose(ptr noundef %122)
%124 = load ptr, ptr %5, align 8
%125 = getelementptr inbounds ptr, ptr %124, i64 1
%126 = load ptr, ptr %125, align 8
%127 = call i32 @unlink(ptr noundef %126)
%128 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%129 = load ptr, ptr %5, align 8
%130 = getelementptr inbounds ptr, ptr %129, i64 1
%131 = load ptr, ptr %130, align 8
%132 = call i32 @rename(ptr noundef %128, ptr noundef %131)
store i32 0, ptr %3, align 4
br label %133
133: ; preds = %117, %44, %31, %19
%134 = load i32, ptr %3, align 4
ret i32 %134
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fputs(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i32 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdw6w1c6z.c'
source_filename = "/tmp/tmpdw6w1c6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H:%M:%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_Locale_t_fmt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw6w1c6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H:%M:%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_Locale_t_fmt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr @.str
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsf8ubdru.c'
source_filename = "/tmp/tmpsf8ubdru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locale\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @br_find_locale_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @br_find_data_dir(ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %22
15: ; preds = %9
store ptr null, ptr %2, align 8
br label %22
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = call ptr @br_build_path(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %16, %15, %12
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @br_find_data_dir(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @br_build_path(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsf8ubdru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locale\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @br_find_locale_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @br_find_data_dir(ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %22
15: ; preds = %9
store ptr null, ptr %2, align 8
br label %22
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = call ptr @br_build_path(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %16, %15, %12
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @br_find_data_dir(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @br_build_path(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"}
|
; ModuleID = '/tmp/tmpi1nkwskc.c'
source_filename = "/tmp/tmpi1nkwskc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_rle_binary_format() #0 {
%1 = call i32 (...) @test_rle_binary_format_int8()
%2 = call i32 (...) @test_rle_binary_format_int16()
%3 = call i32 (...) @test_rle_binary_format_int32()
%4 = call i32 (...) @test_rle_binary_format_int64()
%5 = call i32 (...) @test_rle_binary_format_uint8()
%6 = call i32 (...) @test_rle_binary_format_uint16()
%7 = call i32 (...) @test_rle_binary_format_uint32()
%8 = call i32 (...) @test_rle_binary_format_uint64()
ret void
}
declare i32 @test_rle_binary_format_int8(...) #1
declare i32 @test_rle_binary_format_int16(...) #1
declare i32 @test_rle_binary_format_int32(...) #1
declare i32 @test_rle_binary_format_int64(...) #1
declare i32 @test_rle_binary_format_uint8(...) #1
declare i32 @test_rle_binary_format_uint16(...) #1
declare i32 @test_rle_binary_format_uint32(...) #1
declare i32 @test_rle_binary_format_uint64(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1nkwskc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_rle_binary_format() #0 {
%1 = call i32 (...) @test_rle_binary_format_int8()
%2 = call i32 (...) @test_rle_binary_format_int16()
%3 = call i32 (...) @test_rle_binary_format_int32()
%4 = call i32 (...) @test_rle_binary_format_int64()
%5 = call i32 (...) @test_rle_binary_format_uint8()
%6 = call i32 (...) @test_rle_binary_format_uint16()
%7 = call i32 (...) @test_rle_binary_format_uint32()
%8 = call i32 (...) @test_rle_binary_format_uint64()
ret void
}
declare i32 @test_rle_binary_format_int8(...) #1
declare i32 @test_rle_binary_format_int16(...) #1
declare i32 @test_rle_binary_format_int32(...) #1
declare i32 @test_rle_binary_format_int64(...) #1
declare i32 @test_rle_binary_format_uint8(...) #1
declare i32 @test_rle_binary_format_uint16(...) #1
declare i32 @test_rle_binary_format_uint32(...) #1
declare i32 @test_rle_binary_format_uint64(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8gunugup.c'
source_filename = "/tmp/tmp8gunugup.c"
target datalayout = "e-m:e-p270: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/tmp8gunugup.c"
target datalayout = "e-m:e-p270: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/tmpqk1bwek3.c'
source_filename = "/tmp/tmpqk1bwek3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_can_not_be_propagated_fully2(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @i_can_not_be_propagated_fully(ptr noundef %5)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %42, %1
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 50
br i1 %9, label %10, label %45
10: ; preds = %7
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 @t(i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %23, 1
%25 = call i32 @t(i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4
%32 = add nsw i32 %31, 1
%33 = call i32 @t(i32 noundef %32)
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 3
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, 1
%41 = call i32 @t(i32 noundef %40)
br label %42
42: ; preds = %10
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %7, !llvm.loop !6
45: ; preds = %7
%46 = load ptr, ptr %3, align 8
%47 = call i32 @i_can_not_be_propagated_fully(ptr noundef %46)
store i32 0, ptr %4, align 4
br label %48
48: ; preds = %83, %45
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 50
br i1 %50, label %51, label %86
51: ; preds = %48
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %56, 2
%58 = call i32 @t(i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %59, i64 %62
%64 = load i32, ptr %63, align 4
%65 = add nsw i32 %64, 2
%66 = call i32 @t(i32 noundef %65)
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 2
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %67, i64 %70
%72 = load i32, ptr %71, align 4
%73 = add nsw i32 %72, 2
%74 = call i32 @t(i32 noundef %73)
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 3
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %75, i64 %78
%80 = load i32, ptr %79, align 4
%81 = add nsw i32 %80, 2
%82 = call i32 @t(i32 noundef %81)
br label %83
83: ; preds = %51
%84 = load i32, ptr %4, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %4, align 4
br label %48, !llvm.loop !8
86: ; preds = %48
%87 = load ptr, ptr %3, align 8
%88 = call i32 @i_can_not_be_propagated_fully(ptr noundef %87)
%89 = load i32, ptr %2, align 4
ret i32 %89
}
declare i32 @i_can_not_be_propagated_fully(ptr noundef) #1
declare i32 @t(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/tmpqk1bwek3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_can_not_be_propagated_fully2(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @i_can_not_be_propagated_fully(ptr noundef %5)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 50
br i1 %8, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %41
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 @t(i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 @t(i32 noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = add nsw i32 %30, 1
%32 = call i32 @t(i32 noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 3
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %33, i64 %36
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %38, 1
%40 = call i32 @t(i32 noundef %39)
br label %41
41: ; preds = %9
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 50
br i1 %45, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %1
%47 = load ptr, ptr %3, align 8
%48 = call i32 @i_can_not_be_propagated_fully(ptr noundef %47)
store i32 0, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %49, 50
br i1 %50, label %.lr.ph2, label %88
.lr.ph2: ; preds = %46
br label %51
51: ; preds = %.lr.ph2, %83
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = add nsw i32 %56, 2
%58 = call i32 @t(i32 noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %59, i64 %62
%64 = load i32, ptr %63, align 4
%65 = add nsw i32 %64, 2
%66 = call i32 @t(i32 noundef %65)
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 2
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %67, i64 %70
%72 = load i32, ptr %71, align 4
%73 = add nsw i32 %72, 2
%74 = call i32 @t(i32 noundef %73)
%75 = load ptr, ptr %3, align 8
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 3
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %75, i64 %78
%80 = load i32, ptr %79, align 4
%81 = add nsw i32 %80, 2
%82 = call i32 @t(i32 noundef %81)
br label %83
83: ; preds = %51
%84 = load i32, ptr %4, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %4, align 4
%86 = load i32, ptr %4, align 4
%87 = icmp slt i32 %86, 50
br i1 %87, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %88
88: ; preds = %._crit_edge3, %46
%89 = load ptr, ptr %3, align 8
%90 = call i32 @i_can_not_be_propagated_fully(ptr noundef %89)
%91 = load i32, ptr %2, align 4
ret i32 %91
}
declare i32 @i_can_not_be_propagated_fully(ptr noundef) #1
declare i32 @t(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/tmpbzbum3ib.c'
source_filename = "/tmp/tmpbzbum3ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @format_int(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 0
%14 = zext i1 %13 to i32
store i32 %14, ptr %9, align 4
store i32 0, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %3
store i32 0, ptr %4, align 4
br label %71
18: ; preds = %3
%19 = load i32, ptr %5, align 4
%20 = call i32 @absi(i32 noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %9, align 4
%23 = sub nsw i32 %21, %22
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %7, align 4
br label %25
25: ; preds = %46, %18
%26 = load i32, ptr %5, align 4
%27 = srem i32 %26, 10
store i32 %27, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = trunc i32 %28 to i8
%30 = sext i8 %29 to i32
%31 = add nsw i32 48, %30
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %6, align 8
store i8 %32, ptr %33, align 1
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
%38 = load i32, ptr %5, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %5, align 4
br label %40
40: ; preds = %25
%41 = load i32, ptr %7, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %44, 0
br label %46
46: ; preds = %43, %40
%47 = phi i1 [ false, %40 ], [ %45, %43 ]
br i1 %47, label %25, label %48, !llvm.loop !6
48: ; preds = %46
%49 = load i32, ptr %9, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %48
%52 = load ptr, ptr %6, align 8
store i8 45, ptr %52, align 1
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %6, align 8
br label %55
55: ; preds = %51, %48
%56 = load ptr, ptr %6, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %6, align 8
%59 = load ptr, ptr %8, align 8
%60 = ptrtoint ptr %58 to i64
%61 = ptrtoint ptr %59 to i64
%62 = sub i64 %60, %61
%63 = trunc i64 %62 to i32
%64 = call i32 @strrev(ptr noundef %57, i32 noundef %63)
%65 = load ptr, ptr %6, align 8
%66 = load ptr, ptr %8, align 8
%67 = ptrtoint ptr %65 to i64
%68 = ptrtoint ptr %66 to i64
%69 = sub i64 %67, %68
%70 = trunc i64 %69 to i32
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %55, %17
%72 = load i32, ptr %4, align 4
ret i32 %72
}
declare i32 @absi(i32 noundef) #1
declare i32 @strrev(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/tmpbzbum3ib.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @format_int(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 0
%14 = zext i1 %13 to i32
store i32 %14, ptr %9, align 4
store i32 0, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %3
store i32 0, ptr %4, align 4
br label %71
18: ; preds = %3
%19 = load i32, ptr %5, align 4
%20 = call i32 @absi(i32 noundef %19)
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %9, align 4
%23 = sub nsw i32 %21, %22
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %7, align 4
br label %25
25: ; preds = %46, %18
%26 = load i32, ptr %5, align 4
%27 = srem i32 %26, 10
store i32 %27, ptr %10, align 4
%28 = load i32, ptr %10, align 4
%29 = trunc i32 %28 to i8
%30 = sext i8 %29 to i32
%31 = add nsw i32 48, %30
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %6, align 8
store i8 %32, ptr %33, align 1
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
%38 = load i32, ptr %5, align 4
%39 = sdiv i32 %38, 10
store i32 %39, ptr %5, align 4
br label %40
40: ; preds = %25
%41 = load i32, ptr %7, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load i32, ptr %5, align 4
%45 = icmp sgt i32 %44, 0
br label %46
46: ; preds = %43, %40
%47 = phi i1 [ false, %40 ], [ %45, %43 ]
br i1 %47, label %25, label %48, !llvm.loop !6
48: ; preds = %46
%49 = load i32, ptr %9, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %48
%52 = load ptr, ptr %6, align 8
store i8 45, ptr %52, align 1
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %6, align 8
br label %55
55: ; preds = %51, %48
%56 = load ptr, ptr %6, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %6, align 8
%59 = load ptr, ptr %8, align 8
%60 = ptrtoint ptr %58 to i64
%61 = ptrtoint ptr %59 to i64
%62 = sub i64 %60, %61
%63 = trunc i64 %62 to i32
%64 = call i32 @strrev(ptr noundef %57, i32 noundef %63)
%65 = load ptr, ptr %6, align 8
%66 = load ptr, ptr %8, align 8
%67 = ptrtoint ptr %65 to i64
%68 = ptrtoint ptr %66 to i64
%69 = sub i64 %67, %68
%70 = trunc i64 %69 to i32
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %55, %17
%72 = load i32, ptr %4, align 4
ret i32 %72
}
declare i32 @absi(i32 noundef) #1
declare i32 @strrev(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/tmpi13o_luh.c'
source_filename = "/tmp/tmpi13o_luh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 2, ptr %1, align 4
%2 = call i64 (...) @nondet_bool()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = load i32, ptr %1, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %1, align 4
br label %7
7: ; preds = %4, %0
%8 = load i32, ptr %1, align 4
%9 = sdiv i32 %8, 2
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp eq i32 %10, 1
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
ret void
}
declare i64 @nondet_bool(...) #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/tmpi13o_luh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 2, ptr %1, align 4
%2 = call i64 (...) @nondet_bool()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = load i32, ptr %1, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %1, align 4
br label %7
7: ; preds = %4, %0
%8 = load i32, ptr %1, align 4
%9 = sdiv i32 %8, 2
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp eq i32 %10, 1
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
ret void
}
declare i64 @nondet_bool(...) #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/tmpfj2ca4k1.c'
source_filename = "/tmp/tmpfj2ca4k1.c"
target datalayout = "e-m:e-p270: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/tmpfj2ca4k1.c"
target datalayout = "e-m:e-p270: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/tmpfq9f0i_7.c'
source_filename = "/tmp/tmpfq9f0i_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Inside [usage]\0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"Usage: hcompare -b <Buffer> -f <File> -d <Directory> [-r] [-k] [-v <Verbosity>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c" -b <Buffer> : Buffer Size. Default is (5 MB)\0A\00", align 1
@.str.4 = private unnamed_addr constant [85 x i8] c" -f <File> : File name to be generated or read in. (Example: /fs/mmc1/ref.txt)\0A\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c" -d <Directory> : Directory to walk and generate MD5s for (Example: /fs/mmc1)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -r : If set, will execute creation\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c" -k : If set, will run program in analysis mode\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -v <Verbosity> : Verbose Output\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @debug(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 @debug(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/tmpfq9f0i_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Inside [usage]\0A\00", align 1
@.str.1 = private unnamed_addr constant [81 x i8] c"Usage: hcompare -b <Buffer> -f <File> -d <Directory> [-r] [-k] [-v <Verbosity>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c" -b <Buffer> : Buffer Size. Default is (5 MB)\0A\00", align 1
@.str.4 = private unnamed_addr constant [85 x i8] c" -f <File> : File name to be generated or read in. (Example: /fs/mmc1/ref.txt)\0A\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c" -d <Directory> : Directory to walk and generate MD5s for (Example: /fs/mmc1)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -r : If set, will execute creation\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c" -k : If set, will run program in analysis mode\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -v <Verbosity> : Verbose Output\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @debug(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 @debug(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/tmpd__so7hy.c'
source_filename = "/tmp/tmpd__so7hy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32 }
@__wrap_gmtime.utim = internal global %struct.tm zeroinitializer, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__wrap_gmtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @gmtime_r(ptr noundef %3, ptr noundef @__wrap_gmtime.utim)
ret ptr %4
}
declare ptr @gmtime_r(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/tmpd__so7hy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32 }
@__wrap_gmtime.utim = internal global %struct.tm zeroinitializer, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__wrap_gmtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @gmtime_r(ptr noundef %3, ptr noundef @__wrap_gmtime.utim)
ret ptr %4
}
declare ptr @gmtime_r(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/tmpoe5ce294.c'
source_filename = "/tmp/tmpoe5ce294.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@do_usage_if.eeprog_usage = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [1272 x i8] c"eeprog 0.7.6, a 24Cxx EEPROM reader/writer\0ACopyright (c) 2003-2004 by Stefano Barbato - All rights reserved.\0AUsage: eeprog [-fqxdh] [-16|-8] [ -r addr[:count] | -w addr ] /dev/i2c-N i2c-address\0A\0A Address modes: \0A\09-8\09\09Use 8bit address mode for 24c0x...24C16 [default]\0A\09-16\09\09Use 16bit address mode for 24c32...24C256\0A Actions: \0A\09-r addr[:count]\09Read [count] (1 if omitted) bytes from [addr]\0A\09\09\09and print them to the standard output\0A\09-w addr\09\09Write input (stdin) at address [addr] of the EEPROM\0A\09-t n\09\09write timeout in ms (default 10)\0A\09-h\09\09Print this help\0A Options: \0A\09-x\09\09Set hex output mode\0A\09-d\09\09Dummy mode, display what *would* have been done\0A\09-f\09\09Disable warnings and don't ask confirmation\0A\09-q\09\09Quiet mode\0A\0AThe following environment variables could be set instead of the command\0Aline arguments:\0A\09EEPROG_DEV\09\09device name(/dev/i2c-N)\0A\09EEPROG_I2C_ADDR\09\09i2c-address\0A\0A\09Examples\0A\091- read 64 bytes from the EEPROM at address 0x54 on bus 0 starting\0A\09 at address 123 (decimal)\0A\09\09eeprog /dev/i2c-0 0x54 -r 123:64\0A\092- prints the hex codes of the first 32 bytes read from bus 1 \0A\09 at address 0x22\0A\09\09eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20\0A\093- write the current timestamp at address 0x200 of the EEPROM on \0A\09 bus 0 at address 0x33 \0A\09\09date | eeprog /dev/i2c-0 0x33 -w 0x200\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"%s\0A[line %d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_usage_if(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 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
ret void
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr @do_usage_if.eeprog_usage, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoe5ce294.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@do_usage_if.eeprog_usage = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [1272 x i8] c"eeprog 0.7.6, a 24Cxx EEPROM reader/writer\0ACopyright (c) 2003-2004 by Stefano Barbato - All rights reserved.\0AUsage: eeprog [-fqxdh] [-16|-8] [ -r addr[:count] | -w addr ] /dev/i2c-N i2c-address\0A\0A Address modes: \0A\09-8\09\09Use 8bit address mode for 24c0x...24C16 [default]\0A\09-16\09\09Use 16bit address mode for 24c32...24C256\0A Actions: \0A\09-r addr[:count]\09Read [count] (1 if omitted) bytes from [addr]\0A\09\09\09and print them to the standard output\0A\09-w addr\09\09Write input (stdin) at address [addr] of the EEPROM\0A\09-t n\09\09write timeout in ms (default 10)\0A\09-h\09\09Print this help\0A Options: \0A\09-x\09\09Set hex output mode\0A\09-d\09\09Dummy mode, display what *would* have been done\0A\09-f\09\09Disable warnings and don't ask confirmation\0A\09-q\09\09Quiet mode\0A\0AThe following environment variables could be set instead of the command\0Aline arguments:\0A\09EEPROG_DEV\09\09device name(/dev/i2c-N)\0A\09EEPROG_I2C_ADDR\09\09i2c-address\0A\0A\09Examples\0A\091- read 64 bytes from the EEPROM at address 0x54 on bus 0 starting\0A\09 at address 123 (decimal)\0A\09\09eeprog /dev/i2c-0 0x54 -r 123:64\0A\092- prints the hex codes of the first 32 bytes read from bus 1 \0A\09 at address 0x22\0A\09\09eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20\0A\093- write the current timestamp at address 0x200 of the EEPROM on \0A\09 bus 0 at address 0x33 \0A\09\09date | eeprog /dev/i2c-0 0x33 -w 0x200\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"%s\0A[line %d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_usage_if(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 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
ret void
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr @do_usage_if.eeprog_usage, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkkkjup19.c'
source_filename = "/tmp/tmpkkkjup19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-a\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s@%d\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Unable to find version at %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"Unable to find version %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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 (...) @usage()
br label %16
16: ; preds = %14, %2
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %48
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %25, i64 %28
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %10, align 8
store i32 1, ptr %7, align 4
br label %31
31: ; preds = %44, %24
%32 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %10, align 8
%37 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%38 = load i32, ptr %7, align 4
%39 = call i32 @revert_version(ptr noundef %36, ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %31
br label %47
43: ; preds = %31
br label %44
44: ; preds = %43
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
br label %31
47: ; preds = %42
br label %115
48: ; preds = %16
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.2)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %87
56: ; preds = %48
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %57, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i32 @atoi(ptr noundef %62)
%64 = sext i32 %63 to i64
store i64 %64, ptr %6, align 8
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 2
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %65, i64 %68
%70 = load ptr, ptr %69, align 8
store ptr %70, ptr %10, align 8
%71 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%72 = load ptr, ptr %10, align 8
%73 = load i64, ptr %6, align 8
%74 = trunc i64 %73 to i32
%75 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.3, ptr noundef %72, i32 noundef %74)
%76 = load ptr, ptr %10, align 8
%77 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%78 = load i64, ptr %6, align 8
%79 = call i32 @revert_version_by_time(ptr noundef %76, ptr noundef %77, i64 noundef %78)
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %56
%83 = load i64, ptr %6, align 8
%84 = trunc i64 %83 to i32
%85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %84)
br label %86
86: ; preds = %82, %56
br label %114
87: ; preds = %48
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atoi(ptr noundef %92)
store i32 %93, ptr %7, align 4
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %8, align 4
%96 = add nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds ptr, ptr %94, i64 %97
%99 = load ptr, ptr %98, align 8
store ptr %99, ptr %10, align 8
%100 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%101 = load ptr, ptr %10, align 8
%102 = load i32, ptr %7, align 4
%103 = call i32 @sprintf(ptr noundef %100, ptr noundef @.str.1, ptr noundef %101, i32 noundef %102)
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%106 = load i32, ptr %7, align 4
%107 = call i32 @revert_version(ptr noundef %104, ptr noundef %105, i32 noundef %106)
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = icmp ne i32 %108, 0
br i1 %109, label %113, label %110
110: ; preds = %87
%111 = load i32, ptr %7, align 4
%112 = call i32 @printf(ptr noundef @.str.5, i32 noundef %111)
br label %113
113: ; preds = %110, %87
br label %114
114: ; preds = %113, %86
br label %115
115: ; preds = %114, %47
%116 = load i32, ptr %9, align 4
ret i32 %116
}
declare i32 @usage(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @revert_version(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @revert_version_by_time(ptr noundef, ptr noundef, i64 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/tmpkkkjup19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-a\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s@%d\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Unable to find version at %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"Unable to find version %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 i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 (...) @usage()
br label %16
16: ; preds = %14, %2
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %48
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %25, i64 %28
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %10, align 8
store i32 1, ptr %7, align 4
br label %31
31: ; preds = %44, %24
%32 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %10, align 8
%37 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%38 = load i32, ptr %7, align 4
%39 = call i32 @revert_version(ptr noundef %36, ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %31
br label %47
43: ; preds = %31
br label %44
44: ; preds = %43
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
br label %31
47: ; preds = %42
br label %115
48: ; preds = %16
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.2)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %87
56: ; preds = %48
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %57, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i32 @atoi(ptr noundef %62)
%64 = sext i32 %63 to i64
store i64 %64, ptr %6, align 8
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 2
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %65, i64 %68
%70 = load ptr, ptr %69, align 8
store ptr %70, ptr %10, align 8
%71 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%72 = load ptr, ptr %10, align 8
%73 = load i64, ptr %6, align 8
%74 = trunc i64 %73 to i32
%75 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.3, ptr noundef %72, i32 noundef %74)
%76 = load ptr, ptr %10, align 8
%77 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%78 = load i64, ptr %6, align 8
%79 = call i32 @revert_version_by_time(ptr noundef %76, ptr noundef %77, i64 noundef %78)
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %56
%83 = load i64, ptr %6, align 8
%84 = trunc i64 %83 to i32
%85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %84)
br label %86
86: ; preds = %82, %56
br label %114
87: ; preds = %48
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atoi(ptr noundef %92)
store i32 %93, ptr %7, align 4
%94 = load ptr, ptr %5, align 8
%95 = load i32, ptr %8, align 4
%96 = add nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds ptr, ptr %94, i64 %97
%99 = load ptr, ptr %98, align 8
store ptr %99, ptr %10, align 8
%100 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%101 = load ptr, ptr %10, align 8
%102 = load i32, ptr %7, align 4
%103 = call i32 @sprintf(ptr noundef %100, ptr noundef @.str.1, ptr noundef %101, i32 noundef %102)
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%106 = load i32, ptr %7, align 4
%107 = call i32 @revert_version(ptr noundef %104, ptr noundef %105, i32 noundef %106)
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %9, align 4
%109 = icmp ne i32 %108, 0
br i1 %109, label %113, label %110
110: ; preds = %87
%111 = load i32, ptr %7, align 4
%112 = call i32 @printf(ptr noundef @.str.5, i32 noundef %111)
br label %113
113: ; preds = %110, %87
br label %114
114: ; preds = %113, %86
br label %115
115: ; preds = %114, %47
%116 = load i32, ptr %9, align 4
ret i32 %116
}
declare i32 @usage(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @revert_version(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @revert_version_by_time(ptr noundef, ptr noundef, i64 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/tmpk5cfnvfh.c'
source_filename = "/tmp/tmpk5cfnvfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutexattr_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmpk5cfnvfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutexattr_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, 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/tmpcvukvakg.c'
source_filename = "/tmp/tmpcvukvakg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x73() #0 {
%1 = call i64 @ispunct(i32 noundef 115)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 580, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmpcvukvakg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x73() #0 {
%1 = call i64 @ispunct(i32 noundef 115)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 580, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp2_3_kfbt.c'
source_filename = "/tmp/tmp2_3_kfbt.c"
target datalayout = "e-m:e-p270: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/tmp2_3_kfbt.c"
target datalayout = "e-m:e-p270: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/tmpasy1jdwu.c'
source_filename = "/tmp/tmpasy1jdwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
br label %7
7: ; preds = %11, %0
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %4, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%13 = load i32, ptr %5, align 4
%14 = call i32 @power(i32 noundef %13)
%15 = sub nsw i32 %14, 1
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
br label %7, !llvm.loop !6
17: ; preds = %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @power(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/tmpasy1jdwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%7 = load i32, ptr %4, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %4, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%12 = load i32, ptr %5, align 4
%13 = call i32 @power(i32 noundef %12)
%14 = sub nsw i32 %13, 1
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %4, align 4
%18 = icmp ne i32 %16, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @power(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/tmp5kku4v6c.c'
source_filename = "/tmp/tmp5kku4v6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_flash_close(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fclose(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kku4v6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_flash_close(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fclose(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zzmerui.c'
source_filename = "/tmp/tmp8zzmerui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls1_set_groups(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = call ptr @calloc(i64 noundef %12, i32 noundef 8)
store ptr %13, ptr %10, align 8
%14 = load ptr, ptr %10, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 0, ptr %5, align 4
br label %51
17: ; preds = %4
store i64 0, ptr %11, align 8
br label %18
18: ; preds = %40, %17
%19 = load i64, ptr %11, align 8
%20 = load i64, ptr %9, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %43
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load i64, ptr %11, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i64 @tls1_ec_nid2curve_id(i32 noundef %26)
%28 = load ptr, ptr %10, align 8
%29 = load i64, ptr %11, align 8
%30 = getelementptr inbounds i64, ptr %28, i64 %29
store i64 %27, ptr %30, align 8
%31 = load ptr, ptr %10, align 8
%32 = load i64, ptr %11, align 8
%33 = getelementptr inbounds i64, ptr %31, i64 %32
%34 = load i64, ptr %33, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %22
%37 = load ptr, ptr %10, align 8
%38 = call i32 @free(ptr noundef %37)
store i32 0, ptr %5, align 4
br label %51
39: ; preds = %22
br label %40
40: ; preds = %39
%41 = load i64, ptr %11, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %11, align 8
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load ptr, ptr %6, align 8
%45 = load ptr, ptr %44, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %10, align 8
%48 = load ptr, ptr %6, align 8
store ptr %47, ptr %48, align 8
%49 = load i64, ptr %9, align 8
%50 = load ptr, ptr %7, align 8
store i64 %49, ptr %50, align 8
store i32 1, ptr %5, align 4
br label %51
51: ; preds = %43, %36, %16
%52 = load i32, ptr %5, align 4
ret i32 %52
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @tls1_ec_nid2curve_id(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zzmerui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls1_set_groups(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = call ptr @calloc(i64 noundef %12, i32 noundef 8)
store ptr %13, ptr %10, align 8
%14 = load ptr, ptr %10, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 0, ptr %5, align 4
br label %53
17: ; preds = %4
store i64 0, ptr %11, align 8
%18 = load i64, ptr %11, align 8
%19 = load i64, ptr %9, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %.lr.ph, label %45
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %39
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %11, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i64 @tls1_ec_nid2curve_id(i32 noundef %25)
%27 = load ptr, ptr %10, align 8
%28 = load i64, ptr %11, align 8
%29 = getelementptr inbounds i64, ptr %27, i64 %28
store i64 %26, ptr %29, align 8
%30 = load ptr, ptr %10, align 8
%31 = load i64, ptr %11, align 8
%32 = getelementptr inbounds i64, ptr %30, i64 %31
%33 = load i64, ptr %32, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %21
%36 = load ptr, ptr %10, align 8
%37 = call i32 @free(ptr noundef %36)
store i32 0, ptr %5, align 4
br label %53
38: ; preds = %21
br label %39
39: ; preds = %38
%40 = load i64, ptr %11, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %11, align 8
%42 = load i64, ptr %11, align 8
%43 = load i64, ptr %9, align 8
%44 = icmp ult i64 %42, %43
br i1 %44, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %17
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %46, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %6, align 8
store ptr %49, ptr %50, align 8
%51 = load i64, ptr %9, align 8
%52 = load ptr, ptr %7, align 8
store i64 %51, ptr %52, align 8
store i32 1, ptr %5, align 4
br label %53
53: ; preds = %45, %35, %16
%54 = load i32, ptr %5, align 4
ret i32 %54
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @tls1_ec_nid2curve_id(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsfpbm2j3.c'
source_filename = "/tmp/tmpsfpbm2j3.c"
target datalayout = "e-m:e-p270: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/tmpsfpbm2j3.c"
target datalayout = "e-m:e-p270: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/tmpx1h87dn_.c'
source_filename = "/tmp/tmpx1h87dn_.c"
target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0x3F0DF6B6A0000000, float 0xBFA99E3DE0000000, float 0x3FA0B84DA0000000, float 0x3FAD4E9DE0000000, float 0xBFA9CCD380000000, float 0x3F562401C0000000, float 0xBF517B2360000000, float 0xBF29F7C560000000, float 0x3F462FF300000000, float 0x3F253C6780000000, float 0xBF3C614F20000000, float 0xBF43045700000000, float 0xBF2597E400000000, float 0xBF1852F860000000, float 0x3F470C0760000000, float 0xBF45E47B40000000, float 0xBF0E889FE0000000, float 0x3F04DE8340000000, float 0xBF1F54CCA0000000, float 0xBEF3D00B20000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_phi(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
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, 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 20, ptr %7, align 4
store float 0xBF98B18AE0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %36, align 16
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %37, align 4
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC03200C4A0000000, ptr %38, align 8
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032028F60000000, ptr %39, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %40, align 16
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %41, align 4
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x4032028F60000000, ptr %42, align 8
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032008320000000, ptr %43, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %82
46: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %47
47: ; preds = %78, %46
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %81
51: ; preds = %47
%52 = load i32, ptr %14, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %53
%55 = load float, ptr %54, align 4
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = fcmp oeq float %55, %59
br i1 %60, label %61, label %62
61: ; preds = %51
br label %78
62: ; preds = %51
%63 = load i32, ptr %14, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %64
%66 = load float, ptr %65, align 4
%67 = load i32, ptr %14, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %68
%70 = load float, ptr %69, align 4
%71 = fsub float %66, %70
%72 = fpext float %71 to double
%73 = fdiv double 2.000000e+00, %72
%74 = fptrunc double %73 to float
%75 = load i32, ptr %14, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %76
store float %74, ptr %77, align 4
br label %78
78: ; preds = %62, %61
%79 = load i32, ptr %14, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %14, align 4
br label %47, !llvm.loop !6
81: ; preds = %47
br label %82
82: ; preds = %81, %3
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds float, ptr %83, i64 0
%85 = load float, ptr %84, align 4
%86 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%87 = load float, ptr %86, align 16
%88 = fsub float %85, %87
%89 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%90 = load float, ptr %89, align 16
%91 = fmul float %88, %90
%92 = fpext float %91 to double
%93 = fadd double 1.000000e+00, %92
%94 = fptrunc double %93 to float
store float %94, ptr %15, align 4
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds float, ptr %95, i64 0
%97 = load float, ptr %96, align 4
%98 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%99 = load float, ptr %98, align 16
%100 = fmul float %97, %99
store float %100, ptr %16, align 4
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds float, ptr %101, i64 1
%103 = load float, ptr %102, align 4
%104 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%105 = load float, ptr %104, align 4
%106 = fsub float %103, %105
%107 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%108 = load float, ptr %107, align 4
%109 = fmul float %106, %108
%110 = fpext float %109 to double
%111 = fadd double 1.000000e+00, %110
%112 = fptrunc double %111 to float
store float %112, ptr %17, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds float, ptr %113, i64 1
%115 = load float, ptr %114, align 4
%116 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%117 = load float, ptr %116, align 4
%118 = fmul float %115, %117
store float %118, ptr %18, align 4
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds float, ptr %119, i64 2
%121 = load float, ptr %120, align 4
%122 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%123 = load float, ptr %122, align 8
%124 = fsub float %121, %123
%125 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%126 = load float, ptr %125, align 8
%127 = fmul float %124, %126
%128 = fpext float %127 to double
%129 = fadd double 1.000000e+00, %128
%130 = fptrunc double %129 to float
store float %130, ptr %19, align 4
%131 = load ptr, ptr %5, align 8
%132 = getelementptr inbounds float, ptr %131, i64 2
%133 = load float, ptr %132, align 4
%134 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%135 = load float, ptr %134, align 8
%136 = fmul float %133, %135
store float %136, ptr %20, align 4
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds float, ptr %137, i64 3
%139 = load float, ptr %138, align 4
%140 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%141 = load float, ptr %140, align 4
%142 = fsub float %139, %141
%143 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%144 = load float, ptr %143, align 4
%145 = fmul float %142, %144
%146 = fpext float %145 to double
%147 = fadd double 1.000000e+00, %146
%148 = fptrunc double %147 to float
store float %148, ptr %21, align 4
%149 = load ptr, ptr %5, align 8
%150 = getelementptr inbounds float, ptr %149, i64 3
%151 = load float, ptr %150, align 4
%152 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%153 = load float, ptr %152, align 4
%154 = fmul float %151, %153
store float %154, ptr %22, align 4
%155 = load float, ptr %15, align 4
store float %155, ptr %23, align 4
%156 = load float, ptr %23, align 4
%157 = load float, ptr %15, align 4
%158 = fmul float %156, %157
store float %158, ptr %24, align 4
%159 = load float, ptr %17, align 4
store float %159, ptr %25, align 4
%160 = load float, ptr %25, align 4
%161 = load float, ptr %17, align 4
%162 = fmul float %160, %161
store float %162, ptr %26, align 4
%163 = load float, ptr %26, align 4
%164 = load float, ptr %17, align 4
%165 = fmul float %163, %164
store float %165, ptr %27, align 4
%166 = load float, ptr %19, align 4
store float %166, ptr %28, align 4
%167 = load float, ptr %28, align 4
%168 = load float, ptr %19, align 4
%169 = fmul float %167, %168
store float %169, ptr %29, align 4
%170 = load float, ptr %21, align 4
store float %170, ptr %30, align 4
%171 = load float, ptr %30, align 4
%172 = load float, ptr %21, align 4
%173 = fmul float %171, %172
store float %173, ptr %31, align 4
%174 = load float, ptr %31, align 4
%175 = load float, ptr %21, align 4
%176 = fmul float %174, %175
store float %176, ptr %32, align 4
%177 = load float, ptr %8, align 4
%178 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%179 = load float, ptr %178, align 16
%180 = fadd float %177, %179
%181 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%182 = load float, ptr %181, align 4
%183 = load float, ptr %23, align 4
%184 = call float @llvm.fmuladd.f32(float %182, float %183, float %180)
%185 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%186 = load float, ptr %185, align 8
%187 = load float, ptr %25, align 4
%188 = call float @llvm.fmuladd.f32(float %186, float %187, float %184)
%189 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%190 = load float, ptr %189, align 4
%191 = load float, ptr %28, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%194 = load float, ptr %193, align 16
%195 = load float, ptr %30, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %192)
%197 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%198 = load float, ptr %197, align 4
%199 = load float, ptr %25, align 4
%200 = fmul float %198, %199
%201 = load float, ptr %30, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %196)
%203 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%204 = load float, ptr %203, align 8
%205 = load float, ptr %31, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%208 = load float, ptr %207, align 4
%209 = load float, ptr %24, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %206)
store float %210, ptr %33, align 4
%211 = load float, ptr %33, align 4
%212 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%213 = load float, ptr %212, align 16
%214 = load float, ptr %23, align 4
%215 = fmul float %213, %214
%216 = load float, ptr %28, align 4
%217 = call float @llvm.fmuladd.f32(float %215, float %216, float %211)
%218 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%219 = load float, ptr %218, align 4
%220 = load float, ptr %23, align 4
%221 = fmul float %219, %220
%222 = load float, ptr %25, align 4
%223 = call float @llvm.fmuladd.f32(float %221, float %222, float %217)
%224 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%225 = load float, ptr %224, align 8
%226 = load float, ptr %26, align 4
%227 = call float @llvm.fmuladd.f32(float %225, float %226, float %223)
%228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%229 = load float, ptr %228, align 4
%230 = load float, ptr %29, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %227)
%232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%233 = load float, ptr %232, align 16
%234 = load float, ptr %23, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %30, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231)
%238 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%239 = load float, ptr %238, align 4
%240 = load float, ptr %29, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %30, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%245 = load float, ptr %244, align 8
%246 = load float, ptr %25, align 4
%247 = fmul float %245, %246
%248 = load float, ptr %31, align 4
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %243)
%250 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%251 = load float, ptr %250, align 4
%252 = load float, ptr %32, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %249)
%254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%255 = load float, ptr %254, align 16
%256 = load float, ptr %28, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %30, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253)
store float %259, ptr %33, align 4
%260 = load float, ptr %33, align 4
%261 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%262 = load float, ptr %261, align 4
%263 = load float, ptr %24, align 4
%264 = fmul float %262, %263
%265 = load float, ptr %25, align 4
%266 = call float @llvm.fmuladd.f32(float %264, float %265, float %260)
%267 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%268 = load float, ptr %267, align 8
%269 = load float, ptr %27, align 4
%270 = call float @llvm.fmuladd.f32(float %268, float %269, float %266)
%271 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%272 = load float, ptr %271, align 4
%273 = load float, ptr %28, align 4
%274 = fmul float %272, %273
%275 = load float, ptr %31, align 4
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %270)
store float %276, ptr %33, align 4
%277 = load float, ptr %16, align 4
%278 = fadd float 0.000000e+00, %277
%279 = load float, ptr %18, align 4
%280 = fadd float %278, %279
%281 = load float, ptr %20, align 4
%282 = fadd float %280, %281
%283 = load float, ptr %22, align 4
%284 = fadd float %282, %283
store float %284, ptr %34, align 4
%285 = load float, ptr %34, align 4
%286 = fcmp oeq float %285, 0.000000e+00
br i1 %286, label %287, label %288
287: ; preds = %82
br label %436
288: ; preds = %82
%289 = load float, ptr %16, align 4
%290 = load float, ptr %16, align 4
%291 = fmul float %289, %290
%292 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%293 = load float, ptr %292, align 4
%294 = fadd float 0.000000e+00, %293
%295 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%296 = load float, ptr %295, align 4
%297 = fmul float 2.000000e+00, %296
%298 = load float, ptr %23, align 4
%299 = call float @llvm.fmuladd.f32(float %297, float %298, float %294)
%300 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%301 = load float, ptr %300, align 16
%302 = load float, ptr %28, align 4
%303 = call float @llvm.fmuladd.f32(float %301, float %302, float %299)
%304 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%305 = load float, ptr %304, align 4
%306 = load float, ptr %25, align 4
%307 = call float @llvm.fmuladd.f32(float %305, float %306, float %303)
%308 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%309 = load float, ptr %308, align 16
%310 = load float, ptr %30, align 4
%311 = call float @llvm.fmuladd.f32(float %309, float %310, float %307)
%312 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%313 = load float, ptr %312, align 4
%314 = fmul float 2.000000e+00, %313
%315 = load float, ptr %23, align 4
%316 = fmul float %314, %315
%317 = load float, ptr %25, align 4
%318 = call float @llvm.fmuladd.f32(float %316, float %317, float %311)
%319 = call float @pow(float noundef %318, i32 noundef 2)
%320 = load float, ptr %18, align 4
%321 = load float, ptr %18, align 4
%322 = fmul float %320, %321
%323 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%324 = load float, ptr %323, align 8
%325 = fadd float 0.000000e+00, %324
%326 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%327 = load float, ptr %326, align 4
%328 = load float, ptr %30, align 4
%329 = call float @llvm.fmuladd.f32(float %327, float %328, float %325)
%330 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%331 = load float, ptr %330, align 4
%332 = load float, ptr %23, align 4
%333 = call float @llvm.fmuladd.f32(float %331, float %332, float %329)
%334 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%335 = load float, ptr %334, align 8
%336 = fmul float 2.000000e+00, %335
%337 = load float, ptr %25, align 4
%338 = call float @llvm.fmuladd.f32(float %336, float %337, float %333)
%339 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%340 = load float, ptr %339, align 8
%341 = load float, ptr %31, align 4
%342 = call float @llvm.fmuladd.f32(float %340, float %341, float %338)
%343 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%344 = load float, ptr %343, align 4
%345 = load float, ptr %24, align 4
%346 = call float @llvm.fmuladd.f32(float %344, float %345, float %342)
%347 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%348 = load float, ptr %347, align 8
%349 = fmul float 3.000000e+00, %348
%350 = load float, ptr %26, align 4
%351 = call float @llvm.fmuladd.f32(float %349, float %350, float %346)
%352 = call float @pow(float noundef %351, i32 noundef 2)
%353 = fmul float %322, %352
%354 = call float @llvm.fmuladd.f32(float %291, float %319, float %353)
%355 = load float, ptr %20, align 4
%356 = load float, ptr %20, align 4
%357 = fmul float %355, %356
%358 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%359 = load float, ptr %358, align 4
%360 = fadd float 0.000000e+00, %359
%361 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%362 = load float, ptr %361, align 16
%363 = load float, ptr %23, align 4
%364 = call float @llvm.fmuladd.f32(float %362, float %363, float %360)
%365 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%366 = load float, ptr %365, align 4
%367 = fmul float 2.000000e+00, %366
%368 = load float, ptr %28, align 4
%369 = call float @llvm.fmuladd.f32(float %367, float %368, float %364)
%370 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%371 = load float, ptr %370, align 4
%372 = fmul float 2.000000e+00, %371
%373 = load float, ptr %28, align 4
%374 = fmul float %372, %373
%375 = load float, ptr %30, align 4
%376 = call float @llvm.fmuladd.f32(float %374, float %375, float %369)
%377 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%378 = load float, ptr %377, align 16
%379 = load float, ptr %30, align 4
%380 = call float @llvm.fmuladd.f32(float %378, float %379, float %376)
%381 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%382 = load float, ptr %381, align 4
%383 = load float, ptr %31, align 4
%384 = call float @llvm.fmuladd.f32(float %382, float %383, float %380)
%385 = call float @pow(float noundef %384, i32 noundef 2)
%386 = call float @llvm.fmuladd.f32(float %357, float %385, float %354)
%387 = load float, ptr %22, align 4
%388 = load float, ptr %22, align 4
%389 = fmul float %387, %388
%390 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%391 = load float, ptr %390, align 16
%392 = fadd float 0.000000e+00, %391
%393 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%394 = load float, ptr %393, align 4
%395 = load float, ptr %25, align 4
%396 = call float @llvm.fmuladd.f32(float %394, float %395, float %392)
%397 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%398 = load float, ptr %397, align 8
%399 = fmul float 2.000000e+00, %398
%400 = load float, ptr %30, align 4
%401 = call float @llvm.fmuladd.f32(float %399, float %400, float %396)
%402 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%403 = load float, ptr %402, align 16
%404 = load float, ptr %23, align 4
%405 = call float @llvm.fmuladd.f32(float %403, float %404, float %401)
%406 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%407 = load float, ptr %406, align 4
%408 = load float, ptr %29, align 4
%409 = call float @llvm.fmuladd.f32(float %407, float %408, float %405)
%410 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%411 = load float, ptr %410, align 8
%412 = fmul float 2.000000e+00, %411
%413 = load float, ptr %30, align 4
%414 = fmul float %412, %413
%415 = load float, ptr %25, align 4
%416 = call float @llvm.fmuladd.f32(float %414, float %415, float %409)
%417 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%418 = load float, ptr %417, align 4
%419 = fmul float 3.000000e+00, %418
%420 = load float, ptr %31, align 4
%421 = call float @llvm.fmuladd.f32(float %419, float %420, float %416)
%422 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%423 = load float, ptr %422, align 16
%424 = load float, ptr %28, align 4
%425 = call float @llvm.fmuladd.f32(float %423, float %424, float %421)
%426 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%427 = load float, ptr %426, align 4
%428 = fmul float 2.000000e+00, %427
%429 = load float, ptr %30, align 4
%430 = fmul float %428, %429
%431 = load float, ptr %28, align 4
%432 = call float @llvm.fmuladd.f32(float %430, float %431, float %425)
%433 = call float @pow(float noundef %432, i32 noundef 2)
%434 = call float @llvm.fmuladd.f32(float %389, float %433, float %386)
%435 = call float @sqrt(float noundef %434)
br label %436
436: ; preds = %288, %287
%437 = phi float [ 0.000000e+00, %287 ], [ %435, %288 ]
store float %437, ptr %35, align 4
%438 = load float, ptr %35, align 4
%439 = load ptr, ptr %5, align 8
%440 = getelementptr inbounds float, ptr %439, i64 0
store float %438, ptr %440, align 4
%441 = load float, ptr %33, align 4
ret float %441
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #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: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpx1h87dn_.c"
target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0x3F0DF6B6A0000000, float 0xBFA99E3DE0000000, float 0x3FA0B84DA0000000, float 0x3FAD4E9DE0000000, float 0xBFA9CCD380000000, float 0x3F562401C0000000, float 0xBF517B2360000000, float 0xBF29F7C560000000, float 0x3F462FF300000000, float 0x3F253C6780000000, float 0xBF3C614F20000000, float 0xBF43045700000000, float 0xBF2597E400000000, float 0xBF1852F860000000, float 0x3F470C0760000000, float 0xBF45E47B40000000, float 0xBF0E889FE0000000, float 0x3F04DE8340000000, float 0xBF1F54CCA0000000, float 0xBEF3D00B20000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_phi(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
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [21 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, 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 20, ptr %7, align 4
store float 0xBF98B18AE0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %36, align 16
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %37, align 4
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC03200C4A0000000, ptr %38, align 8
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032028F60000000, ptr %39, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %40, align 16
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %41, align 4
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x4032028F60000000, ptr %42, align 8
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032008320000000, ptr %43, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false)
store i32 0, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %84
46: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %83
.lr.ph: ; preds = %46
br label %50
50: ; preds = %.lr.ph, %77
%51 = load i32, ptr %14, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %52
%54 = load float, ptr %53, align 4
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %56
%58 = load float, ptr %57, align 4
%59 = fcmp oeq float %54, %58
br i1 %59, label %60, label %61
60: ; preds = %50
br label %77
61: ; preds = %50
%62 = load i32, ptr %14, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %63
%65 = load float, ptr %64, align 4
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %67
%69 = load float, ptr %68, align 4
%70 = fsub float %65, %69
%71 = fpext float %70 to double
%72 = fdiv double 2.000000e+00, %71
%73 = fptrunc double %72 to float
%74 = load i32, ptr %14, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %75
store float %73, ptr %76, align 4
br label %77
77: ; preds = %61, %60
%78 = load i32, ptr %14, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %14, align 4
%80 = load i32, ptr %14, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %46
br label %84
84: ; preds = %83, %3
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds float, ptr %85, i64 0
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fsub float %87, %89
%91 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fmul float %90, %92
%94 = fpext float %93 to double
%95 = fadd double 1.000000e+00, %94
%96 = fptrunc double %95 to float
store float %96, ptr %15, align 4
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%101 = load float, ptr %100, align 16
%102 = fmul float %99, %101
store float %102, ptr %16, align 4
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds float, ptr %103, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fmul float %108, %110
%112 = fpext float %111 to double
%113 = fadd double 1.000000e+00, %112
%114 = fptrunc double %113 to float
store float %114, ptr %17, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%119 = load float, ptr %118, align 4
%120 = fmul float %117, %119
store float %120, ptr %18, align 4
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds float, ptr %121, i64 2
%123 = load float, ptr %122, align 4
%124 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fsub float %123, %125
%127 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fmul float %126, %128
%130 = fpext float %129 to double
%131 = fadd double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds float, ptr %133, i64 2
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%137 = load float, ptr %136, align 8
%138 = fmul float %135, %137
store float %138, ptr %20, align 4
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds float, ptr %139, i64 3
%141 = load float, ptr %140, align 4
%142 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fsub float %141, %143
%145 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fmul float %144, %146
%148 = fpext float %147 to double
%149 = fadd double 1.000000e+00, %148
%150 = fptrunc double %149 to float
store float %150, ptr %21, align 4
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds float, ptr %151, i64 3
%153 = load float, ptr %152, align 4
%154 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%155 = load float, ptr %154, align 4
%156 = fmul float %153, %155
store float %156, ptr %22, align 4
%157 = load float, ptr %15, align 4
store float %157, ptr %23, align 4
%158 = load float, ptr %23, align 4
%159 = load float, ptr %15, align 4
%160 = fmul float %158, %159
store float %160, ptr %24, align 4
%161 = load float, ptr %17, align 4
store float %161, ptr %25, align 4
%162 = load float, ptr %25, align 4
%163 = load float, ptr %17, align 4
%164 = fmul float %162, %163
store float %164, ptr %26, align 4
%165 = load float, ptr %26, align 4
%166 = load float, ptr %17, align 4
%167 = fmul float %165, %166
store float %167, ptr %27, align 4
%168 = load float, ptr %19, align 4
store float %168, ptr %28, align 4
%169 = load float, ptr %28, align 4
%170 = load float, ptr %19, align 4
%171 = fmul float %169, %170
store float %171, ptr %29, align 4
%172 = load float, ptr %21, align 4
store float %172, ptr %30, align 4
%173 = load float, ptr %30, align 4
%174 = load float, ptr %21, align 4
%175 = fmul float %173, %174
store float %175, ptr %31, align 4
%176 = load float, ptr %31, align 4
%177 = load float, ptr %21, align 4
%178 = fmul float %176, %177
store float %178, ptr %32, align 4
%179 = load float, ptr %8, align 4
%180 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0
%181 = load float, ptr %180, align 16
%182 = fadd float %179, %181
%183 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%184 = load float, ptr %183, align 4
%185 = load float, ptr %23, align 4
%186 = call float @llvm.fmuladd.f32(float %184, float %185, float %182)
%187 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%188 = load float, ptr %187, align 8
%189 = load float, ptr %25, align 4
%190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186)
%191 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%192 = load float, ptr %191, align 4
%193 = load float, ptr %28, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%196 = load float, ptr %195, align 16
%197 = load float, ptr %30, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%200 = load float, ptr %199, align 4
%201 = load float, ptr %25, align 4
%202 = fmul float %200, %201
%203 = load float, ptr %30, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %198)
%205 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%206 = load float, ptr %205, align 8
%207 = load float, ptr %31, align 4
%208 = call float @llvm.fmuladd.f32(float %206, float %207, float %204)
%209 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%210 = load float, ptr %209, align 4
%211 = load float, ptr %24, align 4
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %208)
store float %212, ptr %33, align 4
%213 = load float, ptr %33, align 4
%214 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%215 = load float, ptr %214, align 16
%216 = load float, ptr %23, align 4
%217 = fmul float %215, %216
%218 = load float, ptr %28, align 4
%219 = call float @llvm.fmuladd.f32(float %217, float %218, float %213)
%220 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%221 = load float, ptr %220, align 4
%222 = load float, ptr %23, align 4
%223 = fmul float %221, %222
%224 = load float, ptr %25, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %219)
%226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%227 = load float, ptr %226, align 8
%228 = load float, ptr %26, align 4
%229 = call float @llvm.fmuladd.f32(float %227, float %228, float %225)
%230 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%231 = load float, ptr %230, align 4
%232 = load float, ptr %29, align 4
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %229)
%234 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%235 = load float, ptr %234, align 16
%236 = load float, ptr %23, align 4
%237 = fmul float %235, %236
%238 = load float, ptr %30, align 4
%239 = call float @llvm.fmuladd.f32(float %237, float %238, float %233)
%240 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%241 = load float, ptr %240, align 4
%242 = load float, ptr %29, align 4
%243 = fmul float %241, %242
%244 = load float, ptr %30, align 4
%245 = call float @llvm.fmuladd.f32(float %243, float %244, float %239)
%246 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%247 = load float, ptr %246, align 8
%248 = load float, ptr %25, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %31, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %245)
%252 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%253 = load float, ptr %252, align 4
%254 = load float, ptr %32, align 4
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %251)
%256 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%257 = load float, ptr %256, align 16
%258 = load float, ptr %28, align 4
%259 = fmul float %257, %258
%260 = load float, ptr %30, align 4
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %255)
store float %261, ptr %33, align 4
%262 = load float, ptr %33, align 4
%263 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%264 = load float, ptr %263, align 4
%265 = load float, ptr %24, align 4
%266 = fmul float %264, %265
%267 = load float, ptr %25, align 4
%268 = call float @llvm.fmuladd.f32(float %266, float %267, float %262)
%269 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%270 = load float, ptr %269, align 8
%271 = load float, ptr %27, align 4
%272 = call float @llvm.fmuladd.f32(float %270, float %271, float %268)
%273 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%274 = load float, ptr %273, align 4
%275 = load float, ptr %28, align 4
%276 = fmul float %274, %275
%277 = load float, ptr %31, align 4
%278 = call float @llvm.fmuladd.f32(float %276, float %277, float %272)
store float %278, ptr %33, align 4
%279 = load float, ptr %16, align 4
%280 = fadd float 0.000000e+00, %279
%281 = load float, ptr %18, align 4
%282 = fadd float %280, %281
%283 = load float, ptr %20, align 4
%284 = fadd float %282, %283
%285 = load float, ptr %22, align 4
%286 = fadd float %284, %285
store float %286, ptr %34, align 4
%287 = load float, ptr %34, align 4
%288 = fcmp oeq float %287, 0.000000e+00
br i1 %288, label %289, label %290
289: ; preds = %84
br label %438
290: ; preds = %84
%291 = load float, ptr %16, align 4
%292 = load float, ptr %16, align 4
%293 = fmul float %291, %292
%294 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1
%295 = load float, ptr %294, align 4
%296 = fadd float 0.000000e+00, %295
%297 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7
%298 = load float, ptr %297, align 4
%299 = fmul float 2.000000e+00, %298
%300 = load float, ptr %23, align 4
%301 = call float @llvm.fmuladd.f32(float %299, float %300, float %296)
%302 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%303 = load float, ptr %302, align 16
%304 = load float, ptr %28, align 4
%305 = call float @llvm.fmuladd.f32(float %303, float %304, float %301)
%306 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%307 = load float, ptr %306, align 4
%308 = load float, ptr %25, align 4
%309 = call float @llvm.fmuladd.f32(float %307, float %308, float %305)
%310 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%311 = load float, ptr %310, align 16
%312 = load float, ptr %30, align 4
%313 = call float @llvm.fmuladd.f32(float %311, float %312, float %309)
%314 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%315 = load float, ptr %314, align 4
%316 = fmul float 2.000000e+00, %315
%317 = load float, ptr %23, align 4
%318 = fmul float %316, %317
%319 = load float, ptr %25, align 4
%320 = call float @llvm.fmuladd.f32(float %318, float %319, float %313)
%321 = call float @pow(float noundef %320, i32 noundef 2)
%322 = load float, ptr %18, align 4
%323 = load float, ptr %18, align 4
%324 = fmul float %322, %323
%325 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2
%326 = load float, ptr %325, align 8
%327 = fadd float 0.000000e+00, %326
%328 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%329 = load float, ptr %328, align 4
%330 = load float, ptr %30, align 4
%331 = call float @llvm.fmuladd.f32(float %329, float %330, float %327)
%332 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9
%333 = load float, ptr %332, align 4
%334 = load float, ptr %23, align 4
%335 = call float @llvm.fmuladd.f32(float %333, float %334, float %331)
%336 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10
%337 = load float, ptr %336, align 8
%338 = fmul float 2.000000e+00, %337
%339 = load float, ptr %25, align 4
%340 = call float @llvm.fmuladd.f32(float %338, float %339, float %335)
%341 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%342 = load float, ptr %341, align 8
%343 = load float, ptr %31, align 4
%344 = call float @llvm.fmuladd.f32(float %342, float %343, float %340)
%345 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17
%346 = load float, ptr %345, align 4
%347 = load float, ptr %24, align 4
%348 = call float @llvm.fmuladd.f32(float %346, float %347, float %344)
%349 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18
%350 = load float, ptr %349, align 8
%351 = fmul float 3.000000e+00, %350
%352 = load float, ptr %26, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %348)
%354 = call float @pow(float noundef %353, i32 noundef 2)
%355 = fmul float %324, %354
%356 = call float @llvm.fmuladd.f32(float %293, float %321, float %355)
%357 = load float, ptr %20, align 4
%358 = load float, ptr %20, align 4
%359 = fmul float %357, %358
%360 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3
%361 = load float, ptr %360, align 4
%362 = fadd float 0.000000e+00, %361
%363 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8
%364 = load float, ptr %363, align 16
%365 = load float, ptr %23, align 4
%366 = call float @llvm.fmuladd.f32(float %364, float %365, float %362)
%367 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11
%368 = load float, ptr %367, align 4
%369 = fmul float 2.000000e+00, %368
%370 = load float, ptr %28, align 4
%371 = call float @llvm.fmuladd.f32(float %369, float %370, float %366)
%372 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%373 = load float, ptr %372, align 4
%374 = fmul float 2.000000e+00, %373
%375 = load float, ptr %28, align 4
%376 = fmul float %374, %375
%377 = load float, ptr %30, align 4
%378 = call float @llvm.fmuladd.f32(float %376, float %377, float %371)
%379 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%380 = load float, ptr %379, align 16
%381 = load float, ptr %30, align 4
%382 = call float @llvm.fmuladd.f32(float %380, float %381, float %378)
%383 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%384 = load float, ptr %383, align 4
%385 = load float, ptr %31, align 4
%386 = call float @llvm.fmuladd.f32(float %384, float %385, float %382)
%387 = call float @pow(float noundef %386, i32 noundef 2)
%388 = call float @llvm.fmuladd.f32(float %359, float %387, float %356)
%389 = load float, ptr %22, align 4
%390 = load float, ptr %22, align 4
%391 = fmul float %389, %390
%392 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4
%393 = load float, ptr %392, align 16
%394 = fadd float 0.000000e+00, %393
%395 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5
%396 = load float, ptr %395, align 4
%397 = load float, ptr %25, align 4
%398 = call float @llvm.fmuladd.f32(float %396, float %397, float %394)
%399 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6
%400 = load float, ptr %399, align 8
%401 = fmul float 2.000000e+00, %400
%402 = load float, ptr %30, align 4
%403 = call float @llvm.fmuladd.f32(float %401, float %402, float %398)
%404 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12
%405 = load float, ptr %404, align 16
%406 = load float, ptr %23, align 4
%407 = call float @llvm.fmuladd.f32(float %405, float %406, float %403)
%408 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13
%409 = load float, ptr %408, align 4
%410 = load float, ptr %29, align 4
%411 = call float @llvm.fmuladd.f32(float %409, float %410, float %407)
%412 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14
%413 = load float, ptr %412, align 8
%414 = fmul float 2.000000e+00, %413
%415 = load float, ptr %30, align 4
%416 = fmul float %414, %415
%417 = load float, ptr %25, align 4
%418 = call float @llvm.fmuladd.f32(float %416, float %417, float %411)
%419 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15
%420 = load float, ptr %419, align 4
%421 = fmul float 3.000000e+00, %420
%422 = load float, ptr %31, align 4
%423 = call float @llvm.fmuladd.f32(float %421, float %422, float %418)
%424 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16
%425 = load float, ptr %424, align 16
%426 = load float, ptr %28, align 4
%427 = call float @llvm.fmuladd.f32(float %425, float %426, float %423)
%428 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19
%429 = load float, ptr %428, align 4
%430 = fmul float 2.000000e+00, %429
%431 = load float, ptr %30, align 4
%432 = fmul float %430, %431
%433 = load float, ptr %28, align 4
%434 = call float @llvm.fmuladd.f32(float %432, float %433, float %427)
%435 = call float @pow(float noundef %434, i32 noundef 2)
%436 = call float @llvm.fmuladd.f32(float %391, float %435, float %388)
%437 = call float @sqrt(float noundef %436)
br label %438
438: ; preds = %290, %289
%439 = phi float [ 0.000000e+00, %289 ], [ %437, %290 ]
store float %439, ptr %35, align 4
%440 = load float, ptr %35, align 4
%441 = load ptr, ptr %5, align 8
%442 = getelementptr inbounds float, ptr %441, i64 0
store float %440, ptr %442, align 4
%443 = load float, ptr %33, align 4
ret float %443
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #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: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_6_vmqqy.c'
source_filename = "/tmp/tmp_6_vmqqy.c"
target datalayout = "e-m:e-p270: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.month_days.month_days = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @month_days(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [12 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.month_days.month_days, i64 48, i1 false)
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [12 x i32], ptr %5, i64 0, i64 %8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr %3, align 4
%15 = call i64 @leap_year(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br label %17
17: ; preds = %13, %2
%18 = phi i1 [ false, %2 ], [ %16, %13 ]
%19 = zext i1 %18 to i32
%20 = add nsw i32 %10, %19
ret i32 %20
}
; 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 @leap_year(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/tmp_6_vmqqy.c"
target datalayout = "e-m:e-p270: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.month_days.month_days = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @month_days(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [12 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.month_days.month_days, i64 48, i1 false)
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [12 x i32], ptr %5, i64 0, i64 %8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 2
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr %3, align 4
%15 = call i64 @leap_year(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br label %17
17: ; preds = %13, %2
%18 = phi i1 [ false, %2 ], [ %16, %13 ]
%19 = zext i1 %18 to i32
%20 = add nsw i32 %10, %19
ret i32 %20
}
; 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 @leap_year(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/tmpe4fk3j_6.c'
source_filename = "/tmp/tmpe4fk3j_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @peek() #0 {
%1 = call i32 (...) @dlink_get_first()
ret i32 %1
}
declare i32 @dlink_get_first(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4fk3j_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @peek() #0 {
%1 = call i32 (...) @dlink_get_first()
ret i32 %1
}
declare i32 @dlink_get_first(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa2j3bza0.c'
source_filename = "/tmp/tmpa2j3bza0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @printf(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa2j3bza0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @printf(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvc16rmk4.c'
source_filename = "/tmp/tmpvc16rmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/tty\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/dev/tty0\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/dev/vc/0\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"/dev/console\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getfd() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @open_a_console(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %41
8: ; preds = %0
%9 = call i32 @open_a_console(ptr noundef @.str.1)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %1, align 4
br label %41
14: ; preds = %8
%15 = call i32 @open_a_console(ptr noundef @.str.2)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %1, align 4
br label %41
20: ; preds = %14
%21 = call i32 @open_a_console(ptr noundef @.str.3)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %2, align 4
store i32 %25, ptr %1, align 4
br label %41
26: ; preds = %20
store i32 0, ptr %2, align 4
br label %27
27: ; preds = %37, %26
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %40
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = call i64 @is_a_console(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr %2, align 4
store i32 %35, ptr %1, align 4
br label %41
36: ; preds = %30
br label %37
37: ; preds = %36
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
br label %27, !llvm.loop !6
40: ; preds = %27
store i32 -1, ptr %1, align 4
br label %41
41: ; preds = %40, %34, %24, %18, %12, %6
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @open_a_console(ptr noundef) #1
declare i64 @is_a_console(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/tmpvc16rmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/tty\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/dev/tty0\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/dev/vc/0\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"/dev/console\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getfd() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @open_a_console(ptr noundef @.str)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %42
8: ; preds = %0
%9 = call i32 @open_a_console(ptr noundef @.str.1)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %1, align 4
br label %42
14: ; preds = %8
%15 = call i32 @open_a_console(ptr noundef @.str.2)
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %1, align 4
br label %42
20: ; preds = %14
%21 = call i32 @open_a_console(ptr noundef @.str.3)
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %2, align 4
store i32 %25, ptr %1, align 4
br label %42
26: ; preds = %20
store i32 0, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 3
br i1 %28, label %.lr.ph, label %41
.lr.ph: ; preds = %26
br label %29
29: ; preds = %.lr.ph, %36
%30 = load i32, ptr %2, align 4
%31 = call i64 @is_a_console(i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = load i32, ptr %2, align 4
store i32 %34, ptr %1, align 4
br label %42
35: ; preds = %29
br label %36
36: ; preds = %35
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %39, 3
br i1 %40, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %26
store i32 -1, ptr %1, align 4
br label %42
42: ; preds = %41, %33, %24, %18, %12, %6
%43 = load i32, ptr %1, align 4
ret i32 %43
}
declare i32 @open_a_console(ptr noundef) #1
declare i64 @is_a_console(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/tmpkv6_iauo.c'
source_filename = "/tmp/tmpkv6_iauo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_port(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtol(ptr noundef %6, ptr noundef %4, i32 noundef 10)
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %8, %9
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11, %1
store i64 -1, ptr %2, align 8
br label %26
17: ; preds = %11
%18 = load i64, ptr %5, align 8
%19 = icmp slt i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i64, ptr %5, align 8
%22 = icmp sgt i64 %21, 65536
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store i64 -1, ptr %2, align 8
br label %26
24: ; preds = %20
%25 = load i64, ptr %5, align 8
store i64 %25, ptr %2, align 8
br label %26
26: ; preds = %24, %23, %16
%27 = load i64, ptr %2, align 8
ret i64 %27
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkv6_iauo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_port(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtol(ptr noundef %6, ptr noundef %4, i32 noundef 10)
store i64 %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %8, %9
br i1 %10, label %16, label %11
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11, %1
store i64 -1, ptr %2, align 8
br label %26
17: ; preds = %11
%18 = load i64, ptr %5, align 8
%19 = icmp slt i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i64, ptr %5, align 8
%22 = icmp sgt i64 %21, 65536
br i1 %22, label %23, label %24
23: ; preds = %20, %17
store i64 -1, ptr %2, align 8
br label %26
24: ; preds = %20
%25 = load i64, ptr %5, align 8
store i64 %25, ptr %2, align 8
br label %26
26: ; preds = %24, %23, %16
%27 = load i64, ptr %2, align 8
ret i64 %27
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpratqm4x0.c'
source_filename = "/tmp/tmpratqm4x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sem Array\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
@__const.main.notas = private unnamed_addr constant [4 x float] [float 9.000000e+00, float 8.000000e+00, float 7.000000e+00, float 6.000000e+00], align 16
@.str.2 = private unnamed_addr constant [11 x i8] c"Com Array\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [4 x float], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 9.000000e+00, ptr %6, align 4
store float 8.000000e+00, ptr %7, align 4
store float 7.000000e+00, ptr %8, align 4
store float 6.000000e+00, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %8, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.notas, i64 16, i1 false)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [4 x float], ptr %10, i64 0, i64 2
%17 = load float, ptr %16, align 8
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %18)
%20 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr 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) #2
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpratqm4x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Sem Array\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1
@__const.main.notas = private unnamed_addr constant [4 x float] [float 9.000000e+00, float 8.000000e+00, float 7.000000e+00, float 6.000000e+00], align 16
@.str.2 = private unnamed_addr constant [11 x i8] c"Com Array\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca [4 x float], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 9.000000e+00, ptr %6, align 4
store float 8.000000e+00, ptr %7, align 4
store float 7.000000e+00, ptr %8, align 4
store float 6.000000e+00, ptr %9, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %8, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.notas, i64 16, i1 false)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = getelementptr inbounds [4 x float], ptr %10, i64 0, i64 2
%17 = load float, ptr %16, align 8
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %18)
%20 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr 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) #2
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy7_cc_0r.c'
source_filename = "/tmp/tmpy7_cc_0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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/tmpy7_cc_0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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/tmpl98spm4y.c'
source_filename = "/tmp/tmpl98spm4y.c"
target datalayout = "e-m:e-p270: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/tmpl98spm4y.c"
target datalayout = "e-m:e-p270: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/tmpo3jkgibo.c'
source_filename = "/tmp/tmpo3jkgibo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"syslogexample\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_NDELAY = dso_local global i32 0, align 4
@LOG_LOCAL1 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Log sent to syslog by user %d\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"This log is not sent due to logmask...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = load i32, ptr @LOG_NOTICE, align 4
%2 = call i32 @LOG_UPTO(i32 noundef %1)
%3 = call i32 @setlogmask(i32 noundef %2)
%4 = load i32, ptr @LOG_CONS, align 4
%5 = load i32, ptr @LOG_PID, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @LOG_NDELAY, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @LOG_LOCAL1, align 4
%10 = call i32 @openlog(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr @LOG_NOTICE, align 4
%12 = call i32 (...) @getuid()
%13 = call i32 (i32, ptr, ...) @syslog(i32 noundef %11, ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr @LOG_INFO, align 4
%15 = call i32 (i32, ptr, ...) @syslog(i32 noundef %14, ptr noundef @.str.2)
%16 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @setlogmask(i32 noundef) #1
declare i32 @LOG_UPTO(i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ...) #1
declare i32 @getuid(...) #1
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo3jkgibo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"syslogexample\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_NDELAY = dso_local global i32 0, align 4
@LOG_LOCAL1 = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Log sent to syslog by user %d\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [39 x i8] c"This log is not sent due to logmask...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = load i32, ptr @LOG_NOTICE, align 4
%2 = call i32 @LOG_UPTO(i32 noundef %1)
%3 = call i32 @setlogmask(i32 noundef %2)
%4 = load i32, ptr @LOG_CONS, align 4
%5 = load i32, ptr @LOG_PID, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @LOG_NDELAY, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @LOG_LOCAL1, align 4
%10 = call i32 @openlog(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = load i32, ptr @LOG_NOTICE, align 4
%12 = call i32 (...) @getuid()
%13 = call i32 (i32, ptr, ...) @syslog(i32 noundef %11, ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr @LOG_INFO, align 4
%15 = call i32 (i32, ptr, ...) @syslog(i32 noundef %14, ptr noundef @.str.2)
%16 = call i32 (...) @closelog()
ret i32 0
}
declare i32 @setlogmask(i32 noundef) #1
declare i32 @LOG_UPTO(i32 noundef) #1
declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef, ...) #1
declare i32 @getuid(...) #1
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphcnjq5i_.c'
source_filename = "/tmp/tmphcnjq5i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%+.8f,%+.8f,%+.8f\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_ypr_text(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 1
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 2
%11 = load double, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %8, double noundef %11)
ret void
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphcnjq5i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%+.8f,%+.8f,%+.8f\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_ypr_text(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds double, ptr %3, i64 0
%5 = load double, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds double, ptr %6, i64 1
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds double, ptr %9, i64 2
%11 = load double, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %8, double noundef %11)
ret void
}
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxous5zpw.c'
source_filename = "/tmp/tmpxous5zpw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.p = internal global [14 x i32] [i32 0, i32 1, i32 2, i32 4, i32 5, i32 7, i32 8, i32 10, i32 11, i32 12, i32 16, i32 22, i32 23, i32 26], align 16
@.str = private unnamed_addr constant [14 x i8] c" 0x00000000L\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c", 0x%08lxL\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c",\0A 0x%08lxL\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 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 i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %24, %2
%11 = load i32, ptr %8, align 4
%12 = sext i32 %11 to i64
%13 = icmp ult i64 %12, 14
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [14 x i32], ptr @main.p, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = sub nsw i32 31, %18
%20 = zext i32 %19 to i64
%21 = shl i64 1, %20
%22 = load i64, ptr %7, align 8
%23 = or i64 %22, %21
store i64 %23, ptr %7, align 8
br label %24
24: ; preds = %14
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %10, !llvm.loop !6
27: ; preds = %10
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %29
29: ; preds = %63, %27
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 256
br i1 %31, label %32, label %66
32: ; preds = %29
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
store i64 %34, ptr %6, align 8
store i32 8, ptr %9, align 4
br label %35
35: ; preds = %52, %32
%36 = load i32, ptr %9, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %55
38: ; preds = %35
%39 = load i64, ptr %6, align 8
%40 = and i64 %39, 1
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %38
%43 = load i64, ptr %6, align 8
%44 = lshr i64 %43, 1
%45 = load i64, ptr %7, align 8
%46 = xor i64 %44, %45
br label %50
47: ; preds = %38
%48 = load i64, ptr %6, align 8
%49 = lshr i64 %48, 1
br label %50
50: ; preds = %47, %42
%51 = phi i64 [ %46, %42 ], [ %49, %47 ]
store i64 %51, ptr %6, align 8
br label %52
52: ; preds = %50
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %9, align 4
br label %35, !llvm.loop !8
55: ; preds = %35
%56 = load i32, ptr %8, align 4
%57 = srem i32 %56, 5
%58 = icmp ne i32 %57, 0
%59 = zext i1 %58 to i64
%60 = select i1 %58, ptr @.str.1, ptr @.str.2
%61 = load i64, ptr %6, align 8
%62 = call i32 (ptr, ...) @printf(ptr noundef %60, i64 noundef %61)
br label %63
63: ; preds = %55
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %29, !llvm.loop !9
66: ; preds = %29
%67 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxous5zpw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.p = internal global [14 x i32] [i32 0, i32 1, i32 2, i32 4, i32 5, i32 7, i32 8, i32 10, i32 11, i32 12, i32 16, i32 22, i32 23, i32 26], align 16
@.str = private unnamed_addr constant [14 x i8] c" 0x00000000L\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c", 0x%08lxL\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c",\0A 0x%08lxL\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 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 i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = sext i32 %10 to i64
%12 = icmp ult i64 %11, 14
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %23
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [14 x i32], ptr @main.p, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = sub nsw i32 31, %17
%19 = zext i32 %18 to i64
%20 = shl i64 1, %19
%21 = load i64, ptr %7, align 8
%22 = or i64 %21, %20
store i64 %22, ptr %7, align 8
br label %23
23: ; preds = %13
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %27, 14
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 256
br i1 %32, label %.lr.ph5, label %70
.lr.ph5: ; preds = %29
br label %33
33: ; preds = %.lr.ph5, %65
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
store i64 %35, ptr %6, align 8
store i32 8, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %.lr.ph2, label %57
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %52
%39 = load i64, ptr %6, align 8
%40 = and i64 %39, 1
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %38
%43 = load i64, ptr %6, align 8
%44 = lshr i64 %43, 1
%45 = load i64, ptr %7, align 8
%46 = xor i64 %44, %45
br label %50
47: ; preds = %38
%48 = load i64, ptr %6, align 8
%49 = lshr i64 %48, 1
br label %50
50: ; preds = %47, %42
%51 = phi i64 [ %46, %42 ], [ %49, %47 ]
store i64 %51, ptr %6, align 8
br label %52
52: ; preds = %50
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %9, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %33
%58 = load i32, ptr %8, align 4
%59 = srem i32 %58, 5
%60 = icmp ne i32 %59, 0
%61 = zext i1 %60 to i64
%62 = select i1 %60, ptr @.str.1, ptr @.str.2
%63 = load i64, ptr %6, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef %62, i64 noundef %63)
br label %65
65: ; preds = %57
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 256
br i1 %69, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %65
br label %70
70: ; preds = %._crit_edge6, %29
%71 = call i32 @putchar(i8 noundef signext 10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpo61kz932.c'
source_filename = "/tmp/tmpo61kz932.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @srand(i32 noundef %3)
%5 = call i32 (...) @question_four()
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @question_four(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo61kz932.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @time(ptr noundef null)
%3 = trunc i64 %2 to i32
%4 = call i32 @srand(i32 noundef %3)
%5 = call i32 (...) @question_four()
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @question_four(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjfb0icyz.c'
source_filename = "/tmp/tmpjfb0icyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @anetWrite(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %37, %32, %3
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ne i64 %11, %12
br i1 %13, label %14, label %44
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %9, align 8
%19 = sub i64 %17, %18
%20 = call i64 @write(i32 noundef %15, ptr noundef %16, i64 noundef %19)
store i64 %20, ptr %8, align 8
%21 = load i64, ptr %8, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %14
%24 = load i64, ptr %9, align 8
store i64 %24, ptr %4, align 8
br label %46
25: ; preds = %14
%26 = load i64, ptr %8, align 8
%27 = icmp eq i64 %26, -1
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EINTR, align 8
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %33
32: ; preds = %28
br label %10, !llvm.loop !6
33: ; preds = %28, %25
%34 = load i64, ptr %8, align 8
%35 = icmp eq i64 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %33
store i64 -1, ptr %4, align 8
br label %46
37: ; preds = %33
%38 = load i64, ptr %8, align 8
%39 = load i64, ptr %9, align 8
%40 = add i64 %39, %38
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %8, align 8
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 %41
store ptr %43, ptr %6, align 8
br label %10, !llvm.loop !6
44: ; preds = %10
%45 = load i64, ptr %9, align 8
store i64 %45, ptr %4, align 8
br label %46
46: ; preds = %44, %36, %23
%47 = load i64, ptr %4, align 8
ret i64 %47
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjfb0icyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @anetWrite(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %9, align 8
%10 = load i64, ptr %9, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %.lr.ph, label %46
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %.backedge
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = load i64, ptr %9, align 8
%18 = sub i64 %16, %17
%19 = call i64 @write(i32 noundef %14, ptr noundef %15, i64 noundef %18)
store i64 %19, ptr %8, align 8
%20 = load i64, ptr %8, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %13
%23 = load i64, ptr %9, align 8
store i64 %23, ptr %4, align 8
br label %48
24: ; preds = %13
%25 = load i64, ptr %8, align 8
%26 = icmp eq i64 %25, -1
br i1 %26, label %27, label %35
27: ; preds = %24
%28 = load i64, ptr @errno, align 8
%29 = load i64, ptr @EINTR, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
br label %.backedge
.backedge: ; preds = %31, %39
%32 = load i64, ptr %9, align 8
%33 = load i64, ptr %7, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %13, label %._crit_edge, !llvm.loop !6
35: ; preds = %27, %24
%36 = load i64, ptr %8, align 8
%37 = icmp eq i64 %36, -1
br i1 %37, label %38, label %39
38: ; preds = %35
store i64 -1, ptr %4, align 8
br label %48
39: ; preds = %35
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = add i64 %41, %40
store i64 %42, ptr %9, align 8
%43 = load i64, ptr %8, align 8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 %43
store ptr %45, ptr %6, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %46
46: ; preds = %._crit_edge, %3
%47 = load i64, ptr %9, align 8
store i64 %47, ptr %4, align 8
br label %48
48: ; preds = %46, %38, %22
%49 = load i64, ptr %4, align 8
ret i64 %49
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn4v8l7aj.c'
source_filename = "/tmp/tmpn4v8l7aj.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"CABDE\00\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"CABDE\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 11, i1 false)
%3 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds i8, ptr %3, i64 2
%5 = call i32 @strcat(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 2
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 %8, %11
%13 = trunc i32 %12 to i8
%14 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %13)
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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn4v8l7aj.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"CABDE\00\00\00\00\00\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"CABDE\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 11, i1 false)
%3 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds i8, ptr %3, i64 2
%5 = call i32 @strcat(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 2
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = sub nsw i32 %8, %11
%13 = trunc i32 %12 to i8
%14 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %13)
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 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr 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"}
|
; ModuleID = '/tmp/tmpnxx0_hhx.c'
source_filename = "/tmp/tmpnxx0_hhx.c"
target datalayout = "e-m:e-p270: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/tmpnxx0_hhx.c"
target datalayout = "e-m:e-p270: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/tmpa795vpi0.c'
source_filename = "/tmp/tmpa795vpi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @__strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i64 0, ptr %3, align 8
br label %67
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = ptrtoint ptr %16 to i64
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %6, align 8
%19 = and i64 %18, -8
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %7, align 8
%21 = load i64, ptr %6, align 8
%22 = and i64 %21, 3
%23 = sub i64 4, %22
store i64 %23, ptr %8, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %24, align 4
%26 = load i64, ptr %6, align 8
%27 = shl i64 %26, 3
%28 = call i32 @__insn_shl(i64 noundef 1, i64 noundef %27)
%29 = sub nsw i32 %28, 1
%30 = or i32 %25, %29
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %41, %15
%32 = load i32, ptr %9, align 4
%33 = call i32 @__insn_v1cmpeqi(i32 noundef %32, i32 noundef 0)
store i32 %33, ptr %10, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %47
35: ; preds = %31
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %5, align 8
%38 = icmp uge i64 %36, %37
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = load i64, ptr %5, align 8
store i64 %40, ptr %3, align 8
br label %67
41: ; preds = %35
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds i32, ptr %42, i32 1
store ptr %43, ptr %7, align 8
%44 = load i32, ptr %43, align 4
store i32 %44, ptr %9, align 4
%45 = load i64, ptr %8, align 8
%46 = add i64 %45, 4
store i64 %46, ptr %8, align 8
br label %31, !llvm.loop !6
47: ; preds = %31
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @__insn_ctz(i32 noundef %49)
%51 = ashr i32 %50, 3
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %48, i64 %52
%54 = load ptr, ptr %4, align 8
%55 = ptrtoint ptr %53 to i64
%56 = ptrtoint ptr %54 to i64
%57 = sub i64 %55, %56
store i64 %57, ptr %11, align 8
%58 = load i64, ptr %11, align 8
%59 = load i64, ptr %5, align 8
%60 = icmp ult i64 %58, %59
br i1 %60, label %61, label %63
61: ; preds = %47
%62 = load i64, ptr %11, align 8
br label %65
63: ; preds = %47
%64 = load i64, ptr %5, align 8
br label %65
65: ; preds = %63, %61
%66 = phi i64 [ %62, %61 ], [ %64, %63 ]
store i64 %66, ptr %3, align 8
br label %67
67: ; preds = %65, %39, %14
%68 = load i64, ptr %3, align 8
ret i64 %68
}
declare i32 @__insn_shl(i64 noundef, i64 noundef) #1
declare i32 @__insn_v1cmpeqi(i32 noundef, i32 noundef) #1
declare i32 @__insn_ctz(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/tmpa795vpi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @__strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %2
store i64 0, ptr %3, align 8
br label %69
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = ptrtoint ptr %16 to i64
store i64 %17, ptr %6, align 8
%18 = load i64, ptr %6, align 8
%19 = and i64 %18, -8
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %7, align 8
%21 = load i64, ptr %6, align 8
%22 = and i64 %21, 3
%23 = sub i64 4, %22
store i64 %23, ptr %8, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %24, align 4
%26 = load i64, ptr %6, align 8
%27 = shl i64 %26, 3
%28 = call i32 @__insn_shl(i64 noundef 1, i64 noundef %27)
%29 = sub nsw i32 %28, 1
%30 = or i32 %25, %29
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = call i32 @__insn_v1cmpeqi(i32 noundef %31, i32 noundef 0)
store i32 %32, ptr %10, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %.lr.ph, label %49
.lr.ph: ; preds = %15
br label %34
34: ; preds = %.lr.ph, %40
%35 = load i64, ptr %8, align 8
%36 = load i64, ptr %5, align 8
%37 = icmp uge i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = load i64, ptr %5, align 8
store i64 %39, ptr %3, align 8
br label %69
40: ; preds = %34
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i32, ptr %41, i32 1
store ptr %42, ptr %7, align 8
%43 = load i32, ptr %42, align 4
store i32 %43, ptr %9, align 4
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 4
store i64 %45, ptr %8, align 8
%46 = load i32, ptr %9, align 4
%47 = call i32 @__insn_v1cmpeqi(i32 noundef %46, i32 noundef 0)
store i32 %47, ptr %10, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %49
49: ; preds = %._crit_edge, %15
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %10, align 4
%52 = call i32 @__insn_ctz(i32 noundef %51)
%53 = ashr i32 %52, 3
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load ptr, ptr %4, align 8
%57 = ptrtoint ptr %55 to i64
%58 = ptrtoint ptr %56 to i64
%59 = sub i64 %57, %58
store i64 %59, ptr %11, align 8
%60 = load i64, ptr %11, align 8
%61 = load i64, ptr %5, align 8
%62 = icmp ult i64 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %49
%64 = load i64, ptr %11, align 8
br label %67
65: ; preds = %49
%66 = load i64, ptr %5, align 8
br label %67
67: ; preds = %65, %63
%68 = phi i64 [ %64, %63 ], [ %66, %65 ]
store i64 %68, ptr %3, align 8
br label %69
69: ; preds = %67, %38, %14
%70 = load i64, ptr %3, align 8
ret i64 %70
}
declare i32 @__insn_shl(i64 noundef, i64 noundef) #1
declare i32 @__insn_v1cmpeqi(i32 noundef, i32 noundef) #1
declare i32 @__insn_ctz(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/tmpopw6n3x1.c'
source_filename = "/tmp/tmpopw6n3x1.c"
target datalayout = "e-m:e-p270: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.src1 = private unnamed_addr constant [6 x i8] c"\14\FB\9C\03\D9~", align 1
@__const.main.src2 = private unnamed_addr constant [5 x i8] c"\14\FB\9C\03\D9", align 1
@__const.main.src3 = private unnamed_addr constant [4 x i8] c"\14\FB\9C\03", align 1
@__const.main.dst1 = private unnamed_addr constant [9 x i8] c"FPucA9l+\00", align 1
@__const.main.dst2 = private unnamed_addr constant [9 x i8] c"FPucA9k=\00", align 1
@__const.main.dst3 = private unnamed_addr constant [9 x i8] c"FPucAw==\00", align 1
@.str = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dun/munge/refs/heads/master/src/munged/base64_test.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Input data 0x14fb9c03d97e\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Input data 0x14fb9c03d9\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Input data 0x14fb9c03\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 [6 x i8], align 1
%7 = alloca [5 x i8], align 1
%8 = alloca [4 x i8], align 1
%9 = alloca [9 x i8], align 1
%10 = alloca [9 x i8], align 1
%11 = alloca [9 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.src1, i64 6, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.src2, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.src3, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.dst1, i64 9, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.dst2, i64 9, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.dst3, i64 9, i1 false)
%12 = call i32 @tap_plan(i32 noundef 3, ptr noundef null)
%13 = getelementptr inbounds [9 x i8], ptr %9, i64 0, i64 0
%14 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 0
%15 = call i64 @validate(ptr noundef %13, ptr noundef %14, i32 noundef 6)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 62, i32 noundef %17, ptr noundef @.str.1, ptr noundef null)
%19 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%20 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%21 = call i64 @validate(ptr noundef %19, ptr noundef %20, i32 noundef 5)
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 65, i32 noundef %23, ptr noundef @.str.2, ptr noundef null)
%25 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%26 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%27 = call i64 @validate(ptr noundef %25, ptr noundef %26, i32 noundef 4)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 68, i32 noundef %29, ptr noundef @.str.3, ptr noundef null)
%31 = call i32 (...) @exit_status()
ret i32 %31
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @tap_plan(i32 noundef, ptr noundef) #2
declare i32 @ok_at_loc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @validate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @exit_status(...) #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/tmpopw6n3x1.c"
target datalayout = "e-m:e-p270: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.src1 = private unnamed_addr constant [6 x i8] c"\14\FB\9C\03\D9~", align 1
@__const.main.src2 = private unnamed_addr constant [5 x i8] c"\14\FB\9C\03\D9", align 1
@__const.main.src3 = private unnamed_addr constant [4 x i8] c"\14\FB\9C\03", align 1
@__const.main.dst1 = private unnamed_addr constant [9 x i8] c"FPucA9l+\00", align 1
@__const.main.dst2 = private unnamed_addr constant [9 x i8] c"FPucA9k=\00", align 1
@__const.main.dst3 = private unnamed_addr constant [9 x i8] c"FPucAw==\00", align 1
@.str = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dun/munge/refs/heads/master/src/munged/base64_test.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Input data 0x14fb9c03d97e\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Input data 0x14fb9c03d9\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Input data 0x14fb9c03\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 [6 x i8], align 1
%7 = alloca [5 x i8], align 1
%8 = alloca [4 x i8], align 1
%9 = alloca [9 x i8], align 1
%10 = alloca [9 x i8], align 1
%11 = alloca [9 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.src1, i64 6, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.src2, i64 5, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.src3, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.dst1, i64 9, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.dst2, i64 9, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.dst3, i64 9, i1 false)
%12 = call i32 @tap_plan(i32 noundef 3, ptr noundef null)
%13 = getelementptr inbounds [9 x i8], ptr %9, i64 0, i64 0
%14 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 0
%15 = call i64 @validate(ptr noundef %13, ptr noundef %14, i32 noundef 6)
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 62, i32 noundef %17, ptr noundef @.str.1, ptr noundef null)
%19 = getelementptr inbounds [9 x i8], ptr %10, i64 0, i64 0
%20 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%21 = call i64 @validate(ptr noundef %19, ptr noundef %20, i32 noundef 5)
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 65, i32 noundef %23, ptr noundef @.str.2, ptr noundef null)
%25 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0
%26 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%27 = call i64 @validate(ptr noundef %25, ptr noundef %26, i32 noundef 4)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @ok_at_loc(ptr noundef @.str, i32 noundef 68, i32 noundef %29, ptr noundef @.str.3, ptr noundef null)
%31 = call i32 (...) @exit_status()
ret i32 %31
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @tap_plan(i32 noundef, ptr noundef) #2
declare i32 @ok_at_loc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @validate(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @exit_status(...) #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/tmpskr2efq1.c'
source_filename = "/tmp/tmpskr2efq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %7, align 4
br label %8
8: ; preds = %47, %2
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %50
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %33, %12
%21 = load i32, ptr %5, align 4
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp slt i32 %21, %26
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 0
br label %31
31: ; preds = %28, %20
%32 = phi i1 [ false, %20 ], [ %30, %28 ]
br i1 %32, label %33, label %46
33: ; preds = %31
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = call i32 @swap(ptr noundef %37, ptr noundef %42)
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %6, align 4
br label %20, !llvm.loop !6
46: ; preds = %31
br label %47
47: ; preds = %46
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
br label %8, !llvm.loop !8
50: ; preds = %8
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpskr2efq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %52
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %46
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %7, align 4
%18 = sub nsw i32 %17, 1
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %32, %11
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %20, %25
br i1 %26, label %27, label %30
27: ; preds = %19
%28 = load i32, ptr %6, align 4
%29 = icmp sge i32 %28, 0
br label %30
30: ; preds = %27, %19
%31 = phi i1 [ false, %19 ], [ %29, %27 ]
br i1 %31, label %32, label %45
32: ; preds = %30
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = call i32 @swap(ptr noundef %36, ptr noundef %41)
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %6, align 4
br label %19, !llvm.loop !6
45: ; preds = %30
br label %46
46: ; preds = %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpj_u_jc7_.c'
source_filename = "/tmp/tmpj_u_jc7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Message a envoyer: \00", align 1
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Debut avec client '%s'\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"getnameinfo: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Fin avec client '%s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Message recu '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @communication(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca [512 x i8], align 16
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store ptr @.str, ptr %13, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr @NI_MAXHOST, align 4
%18 = load i32, ptr @NI_NUMERICHOST, align 4
%19 = call i32 @getnameinfo(ptr noundef %14, i32 noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef null, i32 noundef 0, i32 noundef %18)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %4
%23 = load ptr, ptr %7, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
br label %30
25: ; preds = %4
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr %9, align 4
%28 = call ptr @gai_strerror(i32 noundef %27)
%29 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %25, %22
br label %31
31: ; preds = %62, %30
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %13, align 8
%34 = load ptr, ptr %13, align 8
%35 = call i32 @strlen(ptr noundef %34)
%36 = call i64 @write(i32 noundef %32, ptr noundef %33, i32 noundef %35)
store i64 %36, ptr %11, align 8
%37 = load i64, ptr %11, align 8
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %43
39: ; preds = %31
%40 = call i32 @perror(ptr noundef @.str.3)
%41 = load i32, ptr %8, align 4
%42 = call i32 @close(i32 noundef %41)
br label %67
43: ; preds = %31
%44 = load i32, ptr %8, align 4
%45 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%46 = call i64 @read(i32 noundef %44, ptr noundef %45, i32 noundef 512)
store i64 %46, ptr %10, align 8
%47 = load i64, ptr %10, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %43
%50 = load ptr, ptr %7, align 8
%51 = call i32 @printf(ptr noundef @.str.4, ptr noundef %50)
%52 = load i32, ptr %8, align 4
%53 = call i32 @close(i32 noundef %52)
br label %67
54: ; preds = %43
%55 = load i64, ptr %10, align 8
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %54
%58 = call i32 @perror(ptr noundef @.str.5)
%59 = load i32, ptr %8, align 4
%60 = call i32 @close(i32 noundef %59)
br label %67
61: ; preds = %54
br label %62
62: ; preds = %61
%63 = load i64, ptr %10, align 8
%64 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 %63
store i8 0, ptr %64, align 1
%65 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%66 = call i32 @printf(ptr noundef @.str.6, ptr noundef %65)
br label %31
67: ; preds = %57, %49, %39
ret void
}
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_u_jc7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Message a envoyer: \00", align 1
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"Debut avec client '%s'\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"getnameinfo: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Fin avec client '%s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"Message recu '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @communication(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca [512 x i8], align 16
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store ptr @.str, ptr %13, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr @NI_MAXHOST, align 4
%18 = load i32, ptr @NI_NUMERICHOST, align 4
%19 = call i32 @getnameinfo(ptr noundef %14, i32 noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef null, i32 noundef 0, i32 noundef %18)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %4
%23 = load ptr, ptr %7, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
br label %30
25: ; preds = %4
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr %9, align 4
%28 = call ptr @gai_strerror(i32 noundef %27)
%29 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %25, %22
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %13, align 8
%33 = load ptr, ptr %13, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i64 @write(i32 noundef %31, ptr noundef %32, i32 noundef %34)
store i64 %35, ptr %11, align 8
%36 = load i64, ptr %11, align 8
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %.lr.ph
.lr.ph: ; preds = %30
br label %42
._crit_edge: ; preds = %61
br label %38
38: ; preds = %._crit_edge, %30
%39 = call i32 @perror(ptr noundef @.str.3)
%40 = load i32, ptr %8, align 4
%41 = call i32 @close(i32 noundef %40)
br label %73
42: ; preds = %.lr.ph, %61
%43 = load i32, ptr %8, align 4
%44 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%45 = call i64 @read(i32 noundef %43, ptr noundef %44, i32 noundef 512)
store i64 %45, ptr %10, align 8
%46 = load i64, ptr %10, align 8
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %42
%49 = load ptr, ptr %7, align 8
%50 = call i32 @printf(ptr noundef @.str.4, ptr noundef %49)
%51 = load i32, ptr %8, align 4
%52 = call i32 @close(i32 noundef %51)
br label %73
53: ; preds = %42
%54 = load i64, ptr %10, align 8
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %53
%57 = call i32 @perror(ptr noundef @.str.5)
%58 = load i32, ptr %8, align 4
%59 = call i32 @close(i32 noundef %58)
br label %73
60: ; preds = %53
br label %61
61: ; preds = %60
%62 = load i64, ptr %10, align 8
%63 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 %62
store i8 0, ptr %63, align 1
%64 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%65 = call i32 @printf(ptr noundef @.str.6, ptr noundef %64)
%66 = load i32, ptr %8, align 4
%67 = load ptr, ptr %13, align 8
%68 = load ptr, ptr %13, align 8
%69 = call i32 @strlen(ptr noundef %68)
%70 = call i64 @write(i32 noundef %66, ptr noundef %67, i32 noundef %69)
store i64 %70, ptr %11, align 8
%71 = load i64, ptr %11, align 8
%72 = icmp slt i64 %71, 0
br i1 %72, label %._crit_edge, label %42
73: ; preds = %56, %48, %38
ret void
}
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf33recnz.c'
source_filename = "/tmp/tmpf33recnz.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [6 x i32] [i32 1, i32 5, i32 3, i32 3, i32 2, i32 6], align 16
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [6 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 24, i1 false)
%3 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @sortfun(ptr noundef %3, i32 noundef 6)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
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 @sortfun(ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf33recnz.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [6 x i32] [i32 1, i32 5, i32 3, i32 3, i32 2, i32 6], align 16
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [6 x i32], align 16
%2 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.a, i64 24, i1 false)
%3 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 0
%4 = call i32 @sortfun(ptr noundef %3, i32 noundef 6)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 6
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
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 @sortfun(ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmprdwa1x2y.c'
source_filename = "/tmp/tmprdwa1x2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprdwa1x2y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmd2m6wc0.c'
source_filename = "/tmp/tmpmd2m6wc0.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [11 x float] [float 0xBF7183F2E0000000, float 0xC00A962EE0000000, float 0xC043C6C400000000, float 0x4015A1C380000000, float 0x4050585600000000, float 0x3FB60DD820000000, float 0x3F9A4537E0000000, float 0x3F88D487A0000000, float 0xBF808B3320000000, float 0xBFB859F700000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(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
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [11 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, 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 10, ptr %7, align 4
store float 0x3FF544AE80000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %33, align 16
%34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %34, align 4
%35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC032010620000000, ptr %35, align 8
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032018940000000, ptr %36, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %37, align 16
%38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %38, align 4
%39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x403200C4A0000000, ptr %39, align 8
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032004180000000, ptr %40, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 44, i1 false)
store i32 0, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %79
43: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %44
44: ; preds = %75, %43
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %78
48: ; preds = %44
%49 = load i32, ptr %14, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = load i32, ptr %14, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = fcmp oeq float %52, %56
br i1 %57, label %58, label %59
58: ; preds = %48
br label %75
59: ; preds = %48
%60 = load i32, ptr %14, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %61
%63 = load float, ptr %62, align 4
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = fsub float %63, %67
%69 = fpext float %68 to double
%70 = fdiv double 2.000000e+00, %69
%71 = fptrunc double %70 to float
%72 = load i32, ptr %14, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %73
store float %71, ptr %74, align 4
br label %75
75: ; preds = %59, %58
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
br label %44, !llvm.loop !6
78: ; preds = %44
br label %79
79: ; preds = %78, %3
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds float, ptr %80, i64 0
%82 = load float, ptr %81, align 4
%83 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%84 = load float, ptr %83, align 16
%85 = fsub float %82, %84
%86 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%87 = load float, ptr %86, align 16
%88 = fmul float %85, %87
%89 = fpext float %88 to double
%90 = fadd double 1.000000e+00, %89
%91 = fptrunc double %90 to float
store float %91, ptr %15, align 4
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds float, ptr %92, i64 0
%94 = load float, ptr %93, align 4
%95 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%96 = load float, ptr %95, align 16
%97 = fmul float %94, %96
store float %97, ptr %16, align 4
%98 = load ptr, ptr %4, align 8
%99 = getelementptr inbounds float, ptr %98, i64 1
%100 = load float, ptr %99, align 4
%101 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%102 = load float, ptr %101, align 4
%103 = fsub float %100, %102
%104 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%105 = load float, ptr %104, align 4
%106 = fmul float %103, %105
%107 = fpext float %106 to double
%108 = fadd double 1.000000e+00, %107
%109 = fptrunc double %108 to float
store float %109, ptr %17, align 4
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds float, ptr %110, i64 1
%112 = load float, ptr %111, align 4
%113 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%114 = load float, ptr %113, align 4
%115 = fmul float %112, %114
store float %115, ptr %18, align 4
%116 = load ptr, ptr %4, align 8
%117 = getelementptr inbounds float, ptr %116, i64 2
%118 = load float, ptr %117, align 4
%119 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%120 = load float, ptr %119, align 8
%121 = fsub float %118, %120
%122 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%123 = load float, ptr %122, align 8
%124 = fmul float %121, %123
%125 = fpext float %124 to double
%126 = fadd double 1.000000e+00, %125
%127 = fptrunc double %126 to float
store float %127, ptr %19, align 4
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds float, ptr %128, i64 2
%130 = load float, ptr %129, align 4
%131 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%132 = load float, ptr %131, align 8
%133 = fmul float %130, %132
store float %133, ptr %20, align 4
%134 = load ptr, ptr %4, align 8
%135 = getelementptr inbounds float, ptr %134, i64 3
%136 = load float, ptr %135, align 4
%137 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%138 = load float, ptr %137, align 4
%139 = fsub float %136, %138
%140 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%141 = load float, ptr %140, align 4
%142 = fmul float %139, %141
%143 = fpext float %142 to double
%144 = fadd double 1.000000e+00, %143
%145 = fptrunc double %144 to float
store float %145, ptr %21, align 4
%146 = load ptr, ptr %5, align 8
%147 = getelementptr inbounds float, ptr %146, i64 3
%148 = load float, ptr %147, align 4
%149 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%150 = load float, ptr %149, align 4
%151 = fmul float %148, %150
store float %151, ptr %22, align 4
%152 = load float, ptr %15, align 4
store float %152, ptr %23, align 4
%153 = load float, ptr %23, align 4
%154 = load float, ptr %15, align 4
%155 = fmul float %153, %154
store float %155, ptr %24, align 4
%156 = load float, ptr %17, align 4
store float %156, ptr %25, align 4
%157 = load float, ptr %25, align 4
%158 = load float, ptr %17, align 4
%159 = fmul float %157, %158
store float %159, ptr %26, align 4
%160 = load float, ptr %19, align 4
store float %160, ptr %27, align 4
%161 = load float, ptr %27, align 4
%162 = load float, ptr %19, align 4
%163 = fmul float %161, %162
store float %163, ptr %28, align 4
%164 = load float, ptr %21, align 4
store float %164, ptr %29, align 4
%165 = load float, ptr %8, align 4
%166 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 0
%167 = load float, ptr %166, align 16
%168 = fadd float %165, %167
%169 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 1
%170 = load float, ptr %169, align 4
%171 = load float, ptr %23, align 4
%172 = call float @llvm.fmuladd.f32(float %170, float %171, float %168)
%173 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 2
%174 = load float, ptr %173, align 8
%175 = load float, ptr %25, align 4
%176 = call float @llvm.fmuladd.f32(float %174, float %175, float %172)
%177 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 3
%178 = load float, ptr %177, align 4
%179 = load float, ptr %27, align 4
%180 = call float @llvm.fmuladd.f32(float %178, float %179, float %176)
%181 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 4
%182 = load float, ptr %181, align 16
%183 = load float, ptr %29, align 4
%184 = call float @llvm.fmuladd.f32(float %182, float %183, float %180)
%185 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 5
%186 = load float, ptr %185, align 4
%187 = load float, ptr %28, align 4
%188 = call float @llvm.fmuladd.f32(float %186, float %187, float %184)
%189 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 6
%190 = load float, ptr %189, align 8
%191 = load float, ptr %24, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%194 = load float, ptr %193, align 4
%195 = load float, ptr %25, align 4
%196 = fmul float %194, %195
%197 = load float, ptr %29, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %192)
store float %198, ptr %30, align 4
%199 = load float, ptr %30, align 4
%200 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 8
%201 = load float, ptr %200, align 16
%202 = load float, ptr %26, align 4
%203 = call float @llvm.fmuladd.f32(float %201, float %202, float %199)
%204 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%205 = load float, ptr %204, align 4
%206 = load float, ptr %23, align 4
%207 = fmul float %205, %206
%208 = load float, ptr %27, align 4
%209 = call float @llvm.fmuladd.f32(float %207, float %208, float %203)
store float %209, ptr %30, align 4
%210 = load float, ptr %16, align 4
%211 = fadd float 0.000000e+00, %210
%212 = load float, ptr %18, align 4
%213 = fadd float %211, %212
%214 = load float, ptr %20, align 4
%215 = fadd float %213, %214
%216 = load float, ptr %22, align 4
%217 = fadd float %215, %216
store float %217, ptr %31, align 4
%218 = load float, ptr %31, align 4
%219 = fcmp oeq float %218, 0.000000e+00
br i1 %219, label %220, label %221
220: ; preds = %79
br label %286
221: ; preds = %79
%222 = load float, ptr %16, align 4
%223 = load float, ptr %16, align 4
%224 = fmul float %222, %223
%225 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 1
%226 = load float, ptr %225, align 4
%227 = fadd float 0.000000e+00, %226
%228 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 6
%229 = load float, ptr %228, align 8
%230 = fmul float 2.000000e+00, %229
%231 = load float, ptr %23, align 4
%232 = call float @llvm.fmuladd.f32(float %230, float %231, float %227)
%233 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%234 = load float, ptr %233, align 4
%235 = load float, ptr %27, align 4
%236 = call float @llvm.fmuladd.f32(float %234, float %235, float %232)
%237 = call float @pow(float noundef %236, i32 noundef 2)
%238 = load float, ptr %18, align 4
%239 = load float, ptr %18, align 4
%240 = fmul float %238, %239
%241 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 2
%242 = load float, ptr %241, align 8
%243 = fadd float 0.000000e+00, %242
%244 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%245 = load float, ptr %244, align 4
%246 = load float, ptr %29, align 4
%247 = call float @llvm.fmuladd.f32(float %245, float %246, float %243)
%248 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 8
%249 = load float, ptr %248, align 16
%250 = fmul float 2.000000e+00, %249
%251 = load float, ptr %25, align 4
%252 = call float @llvm.fmuladd.f32(float %250, float %251, float %247)
%253 = call float @pow(float noundef %252, i32 noundef 2)
%254 = fmul float %240, %253
%255 = call float @llvm.fmuladd.f32(float %224, float %237, float %254)
%256 = load float, ptr %20, align 4
%257 = load float, ptr %20, align 4
%258 = fmul float %256, %257
%259 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 3
%260 = load float, ptr %259, align 4
%261 = fadd float 0.000000e+00, %260
%262 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 5
%263 = load float, ptr %262, align 4
%264 = fmul float 2.000000e+00, %263
%265 = load float, ptr %27, align 4
%266 = call float @llvm.fmuladd.f32(float %264, float %265, float %261)
%267 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%268 = load float, ptr %267, align 4
%269 = load float, ptr %23, align 4
%270 = call float @llvm.fmuladd.f32(float %268, float %269, float %266)
%271 = call float @pow(float noundef %270, i32 noundef 2)
%272 = call float @llvm.fmuladd.f32(float %258, float %271, float %255)
%273 = load float, ptr %22, align 4
%274 = load float, ptr %22, align 4
%275 = fmul float %273, %274
%276 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 4
%277 = load float, ptr %276, align 16
%278 = fadd float 0.000000e+00, %277
%279 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%280 = load float, ptr %279, align 4
%281 = load float, ptr %25, align 4
%282 = call float @llvm.fmuladd.f32(float %280, float %281, float %278)
%283 = call float @pow(float noundef %282, i32 noundef 2)
%284 = call float @llvm.fmuladd.f32(float %275, float %283, float %272)
%285 = call float @sqrt(float noundef %284)
br label %286
286: ; preds = %221, %220
%287 = phi float [ 0.000000e+00, %220 ], [ %285, %221 ]
store float %287, ptr %32, align 4
%288 = load float, ptr %32, align 4
%289 = load ptr, ptr %5, align 8
%290 = getelementptr inbounds float, ptr %289, i64 0
store float %288, ptr %290, align 4
%291 = load float, ptr %30, align 4
ret float %291
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #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: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpmd2m6wc0.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [11 x float] [float 0xBF7183F2E0000000, float 0xC00A962EE0000000, float 0xC043C6C400000000, float 0x4015A1C380000000, float 0x4050585600000000, float 0x3FB60DD820000000, float 0x3F9A4537E0000000, float 0x3F88D487A0000000, float 0xBF808B3320000000, float 0xBFB859F700000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(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
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [11 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, 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 10, ptr %7, align 4
store float 0x3FF544AE80000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%33 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %33, align 16
%34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %34, align 4
%35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float 0xC032010620000000, ptr %35, align 8
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032018940000000, ptr %36, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%37 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %37, align 16
%38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %38, align 4
%39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 0x403200C4A0000000, ptr %39, align 8
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4032004180000000, ptr %40, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 44, i1 false)
store i32 0, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %81
43: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph, label %80
.lr.ph: ; preds = %43
br label %47
47: ; preds = %.lr.ph, %74
%48 = load i32, ptr %14, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %49
%51 = load float, ptr %50, align 4
%52 = load i32, ptr %14, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %53
%55 = load float, ptr %54, align 4
%56 = fcmp oeq float %51, %55
br i1 %56, label %57, label %58
57: ; preds = %47
br label %74
58: ; preds = %47
%59 = load i32, ptr %14, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %60
%62 = load float, ptr %61, align 4
%63 = load i32, ptr %14, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %64
%66 = load float, ptr %65, align 4
%67 = fsub float %62, %66
%68 = fpext float %67 to double
%69 = fdiv double 2.000000e+00, %68
%70 = fptrunc double %69 to float
%71 = load i32, ptr %14, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %72
store float %70, ptr %73, align 4
br label %74
74: ; preds = %58, %57
%75 = load i32, ptr %14, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %14, align 4
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %43
br label %81
81: ; preds = %80, %3
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds float, ptr %82, i64 0
%84 = load float, ptr %83, align 4
%85 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%86 = load float, ptr %85, align 16
%87 = fsub float %84, %86
%88 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fmul float %87, %89
%91 = fpext float %90 to double
%92 = fadd double 1.000000e+00, %91
%93 = fptrunc double %92 to float
store float %93, ptr %15, align 4
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds float, ptr %94, i64 0
%96 = load float, ptr %95, align 4
%97 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%98 = load float, ptr %97, align 16
%99 = fmul float %96, %98
store float %99, ptr %16, align 4
%100 = load ptr, ptr %4, align 8
%101 = getelementptr inbounds float, ptr %100, i64 1
%102 = load float, ptr %101, align 4
%103 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%104 = load float, ptr %103, align 4
%105 = fsub float %102, %104
%106 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fmul float %105, %107
%109 = fpext float %108 to double
%110 = fadd double 1.000000e+00, %109
%111 = fptrunc double %110 to float
store float %111, ptr %17, align 4
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds float, ptr %112, i64 1
%114 = load float, ptr %113, align 4
%115 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%116 = load float, ptr %115, align 4
%117 = fmul float %114, %116
store float %117, ptr %18, align 4
%118 = load ptr, ptr %4, align 8
%119 = getelementptr inbounds float, ptr %118, i64 2
%120 = load float, ptr %119, align 4
%121 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%122 = load float, ptr %121, align 8
%123 = fsub float %120, %122
%124 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fmul float %123, %125
%127 = fpext float %126 to double
%128 = fadd double 1.000000e+00, %127
%129 = fptrunc double %128 to float
store float %129, ptr %19, align 4
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds float, ptr %130, i64 2
%132 = load float, ptr %131, align 4
%133 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%134 = load float, ptr %133, align 8
%135 = fmul float %132, %134
store float %135, ptr %20, align 4
%136 = load ptr, ptr %4, align 8
%137 = getelementptr inbounds float, ptr %136, i64 3
%138 = load float, ptr %137, align 4
%139 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%140 = load float, ptr %139, align 4
%141 = fsub float %138, %140
%142 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fmul float %141, %143
%145 = fpext float %144 to double
%146 = fadd double 1.000000e+00, %145
%147 = fptrunc double %146 to float
store float %147, ptr %21, align 4
%148 = load ptr, ptr %5, align 8
%149 = getelementptr inbounds float, ptr %148, i64 3
%150 = load float, ptr %149, align 4
%151 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%152 = load float, ptr %151, align 4
%153 = fmul float %150, %152
store float %153, ptr %22, align 4
%154 = load float, ptr %15, align 4
store float %154, ptr %23, align 4
%155 = load float, ptr %23, align 4
%156 = load float, ptr %15, align 4
%157 = fmul float %155, %156
store float %157, ptr %24, align 4
%158 = load float, ptr %17, align 4
store float %158, ptr %25, align 4
%159 = load float, ptr %25, align 4
%160 = load float, ptr %17, align 4
%161 = fmul float %159, %160
store float %161, ptr %26, align 4
%162 = load float, ptr %19, align 4
store float %162, ptr %27, align 4
%163 = load float, ptr %27, align 4
%164 = load float, ptr %19, align 4
%165 = fmul float %163, %164
store float %165, ptr %28, align 4
%166 = load float, ptr %21, align 4
store float %166, ptr %29, align 4
%167 = load float, ptr %8, align 4
%168 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 0
%169 = load float, ptr %168, align 16
%170 = fadd float %167, %169
%171 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 1
%172 = load float, ptr %171, align 4
%173 = load float, ptr %23, align 4
%174 = call float @llvm.fmuladd.f32(float %172, float %173, float %170)
%175 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 2
%176 = load float, ptr %175, align 8
%177 = load float, ptr %25, align 4
%178 = call float @llvm.fmuladd.f32(float %176, float %177, float %174)
%179 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 3
%180 = load float, ptr %179, align 4
%181 = load float, ptr %27, align 4
%182 = call float @llvm.fmuladd.f32(float %180, float %181, float %178)
%183 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 4
%184 = load float, ptr %183, align 16
%185 = load float, ptr %29, align 4
%186 = call float @llvm.fmuladd.f32(float %184, float %185, float %182)
%187 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 5
%188 = load float, ptr %187, align 4
%189 = load float, ptr %28, align 4
%190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186)
%191 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 6
%192 = load float, ptr %191, align 8
%193 = load float, ptr %24, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%196 = load float, ptr %195, align 4
%197 = load float, ptr %25, align 4
%198 = fmul float %196, %197
%199 = load float, ptr %29, align 4
%200 = call float @llvm.fmuladd.f32(float %198, float %199, float %194)
store float %200, ptr %30, align 4
%201 = load float, ptr %30, align 4
%202 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 8
%203 = load float, ptr %202, align 16
%204 = load float, ptr %26, align 4
%205 = call float @llvm.fmuladd.f32(float %203, float %204, float %201)
%206 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%207 = load float, ptr %206, align 4
%208 = load float, ptr %23, align 4
%209 = fmul float %207, %208
%210 = load float, ptr %27, align 4
%211 = call float @llvm.fmuladd.f32(float %209, float %210, float %205)
store float %211, ptr %30, align 4
%212 = load float, ptr %16, align 4
%213 = fadd float 0.000000e+00, %212
%214 = load float, ptr %18, align 4
%215 = fadd float %213, %214
%216 = load float, ptr %20, align 4
%217 = fadd float %215, %216
%218 = load float, ptr %22, align 4
%219 = fadd float %217, %218
store float %219, ptr %31, align 4
%220 = load float, ptr %31, align 4
%221 = fcmp oeq float %220, 0.000000e+00
br i1 %221, label %222, label %223
222: ; preds = %81
br label %288
223: ; preds = %81
%224 = load float, ptr %16, align 4
%225 = load float, ptr %16, align 4
%226 = fmul float %224, %225
%227 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 1
%228 = load float, ptr %227, align 4
%229 = fadd float 0.000000e+00, %228
%230 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 6
%231 = load float, ptr %230, align 8
%232 = fmul float 2.000000e+00, %231
%233 = load float, ptr %23, align 4
%234 = call float @llvm.fmuladd.f32(float %232, float %233, float %229)
%235 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%236 = load float, ptr %235, align 4
%237 = load float, ptr %27, align 4
%238 = call float @llvm.fmuladd.f32(float %236, float %237, float %234)
%239 = call float @pow(float noundef %238, i32 noundef 2)
%240 = load float, ptr %18, align 4
%241 = load float, ptr %18, align 4
%242 = fmul float %240, %241
%243 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 2
%244 = load float, ptr %243, align 8
%245 = fadd float 0.000000e+00, %244
%246 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%247 = load float, ptr %246, align 4
%248 = load float, ptr %29, align 4
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %245)
%250 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 8
%251 = load float, ptr %250, align 16
%252 = fmul float 2.000000e+00, %251
%253 = load float, ptr %25, align 4
%254 = call float @llvm.fmuladd.f32(float %252, float %253, float %249)
%255 = call float @pow(float noundef %254, i32 noundef 2)
%256 = fmul float %242, %255
%257 = call float @llvm.fmuladd.f32(float %226, float %239, float %256)
%258 = load float, ptr %20, align 4
%259 = load float, ptr %20, align 4
%260 = fmul float %258, %259
%261 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 3
%262 = load float, ptr %261, align 4
%263 = fadd float 0.000000e+00, %262
%264 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 5
%265 = load float, ptr %264, align 4
%266 = fmul float 2.000000e+00, %265
%267 = load float, ptr %27, align 4
%268 = call float @llvm.fmuladd.f32(float %266, float %267, float %263)
%269 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 9
%270 = load float, ptr %269, align 4
%271 = load float, ptr %23, align 4
%272 = call float @llvm.fmuladd.f32(float %270, float %271, float %268)
%273 = call float @pow(float noundef %272, i32 noundef 2)
%274 = call float @llvm.fmuladd.f32(float %260, float %273, float %257)
%275 = load float, ptr %22, align 4
%276 = load float, ptr %22, align 4
%277 = fmul float %275, %276
%278 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 4
%279 = load float, ptr %278, align 16
%280 = fadd float 0.000000e+00, %279
%281 = getelementptr inbounds [11 x float], ptr %12, i64 0, i64 7
%282 = load float, ptr %281, align 4
%283 = load float, ptr %25, align 4
%284 = call float @llvm.fmuladd.f32(float %282, float %283, float %280)
%285 = call float @pow(float noundef %284, i32 noundef 2)
%286 = call float @llvm.fmuladd.f32(float %277, float %285, float %274)
%287 = call float @sqrt(float noundef %286)
br label %288
288: ; preds = %223, %222
%289 = phi float [ 0.000000e+00, %222 ], [ %287, %223 ]
store float %289, ptr %32, align 4
%290 = load float, ptr %32, align 4
%291 = load ptr, ptr %5, align 8
%292 = getelementptr inbounds float, ptr %291, i64 0
store float %290, ptr %292, align 4
%293 = load float, ptr %30, align 4
ret float %293
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #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: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpe7jek125.c'
source_filename = "/tmp/tmpe7jek125.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printConsumer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %30, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 4
br i1 %7, label %8, label %33
8: ; preds = %5
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %25, %8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 40
br i1 %12, label %13, label %28
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %18, i64 %20
%22 = load float, ptr %21, align 4
%23 = fpext float %22 to double
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23)
br label %25
25: ; preds = %13
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %5, !llvm.loop !8
33: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7jek125.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%f|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printConsumer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 4
br i1 %6, label %.lr.ph2, label %35
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %30
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 40
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %23
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load float, ptr %19, align 4
%21 = fpext float %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %21)
br label %23
23: ; preds = %11
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 40
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %7
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpczkhwdtx.c'
source_filename = "/tmp/tmpczkhwdtx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_openssl() #0 {
%1 = call i32 (...) @SSL_load_error_strings()
%2 = call i32 (...) @SSL_library_init()
%3 = call i32 (...) @ERR_load_BIO_strings()
%4 = call i32 (...) @OpenSSL_add_all_algorithms()
ret void
}
declare i32 @SSL_load_error_strings(...) #1
declare i32 @SSL_library_init(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpczkhwdtx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_openssl() #0 {
%1 = call i32 (...) @SSL_load_error_strings()
%2 = call i32 (...) @SSL_library_init()
%3 = call i32 (...) @ERR_load_BIO_strings()
%4 = call i32 (...) @OpenSSL_add_all_algorithms()
ret void
}
declare i32 @SSL_load_error_strings(...) #1
declare i32 @SSL_library_init(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnkmw6teh.c'
source_filename = "/tmp/tmpnkmw6teh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOTSUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fegetenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOTSUP, align 4
%4 = sub nsw i32 0, %3
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnkmw6teh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOTSUP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fegetenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOTSUP, align 4
%4 = sub nsw i32 0, %3
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2o32o_y4.c'
source_filename = "/tmp/tmp2o32o_y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2o32o_y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptmfrt35m.c'
source_filename = "/tmp/tmptmfrt35m.c"
target datalayout = "e-m:e-p270: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/tmptmfrt35m.c"
target datalayout = "e-m:e-p270: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/tmpwypkh1ls.c'
source_filename = "/tmp/tmpwypkh1ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Affiche4(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 0, %6
%8 = load i32, ptr %5, align 4
%9 = call i32 @cng_put_pixel(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @cng_put_pixel(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/tmpwypkh1ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Affiche4(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 0, %6
%8 = load i32, ptr %5, align 4
%9 = call i32 @cng_put_pixel(i32 noundef %7, i32 noundef %8)
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @cng_put_pixel(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/tmpw4mlhm4j.c'
source_filename = "/tmp/tmpw4mlhm4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %8, align 16
%9 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 1
store i32 3, ptr %9, align 4
%10 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 2
store i32 5, ptr %10, align 8
store i32 3, ptr %3, align 4
store i32 11, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %18, %0
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 100
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %16
store i32 1000000000, ptr %17, align 4
br label %18
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 0
store i32 0, ptr %22, align 16
store i32 1, ptr %5, align 4
br label %23
23: ; preds = %74, %21
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %77
27: ; preds = %23
store i32 0, ptr %6, align 4
br label %28
28: ; preds = %70, %27
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %73
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %39, label %69
39: ; preds = %32
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = sub nsw i32 %40, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = add nsw i32 %48, 1
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = icmp slt i32 %49, %53
br i1 %54, label %55, label %69
55: ; preds = %39
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %6, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = sub nsw i32 %56, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
%65 = add nsw i32 %64, 1
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %67
store i32 %65, ptr %68, align 4
br label %69
69: ; preds = %55, %39, %32
br label %70
70: ; preds = %69
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %6, align 4
br label %28, !llvm.loop !8
73: ; preds = %28
br label %74
74: ; preds = %73
%75 = load i32, ptr %5, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %5, align 4
br label %23, !llvm.loop !9
77: ; preds = %23
%78 = load i32, ptr %4, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = call i32 @printf(ptr noundef @.str, i32 noundef %81)
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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw4mlhm4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %8, align 16
%9 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 1
store i32 3, ptr %9, align 4
%10 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 2
store i32 5, ptr %10, align 8
store i32 3, ptr %3, align 4
store i32 11, ptr %4, align 4
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %17
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %15
store i32 1000000000, ptr %16, align 4
br label %17
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 0
store i32 0, ptr %23, align 16
store i32 1, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %.lr.ph5, label %82
.lr.ph5: ; preds = %22
br label %27
27: ; preds = %.lr.ph5, %76
store i32 0, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %75
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %69
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %68
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = sub nsw i32 %39, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp slt i32 %48, %52
br i1 %53, label %54, label %68
54: ; preds = %38
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = sub nsw i32 %55, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = add nsw i32 %63, 1
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %66
store i32 %64, ptr %67, align 4
br label %68
68: ; preds = %54, %38, %31
br label %69
69: ; preds = %68
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %27
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
%79 = load i32, ptr %5, align 4
%80 = load i32, ptr %4, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %22
%83 = load i32, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = call i32 @printf(ptr noundef @.str, i32 noundef %86)
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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp35p67snl.c'
source_filename = "/tmp/tmp35p67snl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"Joe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @create_Person(ptr noundef @.str, i32 noundef 30, i32 noundef 190)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @print_Person(ptr noundef %3)
%5 = load ptr, ptr %1, align 8
%6 = call i32 @destroy_Person(ptr noundef %5)
ret i32 0
}
declare ptr @create_Person(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @print_Person(ptr noundef) #1
declare i32 @destroy_Person(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35p67snl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"Joe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @create_Person(ptr noundef @.str, i32 noundef 30, i32 noundef 190)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @print_Person(ptr noundef %3)
%5 = load ptr, ptr %1, align 8
%6 = call i32 @destroy_Person(ptr noundef %5)
ret i32 0
}
declare ptr @create_Person(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @print_Person(ptr noundef) #1
declare i32 @destroy_Person(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3lhh6vfk.c'
source_filename = "/tmp/tmp3lhh6vfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Train Y ID = %d occupies FB\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Train Y ID = %d left FB\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Train Y ID = %d occupies AB\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Train Y ID = %d left AB [FINISHED]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @trainFA(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %1
%5 = call i32 @useSegment(i32 noundef 5, i32 noundef 1)
%6 = call i64 (...) @pthread_self()
%7 = trunc i64 %6 to i32
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @usleep(i32 noundef 6000000)
%10 = call i32 @freeSegment(i32 noundef 5, i32 noundef 1)
%11 = call i64 (...) @pthread_self()
%12 = trunc i64 %11 to i32
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = call i32 @useSegment(i32 noundef 1, i32 noundef 0)
%15 = call i64 (...) @pthread_self()
%16 = trunc i64 %15 to i32
%17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = call i32 @usleep(i32 noundef 6000000)
%19 = call i32 @freeSegment(i32 noundef 1, i32 noundef 0)
%20 = call i64 (...) @pthread_self()
%21 = trunc i64 %20 to i32
%22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21)
br label %23
23: ; preds = %4
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @useSegment(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @freeSegment(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/tmp3lhh6vfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Train Y ID = %d occupies FB\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Train Y ID = %d left FB\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Train Y ID = %d occupies AB\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"Train Y ID = %d left AB [FINISHED]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @trainFA(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %1
%5 = call i32 @useSegment(i32 noundef 5, i32 noundef 1)
%6 = call i64 (...) @pthread_self()
%7 = trunc i64 %6 to i32
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @usleep(i32 noundef 6000000)
%10 = call i32 @freeSegment(i32 noundef 5, i32 noundef 1)
%11 = call i64 (...) @pthread_self()
%12 = trunc i64 %11 to i32
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = call i32 @useSegment(i32 noundef 1, i32 noundef 0)
%15 = call i64 (...) @pthread_self()
%16 = trunc i64 %15 to i32
%17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16)
%18 = call i32 @usleep(i32 noundef 6000000)
%19 = call i32 @freeSegment(i32 noundef 1, i32 noundef 0)
%20 = call i64 (...) @pthread_self()
%21 = trunc i64 %20 to i32
%22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21)
br label %23
23: ; preds = %4
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
declare i32 @useSegment(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @freeSegment(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/tmp9y5z3wsc.c'
source_filename = "/tmp/tmp9y5z3wsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncpy(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
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %9
9: ; preds = %26, %3
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
br label %29
21: ; preds = %13
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %7, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %21
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %7, align 8
br label %9, !llvm.loop !6
29: ; preds = %20, %9
br label %30
30: ; preds = %38, %29
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %6, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %34, label %41
34: ; preds = %30
%35 = load ptr, ptr %4, align 8
%36 = load i64, ptr %7, align 8
%37 = getelementptr inbounds i32, ptr %35, i64 %36
store i32 0, ptr %37, align 4
br label %38
38: ; preds = %34
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %7, align 8
br label %30, !llvm.loop !8
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
ret ptr %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9y5z3wsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncpy(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
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %25
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %12
br label %31
20: ; preds = %12
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i64, ptr %7, align 8
%24 = getelementptr inbounds i32, ptr %22, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %20
%26 = load i64, ptr %7, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %6, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %25
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %31
31: ; preds = %.loopexit, %19
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %6, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %.lr.ph1, label %45
.lr.ph1: ; preds = %31
br label %35
35: ; preds = %.lr.ph1, %39
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %7, align 8
%38 = getelementptr inbounds i32, ptr %36, i64 %37
store i32 0, ptr %38, align 4
br label %39
39: ; preds = %35
%40 = load i64, ptr %7, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %7, align 8
%42 = load i64, ptr %7, align 8
%43 = load i64, ptr %6, align 8
%44 = icmp ult i64 %42, %43
br i1 %44, label %35, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %31
%46 = load ptr, ptr %4, align 8
ret ptr %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3uv9impz.c'
source_filename = "/tmp/tmp3uv9impz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstoimax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = 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
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @wcstoll(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @wcstoll(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/tmp3uv9impz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstoimax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = 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
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @wcstoll(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @wcstoll(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/tmpymczq5xg.c'
source_filename = "/tmp/tmpymczq5xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_YELLOW = dso_local global i32 0, align 4
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_MAGENTA = dso_local global i32 0, align 4
@COLOR_CYAN = dso_local global i32 0, align 4
@COLOR_WHITE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @curses_start() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @noecho()
%4 = load i32, ptr @stdscr, align 4
%5 = load i32, ptr @TRUE, align 4
%6 = call i32 @keypad(i32 noundef %4, i32 noundef %5)
%7 = call i32 @curs_set(i32 noundef 0)
%8 = call i32 (...) @start_color()
%9 = load i32, ptr @COLOR_BLACK, align 4
%10 = load i32, ptr @COLOR_BLACK, align 4
%11 = load i32, ptr @COLOR_BLACK, align 4
%12 = call i32 @init_pair(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr @COLOR_RED, align 4
%14 = load i32, ptr @COLOR_RED, align 4
%15 = load i32, ptr @COLOR_BLACK, align 4
%16 = call i32 @init_pair(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr @COLOR_GREEN, align 4
%18 = load i32, ptr @COLOR_GREEN, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr @COLOR_YELLOW, align 4
%22 = load i32, ptr @COLOR_YELLOW, align 4
%23 = load i32, ptr @COLOR_BLACK, align 4
%24 = call i32 @init_pair(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr @COLOR_BLUE, align 4
%26 = load i32, ptr @COLOR_BLUE, align 4
%27 = load i32, ptr @COLOR_BLACK, align 4
%28 = call i32 @init_pair(i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr @COLOR_MAGENTA, align 4
%30 = load i32, ptr @COLOR_MAGENTA, align 4
%31 = load i32, ptr @COLOR_BLACK, align 4
%32 = call i32 @init_pair(i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr @COLOR_CYAN, align 4
%34 = load i32, ptr @COLOR_CYAN, align 4
%35 = load i32, ptr @COLOR_BLACK, align 4
%36 = call i32 @init_pair(i32 noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr @COLOR_WHITE, align 4
%38 = load i32, ptr @COLOR_WHITE, align 4
%39 = load i32, ptr @COLOR_BLACK, align 4
%40 = call i32 @init_pair(i32 noundef %37, i32 noundef %38, i32 noundef %39)
%41 = call i32 (...) @refresh()
%42 = call i32 (...) @flushinp()
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @start_color(...) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @flushinp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymczq5xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_YELLOW = dso_local global i32 0, align 4
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_MAGENTA = dso_local global i32 0, align 4
@COLOR_CYAN = dso_local global i32 0, align 4
@COLOR_WHITE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @curses_start() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @noecho()
%4 = load i32, ptr @stdscr, align 4
%5 = load i32, ptr @TRUE, align 4
%6 = call i32 @keypad(i32 noundef %4, i32 noundef %5)
%7 = call i32 @curs_set(i32 noundef 0)
%8 = call i32 (...) @start_color()
%9 = load i32, ptr @COLOR_BLACK, align 4
%10 = load i32, ptr @COLOR_BLACK, align 4
%11 = load i32, ptr @COLOR_BLACK, align 4
%12 = call i32 @init_pair(i32 noundef %9, i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr @COLOR_RED, align 4
%14 = load i32, ptr @COLOR_RED, align 4
%15 = load i32, ptr @COLOR_BLACK, align 4
%16 = call i32 @init_pair(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr @COLOR_GREEN, align 4
%18 = load i32, ptr @COLOR_GREEN, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr @COLOR_YELLOW, align 4
%22 = load i32, ptr @COLOR_YELLOW, align 4
%23 = load i32, ptr @COLOR_BLACK, align 4
%24 = call i32 @init_pair(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr @COLOR_BLUE, align 4
%26 = load i32, ptr @COLOR_BLUE, align 4
%27 = load i32, ptr @COLOR_BLACK, align 4
%28 = call i32 @init_pair(i32 noundef %25, i32 noundef %26, i32 noundef %27)
%29 = load i32, ptr @COLOR_MAGENTA, align 4
%30 = load i32, ptr @COLOR_MAGENTA, align 4
%31 = load i32, ptr @COLOR_BLACK, align 4
%32 = call i32 @init_pair(i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr @COLOR_CYAN, align 4
%34 = load i32, ptr @COLOR_CYAN, align 4
%35 = load i32, ptr @COLOR_BLACK, align 4
%36 = call i32 @init_pair(i32 noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr @COLOR_WHITE, align 4
%38 = load i32, ptr @COLOR_WHITE, align 4
%39 = load i32, ptr @COLOR_BLACK, align 4
%40 = call i32 @init_pair(i32 noundef %37, i32 noundef %38, i32 noundef %39)
%41 = call i32 (...) @refresh()
%42 = call i32 (...) @flushinp()
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @start_color(...) #1
declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @flushinp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo0hhcs0i.c'
source_filename = "/tmp/tmpo0hhcs0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo0hhcs0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hhgk7vb.c'
source_filename = "/tmp/tmp6hhgk7vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ie\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cfg_io_get_gpio_ie_addr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @cfg_processor_get_hex_int_attr(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @cfg_processor_get_hex_int_attr(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/tmp6hhgk7vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ie\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cfg_io_get_gpio_ie_addr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @cfg_processor_get_hex_int_attr(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @cfg_processor_get_hex_int_attr(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/tmpbx_q7cue.c'
source_filename = "/tmp/tmpbx_q7cue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %f\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca [999 x float], align 16
%7 = alloca [999 x float], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %24, %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [999 x float], ptr %6, i64 0, i64 %17
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [999 x float], ptr %7, i64 0, i64 %21
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %15
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = load i32, ptr %3, align 4
%29 = load float, ptr %4, align 4
%30 = load float, ptr %5, align 4
%31 = getelementptr inbounds [999 x float], ptr %6, i64 0, i64 0
%32 = getelementptr inbounds [999 x float], ptr %7, i64 0, i64 0
%33 = call i32 @PacManEats(i32 noundef %28, float noundef %29, float noundef %30, ptr noundef %31, ptr noundef %32)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @PacManEats(i32 noundef, float noundef, float noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbx_q7cue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %f\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() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca [999 x float], align 16
%7 = alloca [999 x float], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 1, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %23
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [999 x float], ptr %6, i64 0, i64 %16
%18 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [999 x float], ptr %7, i64 0, i64 %20
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %14
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = load i32, ptr %3, align 4
%31 = load float, ptr %4, align 4
%32 = load float, ptr %5, align 4
%33 = getelementptr inbounds [999 x float], ptr %6, i64 0, i64 0
%34 = getelementptr inbounds [999 x float], ptr %7, i64 0, i64 0
%35 = call i32 @PacManEats(i32 noundef %30, float noundef %31, float noundef %32, ptr noundef %33, ptr noundef %34)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @PacManEats(i32 noundef, float noundef, float noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdr8qc9o2.c'
source_filename = "/tmp/tmpdr8qc9o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdr8qc9o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test3()
ret i32 0
}
declare i32 @test3(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmyhb8368.c'
source_filename = "/tmp/tmpmyhb8368.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ebx = %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
%3 = call i32 (...) @ebxmodcall()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @ebxmodcall(...) #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/tmpmyhb8368.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ebx = %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
%3 = call i32 (...) @ebxmodcall()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @ebxmodcall(...) #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/tmp1za_scvs.c'
source_filename = "/tmp/tmp1za_scvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @input4_max_tail_sum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %20, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = add nsw i32 %12, %17
%19 = call i32 @max(i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %11
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load i32, ptr %6, align 4
ret i32 %24
}
declare i32 @max(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1za_scvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @input4_max_tail_sum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = add nsw i32 %11, %16
%18 = call i32 @max(i32 noundef %17, i32 noundef 0)
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %10
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i32, ptr %6, align 4
ret i32 %26
}
declare i32 @max(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_xmyisdf.c'
source_filename = "/tmp/tmp_xmyisdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_level_two(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 2
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 4
%17 = load i32, ptr %9, align 4
%18 = add nsw i32 %17, 6
%19 = load i32, ptr %10, align 4
%20 = add nsw i32 %19, 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %12, align 8
%23 = call i32 @test_level_three(i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20, ptr noundef %21, ptr noundef %22)
%24 = add nsw i32 %23, 2
ret i32 %24
}
declare i32 @test_level_three(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_xmyisdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_level_two(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 2
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 4
%17 = load i32, ptr %9, align 4
%18 = add nsw i32 %17, 6
%19 = load i32, ptr %10, align 4
%20 = add nsw i32 %19, 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %12, align 8
%23 = call i32 @test_level_three(i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20, ptr noundef %21, ptr noundef %22)
%24 = add nsw i32 %23, 2
ret i32 %24
}
declare i32 @test_level_three(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ip94_9i.c'
source_filename = "/tmp/tmp3ip94_9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"* \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" *\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_pattern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = call i32 @printf(ptr noundef @.str)
br label %11
11: ; preds = %9
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %22, %14
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = call i32 @printf(ptr noundef @.str.2)
br label %22
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %16, !llvm.loop !8
25: ; preds = %16
%26 = call i32 @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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ip94_9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"* \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" *\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_pattern(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %10
%9 = call i32 @printf(ptr noundef @.str)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
%17 = call i32 @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %29
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %23
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %23
br label %29
29: ; preds = %._crit_edge3, %16
%30 = call i32 @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpj5_x3qc4.c'
source_filename = "/tmp/tmpj5_x3qc4.c"
target datalayout = "e-m:e-p270: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/tmpj5_x3qc4.c"
target datalayout = "e-m:e-p270: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/tmpc3vq1kbu.c'
source_filename = "/tmp/tmpc3vq1kbu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_charset_more_init() #0 {
%1 = call i32 (...) @charset_more_init()
ret i32 %1
}
declare i32 @charset_more_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc3vq1kbu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_charset_more_init() #0 {
%1 = call i32 (...) @charset_more_init()
ret i32 %1
}
declare i32 @charset_more_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptfup7pez.c'
source_filename = "/tmp/tmptfup7pez.c"
target datalayout = "e-m:e-p270: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/tmptfup7pez.c"
target datalayout = "e-m:e-p270: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/tmpi2a04w95.c'
source_filename = "/tmp/tmpi2a04w95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_expr_new(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store double %0, ptr %2, align 8
%4 = call i32 (...) @double_expr_class_get()
%5 = call ptr @object_new(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call i32 @double_expr_init(ptr noundef %6, double noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @object_new(i32 noundef) #1
declare i32 @double_expr_class_get(...) #1
declare i32 @double_expr_init(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi2a04w95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_expr_new(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
store double %0, ptr %2, align 8
%4 = call i32 (...) @double_expr_class_get()
%5 = call ptr @object_new(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call i32 @double_expr_init(ptr noundef %6, double noundef %7)
%9 = load ptr, ptr %3, align 8
ret ptr %9
}
declare ptr @object_new(i32 noundef) #1
declare i32 @double_expr_class_get(...) #1
declare i32 @double_expr_init(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpven4_zyy.c'
source_filename = "/tmp/tmpven4_zyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x8f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8f() #0 {
%1 = call i64 @isupper(i32 noundef 143)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 720, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpven4_zyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x8f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8f() #0 {
%1 = call i64 @isupper(i32 noundef 143)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 720, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2vo1vlp4.c'
source_filename = "/tmp/tmp2vo1vlp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number_within_range(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = call i32 @left_bin_search(i32 noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %11, align 4
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @right_bin_search(i32 noundef %17, ptr noundef %18, i32 noundef %19)
store i32 %20, ptr %12, align 4
%21 = load i32, ptr %11, align 4
store i32 %21, ptr %9, align 4
br label %22
22: ; preds = %46, %4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %12, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %49
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp sle i32 %27, %32
br i1 %33, label %34, label %45
34: ; preds = %26
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
br label %45
45: ; preds = %42, %34, %26
br label %46
46: ; preds = %45
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
br label %22, !llvm.loop !6
49: ; preds = %22
%50 = load i32, ptr %10, align 4
ret i32 %50
}
declare i32 @left_bin_search(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @right_bin_search(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/tmp2vo1vlp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number_within_range(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = call i32 @left_bin_search(i32 noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %11, align 4
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = call i32 @right_bin_search(i32 noundef %17, ptr noundef %18, i32 noundef %19)
store i32 %20, ptr %12, align 4
%21 = load i32, ptr %11, align 4
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %12, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %51
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %45
%26 = load i32, ptr %6, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp sle i32 %26, %31
br i1 %32, label %33, label %44
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %33
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
br label %44
44: ; preds = %41, %33, %25
br label %45
45: ; preds = %44
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %12, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %4
%52 = load i32, ptr %10, align 4
ret i32 %52
}
declare i32 @left_bin_search(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @right_bin_search(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/tmp8ftvug62.c'
source_filename = "/tmp/tmp8ftvug62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%1.15Le\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 [4 x x86_fp80], align 16
%7 = alloca [2 x float], align 4
%8 = alloca i32, align 4
%9 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 64, i1 false)
%10 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 0
store x86_fp80 0xK40008666666666666800, ptr %10, align 16
%11 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 1
store x86_fp80 0xK40008CCCCCCCCCCCD000, ptr %11, align 16
%12 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 2
store x86_fp80 0xK40009333333333333000, ptr %12, align 16
%13 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 3
store x86_fp80 0xK40009999999999999800, ptr %13, align 16
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %23, %2
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i32, ptr %8, align 4
%19 = sitofp i32 %18 to float
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [2 x float], ptr %7, i64 0, i64 %21
store float %19, ptr %22, align 4
br label %23
23: ; preds = %17
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = getelementptr inbounds [4 x x86_fp80], ptr %6, i64 0, i64 3
%28 = load x86_fp80, ptr %27, align 16
%29 = getelementptr inbounds [2 x float], ptr %7, i64 0, i64 0
%30 = load float, ptr %29, align 4
%31 = fpext float %30 to x86_fp80
%32 = fadd x86_fp80 %28, %31
store x86_fp80 %32, ptr %9, align 16
%33 = load x86_fp80, ptr %9, align 16
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i32 @cov_spec_log(x86_fp80 noundef %33, i32 noundef 0, ptr noundef %36)
%38 = load x86_fp80, ptr %9, align 16
%39 = call i32 @printf(ptr noundef @.str, x86_fp80 noundef %38)
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 @cov_spec_log(x86_fp80 noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, x86_fp80 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/tmp8ftvug62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%1.15Le\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 [4 x x86_fp80], align 16
%7 = alloca [2 x float], align 4
%8 = alloca i32, align 4
%9 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 64, i1 false)
%10 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 0
store x86_fp80 0xK40008666666666666800, ptr %10, align 16
%11 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 1
store x86_fp80 0xK40008CCCCCCCCCCCD000, ptr %11, align 16
%12 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 2
store x86_fp80 0xK40009333333333333000, ptr %12, align 16
%13 = getelementptr inbounds [4 x x86_fp80], ptr %6, i32 0, i32 3
store x86_fp80 0xK40009999999999999800, ptr %13, align 16
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %22
%17 = load i32, ptr %8, align 4
%18 = sitofp i32 %17 to float
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [2 x float], ptr %7, i64 0, i64 %20
store float %18, ptr %21, align 4
br label %22
22: ; preds = %16
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 2
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %2
%28 = getelementptr inbounds [4 x x86_fp80], ptr %6, i64 0, i64 3
%29 = load x86_fp80, ptr %28, align 16
%30 = getelementptr inbounds [2 x float], ptr %7, i64 0, i64 0
%31 = load float, ptr %30, align 4
%32 = fpext float %31 to x86_fp80
%33 = fadd x86_fp80 %29, %32
store x86_fp80 %33, ptr %9, align 16
%34 = load x86_fp80, ptr %9, align 16
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @cov_spec_log(x86_fp80 noundef %34, i32 noundef 0, ptr noundef %37)
%39 = load x86_fp80, ptr %9, align 16
%40 = call i32 @printf(ptr noundef @.str, x86_fp80 noundef %39)
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 @cov_spec_log(x86_fp80 noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, x86_fp80 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/tmphwnff8tl.c'
source_filename = "/tmp/tmphwnff8tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLEAR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef %6)
ret void
}
declare i32 @memset(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/tmphwnff8tl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLEAR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef %6)
ret void
}
declare i32 @memset(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/tmpiv301xa4.c'
source_filename = "/tmp/tmpiv301xa4.c"
target datalayout = "e-m:e-p270: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 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@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_ANONYMOUS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Logged out successfully.\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [512 x i8], align 16
%9 = alloca [512 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 7158, ptr %7, align 4
%15 = load i32, ptr @PROT_READ, align 4
%16 = load i32, ptr @PROT_WRITE, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_SHARED, align 4
%19 = load i32, ptr @MAP_ANONYMOUS, align 4
%20 = or i32 %18, %19
%21 = call ptr @mmap(ptr noundef null, i32 noundef 8, i32 noundef %17, i32 noundef %20, i32 noundef -1, i32 noundef 0)
store ptr %21, ptr %10, align 8
%22 = call ptr @gethostbyname(ptr noundef @.str)
store ptr %22, ptr %12, align 8
%23 = load i32, ptr @AF_INET, align 4
%24 = load i32, ptr @SOCK_STREAM, align 4
%25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %2
%29 = load i32, ptr %6, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @error(ptr noundef @.str.1)
br label %32
32: ; preds = %28, %2
%33 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = inttoptr i64 %38 to ptr
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %12, align 8
%43 = getelementptr inbounds %struct.hostent, ptr %42, i32 0, i32 0
%44 = load i32, ptr %43, align 8
%45 = call i32 @bcopy(ptr noundef %39, ptr noundef %41, i32 noundef %44)
%46 = load i32, ptr %7, align 4
%47 = call i32 @htons(i32 noundef %46)
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
store i32 %47, ptr %48, align 4
%49 = load i32, ptr %6, align 4
%50 = call i64 @connect(i32 noundef %49, ptr noundef %11, i32 noundef 12)
%51 = icmp slt i64 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %32
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = call i32 @error(ptr noundef @.str.2)
br label %56
56: ; preds = %52, %32
%57 = call i64 (...) @fork()
store i64 %57, ptr %14, align 8
br label %58
58: ; preds = %124, %61, %56
%59 = load i64, ptr %14, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @error(ptr noundef @.str.3)
br label %58
63: ; preds = %58
%64 = load i64, ptr %14, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %93
66: ; preds = %63
%67 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%68 = call i32 @bzero(ptr noundef %67, i32 noundef 512)
%69 = load i32, ptr %6, align 4
%70 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%71 = call i32 @read(i32 noundef %69, ptr noundef %70, i32 noundef 512)
store i32 %71, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %66
%75 = load i32, ptr %6, align 4
%76 = call i32 @close(i32 noundef %75)
%77 = call i32 @error(ptr noundef @.str.4)
br label %78
78: ; preds = %74, %66
%79 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%80 = call i64 @strncmp(ptr noundef %79, ptr noundef @.str.5, i32 noundef 24)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%84 = call i32 @printf(ptr noundef @.str.6, ptr noundef %83)
%85 = load ptr, ptr %10, align 8
store i32 1, ptr %85, align 4
%86 = call i32 @exit(i32 noundef 0) #3
unreachable
87: ; preds = %78
%88 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%89 = call i32 @printf(ptr noundef @.str.7, ptr noundef %88)
br label %90
90: ; preds = %87
%91 = load i32, ptr @stdout, align 4
%92 = call i32 @fflush(i32 noundef %91)
br label %123
93: ; preds = %63
%94 = load i64, ptr %14, align 8
%95 = icmp sgt i64 %94, 0
br i1 %95, label %96, label %122
96: ; preds = %93
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %102
100: ; preds = %96
%101 = call i32 @exit(i32 noundef 0) #3
unreachable
102: ; preds = %96
%103 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%104 = call i32 @bzero(ptr noundef %103, i32 noundef 512)
%105 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%106 = load i32, ptr @stdin, align 4
%107 = call i32 @fgets(ptr noundef %105, i32 noundef 512, i32 noundef %106)
%108 = load i32, ptr %6, align 4
%109 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%110 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%111 = call i32 @strlen(ptr noundef %110)
%112 = call i32 @write(i32 noundef %108, ptr noundef %109, i32 noundef %111)
store i32 %112, ptr %13, align 4
%113 = load i32, ptr %13, align 4
%114 = icmp slt i32 %113, 0
br i1 %114, label %115, label %119
115: ; preds = %102
%116 = load i32, ptr %6, align 4
%117 = call i32 @close(i32 noundef %116)
%118 = call i32 @error(ptr noundef @.str.8)
br label %119
119: ; preds = %115, %102
%120 = load i32, ptr @stdout, align 4
%121 = call i32 @fflush(i32 noundef %120)
br label %122
122: ; preds = %119, %93
br label %123
123: ; preds = %122, %90
br label %124
124: ; preds = %123
br label %58
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpiv301xa4.c"
target datalayout = "e-m:e-p270: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 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@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_ANONYMOUS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Logged out successfully.\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [512 x i8], align 16
%9 = alloca [512 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 7158, ptr %7, align 4
%15 = load i32, ptr @PROT_READ, align 4
%16 = load i32, ptr @PROT_WRITE, align 4
%17 = or i32 %15, %16
%18 = load i32, ptr @MAP_SHARED, align 4
%19 = load i32, ptr @MAP_ANONYMOUS, align 4
%20 = or i32 %18, %19
%21 = call ptr @mmap(ptr noundef null, i32 noundef 8, i32 noundef %17, i32 noundef %20, i32 noundef -1, i32 noundef 0)
store ptr %21, ptr %10, align 8
%22 = call ptr @gethostbyname(ptr noundef @.str)
store ptr %22, ptr %12, align 8
%23 = load i32, ptr @AF_INET, align 4
%24 = load i32, ptr @SOCK_STREAM, align 4
%25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %2
%29 = load i32, ptr %6, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @error(ptr noundef @.str.1)
br label %32
32: ; preds = %28, %2
%33 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %12, align 8
%37 = getelementptr inbounds %struct.hostent, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = inttoptr i64 %38 to ptr
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %12, align 8
%43 = getelementptr inbounds %struct.hostent, ptr %42, i32 0, i32 0
%44 = load i32, ptr %43, align 8
%45 = call i32 @bcopy(ptr noundef %39, ptr noundef %41, i32 noundef %44)
%46 = load i32, ptr %7, align 4
%47 = call i32 @htons(i32 noundef %46)
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
store i32 %47, ptr %48, align 4
%49 = load i32, ptr %6, align 4
%50 = call i64 @connect(i32 noundef %49, ptr noundef %11, i32 noundef 12)
%51 = icmp slt i64 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %32
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = call i32 @error(ptr noundef @.str.2)
br label %56
56: ; preds = %52, %32
%57 = call i64 (...) @fork()
store i64 %57, ptr %14, align 8
br label %58
58: ; preds = %.backedge, %56
%59 = load i64, ptr %14, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @error(ptr noundef @.str.3)
br label %.backedge
.backedge: ; preds = %61, %124
br label %58
63: ; preds = %58
%64 = load i64, ptr %14, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %93
66: ; preds = %63
%67 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%68 = call i32 @bzero(ptr noundef %67, i32 noundef 512)
%69 = load i32, ptr %6, align 4
%70 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%71 = call i32 @read(i32 noundef %69, ptr noundef %70, i32 noundef 512)
store i32 %71, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %66
%75 = load i32, ptr %6, align 4
%76 = call i32 @close(i32 noundef %75)
%77 = call i32 @error(ptr noundef @.str.4)
br label %78
78: ; preds = %74, %66
%79 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%80 = call i64 @strncmp(ptr noundef %79, ptr noundef @.str.5, i32 noundef 24)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%84 = call i32 @printf(ptr noundef @.str.6, ptr noundef %83)
%85 = load ptr, ptr %10, align 8
store i32 1, ptr %85, align 4
%86 = call i32 @exit(i32 noundef 0) #3
unreachable
87: ; preds = %78
%88 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
%89 = call i32 @printf(ptr noundef @.str.7, ptr noundef %88)
br label %90
90: ; preds = %87
%91 = load i32, ptr @stdout, align 4
%92 = call i32 @fflush(i32 noundef %91)
br label %123
93: ; preds = %63
%94 = load i64, ptr %14, align 8
%95 = icmp sgt i64 %94, 0
br i1 %95, label %96, label %122
96: ; preds = %93
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %102
100: ; preds = %96
%101 = call i32 @exit(i32 noundef 0) #3
unreachable
102: ; preds = %96
%103 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%104 = call i32 @bzero(ptr noundef %103, i32 noundef 512)
%105 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%106 = load i32, ptr @stdin, align 4
%107 = call i32 @fgets(ptr noundef %105, i32 noundef 512, i32 noundef %106)
%108 = load i32, ptr %6, align 4
%109 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%110 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
%111 = call i32 @strlen(ptr noundef %110)
%112 = call i32 @write(i32 noundef %108, ptr noundef %109, i32 noundef %111)
store i32 %112, ptr %13, align 4
%113 = load i32, ptr %13, align 4
%114 = icmp slt i32 %113, 0
br i1 %114, label %115, label %119
115: ; preds = %102
%116 = load i32, ptr %6, align 4
%117 = call i32 @close(i32 noundef %116)
%118 = call i32 @error(ptr noundef @.str.8)
br label %119
119: ; preds = %115, %102
%120 = load i32, ptr @stdout, align 4
%121 = call i32 @fflush(i32 noundef %120)
br label %122
122: ; preds = %119, %93
br label %123
123: ; preds = %122, %90
br label %124
124: ; preds = %123
br label %.backedge
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp0c0smye9.c'
source_filename = "/tmp/tmp0c0smye9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hashmap_standalone_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strlen(ptr noundef %6)
store i64 %7, ptr %5, align 8
br label %8
8: ; preds = %13, %1
%9 = load i64, ptr %4, align 8
%10 = add i64 %9, 1
%11 = load i64, ptr %5, align 8
%12 = icmp ule i64 %10, %11
br i1 %12, label %13, label %23
13: ; preds = %8
%14 = load i64, ptr %3, align 8
%15 = mul i64 %14, 17
%16 = load ptr, ptr %2, align 8
%17 = load i64, ptr %4, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %16, i64 %17
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i64
%22 = add i64 %15, %21
store i64 %22, ptr %3, align 8
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load i64, ptr %3, align 8
ret i64 %24
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0c0smye9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @hashmap_standalone_hash(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strlen(ptr noundef %6)
store i64 %7, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = add i64 %8, 1
%10 = load i64, ptr %5, align 8
%11 = icmp ule i64 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i64, ptr %3, align 8
%14 = mul i64 %13, 17
%15 = load ptr, ptr %2, align 8
%16 = load i64, ptr %4, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %15, i64 %16
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i64
%21 = add i64 %14, %20
store i64 %21, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = add i64 %22, 1
%24 = load i64, ptr %5, align 8
%25 = icmp ule i64 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %26
26: ; preds = %._crit_edge, %1
%27 = load i64, ptr %3, align 8
ret i64 %27
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjf165o_o.c'
source_filename = "/tmp/tmpjf165o_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__mulhi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @__mulsi3(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @__mulsi3(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/tmpjf165o_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__mulhi3(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @__mulsi3(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @__mulsi3(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/tmpwfl_toby.c'
source_filename = "/tmp/tmpwfl_toby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_where_to_parameter_dictionary()
ret i32 0
}
declare i32 @test_where_to_parameter_dictionary(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwfl_toby.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_where_to_parameter_dictionary()
ret i32 0
}
declare i32 @test_where_to_parameter_dictionary(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr6nzut12.c'
source_filename = "/tmp/tmpr6nzut12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 63
%5 = icmp uge i64 %4, 34
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @abort() #2
unreachable
8: ; preds = %1
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6nzut12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 63
%5 = icmp uge i64 %4, 34
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @abort() #2
unreachable
8: ; preds = %1
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd50rt8vj.c'
source_filename = "/tmp/tmpd50rt8vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gopal_check_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %10, %1
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 44)
store ptr %8, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
br label %6, !llvm.loop !6
15: ; preds = %6
%16 = load i32, ptr %4, align 4
ret i32 %16
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd50rt8vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gopal_check_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strchr(ptr noundef %6, i8 noundef signext 44)
store ptr %7, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 44)
store ptr %15, ptr %3, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1ylip4r4.c'
source_filename = "/tmp/tmp1ylip4r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">>>>\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Len: \00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"!!AA_SEQUENCE\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"!!NA_SEQUENCE\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"# DUBLIN 1.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"# STOCKHOLM 1.\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"CLUSTAL\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"multiple sequence alignment\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"!!AA_MULTIPLE_ALIGNMENT\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"!!NA_MULTIPLE_ALIGNMENT\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"#=AU\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"#=ID\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"#=AC\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"#=DE\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"#=GA\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"#=TC\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"#=NC\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"#=SQ\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"#=SS\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"#=CS\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"#=RF\00", align 1
@.str.22 = private unnamed_addr constant [4 x i8] c"///\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"ENTRY \00", align 1
@.str.24 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.25 = private unnamed_addr constant [5 x i8] c"MSF:\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"Check:\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c" Check: \00", align 1
@.str.28 = private unnamed_addr constant [7 x i8] c"LOCUS \00", align 1
@.str.29 = private unnamed_addr constant [8 x i8] c"ORIGIN \00", align 1
@.str.30 = private unnamed_addr constant [6 x i8] c"ID \00", align 1
@.str.31 = private unnamed_addr constant [6 x i8] c"SQ \00", align 1
@.str.32 = private unnamed_addr constant [3 x i8] c"#%\00", align 1
@.str.33 = private unnamed_addr constant [31 x i8] c"Sequence file contains no data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SeqfileFormat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %223, %204, %198, %20, %1
%13 = load ptr, ptr %2, align 8
%14 = call ptr @sre_fgets(ptr noundef %3, ptr noundef %4, ptr noundef %13)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %224
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i64 @IsBlankline(ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
br label %12, !llvm.loop !6
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %100
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = call i64 @strncmp(ptr noundef %25, ptr noundef @.str, i32 noundef 4)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str.1)
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 16, ptr %5, align 4
br label %235
33: ; preds = %28, %24
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 0
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 62
br i1 %38, label %39, label %40
39: ; preds = %33
store i32 7, ptr %5, align 4
br label %235
40: ; preds = %33
%41 = load ptr, ptr %3, align 8
%42 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str.2, i32 noundef 13)
%43 = icmp eq i64 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %40
%45 = load ptr, ptr %3, align 8
%46 = call i64 @strncmp(ptr noundef %45, ptr noundef @.str.3, i32 noundef 13)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44, %40
store i32 5, ptr %5, align 4
br label %235
49: ; preds = %44
%50 = load ptr, ptr %3, align 8
%51 = call i64 @strncmp(ptr noundef %50, ptr noundef @.str.4, i32 noundef 11)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %49
store i32 109, ptr %5, align 4
br label %235
54: ; preds = %49
%55 = load ptr, ptr %3, align 8
%56 = call i64 @strncmp(ptr noundef %55, ptr noundef @.str.5, i32 noundef 14)
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %54
store i32 101, ptr %5, align 4
br label %235
59: ; preds = %54
%60 = load ptr, ptr %3, align 8
%61 = call i64 @strncmp(ptr noundef %60, ptr noundef @.str.6, i32 noundef 7)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %68
63: ; preds = %59
%64 = load ptr, ptr %3, align 8
%65 = call ptr @strstr(ptr noundef %64, ptr noundef @.str.7)
%66 = icmp ne ptr %65, null
br i1 %66, label %67, label %68
67: ; preds = %63
store i32 104, ptr %5, align 4
br label %235
68: ; preds = %63, %59
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strncmp(ptr noundef %69, ptr noundef @.str.8, i32 noundef 23)
%71 = icmp eq i64 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %68
%73 = load ptr, ptr %3, align 8
%74 = call i64 @strncmp(ptr noundef %73, ptr noundef @.str.9, i32 noundef 23)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72, %68
store i32 103, ptr %5, align 4
br label %235
77: ; preds = %72
%78 = load ptr, ptr %3, align 8
%79 = call ptr @sre_strdup(ptr noundef %78, i32 noundef -1)
store ptr %79, ptr %7, align 8
%80 = load ptr, ptr %7, align 8
store ptr %80, ptr %8, align 8
%81 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %81, ptr %9, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %83, label %97
83: ; preds = %77
%84 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %84, ptr %10, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %97
86: ; preds = %83
%87 = load ptr, ptr %9, align 8
%88 = call i64 @IsInt(ptr noundef %87)
%89 = icmp ne i64 %88, 0
br i1 %89, label %90, label %97
90: ; preds = %86
%91 = load ptr, ptr %10, align 8
%92 = call i64 @IsInt(ptr noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load ptr, ptr %7, align 8
%96 = call i32 @free(ptr noundef %95)
store i32 106, ptr %5, align 4
br label %235
97: ; preds = %90, %86, %83, %77
%98 = load ptr, ptr %7, align 8
%99 = call i32 @free(ptr noundef %98)
br label %100
100: ; preds = %97, %21
%101 = load ptr, ptr %3, align 8
%102 = call i64 @strncmp(ptr noundef %101, ptr noundef @.str.11, i32 noundef 4)
%103 = icmp eq i64 %102, 0
br i1 %103, label %144, label %104
104: ; preds = %100
%105 = load ptr, ptr %3, align 8
%106 = call i64 @strncmp(ptr noundef %105, ptr noundef @.str.12, i32 noundef 4)
%107 = icmp eq i64 %106, 0
br i1 %107, label %144, label %108
108: ; preds = %104
%109 = load ptr, ptr %3, align 8
%110 = call i64 @strncmp(ptr noundef %109, ptr noundef @.str.13, i32 noundef 4)
%111 = icmp eq i64 %110, 0
br i1 %111, label %144, label %112
112: ; preds = %108
%113 = load ptr, ptr %3, align 8
%114 = call i64 @strncmp(ptr noundef %113, ptr noundef @.str.14, i32 noundef 4)
%115 = icmp eq i64 %114, 0
br i1 %115, label %144, label %116
116: ; preds = %112
%117 = load ptr, ptr %3, align 8
%118 = call i64 @strncmp(ptr noundef %117, ptr noundef @.str.15, i32 noundef 4)
%119 = icmp eq i64 %118, 0
br i1 %119, label %144, label %120
120: ; preds = %116
%121 = load ptr, ptr %3, align 8
%122 = call i64 @strncmp(ptr noundef %121, ptr noundef @.str.16, i32 noundef 4)
%123 = icmp eq i64 %122, 0
br i1 %123, label %144, label %124
124: ; preds = %120
%125 = load ptr, ptr %3, align 8
%126 = call i64 @strncmp(ptr noundef %125, ptr noundef @.str.17, i32 noundef 4)
%127 = icmp eq i64 %126, 0
br i1 %127, label %144, label %128
128: ; preds = %124
%129 = load ptr, ptr %3, align 8
%130 = call i64 @strncmp(ptr noundef %129, ptr noundef @.str.18, i32 noundef 4)
%131 = icmp eq i64 %130, 0
br i1 %131, label %144, label %132
132: ; preds = %128
%133 = load ptr, ptr %3, align 8
%134 = call i64 @strncmp(ptr noundef %133, ptr noundef @.str.19, i32 noundef 4)
%135 = icmp eq i64 %134, 0
br i1 %135, label %144, label %136
136: ; preds = %132
%137 = load ptr, ptr %3, align 8
%138 = call i64 @strncmp(ptr noundef %137, ptr noundef @.str.20, i32 noundef 4)
%139 = icmp eq i64 %138, 0
br i1 %139, label %144, label %140
140: ; preds = %136
%141 = load ptr, ptr %3, align 8
%142 = call i64 @strncmp(ptr noundef %141, ptr noundef @.str.21, i32 noundef 4)
%143 = icmp eq i64 %142, 0
br i1 %143, label %144, label %145
144: ; preds = %140, %136, %132, %128, %124, %120, %116, %112, %108, %104, %100
store i32 102, ptr %5, align 4
br label %235
145: ; preds = %140
%146 = load ptr, ptr %3, align 8
%147 = call i64 @strncmp(ptr noundef %146, ptr noundef @.str.22, i32 noundef 3)
%148 = icmp eq i64 %147, 0
br i1 %148, label %153, label %149
149: ; preds = %145
%150 = load ptr, ptr %3, align 8
%151 = call i64 @strncmp(ptr noundef %150, ptr noundef @.str.23, i32 noundef 6)
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %154
153: ; preds = %149, %145
store i32 12, ptr %5, align 4
br label %235
154: ; preds = %149
%155 = load ptr, ptr %3, align 8
%156 = call ptr @strstr(ptr noundef %155, ptr noundef @.str.24)
%157 = icmp ne ptr %156, null
br i1 %157, label %158, label %167
158: ; preds = %154
%159 = load ptr, ptr %3, align 8
%160 = call ptr @strstr(ptr noundef %159, ptr noundef @.str.25)
%161 = icmp ne ptr %160, null
br i1 %161, label %162, label %167
162: ; preds = %158
%163 = load ptr, ptr %3, align 8
%164 = call ptr @strstr(ptr noundef %163, ptr noundef @.str.26)
%165 = icmp ne ptr %164, null
br i1 %165, label %166, label %167
166: ; preds = %162
store i32 103, ptr %5, align 4
br label %235
167: ; preds = %162, %158, %154
%168 = load ptr, ptr %3, align 8
%169 = call ptr @strstr(ptr noundef %168, ptr noundef @.str.27)
%170 = icmp ne ptr %169, null
br i1 %170, label %171, label %176
171: ; preds = %167
%172 = load ptr, ptr %3, align 8
%173 = call ptr @strstr(ptr noundef %172, ptr noundef @.str.24)
%174 = icmp ne ptr %173, null
br i1 %174, label %175, label %176
175: ; preds = %171
store i32 5, ptr %5, align 4
br label %235
176: ; preds = %171, %167
%177 = load ptr, ptr %3, align 8
%178 = call i64 @strncmp(ptr noundef %177, ptr noundef @.str.28, i32 noundef 6)
%179 = icmp eq i64 %178, 0
br i1 %179, label %184, label %180
180: ; preds = %176
%181 = load ptr, ptr %3, align 8
%182 = call i64 @strncmp(ptr noundef %181, ptr noundef @.str.29, i32 noundef 6)
%183 = icmp eq i64 %182, 0
br i1 %183, label %184, label %185
184: ; preds = %180, %176
store i32 2, ptr %5, align 4
br label %235
185: ; preds = %180
%186 = load ptr, ptr %3, align 8
%187 = call i64 @strncmp(ptr noundef %186, ptr noundef @.str.30, i32 noundef 5)
%188 = icmp eq i64 %187, 0
br i1 %188, label %193, label %189
189: ; preds = %185
%190 = load ptr, ptr %3, align 8
%191 = call i64 @strncmp(ptr noundef %190, ptr noundef @.str.31, i32 noundef 5)
%192 = icmp eq i64 %191, 0
br i1 %192, label %193, label %194
193: ; preds = %189, %185
store i32 4, ptr %5, align 4
br label %235
194: ; preds = %189
%195 = load ptr, ptr %3, align 8
store ptr %195, ptr %8, align 8
%196 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %196, ptr %9, align 8
%197 = icmp eq ptr %196, null
br i1 %197, label %198, label %199
198: ; preds = %194
br label %12, !llvm.loop !6
199: ; preds = %194
%200 = load ptr, ptr %9, align 8
%201 = load i8, ptr %200, align 1
%202 = call ptr @strchr(ptr noundef @.str.32, i8 noundef signext %201)
%203 = icmp ne ptr %202, null
br i1 %203, label %204, label %205
204: ; preds = %199
br label %12, !llvm.loop !6
205: ; preds = %199
%206 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %206, ptr %10, align 8
%207 = icmp eq ptr %206, null
br i1 %207, label %208, label %209
208: ; preds = %205
store i32 1, ptr %11, align 4
br label %209
209: ; preds = %208, %205
%210 = load ptr, ptr %10, align 8
%211 = icmp ne ptr %210, null
br i1 %211, label %212, label %217
212: ; preds = %209
%213 = load ptr, ptr %10, align 8
%214 = call i64 @Seqtype(ptr noundef %213)
%215 = icmp eq i64 %214, 0
br i1 %215, label %216, label %217
216: ; preds = %212
store i32 1, ptr %11, align 4
br label %217
217: ; preds = %216, %212, %209
%218 = load i32, ptr %6, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %6, align 4
%220 = load i32, ptr %6, align 4
%221 = icmp eq i32 %220, 300
br i1 %221, label %222, label %223
222: ; preds = %217
br label %224
223: ; preds = %217
br label %12, !llvm.loop !6
224: ; preds = %222, %12
%225 = load i32, ptr %6, align 4
%226 = icmp eq i32 %225, 0
br i1 %226, label %227, label %229
227: ; preds = %224
%228 = call i32 @Die(ptr noundef @.str.33)
br label %229
229: ; preds = %227, %224
%230 = load i32, ptr %11, align 4
%231 = icmp eq i32 %230, 1
br i1 %231, label %232, label %233
232: ; preds = %229
store i32 0, ptr %5, align 4
br label %234
233: ; preds = %229
store i32 102, ptr %5, align 4
br label %234
234: ; preds = %233, %232
br label %235
235: ; preds = %234, %193, %184, %175, %166, %153, %144, %94, %76, %67, %58, %53, %48, %39, %32
%236 = load ptr, ptr %3, align 8
%237 = icmp ne ptr %236, null
br i1 %237, label %238, label %241
238: ; preds = %235
%239 = load ptr, ptr %3, align 8
%240 = call i32 @free(ptr noundef %239)
br label %241
241: ; preds = %238, %235
%242 = load ptr, ptr %2, align 8
%243 = call i32 @rewind(ptr noundef %242)
%244 = load i32, ptr %5, align 4
ret i32 %244
}
declare ptr @sre_fgets(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @IsBlankline(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @sre_strdup(ptr noundef, i32 noundef) #1
declare ptr @sre_strtok(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @IsInt(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @Seqtype(ptr noundef) #1
declare i32 @Die(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp1ylip4r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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">>>>\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Len: \00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"!!AA_SEQUENCE\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"!!NA_SEQUENCE\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"# DUBLIN 1.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"# STOCKHOLM 1.\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"CLUSTAL\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"multiple sequence alignment\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"!!AA_MULTIPLE_ALIGNMENT\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"!!NA_MULTIPLE_ALIGNMENT\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"#=AU\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"#=ID\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"#=AC\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"#=DE\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"#=GA\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"#=TC\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"#=NC\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"#=SQ\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"#=SS\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"#=CS\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"#=RF\00", align 1
@.str.22 = private unnamed_addr constant [4 x i8] c"///\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"ENTRY \00", align 1
@.str.24 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.25 = private unnamed_addr constant [5 x i8] c"MSF:\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"Check:\00", align 1
@.str.27 = private unnamed_addr constant [9 x i8] c" Check: \00", align 1
@.str.28 = private unnamed_addr constant [7 x i8] c"LOCUS \00", align 1
@.str.29 = private unnamed_addr constant [8 x i8] c"ORIGIN \00", align 1
@.str.30 = private unnamed_addr constant [6 x i8] c"ID \00", align 1
@.str.31 = private unnamed_addr constant [6 x i8] c"SQ \00", align 1
@.str.32 = private unnamed_addr constant [3 x i8] c"#%\00", align 1
@.str.33 = private unnamed_addr constant [31 x i8] c"Sequence file contains no data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SeqfileFormat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %2, align 8
%13 = call ptr @sre_fgets(ptr noundef %3, ptr noundef %4, ptr noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load ptr, ptr %3, align 8
%17 = call i64 @IsBlankline(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %15
br label %.backedge
.backedge: ; preds = %19, %200, %206, %225
%20 = load ptr, ptr %2, align 8
%21 = call ptr @sre_fgets(ptr noundef %3, ptr noundef %4, ptr noundef %20)
%22 = icmp ne ptr %21, null
br i1 %22, label %15, label %..loopexit_crit_edge, !llvm.loop !6
23: ; preds = %15
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %102
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = call i64 @strncmp(ptr noundef %27, ptr noundef @.str, i32 noundef 4)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load ptr, ptr %3, align 8
%32 = call ptr @strstr(ptr noundef %31, ptr noundef @.str.1)
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 16, ptr %5, align 4
br label %237
35: ; preds = %30, %26
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 0
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 62
br i1 %40, label %41, label %42
41: ; preds = %35
store i32 7, ptr %5, align 4
br label %237
42: ; preds = %35
%43 = load ptr, ptr %3, align 8
%44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.2, i32 noundef 13)
%45 = icmp eq i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load ptr, ptr %3, align 8
%48 = call i64 @strncmp(ptr noundef %47, ptr noundef @.str.3, i32 noundef 13)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %46, %42
store i32 5, ptr %5, align 4
br label %237
51: ; preds = %46
%52 = load ptr, ptr %3, align 8
%53 = call i64 @strncmp(ptr noundef %52, ptr noundef @.str.4, i32 noundef 11)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 109, ptr %5, align 4
br label %237
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = call i64 @strncmp(ptr noundef %57, ptr noundef @.str.5, i32 noundef 14)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
store i32 101, ptr %5, align 4
br label %237
61: ; preds = %56
%62 = load ptr, ptr %3, align 8
%63 = call i64 @strncmp(ptr noundef %62, ptr noundef @.str.6, i32 noundef 7)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %61
%66 = load ptr, ptr %3, align 8
%67 = call ptr @strstr(ptr noundef %66, ptr noundef @.str.7)
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 104, ptr %5, align 4
br label %237
70: ; preds = %65, %61
%71 = load ptr, ptr %3, align 8
%72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.8, i32 noundef 23)
%73 = icmp eq i64 %72, 0
br i1 %73, label %78, label %74
74: ; preds = %70
%75 = load ptr, ptr %3, align 8
%76 = call i64 @strncmp(ptr noundef %75, ptr noundef @.str.9, i32 noundef 23)
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %74, %70
store i32 103, ptr %5, align 4
br label %237
79: ; preds = %74
%80 = load ptr, ptr %3, align 8
%81 = call ptr @sre_strdup(ptr noundef %80, i32 noundef -1)
store ptr %81, ptr %7, align 8
%82 = load ptr, ptr %7, align 8
store ptr %82, ptr %8, align 8
%83 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %83, ptr %9, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %99
85: ; preds = %79
%86 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %86, ptr %10, align 8
%87 = icmp ne ptr %86, null
br i1 %87, label %88, label %99
88: ; preds = %85
%89 = load ptr, ptr %9, align 8
%90 = call i64 @IsInt(ptr noundef %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %99
92: ; preds = %88
%93 = load ptr, ptr %10, align 8
%94 = call i64 @IsInt(ptr noundef %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load ptr, ptr %7, align 8
%98 = call i32 @free(ptr noundef %97)
store i32 106, ptr %5, align 4
br label %237
99: ; preds = %92, %88, %85, %79
%100 = load ptr, ptr %7, align 8
%101 = call i32 @free(ptr noundef %100)
br label %102
102: ; preds = %99, %23
%103 = load ptr, ptr %3, align 8
%104 = call i64 @strncmp(ptr noundef %103, ptr noundef @.str.11, i32 noundef 4)
%105 = icmp eq i64 %104, 0
br i1 %105, label %146, label %106
106: ; preds = %102
%107 = load ptr, ptr %3, align 8
%108 = call i64 @strncmp(ptr noundef %107, ptr noundef @.str.12, i32 noundef 4)
%109 = icmp eq i64 %108, 0
br i1 %109, label %146, label %110
110: ; preds = %106
%111 = load ptr, ptr %3, align 8
%112 = call i64 @strncmp(ptr noundef %111, ptr noundef @.str.13, i32 noundef 4)
%113 = icmp eq i64 %112, 0
br i1 %113, label %146, label %114
114: ; preds = %110
%115 = load ptr, ptr %3, align 8
%116 = call i64 @strncmp(ptr noundef %115, ptr noundef @.str.14, i32 noundef 4)
%117 = icmp eq i64 %116, 0
br i1 %117, label %146, label %118
118: ; preds = %114
%119 = load ptr, ptr %3, align 8
%120 = call i64 @strncmp(ptr noundef %119, ptr noundef @.str.15, i32 noundef 4)
%121 = icmp eq i64 %120, 0
br i1 %121, label %146, label %122
122: ; preds = %118
%123 = load ptr, ptr %3, align 8
%124 = call i64 @strncmp(ptr noundef %123, ptr noundef @.str.16, i32 noundef 4)
%125 = icmp eq i64 %124, 0
br i1 %125, label %146, label %126
126: ; preds = %122
%127 = load ptr, ptr %3, align 8
%128 = call i64 @strncmp(ptr noundef %127, ptr noundef @.str.17, i32 noundef 4)
%129 = icmp eq i64 %128, 0
br i1 %129, label %146, label %130
130: ; preds = %126
%131 = load ptr, ptr %3, align 8
%132 = call i64 @strncmp(ptr noundef %131, ptr noundef @.str.18, i32 noundef 4)
%133 = icmp eq i64 %132, 0
br i1 %133, label %146, label %134
134: ; preds = %130
%135 = load ptr, ptr %3, align 8
%136 = call i64 @strncmp(ptr noundef %135, ptr noundef @.str.19, i32 noundef 4)
%137 = icmp eq i64 %136, 0
br i1 %137, label %146, label %138
138: ; preds = %134
%139 = load ptr, ptr %3, align 8
%140 = call i64 @strncmp(ptr noundef %139, ptr noundef @.str.20, i32 noundef 4)
%141 = icmp eq i64 %140, 0
br i1 %141, label %146, label %142
142: ; preds = %138
%143 = load ptr, ptr %3, align 8
%144 = call i64 @strncmp(ptr noundef %143, ptr noundef @.str.21, i32 noundef 4)
%145 = icmp eq i64 %144, 0
br i1 %145, label %146, label %147
146: ; preds = %142, %138, %134, %130, %126, %122, %118, %114, %110, %106, %102
store i32 102, ptr %5, align 4
br label %237
147: ; preds = %142
%148 = load ptr, ptr %3, align 8
%149 = call i64 @strncmp(ptr noundef %148, ptr noundef @.str.22, i32 noundef 3)
%150 = icmp eq i64 %149, 0
br i1 %150, label %155, label %151
151: ; preds = %147
%152 = load ptr, ptr %3, align 8
%153 = call i64 @strncmp(ptr noundef %152, ptr noundef @.str.23, i32 noundef 6)
%154 = icmp eq i64 %153, 0
br i1 %154, label %155, label %156
155: ; preds = %151, %147
store i32 12, ptr %5, align 4
br label %237
156: ; preds = %151
%157 = load ptr, ptr %3, align 8
%158 = call ptr @strstr(ptr noundef %157, ptr noundef @.str.24)
%159 = icmp ne ptr %158, null
br i1 %159, label %160, label %169
160: ; preds = %156
%161 = load ptr, ptr %3, align 8
%162 = call ptr @strstr(ptr noundef %161, ptr noundef @.str.25)
%163 = icmp ne ptr %162, null
br i1 %163, label %164, label %169
164: ; preds = %160
%165 = load ptr, ptr %3, align 8
%166 = call ptr @strstr(ptr noundef %165, ptr noundef @.str.26)
%167 = icmp ne ptr %166, null
br i1 %167, label %168, label %169
168: ; preds = %164
store i32 103, ptr %5, align 4
br label %237
169: ; preds = %164, %160, %156
%170 = load ptr, ptr %3, align 8
%171 = call ptr @strstr(ptr noundef %170, ptr noundef @.str.27)
%172 = icmp ne ptr %171, null
br i1 %172, label %173, label %178
173: ; preds = %169
%174 = load ptr, ptr %3, align 8
%175 = call ptr @strstr(ptr noundef %174, ptr noundef @.str.24)
%176 = icmp ne ptr %175, null
br i1 %176, label %177, label %178
177: ; preds = %173
store i32 5, ptr %5, align 4
br label %237
178: ; preds = %173, %169
%179 = load ptr, ptr %3, align 8
%180 = call i64 @strncmp(ptr noundef %179, ptr noundef @.str.28, i32 noundef 6)
%181 = icmp eq i64 %180, 0
br i1 %181, label %186, label %182
182: ; preds = %178
%183 = load ptr, ptr %3, align 8
%184 = call i64 @strncmp(ptr noundef %183, ptr noundef @.str.29, i32 noundef 6)
%185 = icmp eq i64 %184, 0
br i1 %185, label %186, label %187
186: ; preds = %182, %178
store i32 2, ptr %5, align 4
br label %237
187: ; preds = %182
%188 = load ptr, ptr %3, align 8
%189 = call i64 @strncmp(ptr noundef %188, ptr noundef @.str.30, i32 noundef 5)
%190 = icmp eq i64 %189, 0
br i1 %190, label %195, label %191
191: ; preds = %187
%192 = load ptr, ptr %3, align 8
%193 = call i64 @strncmp(ptr noundef %192, ptr noundef @.str.31, i32 noundef 5)
%194 = icmp eq i64 %193, 0
br i1 %194, label %195, label %196
195: ; preds = %191, %187
store i32 4, ptr %5, align 4
br label %237
196: ; preds = %191
%197 = load ptr, ptr %3, align 8
store ptr %197, ptr %8, align 8
%198 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %198, ptr %9, align 8
%199 = icmp eq ptr %198, null
br i1 %199, label %200, label %201
200: ; preds = %196
br label %.backedge
201: ; preds = %196
%202 = load ptr, ptr %9, align 8
%203 = load i8, ptr %202, align 1
%204 = call ptr @strchr(ptr noundef @.str.32, i8 noundef signext %203)
%205 = icmp ne ptr %204, null
br i1 %205, label %206, label %207
206: ; preds = %201
br label %.backedge
207: ; preds = %201
%208 = call ptr @sre_strtok(ptr noundef %8, ptr noundef @.str.10, ptr noundef null)
store ptr %208, ptr %10, align 8
%209 = icmp eq ptr %208, null
br i1 %209, label %210, label %211
210: ; preds = %207
store i32 1, ptr %11, align 4
br label %211
211: ; preds = %210, %207
%212 = load ptr, ptr %10, align 8
%213 = icmp ne ptr %212, null
br i1 %213, label %214, label %219
214: ; preds = %211
%215 = load ptr, ptr %10, align 8
%216 = call i64 @Seqtype(ptr noundef %215)
%217 = icmp eq i64 %216, 0
br i1 %217, label %218, label %219
218: ; preds = %214
store i32 1, ptr %11, align 4
br label %219
219: ; preds = %218, %214, %211
%220 = load i32, ptr %6, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %6, align 4
%222 = load i32, ptr %6, align 4
%223 = icmp eq i32 %222, 300
br i1 %223, label %224, label %225
224: ; preds = %219
br label %226
225: ; preds = %219
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %226
226: ; preds = %.loopexit, %224
%227 = load i32, ptr %6, align 4
%228 = icmp eq i32 %227, 0
br i1 %228, label %229, label %231
229: ; preds = %226
%230 = call i32 @Die(ptr noundef @.str.33)
br label %231
231: ; preds = %229, %226
%232 = load i32, ptr %11, align 4
%233 = icmp eq i32 %232, 1
br i1 %233, label %234, label %235
234: ; preds = %231
store i32 0, ptr %5, align 4
br label %236
235: ; preds = %231
store i32 102, ptr %5, align 4
br label %236
236: ; preds = %235, %234
br label %237
237: ; preds = %236, %195, %186, %177, %168, %155, %146, %96, %78, %69, %60, %55, %50, %41, %34
%238 = load ptr, ptr %3, align 8
%239 = icmp ne ptr %238, null
br i1 %239, label %240, label %243
240: ; preds = %237
%241 = load ptr, ptr %3, align 8
%242 = call i32 @free(ptr noundef %241)
br label %243
243: ; preds = %240, %237
%244 = load ptr, ptr %2, align 8
%245 = call i32 @rewind(ptr noundef %244)
%246 = load i32, ptr %5, align 4
ret i32 %246
}
declare ptr @sre_fgets(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @IsBlankline(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @sre_strdup(ptr noundef, i32 noundef) #1
declare ptr @sre_strtok(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @IsInt(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @Seqtype(ptr noundef) #1
declare i32 @Die(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmppwbb896m.c'
source_filename = "/tmp/tmppwbb896m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"%7d: Here is a message.\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"write(%s) returned %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca i64, align 8
%10 = 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
%11 = call i32 (...) @make_pipe_node()
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %34
13: ; preds = %2
%14 = call i32 @create_pipe(i32 noundef 1)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %33
17: ; preds = %13
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %17, %18
%19 = call i32 @usleep(i32 noundef 1000000)
%20 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = call i32 @snprintf(ptr noundef %20, i32 noundef 1023, ptr noundef @.str, i32 noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %9, align 8
%26 = load i32, ptr %6, align 4
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = load i64, ptr %9, align 8
%29 = call i32 @write_to_pipe(i32 noundef %26, ptr noundef %27, i64 noundef %28)
store i32 %29, ptr %10, align 4
%30 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%31 = load i32, ptr %10, align 4
%32 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30, i32 noundef %31)
br label %18
33: ; preds = %13
br label %34
34: ; preds = %33, %2
ret i32 1
}
declare i32 @make_pipe_node(...) #1
declare i32 @create_pipe(i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @write_to_pipe(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppwbb896m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"%7d: Here is a message.\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"write(%s) returned %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca i64, align 8
%10 = 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
%11 = call i32 (...) @make_pipe_node()
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %34
13: ; preds = %2
%14 = call i32 @create_pipe(i32 noundef 1)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %17, label %33
17: ; preds = %13
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %18, %17
%19 = call i32 @usleep(i32 noundef 1000000)
%20 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = call i32 @snprintf(ptr noundef %20, i32 noundef 1023, ptr noundef @.str, i32 noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %9, align 8
%26 = load i32, ptr %6, align 4
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = load i64, ptr %9, align 8
%29 = call i32 @write_to_pipe(i32 noundef %26, ptr noundef %27, i64 noundef %28)
store i32 %29, ptr %10, align 4
%30 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%31 = load i32, ptr %10, align 4
%32 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30, i32 noundef %31)
br label %18
33: ; preds = %13
br label %34
34: ; preds = %33, %2
ret i32 1
}
declare i32 @make_pipe_node(...) #1
declare i32 @create_pipe(i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @write_to_pipe(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqqum_8mb.c'
source_filename = "/tmp/tmpqqum_8mb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_OP_NEW_POST = dso_local global i32 0, align 4
@NID_netscape_cert_sequence = 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/tmpqqum_8mb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_OP_NEW_POST = dso_local global i32 0, align 4
@NID_netscape_cert_sequence = 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/tmpvvkxa1tr.c'
source_filename = "/tmp/tmpvvkxa1tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chtoint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %27, %1
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %30
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %15, %16
%18 = sub nsw i32 %17, 48
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = sub nsw i32 %19, %20
%22 = sub nsw i32 %21, 1
%23 = call i32 @power(i32 noundef 10, i32 noundef %22)
%24 = mul nsw i32 %18, %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %12
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare i32 @strlen(ptr noundef) #1
declare i32 @power(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvkxa1tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chtoint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %14, %15
%17 = sub nsw i32 %16, 48
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = sub nsw i32 %18, %19
%21 = sub nsw i32 %20, 1
%22 = call i32 @power(i32 noundef 10, i32 noundef %21)
%23 = mul nsw i32 %17, %22
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %11
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i32, ptr %5, align 4
ret i32 %33
}
declare i32 @strlen(ptr noundef) #1
declare i32 @power(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6myo4z90.c'
source_filename = "/tmp/tmp6myo4z90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %i\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s %i %i\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10, ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, i32 noundef %13, i32 noundef %14)
%16 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %16, ptr noundef %2)
store i32 %17, ptr %3, align 4
%18 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20)
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2)
store i32 %22, ptr %3, align 4
%23 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23, i32 noundef %24, i32 noundef %25)
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr 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/tmp6myo4z90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %i\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s %i %i\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6, i32 noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %10, ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, i32 noundef %13, i32 noundef %14)
%16 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %16, ptr noundef %2)
store i32 %17, ptr %3, align 4
%18 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20)
%22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2)
store i32 %22, ptr %3, align 4
%23 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23, i32 noundef %24, i32 noundef %25)
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr 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/tmpgud0oxff.c'
source_filename = "/tmp/tmpgud0oxff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"input file needed\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Aborting, cannot open file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Value %8d for key '%-s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"No record for key '%-s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [60 x i8], align 16
%7 = alloca [60 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = call ptr (...) @initialize()
store ptr %22, ptr %13, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %12, align 8
%27 = load ptr, ptr %12, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %37
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %21
br label %38
38: ; preds = %114, %48, %37
%39 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%40 = load ptr, ptr %12, align 8
%41 = call ptr @fgets(ptr noundef %39, i32 noundef 31, ptr noundef %40)
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %115
43: ; preds = %38
%44 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%45 = call ptr @strtok(ptr noundef %44, ptr noundef @.str.3)
store ptr %45, ptr %8, align 8
%46 = load ptr, ptr %8, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %49
48: ; preds = %43
br label %38, !llvm.loop !6
49: ; preds = %43
store i32 0, ptr %11, align 4
br label %50
50: ; preds = %65, %49
%51 = load i32, ptr %11, align 4
%52 = call i64 @isspace(i32 noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %62
54: ; preds = %50
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br label %62
62: ; preds = %54, %50
%63 = phi i1 [ false, %50 ], [ %61, %54 ]
br i1 %63, label %64, label %68
64: ; preds = %62
br label %65
65: ; preds = %64
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
br label %50, !llvm.loop !8
68: ; preds = %62
%69 = load ptr, ptr %8, align 8
%70 = load i32, ptr %11, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
store i8 %73, ptr %9, align 1
%74 = load i8, ptr %9, align 1
%75 = sext i8 %74 to i32
switch i32 %75, label %113 [
i32 105, label %76
i32 100, label %86
i32 102, label %95
]
76: ; preds = %68
%77 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%78 = call i32 @parse_key_value(ptr noundef %77, ptr noundef %10)
%79 = icmp eq i32 %78, 2
br i1 %79, label %80, label %85
80: ; preds = %76
%81 = load ptr, ptr %13, align 8
%82 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%83 = load i32, ptr %10, align 4
%84 = call i32 @insert(ptr noundef %81, ptr noundef %82, i32 noundef %83)
br label %85
85: ; preds = %80, %76
br label %114
86: ; preds = %68
%87 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%88 = call i32 @parse_key_value(ptr noundef %87, ptr noundef %10)
%89 = icmp eq i32 %88, 1
br i1 %89, label %90, label %94
90: ; preds = %86
%91 = load ptr, ptr %13, align 8
%92 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%93 = call i32 @destroy(ptr noundef %91, ptr noundef %92)
br label %94
94: ; preds = %90, %86
br label %114
95: ; preds = %68
%96 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%97 = call i32 @parse_key_value(ptr noundef %96, ptr noundef %10)
%98 = icmp eq i32 %97, 1
br i1 %98, label %99, label %112
99: ; preds = %95
%100 = load ptr, ptr %13, align 8
%101 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%102 = call i32 @find(ptr noundef %100, ptr noundef %101, ptr noundef %10)
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %108
104: ; preds = %99
%105 = load i32, ptr %10, align 4
%106 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %105, ptr noundef %106)
br label %111
108: ; preds = %99
%109 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %109)
br label %111
111: ; preds = %108, %104
br label %112
112: ; preds = %111, %95
br label %114
113: ; preds = %68
br label %114
114: ; preds = %113, %112, %94, %85
br label %38, !llvm.loop !6
115: ; preds = %38
%116 = load i32, ptr %3, align 4
ret i32 %116
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @initialize(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @parse_key_value(ptr noundef, ptr noundef) #1
declare i32 @insert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @destroy(ptr noundef, ptr noundef) #1
declare i32 @find(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" }
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/tmpgud0oxff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"input file needed\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Aborting, cannot open file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Value %8d for key '%-s'\0A\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"No record for key '%-s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [60 x i8], align 16
%7 = alloca [60 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = call ptr (...) @initialize()
store ptr %22, ptr %13, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %12, align 8
%27 = load ptr, ptr %12, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %37
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %21
%38 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%39 = load ptr, ptr %12, align 8
%40 = call ptr @fgets(ptr noundef %38, i32 noundef 31, ptr noundef %39)
%41 = icmp ne ptr %40, null
br i1 %41, label %.lr.ph, label %117
.lr.ph: ; preds = %37
br label %42
42: ; preds = %.lr.ph, %.backedge
%43 = getelementptr inbounds [60 x i8], ptr %6, i64 0, i64 0
%44 = call ptr @strtok(ptr noundef %43, ptr noundef @.str.3)
store ptr %44, ptr %8, align 8
%45 = load ptr, ptr %8, align 8
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %51
47: ; preds = %42
br label %.backedge
.backedge: ; preds = %47, %116
%48 = load ptr, ptr %12, align 8
%49 = call ptr @fgets(ptr noundef %38, i32 noundef 31, ptr noundef %48)
%50 = icmp ne ptr %49, null
br i1 %50, label %42, label %._crit_edge, !llvm.loop !6
51: ; preds = %42
store i32 0, ptr %11, align 4
br label %52
52: ; preds = %67, %51
%53 = load i32, ptr %11, align 4
%54 = call i64 @isspace(i32 noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %64
56: ; preds = %52
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %11, 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 = icmp ne i32 %62, 0
br label %64
64: ; preds = %56, %52
%65 = phi i1 [ false, %52 ], [ %63, %56 ]
br i1 %65, label %66, label %70
66: ; preds = %64
br label %67
67: ; preds = %66
%68 = load i32, ptr %11, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %11, align 4
br label %52, !llvm.loop !8
70: ; preds = %64
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %71, i64 %73
%75 = load i8, ptr %74, align 1
store i8 %75, ptr %9, align 1
%76 = load i8, ptr %9, align 1
%77 = sext i8 %76 to i32
switch i32 %77, label %115 [
i32 105, label %78
i32 100, label %88
i32 102, label %97
]
78: ; preds = %70
%79 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%80 = call i32 @parse_key_value(ptr noundef %79, ptr noundef %10)
%81 = icmp eq i32 %80, 2
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = load ptr, ptr %13, align 8
%84 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%85 = load i32, ptr %10, align 4
%86 = call i32 @insert(ptr noundef %83, ptr noundef %84, i32 noundef %85)
br label %87
87: ; preds = %82, %78
br label %116
88: ; preds = %70
%89 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%90 = call i32 @parse_key_value(ptr noundef %89, ptr noundef %10)
%91 = icmp eq i32 %90, 1
br i1 %91, label %92, label %96
92: ; preds = %88
%93 = load ptr, ptr %13, align 8
%94 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%95 = call i32 @destroy(ptr noundef %93, ptr noundef %94)
br label %96
96: ; preds = %92, %88
br label %116
97: ; preds = %70
%98 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%99 = call i32 @parse_key_value(ptr noundef %98, ptr noundef %10)
%100 = icmp eq i32 %99, 1
br i1 %100, label %101, label %114
101: ; preds = %97
%102 = load ptr, ptr %13, align 8
%103 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%104 = call i32 @find(ptr noundef %102, ptr noundef %103, ptr noundef %10)
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %110
106: ; preds = %101
%107 = load i32, ptr %10, align 4
%108 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %107, ptr noundef %108)
br label %113
110: ; preds = %101
%111 = getelementptr inbounds [60 x i8], ptr %7, i64 0, i64 0
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %111)
br label %113
113: ; preds = %110, %106
br label %114
114: ; preds = %113, %97
br label %116
115: ; preds = %70
br label %116
116: ; preds = %115, %114, %96, %87
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %117
117: ; preds = %._crit_edge, %37
%118 = load i32, ptr %3, align 4
ret i32 %118
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @initialize(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i32 @parse_key_value(ptr noundef, ptr noundef) #1
declare i32 @insert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @destroy(ptr noundef, ptr noundef) #1
declare i32 @find(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" }
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/tmphy7mq2oc.c'
source_filename = "/tmp/tmphy7mq2oc.c"
target datalayout = "e-m:e-p270: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.link = type { ptr, [8 x i64] }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x %struct.link], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %73, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 8388608
br i1 %7, label %8, label %76
8: ; preds = %5
%9 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 8 %10, i64 72, i1 false)
%11 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%12 = getelementptr inbounds %struct.link, ptr %11, i64 1
store ptr %12, ptr %3, align 8
%13 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%14 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 8 %14, i64 72, i1 false)
%15 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%16 = getelementptr inbounds %struct.link, ptr %15, i64 1
store ptr %16, ptr %3, align 8
%17 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 8 %18, i64 72, i1 false)
%19 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%20 = getelementptr inbounds %struct.link, ptr %19, i64 1
store ptr %20, ptr %3, align 8
%21 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%22 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 8 %22, i64 72, i1 false)
%23 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds %struct.link, ptr %23, i64 1
store ptr %24, ptr %3, align 8
%25 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%26 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 8 %26, i64 72, i1 false)
%27 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%28 = getelementptr inbounds %struct.link, ptr %27, i64 1
store ptr %28, ptr %3, align 8
%29 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%30 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 8 %30, i64 72, i1 false)
%31 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%32 = getelementptr inbounds %struct.link, ptr %31, i64 1
store ptr %32, ptr %3, align 8
%33 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%34 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 8 %34, i64 72, i1 false)
%35 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%36 = getelementptr inbounds %struct.link, ptr %35, i64 1
store ptr %36, ptr %3, align 8
%37 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%38 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 8 %38, i64 72, i1 false)
%39 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%40 = getelementptr inbounds %struct.link, ptr %39, i64 1
store ptr %40, ptr %3, align 8
%41 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%42 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 8 %42, i64 72, i1 false)
%43 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%44 = getelementptr inbounds %struct.link, ptr %43, i64 1
store ptr %44, ptr %3, align 8
%45 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%46 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 8 %46, i64 72, i1 false)
%47 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%48 = getelementptr inbounds %struct.link, ptr %47, i64 1
store ptr %48, ptr %3, align 8
%49 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%50 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 8 %50, i64 72, i1 false)
%51 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%52 = getelementptr inbounds %struct.link, ptr %51, i64 1
store ptr %52, ptr %3, align 8
%53 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%54 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 8 %54, i64 72, i1 false)
%55 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%56 = getelementptr inbounds %struct.link, ptr %55, i64 1
store ptr %56, ptr %3, align 8
%57 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%58 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 8 %58, i64 72, i1 false)
%59 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%60 = getelementptr inbounds %struct.link, ptr %59, i64 1
store ptr %60, ptr %3, align 8
%61 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%62 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %61, ptr align 8 %62, i64 72, i1 false)
%63 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%64 = getelementptr inbounds %struct.link, ptr %63, i64 1
store ptr %64, ptr %3, align 8
%65 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%66 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %65, ptr align 8 %66, i64 72, i1 false)
%67 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%68 = getelementptr inbounds %struct.link, ptr %67, i64 1
store ptr %68, ptr %3, align 8
%69 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%70 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %69, ptr align 8 %70, i64 72, i1 false)
%71 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%72 = getelementptr inbounds %struct.link, ptr %71, i64 1
store ptr %72, ptr %3, align 8
br label %73
73: ; preds = %8
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %4, align 4
br label %5, !llvm.loop !6
76: ; preds = %5
%77 = load i32, ptr %1, align 4
ret i32 %77
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphy7mq2oc.c"
target datalayout = "e-m:e-p270: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.link = type { ptr, [8 x i64] }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x %struct.link], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 8388608
br i1 %6, label %.lr.ph, label %77
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %72
%8 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 8 %9, i64 72, i1 false)
%10 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%11 = getelementptr inbounds %struct.link, ptr %10, i64 1
store ptr %11, ptr %3, align 8
%12 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%13 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 8 %13, i64 72, i1 false)
%14 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%15 = getelementptr inbounds %struct.link, ptr %14, i64 1
store ptr %15, ptr %3, align 8
%16 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%17 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 8 %17, i64 72, i1 false)
%18 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%19 = getelementptr inbounds %struct.link, ptr %18, i64 1
store ptr %19, ptr %3, align 8
%20 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%21 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 8 %21, i64 72, i1 false)
%22 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%23 = getelementptr inbounds %struct.link, ptr %22, i64 1
store ptr %23, ptr %3, align 8
%24 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 8 %25, i64 72, i1 false)
%26 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%27 = getelementptr inbounds %struct.link, ptr %26, i64 1
store ptr %27, ptr %3, align 8
%28 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 8 %29, i64 72, i1 false)
%30 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%31 = getelementptr inbounds %struct.link, ptr %30, i64 1
store ptr %31, ptr %3, align 8
%32 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 8 %33, i64 72, i1 false)
%34 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%35 = getelementptr inbounds %struct.link, ptr %34, i64 1
store ptr %35, ptr %3, align 8
%36 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%37 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 8 %37, i64 72, i1 false)
%38 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%39 = getelementptr inbounds %struct.link, ptr %38, i64 1
store ptr %39, ptr %3, align 8
%40 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%41 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 8 %41, i64 72, i1 false)
%42 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%43 = getelementptr inbounds %struct.link, ptr %42, i64 1
store ptr %43, ptr %3, align 8
%44 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%45 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 8 %45, i64 72, i1 false)
%46 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%47 = getelementptr inbounds %struct.link, ptr %46, i64 1
store ptr %47, ptr %3, align 8
%48 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%49 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 8 %49, i64 72, i1 false)
%50 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%51 = getelementptr inbounds %struct.link, ptr %50, i64 1
store ptr %51, ptr %3, align 8
%52 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%53 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %52, ptr align 8 %53, i64 72, i1 false)
%54 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%55 = getelementptr inbounds %struct.link, ptr %54, i64 1
store ptr %55, ptr %3, align 8
%56 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%57 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %56, ptr align 8 %57, i64 72, i1 false)
%58 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%59 = getelementptr inbounds %struct.link, ptr %58, i64 1
store ptr %59, ptr %3, align 8
%60 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%61 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %60, ptr align 8 %61, i64 72, i1 false)
%62 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%63 = getelementptr inbounds %struct.link, ptr %62, i64 1
store ptr %63, ptr %3, align 8
%64 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%65 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 8 %65, i64 72, i1 false)
%66 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%67 = getelementptr inbounds %struct.link, ptr %66, i64 1
store ptr %67, ptr %3, align 8
%68 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%69 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %68, ptr align 8 %69, i64 72, i1 false)
%70 = getelementptr inbounds [2 x %struct.link], ptr %2, i64 0, i64 0
%71 = getelementptr inbounds %struct.link, ptr %70, i64 1
store ptr %71, ptr %3, align 8
br label %72
72: ; preds = %7
%73 = load i32, ptr %4, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %4, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %75, 8388608
br i1 %76, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %77
77: ; preds = %._crit_edge, %0
%78 = load i32, ptr %1, align 4
ret i32 %78
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|