llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp8kg5ca1h.c'
source_filename = "/tmp/tmp8kg5ca1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_exit = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @SYS_exit, align 4
%3 = call i32 @syscall(i32 noundef %2, i32 noundef -1)
ret i32 0
}
declare i32 @syscall(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/tmp8kg5ca1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_exit = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @SYS_exit, align 4
%3 = call i32 @syscall(i32 noundef %2, i32 noundef -1)
ret i32 0
}
declare i32 @syscall(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/tmpk65u0qkb.c'
source_filename = "/tmp/tmpk65u0qkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test02(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 %3, align 4
store i32 %1, ptr %4, align 4
store i32 -2147483648, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ugt i32 %6, %7
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = sub i32 %14, %15
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 (...) @link_error()
br label %20
20: ; preds = %18, %13
br label %21
21: ; preds = %20, %9
br label %22
22: ; preds = %21, %2
ret void
}
declare i32 @link_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk65u0qkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test02(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 %3, align 4
store i32 %1, ptr %4, align 4
store i32 -2147483648, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ugt i32 %6, %7
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = sub i32 %14, %15
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 (...) @link_error()
br label %20
20: ; preds = %18, %13
br label %21
21: ; preds = %20, %9
br label %22
22: ; preds = %21, %2
ret void
}
declare i32 @link_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmc5agyut.c'
source_filename = "/tmp/tmpmc5agyut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfm_dirname(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 ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = getelementptr inbounds i8, ptr %9, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %7, align 8
br label %13
13: ; preds = %25, %3
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 47
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %28
24: ; preds = %22
br label %25
25: ; preds = %24
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 -1
store ptr %27, ptr %7, align 8
br label %13, !llvm.loop !6
28: ; preds = %22
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = ptrtoint ptr %29 to i64
%32 = ptrtoint ptr %30 to i64
%33 = sub i64 %31, %32
store i64 %33, ptr %8, align 8
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %5, align 8
%36 = icmp eq ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = load i64, ptr %8, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 47, ptr %41, align 1
br label %47
42: ; preds = %28
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = load i64, ptr %8, align 8
%46 = call i32 @memcpy(ptr noundef %43, ptr noundef %44, i64 noundef %45)
br label %47
47: ; preds = %42, %37
%48 = load ptr, ptr %4, align 8
%49 = load i64, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
store i8 0, ptr %50, align 1
%51 = load i64, ptr %8, align 8
ret i64 %51
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmc5agyut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfm_dirname(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 ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = getelementptr inbounds i8, ptr %9, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %7, align 8
br label %13
13: ; preds = %25, %3
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 47
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %28
24: ; preds = %22
br label %25
25: ; preds = %24
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 -1
store ptr %27, ptr %7, align 8
br label %13, !llvm.loop !6
28: ; preds = %22
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = ptrtoint ptr %29 to i64
%32 = ptrtoint ptr %30 to i64
%33 = sub i64 %31, %32
store i64 %33, ptr %8, align 8
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %5, align 8
%36 = icmp eq ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = load i64, ptr %8, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 47, ptr %41, align 1
br label %47
42: ; preds = %28
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = load i64, ptr %8, align 8
%46 = call i32 @memcpy(ptr noundef %43, ptr noundef %44, i64 noundef %45)
br label %47
47: ; preds = %42, %37
%48 = load ptr, ptr %4, align 8
%49 = load i64, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
store i8 0, ptr %50, align 1
%51 = load i64, ptr %8, align 8
ret i64 %51
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw6jypemg.c'
source_filename = "/tmp/tmpw6jypemg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @concatenate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr @BUFSIZ, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %4, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %5, align 8
br label %10
10: ; preds = %15, %1
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @BUFSIZ, align 4
%13 = call i32 @read(i32 noundef %11, ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i32, ptr @STDOUT_FILENO, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @write(i32 noundef %16, ptr noundef %9, i32 noundef %17)
br label %10, !llvm.loop !6
19: ; preds = %10
%20 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %20)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw6jypemg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @concatenate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr @BUFSIZ, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %4, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %5, align 8
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @BUFSIZ, align 4
%12 = call i32 @read(i32 noundef %10, ptr noundef %9, i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr @STDOUT_FILENO, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @write(i32 noundef %15, ptr noundef %9, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr @BUFSIZ, align 4
%20 = call i32 @read(i32 noundef %18, ptr noundef %9, i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %22
22: ; preds = %._crit_edge, %1
%23 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %23)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptcsalqo7.c'
source_filename = "/tmp/tmptcsalqo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
br label %3
3: ; preds = %7, %0
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %2, align 4
%6 = icmp ne i32 %4, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
br label %3, !llvm.loop !6
10: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcsalqo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, -1
store i32 %4, ptr %2, align 4
%5 = icmp ne i32 %3, 0
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplsj14_vj.c'
source_filename = "/tmp/tmplsj14_vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@IPV6_ADDRFORM = 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/tmplsj14_vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@IPV6_ADDRFORM = 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/tmpk5_8j9eo.c'
source_filename = "/tmp/tmpk5_8j9eo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @strtod(ptr noalias noundef %0, ptr noalias 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 double @__strtod_internal(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret double %7
}
declare double @__strtod_internal(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/tmpk5_8j9eo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @strtod(ptr noalias noundef %0, ptr noalias 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 double @__strtod_internal(ptr noundef %5, ptr noundef %6, i32 noundef 0)
ret double %7
}
declare double @__strtod_internal(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/tmpu_tlyn6k.c'
source_filename = "/tmp/tmpu_tlyn6k.c"
target datalayout = "e-m:e-p270: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/tmpu_tlyn6k.c"
target datalayout = "e-m:e-p270: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/tmpam3wgvs8.c'
source_filename = "/tmp/tmpam3wgvs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello from C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @f()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpam3wgvs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello from C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @f()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpje6we_qf.c'
source_filename = "/tmp/tmpje6we_qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_string_to_bytes(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i64 0, ptr %12, align 8
br label %13
13: ; preds = %26, %5
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %12, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %19, label %39
19: ; preds = %13
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %12, align 8
%22 = add i64 %20, %21
%23 = load i64, ptr %10, align 8
%24 = icmp uge i64 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 7, ptr %6, align 4
br label %42
26: ; preds = %19
%27 = load ptr, ptr %7, align 8
%28 = load i64, ptr %12, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %8, align 8
%33 = load i64, ptr %9, align 8
%34 = load i64, ptr %12, align 8
%35 = add i64 %33, %34
%36 = getelementptr inbounds i32, ptr %32, i64 %35
store i32 %31, ptr %36, align 4
%37 = load i64, ptr %12, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %12, align 8
br label %13, !llvm.loop !6
39: ; preds = %13
%40 = load i64, ptr %12, align 8
%41 = load ptr, ptr %11, align 8
store i64 %40, ptr %41, align 8
store i32 0, ptr %6, align 4
br label %42
42: ; preds = %39, %25
%43 = load i32, ptr %6, align 4
ret i32 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpje6we_qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_string_to_bytes(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i64 0, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i64, ptr %12, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %.lr.ph, label %43
.lr.ph: ; preds = %5
br label %18
18: ; preds = %.lr.ph, %25
%19 = load i64, ptr %9, align 8
%20 = load i64, ptr %12, align 8
%21 = add i64 %19, %20
%22 = load i64, ptr %10, align 8
%23 = icmp uge i64 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 7, ptr %6, align 4
br label %46
25: ; preds = %18
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %12, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %8, align 8
%32 = load i64, ptr %9, align 8
%33 = load i64, ptr %12, align 8
%34 = add i64 %32, %33
%35 = getelementptr inbounds i32, ptr %31, i64 %34
store i32 %30, ptr %35, align 4
%36 = load i64, ptr %12, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %12, align 8
%38 = load ptr, ptr %7, align 8
%39 = load i64, ptr %12, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %43
43: ; preds = %._crit_edge, %5
%44 = load i64, ptr %12, align 8
%45 = load ptr, ptr %11, align 8
store i64 %44, ptr %45, align 8
store i32 0, ptr %6, align 4
br label %46
46: ; preds = %43, %24
%47 = load i32, ptr %6, align 4
ret i32 %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmps4m76r2x.c'
source_filename = "/tmp/tmps4m76r2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @SSIBaseValid(i64 noundef %5)
%7 = call i32 @DEBUG_ASSERT(i32 noundef %6)
%8 = load i64, ptr %4, align 8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 36
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i64, ptr %11, align 8
%13 = or i64 %12, %8
store volatile i64 %13, ptr %11, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @SSIBaseValid(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/tmps4m76r2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMAEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @SSIBaseValid(i64 noundef %5)
%7 = call i32 @DEBUG_ASSERT(i32 noundef %6)
%8 = load i64, ptr %4, align 8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 36
%11 = inttoptr i64 %10 to ptr
%12 = load volatile i64, ptr %11, align 8
%13 = or i64 %12, %8
store volatile i64 %13, ptr %11, align 8
ret void
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
declare i32 @SSIBaseValid(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/tmpda4_90bi.c'
source_filename = "/tmp/tmpda4_90bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"non-digits in datablock\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_float4_f(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %32, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %35
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = call ptr @getword(ptr noundef %16)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %9, align 8
%19 = call i64 @strtod(ptr noundef %18, ptr noundef %10)
%20 = sitofp i64 %19 to float
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
store float %20, ptr %24, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %15
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str)
store i32 1, ptr %4, align 4
br label %36
31: ; preds = %15
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
br label %11, !llvm.loop !6
35: ; preds = %11
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %35, %28
%37 = load i32, ptr %4, align 4
ret i32 %37
}
declare ptr @getword(ptr noundef) #1
declare i64 @strtod(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpda4_90bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"non-digits in datablock\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_float4_f(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %31
%15 = load ptr, ptr %5, align 8
%16 = call ptr @getword(ptr noundef %15)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i64 @strtod(ptr noundef %17, ptr noundef %10)
%19 = sitofp i64 %18 to float
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds float, ptr %20, i64 %22
store float %19, ptr %23, align 4
%24 = load ptr, ptr %10, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %14
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str)
store i32 1, ptr %4, align 4
br label %38
30: ; preds = %14
br label %31
31: ; preds = %30
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %38
38: ; preds = %37, %27
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare ptr @getword(ptr noundef) #1
declare i64 @strtod(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8pq2q5xm.c'
source_filename = "/tmp/tmp8pq2q5xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter the values of the matrix:\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Enter the values of the matrix [%d][%d]:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @input(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %35, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %38
14: ; preds = %10
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %31, %14
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %23, i64 %25
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [5 x i32], ptr %26, i64 0, i64 %28
%30 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %29)
br label %31
31: ; preds = %19
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %15, !llvm.loop !6
34: ; preds = %15
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %10, !llvm.loop !8
38: ; preds = %10
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8pq2q5xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Enter the values of the matrix:\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Enter the values of the matrix [%d][%d]:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @input(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %13
13: ; preds = %.lr.ph2, %36
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %35
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %29
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], ptr %21, i64 %23
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [5 x i32], ptr %24, i64 0, i64 %26
%28 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %17
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %13
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpene90y8i.c'
source_filename = "/tmp/tmpene90y8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @long_matrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @xmalloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
store ptr %27, ptr %12, align 8
%28 = load i64, ptr %5, align 8
%29 = load ptr, ptr %12, align 8
%30 = sub i64 0, %28
%31 = getelementptr inbounds ptr, ptr %29, i64 %30
store ptr %31, ptr %12, align 8
%32 = load i64, ptr %10, align 8
%33 = load i64, ptr %11, align 8
%34 = mul nsw i64 %32, %33
%35 = add nsw i64 %34, 1
%36 = mul i64 %35, 8
%37 = call i64 @xmalloc(i64 noundef %36)
%38 = inttoptr i64 %37 to ptr
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %39, i64 %40
store ptr %38, ptr %41, align 8
%42 = load ptr, ptr %12, align 8
%43 = load i64, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %42, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i64, ptr %45, i64 1
store ptr %46, ptr %44, align 8
%47 = load i64, ptr %7, align 8
%48 = load ptr, ptr %12, align 8
%49 = load i64, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %48, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = sub i64 0, %47
%53 = getelementptr inbounds i64, ptr %51, i64 %52
store ptr %53, ptr %50, align 8
%54 = load i64, ptr %5, align 8
%55 = add nsw i64 %54, 1
store i64 %55, ptr %9, align 8
br label %56
56: ; preds = %71, %4
%57 = load i64, ptr %9, align 8
%58 = load i64, ptr %6, align 8
%59 = icmp sle i64 %57, %58
br i1 %59, label %60, label %74
60: ; preds = %56
%61 = load ptr, ptr %12, align 8
%62 = load i64, ptr %9, align 8
%63 = sub nsw i64 %62, 1
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i64, ptr %11, align 8
%67 = getelementptr inbounds i64, ptr %65, i64 %66
%68 = load ptr, ptr %12, align 8
%69 = load i64, ptr %9, align 8
%70 = getelementptr inbounds ptr, ptr %68, i64 %69
store ptr %67, ptr %70, align 8
br label %71
71: ; preds = %60
%72 = load i64, ptr %9, align 8
%73 = add nsw i64 %72, 1
store i64 %73, ptr %9, align 8
br label %56, !llvm.loop !6
74: ; preds = %56
%75 = load ptr, ptr %12, align 8
ret ptr %75
}
declare i64 @xmalloc(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/tmpene90y8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @long_matrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = sub nsw i64 %13, %14
%16 = add nsw i64 %15, 1
store i64 %16, ptr %10, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %10, align 8
%22 = add nsw i64 %21, 1
%23 = mul i64 %22, 8
%24 = call i64 @xmalloc(i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
store ptr %27, ptr %12, align 8
%28 = load i64, ptr %5, align 8
%29 = load ptr, ptr %12, align 8
%30 = sub i64 0, %28
%31 = getelementptr inbounds ptr, ptr %29, i64 %30
store ptr %31, ptr %12, align 8
%32 = load i64, ptr %10, align 8
%33 = load i64, ptr %11, align 8
%34 = mul nsw i64 %32, %33
%35 = add nsw i64 %34, 1
%36 = mul i64 %35, 8
%37 = call i64 @xmalloc(i64 noundef %36)
%38 = inttoptr i64 %37 to ptr
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %39, i64 %40
store ptr %38, ptr %41, align 8
%42 = load ptr, ptr %12, align 8
%43 = load i64, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %42, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i64, ptr %45, i64 1
store ptr %46, ptr %44, align 8
%47 = load i64, ptr %7, align 8
%48 = load ptr, ptr %12, align 8
%49 = load i64, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %48, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = sub i64 0, %47
%53 = getelementptr inbounds i64, ptr %51, i64 %52
store ptr %53, ptr %50, align 8
%54 = load i64, ptr %5, align 8
%55 = add nsw i64 %54, 1
store i64 %55, ptr %9, align 8
%56 = load i64, ptr %9, align 8
%57 = load i64, ptr %6, align 8
%58 = icmp sle i64 %56, %57
br i1 %58, label %.lr.ph, label %76
.lr.ph: ; preds = %4
br label %59
59: ; preds = %.lr.ph, %70
%60 = load ptr, ptr %12, align 8
%61 = load i64, ptr %9, align 8
%62 = sub nsw i64 %61, 1
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i64, ptr %11, align 8
%66 = getelementptr inbounds i64, ptr %64, i64 %65
%67 = load ptr, ptr %12, align 8
%68 = load i64, ptr %9, align 8
%69 = getelementptr inbounds ptr, ptr %67, i64 %68
store ptr %66, ptr %69, align 8
br label %70
70: ; preds = %59
%71 = load i64, ptr %9, align 8
%72 = add nsw i64 %71, 1
store i64 %72, ptr %9, align 8
%73 = load i64, ptr %9, align 8
%74 = load i64, ptr %6, align 8
%75 = icmp sle i64 %73, %74
br i1 %75, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %76
76: ; preds = %._crit_edge, %4
%77 = load ptr, ptr %12, align 8
ret ptr %77
}
declare i64 @xmalloc(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/tmph4uf7zgh.c'
source_filename = "/tmp/tmph4uf7zgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"No OpenSSL support.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
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/tmph4uf7zgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"No OpenSSL support.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
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/tmprgvv5324.c'
source_filename = "/tmp/tmprgvv5324.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_tilde(ptr noundef %0) #0 {
%2 = alloca ptr, 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 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 126
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = call ptr (...) @get_homedir()
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add i64 %16, %18
%20 = mul i64 %19, 1
%21 = call ptr @xrealloc(ptr noundef %15, i64 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i64, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = call i32 @strcpy(ptr noundef %24, ptr noundef %26)
%28 = load ptr, ptr %4, align 8
store ptr %28, ptr %2, align 8
br label %32
29: ; preds = %1
%30 = load ptr, ptr %3, align 8
%31 = call ptr @xstrdup(ptr noundef %30)
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %29, %11
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @get_homedir(...) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @xrealloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprgvv5324.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_tilde(ptr noundef %0) #0 {
%2 = alloca ptr, 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 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 126
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = call ptr (...) @get_homedir()
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strlen(ptr noundef %13)
store i64 %14, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add i64 %16, %18
%20 = mul i64 %19, 1
%21 = call ptr @xrealloc(ptr noundef %15, i64 noundef %20)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i64, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = call i32 @strcpy(ptr noundef %24, ptr noundef %26)
%28 = load ptr, ptr %4, align 8
store ptr %28, ptr %2, align 8
br label %32
29: ; preds = %1
%30 = load ptr, ptr %3, align 8
%31 = call ptr @xstrdup(ptr noundef %30)
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %29, %11
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @get_homedir(...) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @xrealloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps1cncqxs.c'
source_filename = "/tmp/tmps1cncqxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isogetLine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fgetc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 65
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
br label %18
18: ; preds = %41, %3
%19 = load i32, ptr %8, align 4
%20 = icmp ne i32 %19, 10
br i1 %20, label %21, label %42
21: ; preds = %18
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fgetc(ptr noundef %24)
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %26, 65
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp eq i32 %36, 25
br i1 %37, label %38, label %41
38: ; preds = %21
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %38, %21
br label %18, !llvm.loop !6
42: ; preds = %18
%43 = load i32, ptr %9, align 4
%44 = load ptr, ptr %6, align 8
store i32 %43, ptr %44, align 4
%45 = load i32, ptr %7, align 4
ret i32 %45
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmps1cncqxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isogetLine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @fgetc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 65
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp ne i32 %18, 10
br i1 %19, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %40
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fgetc(ptr noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = sub nsw i32 %25, 65
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp eq i32 %35, 25
br i1 %36, label %37, label %40
37: ; preds = %20
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %37, %20
%41 = load i32, ptr %8, align 4
%42 = icmp ne i32 %41, 10
br i1 %42, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %43
43: ; preds = %._crit_edge, %3
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %6, align 8
store i32 %44, ptr %45, align 4
%46 = load i32, ptr %7, align 4
ret i32 %46
}
declare i32 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6l1ahypc.c'
source_filename = "/tmp/tmp6l1ahypc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Hello, world. The current time is: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %3, align 4
%9 = call ptr @ctime(ptr noundef %3)
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %2, align 4
%12 = call i32 @sleep(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
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6l1ahypc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Hello, world. The current time is: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = call i32 @time(ptr noundef null)
store i32 %7, ptr %3, align 4
%8 = call ptr @ctime(ptr noundef %3)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = load i32, ptr %2, align 4
%11 = call i32 @sleep(i32 noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 10
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %1, align 4
ret i32 %18
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmikgdimh.c'
source_filename = "/tmp/tmpmikgdimh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AccWit(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %4, align 1
br label %5
5: ; preds = %23, %1
%6 = load i8, ptr %4, align 1
%7 = zext i8 %6 to i32
%8 = icmp slt i32 %7, 60
br i1 %8, label %9, label %26
9: ; preds = %5
%10 = call i32 @RegReadA(i32 noundef 642, ptr noundef %3)
%11 = load i8, ptr %2, align 1
%12 = zext i8 %11 to i32
%13 = load i8, ptr %3, align 1
%14 = zext i8 %13 to i32
%15 = and i32 %14, %12
%16 = trunc i32 %15 to i8
store i8 %16, ptr %3, align 1
%17 = load i8, ptr %3, align 1
%18 = zext i8 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %9
br label %26
21: ; preds = %9
%22 = call i32 @WitTim(i32 noundef 10)
br label %23
23: ; preds = %21
%24 = load i8, ptr %4, align 1
%25 = add i8 %24, 1
store i8 %25, ptr %4, align 1
br label %5, !llvm.loop !6
26: ; preds = %20, %5
ret void
}
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
declare i32 @WitTim(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/tmpmikgdimh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AccWit(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %4, align 1
%5 = load i8, ptr %4, align 1
%6 = zext i8 %5 to i32
%7 = icmp slt i32 %6, 60
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %22
%9 = call i32 @RegReadA(i32 noundef 642, ptr noundef %3)
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = and i32 %13, %11
%15 = trunc i32 %14 to i8
store i8 %15, ptr %3, align 1
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %8
br label %28
20: ; preds = %8
%21 = call i32 @WitTim(i32 noundef 10)
br label %22
22: ; preds = %20
%23 = load i8, ptr %4, align 1
%24 = add i8 %23, 1
store i8 %24, ptr %4, align 1
%25 = load i8, ptr %4, align 1
%26 = zext i8 %25 to i32
%27 = icmp slt i32 %26, 60
br i1 %27, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %22
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %28
28: ; preds = %.loopexit, %19
ret void
}
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
declare i32 @WitTim(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/tmpu5k51p5i.c'
source_filename = "/tmp/tmpu5k51p5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
br label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %10, %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5k51p5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
br label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %10, %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl6c3zbyo.c'
source_filename = "/tmp/tmpl6c3zbyo.c"
target datalayout = "e-m:e-p270: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/tmpl6c3zbyo.c"
target datalayout = "e-m:e-p270: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/tmpciy7aru3.c'
source_filename = "/tmp/tmpciy7aru3.c"
target datalayout = "e-m:e-p270: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/tmpciy7aru3.c"
target datalayout = "e-m:e-p270: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/tmpmrltwww_.c'
source_filename = "/tmp/tmpmrltwww_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XVncExtFreeParamList(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %13
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 -1
%10 = call i32 @Xfree(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @Xfree(ptr noundef %11)
br label %13
13: ; preds = %5, %1
ret void
}
declare i32 @Xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrltwww_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @XVncExtFreeParamList(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %13
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 -1
%10 = call i32 @Xfree(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @Xfree(ptr noundef %11)
br label %13
13: ; preds = %5, %1
ret void
}
declare i32 @Xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu8gmgo1j.c'
source_filename = "/tmp/tmpu8gmgo1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Ingrese los coeficientes de la cuadratica ax^2+bx+c\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"a = \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"b = \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"c = \00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"sus dos raices son imaginarias!\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Raices: x1=%f x2=%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 4, %18
%20 = load i32, ptr %4, align 4
%21 = mul nsw i32 %19, %20
%22 = sub nsw i32 %17, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %51
27: ; preds = %0
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 0, %28
%30 = load i32, ptr %5, align 4
%31 = call i32 @sqrt(i32 noundef %30)
%32 = add nsw i32 %29, %31
%33 = sdiv i32 %32, 2
%34 = load i32, ptr %2, align 4
%35 = mul nsw i32 %33, %34
%36 = sitofp i32 %35 to float
store float %36, ptr %6, align 4
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 0, %37
%39 = load i32, ptr %5, align 4
%40 = call i32 @sqrt(i32 noundef %39)
%41 = sub nsw i32 %38, %40
%42 = sdiv i32 %41, 2
%43 = load i32, ptr %2, align 4
%44 = mul nsw i32 %42, %43
%45 = sitofp i32 %44 to float
store float %45, ptr %7, align 4
%46 = load float, ptr %6, align 4
%47 = fpext float %46 to double
%48 = load float, ptr %7, align 4
%49 = fpext float %48 to double
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %47, double noundef %49)
br label %51
51: ; preds = %27, %25
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(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/tmpu8gmgo1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Ingrese los coeficientes de la cuadratica ax^2+bx+c\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"a = \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"b = \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"c = \00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"sus dos raices son imaginarias!\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Raices: x1=%f x2=%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 4, %18
%20 = load i32, ptr %4, align 4
%21 = mul nsw i32 %19, %20
%22 = sub nsw i32 %17, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %51
27: ; preds = %0
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 0, %28
%30 = load i32, ptr %5, align 4
%31 = call i32 @sqrt(i32 noundef %30)
%32 = add nsw i32 %29, %31
%33 = sdiv i32 %32, 2
%34 = load i32, ptr %2, align 4
%35 = mul nsw i32 %33, %34
%36 = sitofp i32 %35 to float
store float %36, ptr %6, align 4
%37 = load i32, ptr %3, align 4
%38 = sub nsw i32 0, %37
%39 = load i32, ptr %5, align 4
%40 = call i32 @sqrt(i32 noundef %39)
%41 = sub nsw i32 %38, %40
%42 = sdiv i32 %41, 2
%43 = load i32, ptr %2, align 4
%44 = mul nsw i32 %42, %43
%45 = sitofp i32 %44 to float
store float %45, ptr %7, align 4
%46 = load float, ptr %6, align 4
%47 = fpext float %46 to double
%48 = load float, ptr %7, align 4
%49 = fpext float %48 to double
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %47, double noundef %49)
br label %51
51: ; preds = %27, %25
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(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/tmpb4f7z0fa.c'
source_filename = "/tmp/tmpb4f7z0fa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"601100099013942\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"37828224631000\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"37144963539843\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"555555555555444\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"501971701010374\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"552263411203590\00", align 1
@__const.main.test_card_numbers = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@__const.main.check_bits = private unnamed_addr constant [6 x i32] [i32 4, i32 5, i32 1, i32 4, i32 2, i32 6], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x ptr], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.test_card_numbers, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.check_bits, i64 24, i1 false)
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %21, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %24
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @luhn_check_sum(ptr noundef %16)
%18 = icmp eq i32 %12, %17
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
br label %21
21: ; preds = %8
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %5, !llvm.loop !6
24: ; preds = %5
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(i32 noundef) #2
declare i32 @luhn_check_sum(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4f7z0fa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"601100099013942\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"37828224631000\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"37144963539843\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"555555555555444\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"501971701010374\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"552263411203590\00", align 1
@__const.main.test_card_numbers = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@__const.main.check_bits = private unnamed_addr constant [6 x i32] [i32 4, i32 5, i32 1, i32 4, i32 2, i32 6], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x ptr], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.test_card_numbers, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.check_bits, i64 24, i1 false)
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %20
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [6 x ptr], ptr %2, i64 0, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = call i32 @luhn_check_sum(ptr noundef %15)
%17 = icmp eq i32 %11, %16
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
br label %20
20: ; preds = %7
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 6
br i1 %24, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(i32 noundef) #2
declare i32 @luhn_check_sum(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpudvpz_8g.c'
source_filename = "/tmp/tmpudvpz_8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getGTpos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %99, %2
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %102
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 58
br i1 %23, label %24, label %27
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %27
27: ; preds = %24, %16
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 71
br i1 %34, label %35, label %98
35: ; preds = %27
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 84
br i1 %43, label %44, label %98
44: ; preds = %35
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %67
47: ; preds = %44
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 2
%50 = load i32, ptr %7, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %47
%53 = load i32, ptr %8, align 4
store i32 %53, ptr %3, align 4
br label %104
54: ; preds = %47
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 2
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %55, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 58
br i1 %62, label %63, label %65
63: ; preds = %54
%64 = load i32, ptr %8, align 4
store i32 %64, ptr %3, align 4
br label %104
65: ; preds = %54
br label %66
66: ; preds = %65
br label %97
67: ; preds = %44
%68 = load ptr, ptr %4, align 8
%69 = load i32, ptr %6, align 4
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 58
br i1 %75, label %76, label %96
76: ; preds = %67
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 2
%79 = load i32, ptr %7, align 4
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %83
81: ; preds = %76
%82 = load i32, ptr %8, align 4
store i32 %82, ptr %3, align 4
br label %104
83: ; preds = %76
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, 2
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %84, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 58
br i1 %91, label %92, label %94
92: ; preds = %83
%93 = load i32, ptr %8, align 4
store i32 %93, ptr %3, align 4
br label %104
94: ; preds = %83
br label %95
95: ; preds = %94
br label %96
96: ; preds = %95, %67
br label %97
97: ; preds = %96, %66
br label %98
98: ; preds = %97, %35, %27
br label %99
99: ; preds = %98
%100 = load i32, ptr %6, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %6, align 4
br label %11, !llvm.loop !6
102: ; preds = %11
store i32 -1, ptr %8, align 4
%103 = load i32, ptr %8, align 4
store i32 %103, ptr %3, align 4
br label %104
104: ; preds = %102, %92, %81, %63, %52
%105 = load i32, ptr %3, align 4
ret i32 %105
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudvpz_8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getGTpos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph, label %105
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %98
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 58
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %26
26: ; preds = %23, %15
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 71
br i1 %33, label %34, label %97
34: ; preds = %26
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 84
br i1 %42, label %43, label %97
43: ; preds = %34
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %66
46: ; preds = %43
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 2
%49 = load i32, ptr %7, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = load i32, ptr %8, align 4
store i32 %52, ptr %3, align 4
br label %107
53: ; preds = %46
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 2
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 58
br i1 %61, label %62, label %64
62: ; preds = %53
%63 = load i32, ptr %8, align 4
store i32 %63, ptr %3, align 4
br label %107
64: ; preds = %53
br label %65
65: ; preds = %64
br label %96
66: ; preds = %43
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %6, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 58
br i1 %74, label %75, label %95
75: ; preds = %66
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 2
%78 = load i32, ptr %7, align 4
%79 = icmp eq i32 %77, %78
br i1 %79, label %80, label %82
80: ; preds = %75
%81 = load i32, ptr %8, align 4
store i32 %81, ptr %3, align 4
br label %107
82: ; preds = %75
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, 2
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %83, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 58
br i1 %90, label %91, label %93
91: ; preds = %82
%92 = load i32, ptr %8, align 4
store i32 %92, ptr %3, align 4
br label %107
93: ; preds = %82
br label %94
94: ; preds = %93
br label %95
95: ; preds = %94, %66
br label %96
96: ; preds = %95, %65
br label %97
97: ; preds = %96, %34, %26
br label %98
98: ; preds = %97
%99 = load i32, ptr %6, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = load i32, ptr %7, align 4
%103 = sub nsw i32 %102, 1
%104 = icmp slt i32 %101, %103
br i1 %104, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %98
br label %105
105: ; preds = %._crit_edge, %2
store i32 -1, ptr %8, align 4
%106 = load i32, ptr %8, align 4
store i32 %106, ptr %3, align 4
br label %107
107: ; preds = %105, %91, %80, %62, %51
%108 = load i32, ptr %3, align 4
ret i32 %108
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8k6jl_wg.c'
source_filename = "/tmp/tmp8k6jl_wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %0, %2
%3 = call i32 @assert(i32 noundef 0)
br label %2
}
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/tmp8k6jl_wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %2, %0
%3 = call i32 @assert(i32 noundef 0)
br label %2
}
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/tmphi81v6s_.c'
source_filename = "/tmp/tmphi81v6s_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\EC\9E\AC\EB\AF\B8\EC\9E\88\EB\8A\94 C\EC\96\B8\EC\96\B4 \ED\94\84\EB\A1\9C\EA\B7\B8\EB\9E\98\EB\B0\8D!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmphi81v6s_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\EC\9E\AC\EB\AF\B8\EC\9E\88\EB\8A\94 C\EC\96\B8\EC\96\B4 \ED\94\84\EB\A1\9C\EA\B7\B8\EB\9E\98\EB\B0\8D!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmptkfag7i_.c'
source_filename = "/tmp/tmptkfag7i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @rsearch(i32 noundef %7, ptr noundef %5)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %22
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = call ptr @new_inode(i32 noundef %14)
%16 = load ptr, ptr %6, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 0, ptr %3, align 4
br label %22
21: ; preds = %13
store i32 1, ptr %3, align 4
br label %22
22: ; preds = %21, %20, %12
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare ptr @rsearch(i32 noundef, ptr noundef) #1
declare ptr @new_inode(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/tmptkfag7i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @rsearch(i32 noundef %7, ptr noundef %5)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %22
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = call ptr @new_inode(i32 noundef %14)
%16 = load ptr, ptr %6, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 0, ptr %3, align 4
br label %22
21: ; preds = %13
store i32 1, ptr %3, align 4
br label %22
22: ; preds = %21, %20, %12
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare ptr @rsearch(i32 noundef, ptr noundef) #1
declare ptr @new_inode(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/tmppnt2d0wh.c'
source_filename = "/tmp/tmppnt2d0wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sub(i32 noundef 8, i32 noundef 5)
%3 = icmp ne i32 %2, 3
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @sub(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmppnt2d0wh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sub(i32 noundef 8, i32 noundef 5)
%3 = icmp ne i32 %2, 3
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @sub(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmpsx9qvpzx.c'
source_filename = "/tmp/tmpsx9qvpzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_RDONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsx9qvpzx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_RDONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptpyhmxb9.c'
source_filename = "/tmp/tmptpyhmxb9.c"
target datalayout = "e-m:e-p270: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/tmptpyhmxb9.c"
target datalayout = "e-m:e-p270: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/tmpjvs48m_h.c'
source_filename = "/tmp/tmpjvs48m_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Before swapping: x = %d y = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"After swapping: x = %d y = %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 1, ptr %1, align 4
store i32 123, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 @swap(ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjvs48m_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Before swapping: x = %d y = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"After swapping: x = %d y = %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 1, ptr %1, align 4
store i32 123, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 @swap(ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmpspzz_hp8.c'
source_filename = "/tmp/tmpspzz_hp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Welcome To NetXS!\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"[YES]!\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"[fixed Branch]!\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"[test for Travios!]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.3)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpspzz_hp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Welcome To NetXS!\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"[YES]!\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"[fixed Branch]!\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"[test for Travios!]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.1)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2)
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.3)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzl1yn9up.c'
source_filename = "/tmp/tmpzl1yn9up.c"
target datalayout = "e-m:e-p270: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/tmpzl1yn9up.c"
target datalayout = "e-m:e-p270: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/tmpablpaesq.c'
source_filename = "/tmp/tmpablpaesq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\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 [20 x i32], align 16
%5 = alloca [20 x i32], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %17, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
store i32 1, ptr %6, align 4
br label %21
21: ; preds = %84, %20
store i32 0, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %34, %21
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %26
store i32 1, ptr %6, align 4
br label %37
33: ; preds = %26
br label %34
34: ; preds = %33
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %22, !llvm.loop !8
37: ; preds = %32, %22
store i32 0, ptr %3, align 4
br label %38
38: ; preds = %59, %37
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %62
42: ; preds = %38
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 @printf(ptr noundef @.str.1)
br label %50
50: ; preds = %48, %42
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = icmp eq i32 %54, 1
br i1 %55, label %56, label %58
56: ; preds = %50
%57 = call i32 @printf(ptr noundef @.str.2)
br label %58
58: ; preds = %56, %50
br label %59
59: ; preds = %58
%60 = load i32, ptr %3, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %3, align 4
br label %38, !llvm.loop !9
62: ; preds = %38
%63 = call i32 @printf(ptr noundef @.str.3)
%64 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%65 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 0
%66 = load i32, ptr %2, align 4
%67 = call i32 @next_generation(ptr noundef %64, ptr noundef %65, i32 noundef %66)
store i32 0, ptr %3, align 4
br label %68
68: ; preds = %80, %62
%69 = load i32, ptr %3, align 4
%70 = load i32, ptr %2, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %83
72: ; preds = %68
%73 = load i32, ptr %3, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %3, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %78
store i32 %76, ptr %79, align 4
br label %80
80: ; preds = %72
%81 = load i32, ptr %3, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %3, align 4
br label %68, !llvm.loop !10
83: ; preds = %68
br label %84
84: ; preds = %83
%85 = load i32, ptr %6, align 4
%86 = icmp eq i32 %85, 1
br i1 %86, label %21, label %87, !llvm.loop !11
87: ; preds = %84
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpablpaesq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\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 [20 x i32], align 16
%5 = alloca [20 x i32], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %92, %22
store i32 0, ptr %6, align 4
store i32 0, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %35
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 1, ptr %6, align 4
br label %41
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %27, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %35
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %23
br label %41
41: ; preds = %.loopexit, %33
store i32 0, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph4, label %68
.lr.ph4: ; preds = %41
br label %45
45: ; preds = %.lr.ph4, %62
%46 = load i32, ptr %3, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = call i32 @printf(ptr noundef @.str.1)
br label %53
53: ; preds = %51, %45
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp eq i32 %57, 1
br i1 %58, label %59, label %61
59: ; preds = %53
%60 = call i32 @printf(ptr noundef @.str.2)
br label %61
61: ; preds = %59, %53
br label %62
62: ; preds = %61
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %45, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %62
br label %68
68: ; preds = %._crit_edge5, %41
%69 = call i32 @printf(ptr noundef @.str.3)
%70 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 0
%71 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 0
%72 = load i32, ptr %2, align 4
%73 = call i32 @next_generation(ptr noundef %70, ptr noundef %71, i32 noundef %72)
store i32 0, ptr %3, align 4
%74 = load i32, ptr %3, align 4
%75 = load i32, ptr %2, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %.lr.ph7, label %91
.lr.ph7: ; preds = %68
br label %77
77: ; preds = %.lr.ph7, %85
%78 = load i32, ptr %3, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [20 x i32], ptr %4, i64 0, i64 %83
store i32 %81, ptr %84, align 4
br label %85
85: ; preds = %77
%86 = load i32, ptr %3, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %3, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %2, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %77, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %85
br label %91
91: ; preds = %._crit_edge8, %68
br label %92
92: ; preds = %91
%93 = load i32, ptr %6, align 4
%94 = icmp eq i32 %93, 1
br i1 %94, label %23, label %95, !llvm.loop !11
95: ; preds = %92
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpzo70jiu6.c'
source_filename = "/tmp/tmpzo70jiu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#include <\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @includeSystem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @code(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @code(ptr noundef %4)
%6 = call i32 @codeln(ptr noundef @.str.1)
ret void
}
declare i32 @code(ptr noundef) #1
declare i32 @codeln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzo70jiu6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#include <\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @includeSystem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @code(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @code(ptr noundef %4)
%6 = call i32 @codeln(ptr noundef @.str.1)
ret void
}
declare i32 @code(ptr noundef) #1
declare i32 @codeln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph4arz99z.c'
source_filename = "/tmp/tmph4arz99z.c"
target datalayout = "e-m:e-p270: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/tmph4arz99z.c"
target datalayout = "e-m:e-p270: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/tmpd32qm9ml.c'
source_filename = "/tmp/tmpd32qm9ml.c"
target datalayout = "e-m:e-p270: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.filename = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [20 x i8] c"/tmp/test-fsync.tmp\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = load ptr, ptr @main.filename, align 8
%5 = load i32, ptr @O_RDWR, align 4
%6 = load i32, ptr @O_CREAT, align 4
%7 = or i32 %5, %6
%8 = call i32 @open(ptr noundef %4, i32 noundef %7, i32 noundef 438)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %0
store i32 1, ptr %1, align 4
br label %24
12: ; preds = %0
%13 = load ptr, ptr @main.filename, align 8
%14 = call i32 @unlink(ptr noundef %13)
%15 = load i32, ptr %2, align 4
%16 = call i64 @fsync(i32 noundef %15)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %12
br label %20
19: ; preds = %12
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %2, align 4
%22 = call i32 @close(i32 noundef %21)
%23 = load i32, ptr %3, align 4
store i32 %23, ptr %1, align 4
br label %24
24: ; preds = %20, %11
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @fsync(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd32qm9ml.c"
target datalayout = "e-m:e-p270: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.filename = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [20 x i8] c"/tmp/test-fsync.tmp\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = load ptr, ptr @main.filename, align 8
%5 = load i32, ptr @O_RDWR, align 4
%6 = load i32, ptr @O_CREAT, align 4
%7 = or i32 %5, %6
%8 = call i32 @open(ptr noundef %4, i32 noundef %7, i32 noundef 438)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %0
store i32 1, ptr %1, align 4
br label %24
12: ; preds = %0
%13 = load ptr, ptr @main.filename, align 8
%14 = call i32 @unlink(ptr noundef %13)
%15 = load i32, ptr %2, align 4
%16 = call i64 @fsync(i32 noundef %15)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %12
br label %20
19: ; preds = %12
store i32 0, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %2, align 4
%22 = call i32 @close(i32 noundef %21)
%23 = load i32, ptr %3, align 4
store i32 %23, ptr %1, align 4
br label %24
24: ; preds = %20, %11
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @fsync(i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxvc44d00.c'
source_filename = "/tmp/tmpxvc44d00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%f %f %f %f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"All the points are on same line.\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"All the points are not on same line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fsub float %12, %13
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fsub float %15, %16
%18 = load float, ptr %3, align 4
%19 = load float, ptr %5, align 4
%20 = fsub float %18, %19
%21 = load float, ptr %3, align 4
%22 = load float, ptr %5, align 4
%23 = fsub float %21, %22
%24 = fmul float %20, %23
%25 = call float @llvm.fmuladd.f32(float %14, float %17, float %24)
%26 = call float @sqrtf(float noundef %25) #4
store float %26, ptr %8, align 4
%27 = load float, ptr %4, align 4
%28 = load float, ptr %6, align 4
%29 = fsub float %27, %28
%30 = load float, ptr %4, align 4
%31 = load float, ptr %6, align 4
%32 = fsub float %30, %31
%33 = load float, ptr %5, align 4
%34 = load float, ptr %7, align 4
%35 = fsub float %33, %34
%36 = load float, ptr %5, align 4
%37 = load float, ptr %7, align 4
%38 = fsub float %36, %37
%39 = fmul float %35, %38
%40 = call float @llvm.fmuladd.f32(float %29, float %32, float %39)
%41 = call float @sqrtf(float noundef %40) #4
store float %41, ptr %9, align 4
%42 = load float, ptr %6, align 4
%43 = load float, ptr %2, align 4
%44 = fsub float %42, %43
%45 = load float, ptr %6, align 4
%46 = load float, ptr %2, align 4
%47 = fsub float %45, %46
%48 = load float, ptr %7, align 4
%49 = load float, ptr %3, align 4
%50 = fsub float %48, %49
%51 = load float, ptr %7, align 4
%52 = load float, ptr %3, align 4
%53 = fsub float %51, %52
%54 = fmul float %50, %53
%55 = call float @llvm.fmuladd.f32(float %44, float %47, float %54)
%56 = call float @sqrtf(float noundef %55) #4
store float %56, ptr %10, align 4
%57 = load float, ptr %8, align 4
%58 = load float, ptr %9, align 4
%59 = fadd float %57, %58
%60 = load float, ptr %10, align 4
%61 = fcmp oeq float %59, %60
br i1 %61, label %62, label %64
62: ; preds = %0
%63 = call i32 @printf(ptr noundef @.str.1)
br label %66
64: ; preds = %0
%65 = call i32 @printf(ptr noundef @.str.2)
br label %66
66: ; preds = %64, %62
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxvc44d00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%f %f %f %f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"All the points are on same line.\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"All the points are not on same line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %1, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%12 = load float, ptr %2, align 4
%13 = load float, ptr %4, align 4
%14 = fsub float %12, %13
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fsub float %15, %16
%18 = load float, ptr %3, align 4
%19 = load float, ptr %5, align 4
%20 = fsub float %18, %19
%21 = load float, ptr %3, align 4
%22 = load float, ptr %5, align 4
%23 = fsub float %21, %22
%24 = fmul float %20, %23
%25 = call float @llvm.fmuladd.f32(float %14, float %17, float %24)
%26 = call float @sqrtf(float noundef %25) #4
store float %26, ptr %8, align 4
%27 = load float, ptr %4, align 4
%28 = load float, ptr %6, align 4
%29 = fsub float %27, %28
%30 = load float, ptr %4, align 4
%31 = load float, ptr %6, align 4
%32 = fsub float %30, %31
%33 = load float, ptr %5, align 4
%34 = load float, ptr %7, align 4
%35 = fsub float %33, %34
%36 = load float, ptr %5, align 4
%37 = load float, ptr %7, align 4
%38 = fsub float %36, %37
%39 = fmul float %35, %38
%40 = call float @llvm.fmuladd.f32(float %29, float %32, float %39)
%41 = call float @sqrtf(float noundef %40) #4
store float %41, ptr %9, align 4
%42 = load float, ptr %6, align 4
%43 = load float, ptr %2, align 4
%44 = fsub float %42, %43
%45 = load float, ptr %6, align 4
%46 = load float, ptr %2, align 4
%47 = fsub float %45, %46
%48 = load float, ptr %7, align 4
%49 = load float, ptr %3, align 4
%50 = fsub float %48, %49
%51 = load float, ptr %7, align 4
%52 = load float, ptr %3, align 4
%53 = fsub float %51, %52
%54 = fmul float %50, %53
%55 = call float @llvm.fmuladd.f32(float %44, float %47, float %54)
%56 = call float @sqrtf(float noundef %55) #4
store float %56, ptr %10, align 4
%57 = load float, ptr %8, align 4
%58 = load float, ptr %9, align 4
%59 = fadd float %57, %58
%60 = load float, ptr %10, align 4
%61 = fcmp oeq float %59, %60
br i1 %61, label %62, label %64
62: ; preds = %0
%63 = call i32 @printf(ptr noundef @.str.1)
br label %66
64: ; preds = %0
%65 = call i32 @printf(ptr noundef @.str.2)
br label %66
66: ; preds = %64, %62
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9drxw2i.c'
source_filename = "/tmp/tmp_9drxw2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eulers_of_quat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 2
%12 = load double, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 2
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 3
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds double, ptr %19, i64 3
%21 = load double, ptr %20, align 8
%22 = fmul double %18, %21
%23 = call double @llvm.fmuladd.f64(double %12, double %15, double %22)
%24 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %23, double 1.000000e+00)
store double %24, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds double, ptr %25, i64 1
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds double, ptr %31, i64 0
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds double, ptr %34, i64 3
%36 = load double, ptr %35, align 8
%37 = fmul double %33, %36
%38 = call double @llvm.fmuladd.f64(double %27, double %30, double %37)
%39 = fmul double 2.000000e+00, %38
store double %39, ptr %6, align 8
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 3
%45 = load double, ptr %44, align 8
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds double, ptr %49, i64 2
%51 = load double, ptr %50, align 8
%52 = fmul double %48, %51
%53 = fneg double %52
%54 = call double @llvm.fmuladd.f64(double %42, double %45, double %53)
%55 = fmul double 2.000000e+00, %54
store double %55, ptr %7, align 8
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds double, ptr %56, i64 2
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds double, ptr %59, i64 3
%61 = load double, ptr %60, align 8
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds double, ptr %62, i64 0
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds double, ptr %65, i64 1
%67 = load double, ptr %66, align 8
%68 = fmul double %64, %67
%69 = call double @llvm.fmuladd.f64(double %58, double %61, double %68)
%70 = fmul double 2.000000e+00, %69
store double %70, ptr %8, align 8
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds double, ptr %71, i64 1
%73 = load double, ptr %72, align 8
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds double, ptr %74, i64 1
%76 = load double, ptr %75, align 8
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds double, ptr %77, i64 2
%79 = load double, ptr %78, align 8
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds double, ptr %80, i64 2
%82 = load double, ptr %81, align 8
%83 = fmul double %79, %82
%84 = call double @llvm.fmuladd.f64(double %73, double %76, double %83)
%85 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %84, double 1.000000e+00)
store double %85, ptr %9, align 8
%86 = load double, ptr %8, align 8
%87 = load double, ptr %9, align 8
%88 = call double @atan2(double noundef %86, double noundef %87) #3
%89 = load ptr, ptr %3, align 8
%90 = getelementptr inbounds double, ptr %89, i64 0
store double %88, ptr %90, align 8
%91 = load double, ptr %7, align 8
%92 = call double @asin(double noundef %91) #3
%93 = fneg double %92
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds double, ptr %94, i64 1
store double %93, ptr %95, align 8
%96 = load double, ptr %6, align 8
%97 = load double, ptr %5, align 8
%98 = call double @atan2(double noundef %96, double noundef %97) #3
%99 = load ptr, ptr %3, align 8
%100 = getelementptr inbounds double, ptr %99, i64 2
store double %98, ptr %100, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9drxw2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eulers_of_quat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 2
%12 = load double, ptr %11, align 8
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds double, ptr %13, i64 2
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds double, ptr %16, i64 3
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds double, ptr %19, i64 3
%21 = load double, ptr %20, align 8
%22 = fmul double %18, %21
%23 = call double @llvm.fmuladd.f64(double %12, double %15, double %22)
%24 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %23, double 1.000000e+00)
store double %24, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds double, ptr %25, i64 1
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds double, ptr %31, i64 0
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds double, ptr %34, i64 3
%36 = load double, ptr %35, align 8
%37 = fmul double %33, %36
%38 = call double @llvm.fmuladd.f64(double %27, double %30, double %37)
%39 = fmul double 2.000000e+00, %38
store double %39, ptr %6, align 8
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds double, ptr %43, i64 3
%45 = load double, ptr %44, align 8
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds double, ptr %46, i64 0
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds double, ptr %49, i64 2
%51 = load double, ptr %50, align 8
%52 = fmul double %48, %51
%53 = fneg double %52
%54 = call double @llvm.fmuladd.f64(double %42, double %45, double %53)
%55 = fmul double 2.000000e+00, %54
store double %55, ptr %7, align 8
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds double, ptr %56, i64 2
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds double, ptr %59, i64 3
%61 = load double, ptr %60, align 8
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds double, ptr %62, i64 0
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds double, ptr %65, i64 1
%67 = load double, ptr %66, align 8
%68 = fmul double %64, %67
%69 = call double @llvm.fmuladd.f64(double %58, double %61, double %68)
%70 = fmul double 2.000000e+00, %69
store double %70, ptr %8, align 8
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds double, ptr %71, i64 1
%73 = load double, ptr %72, align 8
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds double, ptr %74, i64 1
%76 = load double, ptr %75, align 8
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds double, ptr %77, i64 2
%79 = load double, ptr %78, align 8
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds double, ptr %80, i64 2
%82 = load double, ptr %81, align 8
%83 = fmul double %79, %82
%84 = call double @llvm.fmuladd.f64(double %73, double %76, double %83)
%85 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %84, double 1.000000e+00)
store double %85, ptr %9, align 8
%86 = load double, ptr %8, align 8
%87 = load double, ptr %9, align 8
%88 = call double @atan2(double noundef %86, double noundef %87) #3
%89 = load ptr, ptr %3, align 8
%90 = getelementptr inbounds double, ptr %89, i64 0
store double %88, ptr %90, align 8
%91 = load double, ptr %7, align 8
%92 = call double @asin(double noundef %91) #3
%93 = fneg double %92
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds double, ptr %94, i64 1
store double %93, ptr %95, align 8
%96 = load double, ptr %6, align 8
%97 = load double, ptr %5, align 8
%98 = call double @atan2(double noundef %96, double noundef %97) #3
%99 = load ptr, ptr %3, align 8
%100 = getelementptr inbounds double, ptr %99, i64 2
store double %98, ptr %100, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpefekjevd.c'
source_filename = "/tmp/tmpefekjevd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, -10
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ false, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @assume(i32 noundef %10)
br label %12
12: ; preds = %17, %8
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %13, %14
%16 = icmp slt i32 %15, 100
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %12, !llvm.loop !6
20: ; preds = %12
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 10
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpefekjevd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, -10
br label %8
8: ; preds = %5, %0
%9 = phi i1 [ false, %0 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @assume(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = mul nsw i32 %12, %13
%15 = icmp slt i32 %14, 100
br i1 %15, label %.lr.ph, label %23
.lr.ph: ; preds = %8
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = mul nsw i32 %19, %20
%22 = icmp slt i32 %21, 100
br i1 %22, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %8
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 10
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkdt4duvg.c'
source_filename = "/tmp/tmpkdt4duvg.c"
target datalayout = "e-m:e-p270: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/tmpkdt4duvg.c"
target datalayout = "e-m:e-p270: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/tmp634_lntm.c'
source_filename = "/tmp/tmp634_lntm.c"
target datalayout = "e-m:e-p270: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/tmp634_lntm.c"
target datalayout = "e-m:e-p270: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/tmp9ajrht6e.c'
source_filename = "/tmp/tmp9ajrht6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c""\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"<\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hprint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %51, %2
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %8, %9
br i1 %10, label %11, label %54
11: ; preds = %7
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 38
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @stdout, align 4
%18 = call i32 @fputs(ptr noundef @.str, i32 noundef %17)
br label %50
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 34
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %25)
br label %49
27: ; preds = %19
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 62
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %33)
br label %48
35: ; preds = %27
%36 = load ptr, ptr %5, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 60
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = load i32, ptr @stdout, align 4
%42 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %41)
br label %47
43: ; preds = %35
%44 = load ptr, ptr %5, align 8
%45 = load i8, ptr %44, align 1
%46 = call i32 @putchar(i8 noundef signext %45)
br label %47
47: ; preds = %43, %40
br label %48
48: ; preds = %47, %32
br label %49
49: ; preds = %48, %24
br label %50
50: ; preds = %49, %16
br label %51
51: ; preds = %50
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %5, align 8
br label %7, !llvm.loop !6
54: ; preds = %7
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ajrht6e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"&\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c""\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"<\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hprint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %7, %8
br i1 %9, label %.lr.ph, label %56
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %50
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 38
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fputs(ptr noundef @.str, i32 noundef %16)
br label %49
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 34
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = load i32, ptr @stdout, align 4
%25 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %24)
br label %48
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 62
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = load i32, ptr @stdout, align 4
%33 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %32)
br label %47
34: ; preds = %26
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 60
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr @stdout, align 4
%41 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %40)
br label %46
42: ; preds = %34
%43 = load ptr, ptr %5, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @putchar(i8 noundef signext %44)
br label %46
46: ; preds = %42, %39
br label %47
47: ; preds = %46, %31
br label %48
48: ; preds = %47, %23
br label %49
49: ; preds = %48, %15
br label %50
50: ; preds = %49
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %5, align 8
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = icmp ne ptr %53, %54
br i1 %55, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %2
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdwqcq1bf.c'
source_filename = "/tmp/tmpdwqcq1bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_var_clrtable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @vis5d_get_color_table_params(i32 noundef %9, i32 noundef 0, i32 noundef %10, i32 noundef %11, ptr noundef %7)
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @vis5d_get_color_table_address(i32 noundef %13, i32 noundef 0, i32 noundef %14, i32 noundef %15, ptr noundef %8)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @vis5d_color_table_init_params(ptr noundef %17, i32 noundef 1, i32 noundef 1)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @vis5d_color_table_set_alpha(ptr noundef %19, i32 noundef 255)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 @vis5d_color_table_recompute(ptr noundef %21, i32 noundef 256, ptr noundef %22, i32 noundef 1, i32 noundef 1)
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @vis5d_get_color_table_params(i32 noundef %24, i32 noundef 3, i32 noundef %25, i32 noundef %26, ptr noundef %7)
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @vis5d_get_color_table_address(i32 noundef %28, i32 noundef 3, i32 noundef %29, i32 noundef %30, ptr noundef %8)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @vis5d_color_table_init_params(ptr noundef %32, i32 noundef 1, i32 noundef 1)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @vis5d_color_table_set_alpha(ptr noundef %34, i32 noundef -2)
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @vis5d_color_table_recompute(ptr noundef %36, i32 noundef 256, ptr noundef %37, i32 noundef 1, i32 noundef 1)
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = call i32 @vis5d_get_color_table_params(i32 noundef %39, i32 noundef 4, i32 noundef %40, i32 noundef %41, ptr noundef %7)
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = call i32 @vis5d_get_color_table_address(i32 noundef %43, i32 noundef 4, i32 noundef %44, i32 noundef %45, ptr noundef %8)
%47 = load ptr, ptr %7, align 8
%48 = call i32 @vis5d_color_table_init_params(ptr noundef %47, i32 noundef 1, i32 noundef 1)
%49 = load ptr, ptr %7, align 8
%50 = call i32 @vis5d_color_table_set_alpha(ptr noundef %49, i32 noundef -2)
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %7, align 8
%53 = call i32 @vis5d_color_table_recompute(ptr noundef %51, i32 noundef 256, ptr noundef %52, i32 noundef 1, i32 noundef 1)
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = call i32 @vis5d_get_color_table_params(i32 noundef %54, i32 noundef 5, i32 noundef %55, i32 noundef %56, ptr noundef %7)
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %6, align 4
%61 = call i32 @vis5d_get_color_table_address(i32 noundef %58, i32 noundef 5, i32 noundef %59, i32 noundef %60, ptr noundef %8)
%62 = load ptr, ptr %7, align 8
%63 = call i32 @vis5d_color_table_init_params(ptr noundef %62, i32 noundef 1, i32 noundef 1)
%64 = load ptr, ptr %7, align 8
%65 = call i32 @vis5d_color_table_set_alpha(ptr noundef %64, i32 noundef -1)
%66 = load ptr, ptr %8, align 8
%67 = load ptr, ptr %7, align 8
%68 = call i32 @vis5d_color_table_recompute(ptr noundef %66, i32 noundef 256, ptr noundef %67, i32 noundef 1, i32 noundef 1)
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = call i32 @vis5d_get_color_table_params(i32 noundef %69, i32 noundef 80, i32 noundef %70, i32 noundef %71, ptr noundef %7)
%73 = load i32, ptr %4, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %6, align 4
%76 = call i32 @vis5d_get_color_table_address(i32 noundef %73, i32 noundef 80, i32 noundef %74, i32 noundef %75, ptr noundef %8)
%77 = load ptr, ptr %7, align 8
%78 = call i32 @vis5d_color_table_init_params(ptr noundef %77, i32 noundef 1, i32 noundef 1)
%79 = load ptr, ptr %7, align 8
%80 = call i32 @vis5d_color_table_set_alpha(ptr noundef %79, i32 noundef 255)
%81 = load ptr, ptr %8, align 8
%82 = load ptr, ptr %7, align 8
%83 = call i32 @vis5d_color_table_recompute(ptr noundef %81, i32 noundef 256, ptr noundef %82, i32 noundef 1, i32 noundef 1)
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %6, align 4
%87 = call i32 @vis5d_get_color_table_params(i32 noundef %84, i32 noundef 90, i32 noundef %85, i32 noundef %86, ptr noundef %7)
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %6, align 4
%91 = call i32 @vis5d_get_color_table_address(i32 noundef %88, i32 noundef 90, i32 noundef %89, i32 noundef %90, ptr noundef %8)
%92 = load ptr, ptr %7, align 8
%93 = call i32 @vis5d_color_table_init_params(ptr noundef %92, i32 noundef 1, i32 noundef 1)
%94 = load ptr, ptr %7, align 8
%95 = call i32 @vis5d_color_table_set_alpha(ptr noundef %94, i32 noundef 255)
%96 = load ptr, ptr %8, align 8
%97 = load ptr, ptr %7, align 8
%98 = call i32 @vis5d_color_table_recompute(ptr noundef %96, i32 noundef 256, ptr noundef %97, i32 noundef 1, i32 noundef 1)
ret i32 1
}
declare i32 @vis5d_get_color_table_params(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @vis5d_get_color_table_address(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @vis5d_color_table_init_params(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @vis5d_color_table_set_alpha(ptr noundef, i32 noundef) #1
declare i32 @vis5d_color_table_recompute(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdwqcq1bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_var_clrtable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @vis5d_get_color_table_params(i32 noundef %9, i32 noundef 0, i32 noundef %10, i32 noundef %11, ptr noundef %7)
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @vis5d_get_color_table_address(i32 noundef %13, i32 noundef 0, i32 noundef %14, i32 noundef %15, ptr noundef %8)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @vis5d_color_table_init_params(ptr noundef %17, i32 noundef 1, i32 noundef 1)
%19 = load ptr, ptr %7, align 8
%20 = call i32 @vis5d_color_table_set_alpha(ptr noundef %19, i32 noundef 255)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 @vis5d_color_table_recompute(ptr noundef %21, i32 noundef 256, ptr noundef %22, i32 noundef 1, i32 noundef 1)
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @vis5d_get_color_table_params(i32 noundef %24, i32 noundef 3, i32 noundef %25, i32 noundef %26, ptr noundef %7)
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @vis5d_get_color_table_address(i32 noundef %28, i32 noundef 3, i32 noundef %29, i32 noundef %30, ptr noundef %8)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @vis5d_color_table_init_params(ptr noundef %32, i32 noundef 1, i32 noundef 1)
%34 = load ptr, ptr %7, align 8
%35 = call i32 @vis5d_color_table_set_alpha(ptr noundef %34, i32 noundef -2)
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @vis5d_color_table_recompute(ptr noundef %36, i32 noundef 256, ptr noundef %37, i32 noundef 1, i32 noundef 1)
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = call i32 @vis5d_get_color_table_params(i32 noundef %39, i32 noundef 4, i32 noundef %40, i32 noundef %41, ptr noundef %7)
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = call i32 @vis5d_get_color_table_address(i32 noundef %43, i32 noundef 4, i32 noundef %44, i32 noundef %45, ptr noundef %8)
%47 = load ptr, ptr %7, align 8
%48 = call i32 @vis5d_color_table_init_params(ptr noundef %47, i32 noundef 1, i32 noundef 1)
%49 = load ptr, ptr %7, align 8
%50 = call i32 @vis5d_color_table_set_alpha(ptr noundef %49, i32 noundef -2)
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %7, align 8
%53 = call i32 @vis5d_color_table_recompute(ptr noundef %51, i32 noundef 256, ptr noundef %52, i32 noundef 1, i32 noundef 1)
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = call i32 @vis5d_get_color_table_params(i32 noundef %54, i32 noundef 5, i32 noundef %55, i32 noundef %56, ptr noundef %7)
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %6, align 4
%61 = call i32 @vis5d_get_color_table_address(i32 noundef %58, i32 noundef 5, i32 noundef %59, i32 noundef %60, ptr noundef %8)
%62 = load ptr, ptr %7, align 8
%63 = call i32 @vis5d_color_table_init_params(ptr noundef %62, i32 noundef 1, i32 noundef 1)
%64 = load ptr, ptr %7, align 8
%65 = call i32 @vis5d_color_table_set_alpha(ptr noundef %64, i32 noundef -1)
%66 = load ptr, ptr %8, align 8
%67 = load ptr, ptr %7, align 8
%68 = call i32 @vis5d_color_table_recompute(ptr noundef %66, i32 noundef 256, ptr noundef %67, i32 noundef 1, i32 noundef 1)
%69 = load i32, ptr %4, align 4
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %6, align 4
%72 = call i32 @vis5d_get_color_table_params(i32 noundef %69, i32 noundef 80, i32 noundef %70, i32 noundef %71, ptr noundef %7)
%73 = load i32, ptr %4, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %6, align 4
%76 = call i32 @vis5d_get_color_table_address(i32 noundef %73, i32 noundef 80, i32 noundef %74, i32 noundef %75, ptr noundef %8)
%77 = load ptr, ptr %7, align 8
%78 = call i32 @vis5d_color_table_init_params(ptr noundef %77, i32 noundef 1, i32 noundef 1)
%79 = load ptr, ptr %7, align 8
%80 = call i32 @vis5d_color_table_set_alpha(ptr noundef %79, i32 noundef 255)
%81 = load ptr, ptr %8, align 8
%82 = load ptr, ptr %7, align 8
%83 = call i32 @vis5d_color_table_recompute(ptr noundef %81, i32 noundef 256, ptr noundef %82, i32 noundef 1, i32 noundef 1)
%84 = load i32, ptr %4, align 4
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %6, align 4
%87 = call i32 @vis5d_get_color_table_params(i32 noundef %84, i32 noundef 90, i32 noundef %85, i32 noundef %86, ptr noundef %7)
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %6, align 4
%91 = call i32 @vis5d_get_color_table_address(i32 noundef %88, i32 noundef 90, i32 noundef %89, i32 noundef %90, ptr noundef %8)
%92 = load ptr, ptr %7, align 8
%93 = call i32 @vis5d_color_table_init_params(ptr noundef %92, i32 noundef 1, i32 noundef 1)
%94 = load ptr, ptr %7, align 8
%95 = call i32 @vis5d_color_table_set_alpha(ptr noundef %94, i32 noundef 255)
%96 = load ptr, ptr %8, align 8
%97 = load ptr, ptr %7, align 8
%98 = call i32 @vis5d_color_table_recompute(ptr noundef %96, i32 noundef 256, ptr noundef %97, i32 noundef 1, i32 noundef 1)
ret i32 1
}
declare i32 @vis5d_get_color_table_params(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @vis5d_get_color_table_address(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @vis5d_color_table_init_params(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @vis5d_color_table_set_alpha(ptr noundef, i32 noundef) #1
declare i32 @vis5d_color_table_recompute(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0xwud5dz.c'
source_filename = "/tmp/tmp0xwud5dz.c"
target datalayout = "e-m:e-p270: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.unit = private unnamed_addr constant [3 x i32] [i32 1048576, i32 1024, i32 1], align 4
@.str = private unnamed_addr constant [34 x i8] c"max malloc: %fGB, %fMB, %lluByte\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 [3 x i32], align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.unit, i64 12, i1 false)
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %8, align 8
br label %11
11: ; preds = %43, %2
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %12, 3
br i1 %13, label %14, label %46
14: ; preds = %11
store i32 1, ptr %9, align 4
br label %15
15: ; preds = %41, %14
%16 = load i32, ptr %9, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %42
18: ; preds = %15
%19 = load i64, ptr %8, align 8
%20 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 1, %22
%24 = load i64, ptr %7, align 8
%25 = add i64 %23, %24
%26 = trunc i64 %25 to i32
%27 = call i64 @malloc(i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %10, align 8
%29 = load ptr, ptr %10, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %40
31: ; preds = %18
%32 = load i64, ptr %8, align 8
%33 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = sext i32 %34 to i64
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, %35
store i64 %37, ptr %7, align 8
%38 = load ptr, ptr %10, align 8
%39 = call i32 @free(ptr noundef %38)
br label %41
40: ; preds = %18
store i32 0, ptr %9, align 4
br label %41
41: ; preds = %40, %31
br label %15, !llvm.loop !6
42: ; preds = %15
br label %43
43: ; preds = %42
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %8, align 8
br label %11, !llvm.loop !8
46: ; preds = %11
%47 = load i64, ptr %7, align 8
%48 = uitofp i64 %47 to double
%49 = fdiv double %48, 1.024000e+03
%50 = fdiv double %49, 1.024000e+03
%51 = fdiv double %50, 1.024000e+03
%52 = fptoui double %51 to i64
%53 = load i64, ptr %7, align 8
%54 = uitofp i64 %53 to double
%55 = fdiv double %54, 1.024000e+03
%56 = fdiv double %55, 1.024000e+03
%57 = fptoui double %56 to i64
%58 = load i64, ptr %7, align 8
%59 = call i32 @printf(ptr noundef @.str, i64 noundef %52, i64 noundef %57, i64 noundef %58)
br label %60
60: ; preds = %46, %60
br label %60
}
; 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 @malloc(i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xwud5dz.c"
target datalayout = "e-m:e-p270: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.unit = private unnamed_addr constant [3 x i32] [i32 1048576, i32 1024, i32 1], align 4
@.str = private unnamed_addr constant [34 x i8] c"max malloc: %fGB, %fMB, %lluByte\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 [3 x i32], align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.unit, i64 12, i1 false)
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ult i64 %11, 3
br i1 %12, label %.lr.ph2, label %48
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %43
store i32 1, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %42
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %39
%17 = load i64, ptr %8, align 8
%18 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 1, %20
%22 = load i64, ptr %7, align 8
%23 = add i64 %21, %22
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %10, align 8
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %38
29: ; preds = %16
%30 = load i64, ptr %8, align 8
%31 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %7, align 8
%35 = add i64 %34, %33
store i64 %35, ptr %7, align 8
%36 = load ptr, ptr %10, align 8
%37 = call i32 @free(ptr noundef %36)
br label %39
38: ; preds = %16
store i32 0, ptr %9, align 4
br label %39
39: ; preds = %38, %29
%40 = load i32, ptr %9, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %42
42: ; preds = %._crit_edge, %13
br label %43
43: ; preds = %42
%44 = load i64, ptr %8, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %8, align 8
%46 = load i64, ptr %8, align 8
%47 = icmp ult i64 %46, 3
br i1 %47, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %48
48: ; preds = %._crit_edge3, %2
%49 = load i64, ptr %7, align 8
%50 = uitofp i64 %49 to double
%51 = fdiv double %50, 1.024000e+03
%52 = fdiv double %51, 1.024000e+03
%53 = fdiv double %52, 1.024000e+03
%54 = fptoui double %53 to i64
%55 = load i64, ptr %7, align 8
%56 = uitofp i64 %55 to double
%57 = fdiv double %56, 1.024000e+03
%58 = fdiv double %57, 1.024000e+03
%59 = fptoui double %58 to i64
%60 = load i64, ptr %7, align 8
%61 = call i32 @printf(ptr noundef @.str, i64 noundef %54, i64 noundef %59, i64 noundef %60)
br label %62
62: ; preds = %62, %48
br label %62
}
; 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 @malloc(i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpaepejvgx.c'
source_filename = "/tmp/tmpaepejvgx.c"
target datalayout = "e-m:e-p270: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/tmpaepejvgx.c"
target datalayout = "e-m:e-p270: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/tmpe0w48fae.c'
source_filename = "/tmp/tmpe0w48fae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"usage: %s [-l] file.dat [-o output]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0w48fae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"usage: %s [-l] file.dat [-o output]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3fky717.c'
source_filename = "/tmp/tmpg3fky717.c"
target datalayout = "e-m:e-p270: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/tmpg3fky717.c"
target datalayout = "e-m:e-p270: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/tmpppjk823m.c'
source_filename = "/tmp/tmpppjk823m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_random_brute(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = call i32 (...) @clock()
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %47, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %50
16: ; preds = %12
store i32 -1, ptr %10, align 4
br label %17
17: ; preds = %38, %16
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %41
21: ; preds = %17
%22 = load i32, ptr %10, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %32, label %24
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %37
32: ; preds = %24, %21
%33 = call i32 @rand_r(ptr noundef %7)
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
%36 = srem i32 %33, %35
store i32 %36, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %37
37: ; preds = %32, %24
br label %38
38: ; preds = %37
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
br label %17, !llvm.loop !6
41: ; preds = %17
%42 = load i32, ptr %9, align 4
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
br label %47
47: ; preds = %41
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
br label %12, !llvm.loop !8
50: ; preds = %12
ret void
}
declare i32 @clock(...) #1
declare i32 @rand_r(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpppjk823m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_random_brute(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = call i32 (...) @clock()
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph2, label %54
.lr.ph2: ; preds = %3
br label %15
15: ; preds = %.lr.ph2, %48
store i32 -1, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %42
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %36
%20 = load i32, ptr %10, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %30, label %22
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %35
30: ; preds = %22, %19
%31 = call i32 @rand_r(ptr noundef %7)
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 %32, 1
%34 = srem i32 %31, %33
store i32 %34, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %35
35: ; preds = %30, %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %15
%43 = load i32, ptr %9, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
br label %48
48: ; preds = %42
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %54
54: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @clock(...) #1
declare i32 @rand_r(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5pitccgm.c'
source_filename = "/tmp/tmp5pitccgm.c"
target datalayout = "e-m:e-p270: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/tmp5pitccgm.c"
target datalayout = "e-m:e-p270: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/tmp_fdf9j8r.c'
source_filename = "/tmp/tmp_fdf9j8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"ClientSkin: client out of range\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"[client out of range]\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"model\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ClientSkin(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 %12, 64
br i1 %13, label %14, label %16
14: ; preds = %11, %3
%15 = call i32 @BotAI_Print(i32 noundef 3, ptr noundef @.str)
store ptr @.str.1, ptr %4, align 8
br label %33
16: ; preds = %11
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 576, %17
%19 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%20 = call i32 @trap_GetConfigstring(i32 noundef %18, ptr noundef %19, i32 noundef 1024)
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%23 = call i32 @Info_ValueForKey(ptr noundef %22, ptr noundef @.str.2)
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = call i32 @strncpy(ptr noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %4, align 8
br label %33
33: ; preds = %16, %14
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare i32 @BotAI_Print(i32 noundef, ptr noundef) #1
declare i32 @trap_GetConfigstring(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Info_ValueForKey(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_fdf9j8r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"ClientSkin: client out of range\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"[client out of range]\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"model\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ClientSkin(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 %12, 64
br i1 %13, label %14, label %16
14: ; preds = %11, %3
%15 = call i32 @BotAI_Print(i32 noundef 3, ptr noundef @.str)
store ptr @.str.1, ptr %4, align 8
br label %33
16: ; preds = %11
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 576, %17
%19 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%20 = call i32 @trap_GetConfigstring(i32 noundef %18, ptr noundef %19, i32 noundef 1024)
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%23 = call i32 @Info_ValueForKey(ptr noundef %22, ptr noundef @.str.2)
%24 = load i32, ptr %7, align 4
%25 = sub nsw i32 %24, 1
%26 = call i32 @strncpy(ptr noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %27, i64 %30
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %4, align 8
br label %33
33: ; preds = %16, %14
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
declare i32 @BotAI_Print(i32 noundef, ptr noundef) #1
declare i32 @trap_GetConfigstring(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Info_ValueForKey(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/tmppqxtovhm.c'
source_filename = "/tmp/tmppqxtovhm.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"fork(): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_lm32_main(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %17 [
i32 -1, label %8
i32 0, label %13
]
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
store i32 -1, ptr %2, align 4
br label %25
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @load_lm32_child(ptr noundef %14)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %1
%18 = load i32, ptr %4, align 4
%19 = call i32 @waitpid(i32 noundef %18, ptr noundef %5, i32 noundef 0)
%20 = load i32, ptr %5, align 4
%21 = call i32 @WEXITSTATUS(i32 noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %17
store i32 0, ptr %2, align 4
br label %25
24: ; preds = %17
store i32 -1, ptr %2, align 4
br label %25
25: ; preds = %24, %23, %8
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @load_lm32_child(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppqxtovhm.c"
target datalayout = "e-m:e-p270: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 [12 x i8] c"fork(): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_lm32_main(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %17 [
i32 -1, label %8
i32 0, label %13
]
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
store i32 -1, ptr %2, align 4
br label %25
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @load_lm32_child(ptr noundef %14)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %1
%18 = load i32, ptr %4, align 4
%19 = call i32 @waitpid(i32 noundef %18, ptr noundef %5, i32 noundef 0)
%20 = load i32, ptr %5, align 4
%21 = call i32 @WEXITSTATUS(i32 noundef %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %17
store i32 0, ptr %2, align 4
br label %25
24: ; preds = %17
store i32 -1, ptr %2, align 4
br label %25
25: ; preds = %24, %23, %8
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @fork(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @load_lm32_child(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @WEXITSTATUS(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2xalhr2g.c'
source_filename = "/tmp/tmp2xalhr2g.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"usage: rmmod <module>\0A\00", align 1
@O_NONBLOCK = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"rmmod: delete_module '%s' failed (errno %d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rmmod_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %48
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %14
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %7, align 8
br label %25
25: ; preds = %21, %14
%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 @strchr(ptr noundef %28, i8 noundef signext 46)
store ptr %29, ptr %8, align 8
%30 = load ptr, ptr %8, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = load ptr, ptr %8, align 8
store i8 0, ptr %33, align 1
br label %34
34: ; preds = %32, %25
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr @O_NONBLOCK, align 4
%37 = load i32, ptr @O_EXCL, align 4
%38 = or i32 %36, %37
%39 = call i32 @delete_module(ptr noundef %35, i32 noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %34
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr @errno, align 4
%46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1, ptr noundef %44, i32 noundef %45)
store i32 -1, ptr %3, align 4
br label %48
47: ; preds = %34
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %47, %42, %11
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @delete_module(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/tmp2xalhr2g.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"usage: rmmod <module>\0A\00", align 1
@O_NONBLOCK = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"rmmod: delete_module '%s' failed (errno %d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rmmod_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %48
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %25, label %21
21: ; preds = %14
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %7, align 8
br label %25
25: ; preds = %21, %14
%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 @strchr(ptr noundef %28, i8 noundef signext 46)
store ptr %29, ptr %8, align 8
%30 = load ptr, ptr %8, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = load ptr, ptr %8, align 8
store i8 0, ptr %33, align 1
br label %34
34: ; preds = %32, %25
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr @O_NONBLOCK, align 4
%37 = load i32, ptr @O_EXCL, align 4
%38 = or i32 %36, %37
%39 = call i32 @delete_module(ptr noundef %35, i32 noundef %38)
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %47
42: ; preds = %34
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr @errno, align 4
%46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1, ptr noundef %44, i32 noundef %45)
store i32 -1, ptr %3, align 4
br label %48
47: ; preds = %34
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %47, %42, %11
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @delete_module(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/tmpu9ntkmbg.c'
source_filename = "/tmp/tmpu9ntkmbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_mutex_lock(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 @mutex_lock(ptr noundef %3)
ret i32 %4
}
declare i32 @mutex_lock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu9ntkmbg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_mutex_lock(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 @mutex_lock(ptr noundef %3)
ret i32 %4
}
declare i32 @mutex_lock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjbkcqhku.c'
source_filename = "/tmp/tmpjbkcqhku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"\0A\0AUsage:\0A\0A%s S1 S2 S3 S4 ... Sn\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [98 x i8] c"calculates n random shapes. Si can be C for circle, S for square or T for triangle, respectively\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbkcqhku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"\0A\0AUsage:\0A\0A%s S1 S2 S3 S4 ... Sn\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [98 x i8] c"calculates n random shapes. Si can be C for circle, S for square or T for triangle, respectively\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvpa0wtsp.c'
source_filename = "/tmp/tmpvpa0wtsp.c"
target datalayout = "e-m:e-p270: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/tmpvpa0wtsp.c"
target datalayout = "e-m:e-p270: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/tmpyk72t7_f.c'
source_filename = "/tmp/tmpyk72t7_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca float, 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 i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i64, align 8
%46 = alloca i64, align 8
%47 = alloca i64, align 8
%48 = alloca i64, align 8
%49 = alloca i64, align 8
%50 = alloca i64, align 8
%51 = alloca i64, align 8
%52 = alloca i64, align 8
%53 = alloca i64, align 8
%54 = 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 32, ptr %12, align 4
store float 1.234000e+03, ptr %7, align 4
store float 1.235000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %55
55: ; preds = %61, %2
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %56, 1
br i1 %57, label %58, label %64
58: ; preds = %55
%59 = load float, ptr %7, align 4
%60 = fadd float %59, 1.000000e+00
store float %60, ptr %7, align 4
br label %61
61: ; preds = %58
%62 = load i32, ptr %13, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %13, align 4
br label %55, !llvm.loop !6
64: ; preds = %55
%65 = load float, ptr %6, align 4
%66 = load float, ptr %7, align 4
%67 = fcmp une float %65, %66
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 (...) @abort() #2
unreachable
70: ; preds = %64
store float 1.234000e+03, ptr %7, align 4
%71 = load float, ptr %7, align 4
%72 = load i32, ptr %12, align 4
%73 = sitofp i32 %72 to float
%74 = fsub float %71, %73
store float %74, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %75
75: ; preds = %82, %70
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %12, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %85
79: ; preds = %75
%80 = load float, ptr %7, align 4
%81 = fadd float %80, -1.000000e+00
store float %81, ptr %7, align 4
br label %82
82: ; preds = %79
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
br label %75, !llvm.loop !8
85: ; preds = %75
%86 = load float, ptr %6, align 4
%87 = load float, ptr %7, align 4
%88 = fcmp une float %86, %87
br i1 %88, label %89, label %91
89: ; preds = %85
%90 = call i32 (...) @abort() #2
unreachable
91: ; preds = %85
store float 1.234000e+03, ptr %7, align 4
%92 = load float, ptr %7, align 4
%93 = load i32, ptr %12, align 4
%94 = sitofp i32 %93 to float
%95 = fadd float %92, %94
store float %95, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %96
96: ; preds = %103, %91
%97 = load i32, ptr %13, align 4
%98 = load i32, ptr %12, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %106
100: ; preds = %96
%101 = load float, ptr %7, align 4
%102 = fadd float %101, 1.000000e+00
store float %102, ptr %7, align 4
br label %103
103: ; preds = %100
%104 = load i32, ptr %13, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %13, align 4
br label %96, !llvm.loop !9
106: ; preds = %96
%107 = load float, ptr %6, align 4
%108 = load float, ptr %7, align 4
%109 = fcmp une float %107, %108
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = call i32 (...) @abort() #2
unreachable
112: ; preds = %106
store float 1.234000e+03, ptr %7, align 4
%113 = load float, ptr %7, align 4
%114 = load i32, ptr %12, align 4
%115 = sitofp i32 %114 to float
%116 = fsub float %113, %115
store float %116, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %117
117: ; preds = %124, %112
%118 = load i32, ptr %13, align 4
%119 = load i32, ptr %12, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %121, label %127
121: ; preds = %117
%122 = load float, ptr %7, align 4
%123 = fadd float %122, -1.000000e+00
store float %123, ptr %7, align 4
br label %124
124: ; preds = %121
%125 = load i32, ptr %13, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %13, align 4
br label %117, !llvm.loop !10
127: ; preds = %117
%128 = load float, ptr %6, align 4
%129 = load float, ptr %7, align 4
%130 = fcmp une float %128, %129
br i1 %130, label %131, label %133
131: ; preds = %127
%132 = call i32 (...) @abort() #2
unreachable
133: ; preds = %127
store float 1.234000e+03, ptr %7, align 4
%134 = load float, ptr %7, align 4
%135 = load i32, ptr %12, align 4
%136 = sitofp i32 %135 to float
%137 = fadd float %134, %136
store float %137, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %138
138: ; preds = %146, %133
%139 = load i32, ptr %13, align 4
%140 = load i32, ptr %12, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %149
142: ; preds = %138
store float 1.000000e+00, ptr %14, align 4
%143 = load float, ptr %14, align 4
%144 = load float, ptr %7, align 4
%145 = fadd float %144, %143
store float %145, ptr %7, align 4
br label %146
146: ; preds = %142
%147 = load i32, ptr %13, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %13, align 4
br label %138, !llvm.loop !11
149: ; preds = %138
%150 = load float, ptr %6, align 4
%151 = load float, ptr %7, align 4
%152 = fcmp une float %150, %151
br i1 %152, label %153, label %155
153: ; preds = %149
%154 = call i32 (...) @abort() #2
unreachable
155: ; preds = %149
store float 1.234000e+03, ptr %7, align 4
%156 = load float, ptr %7, align 4
%157 = load i32, ptr %12, align 4
%158 = sitofp i32 %157 to float
%159 = fadd float %156, %158
store float %159, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %160
160: ; preds = %168, %155
%161 = load i32, ptr %13, align 4
%162 = load i32, ptr %12, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %164, label %171
164: ; preds = %160
store float 1.000000e+00, ptr %15, align 4
%165 = load float, ptr %7, align 4
%166 = load float, ptr %15, align 4
%167 = fadd float %165, %166
store float %167, ptr %7, align 4
br label %168
168: ; preds = %164
%169 = load i32, ptr %13, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %13, align 4
br label %160, !llvm.loop !12
171: ; preds = %160
%172 = load float, ptr %6, align 4
%173 = load float, ptr %7, align 4
%174 = fcmp une float %172, %173
br i1 %174, label %175, label %177
175: ; preds = %171
%176 = call i32 (...) @abort() #2
unreachable
177: ; preds = %171
store float 1.234000e+03, ptr %7, align 4
%178 = load float, ptr %7, align 4
%179 = load i32, ptr %12, align 4
%180 = sitofp i32 %179 to float
%181 = fadd float %178, %180
store float %181, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %182
182: ; preds = %190, %177
%183 = load i32, ptr %13, align 4
%184 = load i32, ptr %12, align 4
%185 = icmp slt i32 %183, %184
br i1 %185, label %186, label %193
186: ; preds = %182
store float 1.000000e+00, ptr %16, align 4
%187 = load float, ptr %16, align 4
%188 = load float, ptr %7, align 4
%189 = fadd float %187, %188
store float %189, ptr %7, align 4
br label %190
190: ; preds = %186
%191 = load i32, ptr %13, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %13, align 4
br label %182, !llvm.loop !13
193: ; preds = %182
%194 = load float, ptr %6, align 4
%195 = load float, ptr %7, align 4
%196 = fcmp une float %194, %195
br i1 %196, label %197, label %199
197: ; preds = %193
%198 = call i32 (...) @abort() #2
unreachable
199: ; preds = %193
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
br label %200
200: ; preds = %210, %199
%201 = load i32, ptr %13, align 4
%202 = load i32, ptr %12, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %204, label %213
204: ; preds = %200
store float 5.000000e-01, ptr %17, align 4
%205 = load float, ptr %17, align 4
%206 = load float, ptr %17, align 4
%207 = fadd float %205, %206
%208 = load float, ptr %7, align 4
%209 = fadd float %207, %208
store float %209, ptr %7, align 4
br label %210
210: ; preds = %204
%211 = load i32, ptr %13, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %13, align 4
br label %200, !llvm.loop !14
213: ; preds = %200
%214 = load float, ptr %6, align 4
%215 = load float, ptr %7, align 4
%216 = fcmp une float %214, %215
br i1 %216, label %217, label %219
217: ; preds = %213
%218 = call i32 (...) @abort() #2
unreachable
219: ; preds = %213
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %220
220: ; preds = %229, %219
%221 = load i32, ptr %13, align 4
%222 = load i32, ptr %12, align 4
%223 = icmp slt i32 %221, %222
br i1 %223, label %224, label %232
224: ; preds = %220
%225 = load float, ptr %6, align 4
%226 = fpext float %225 to double
%227 = fmul double %226, 2.000000e+00
%228 = fptrunc double %227 to float
store float %228, ptr %6, align 4
br label %229
229: ; preds = %224
%230 = load i32, ptr %13, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %13, align 4
br label %220, !llvm.loop !15
232: ; preds = %220
store i32 0, ptr %13, align 4
br label %233
233: ; preds = %241, %232
%234 = load i32, ptr %13, align 4
%235 = load i32, ptr %12, align 4
%236 = icmp slt i32 %234, %235
br i1 %236, label %237, label %244
237: ; preds = %233
store float 2.000000e+00, ptr %18, align 4
%238 = load float, ptr %18, align 4
%239 = load float, ptr %7, align 4
%240 = fmul float %239, %238
store float %240, ptr %7, align 4
br label %241
241: ; preds = %237
%242 = load i32, ptr %13, align 4
%243 = add nsw i32 %242, 1
store i32 %243, ptr %13, align 4
br label %233, !llvm.loop !16
244: ; preds = %233
%245 = load float, ptr %6, align 4
%246 = load float, ptr %7, align 4
%247 = fcmp une float %245, %246
br i1 %247, label %248, label %250
248: ; preds = %244
%249 = call i32 (...) @abort() #2
unreachable
250: ; preds = %244
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %251
251: ; preds = %260, %250
%252 = load i32, ptr %13, align 4
%253 = load i32, ptr %12, align 4
%254 = icmp slt i32 %252, %253
br i1 %254, label %255, label %263
255: ; preds = %251
%256 = load float, ptr %6, align 4
%257 = fpext float %256 to double
%258 = fmul double %257, 2.000000e+00
%259 = fptrunc double %258 to float
store float %259, ptr %6, align 4
br label %260
260: ; preds = %255
%261 = load i32, ptr %13, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %13, align 4
br label %251, !llvm.loop !17
263: ; preds = %251
store i32 0, ptr %13, align 4
br label %264
264: ; preds = %272, %263
%265 = load i32, ptr %13, align 4
%266 = load i32, ptr %12, align 4
%267 = icmp slt i32 %265, %266
br i1 %267, label %268, label %275
268: ; preds = %264
store float 2.000000e+00, ptr %19, align 4
%269 = load float, ptr %7, align 4
%270 = load float, ptr %19, align 4
%271 = fmul float %269, %270
store float %271, ptr %7, align 4
br label %272
272: ; preds = %268
%273 = load i32, ptr %13, align 4
%274 = add nsw i32 %273, 1
store i32 %274, ptr %13, align 4
br label %264, !llvm.loop !18
275: ; preds = %264
%276 = load float, ptr %6, align 4
%277 = load float, ptr %7, align 4
%278 = fcmp une float %276, %277
br i1 %278, label %279, label %281
279: ; preds = %275
%280 = call i32 (...) @abort() #2
unreachable
281: ; preds = %275
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %282
282: ; preds = %291, %281
%283 = load i32, ptr %13, align 4
%284 = load i32, ptr %12, align 4
%285 = icmp slt i32 %283, %284
br i1 %285, label %286, label %294
286: ; preds = %282
%287 = load float, ptr %6, align 4
%288 = fpext float %287 to double
%289 = fmul double 2.000000e+00, %288
%290 = fptrunc double %289 to float
store float %290, ptr %6, align 4
br label %291
291: ; preds = %286
%292 = load i32, ptr %13, align 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %13, align 4
br label %282, !llvm.loop !19
294: ; preds = %282
store i32 0, ptr %13, align 4
br label %295
295: ; preds = %303, %294
%296 = load i32, ptr %13, align 4
%297 = load i32, ptr %12, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %299, label %306
299: ; preds = %295
store float 2.000000e+00, ptr %20, align 4
%300 = load float, ptr %20, align 4
%301 = load float, ptr %7, align 4
%302 = fmul float %300, %301
store float %302, ptr %7, align 4
br label %303
303: ; preds = %299
%304 = load i32, ptr %13, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %13, align 4
br label %295, !llvm.loop !20
306: ; preds = %295
%307 = load float, ptr %6, align 4
%308 = load float, ptr %7, align 4
%309 = fcmp une float %307, %308
br i1 %309, label %310, label %312
310: ; preds = %306
%311 = call i32 (...) @abort() #2
unreachable
312: ; preds = %306
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
br label %313
313: ; preds = %323, %312
%314 = load i32, ptr %13, align 4
%315 = load i32, ptr %12, align 4
%316 = icmp slt i32 %314, %315
br i1 %316, label %317, label %326
317: ; preds = %313
store float 1.000000e+00, ptr %21, align 4
%318 = load float, ptr %21, align 4
%319 = load float, ptr %21, align 4
%320 = fadd float %318, %319
%321 = load float, ptr %7, align 4
%322 = fmul float %320, %321
store float %322, ptr %7, align 4
br label %323
323: ; preds = %317
%324 = load i32, ptr %13, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %13, align 4
br label %313, !llvm.loop !21
326: ; preds = %313
%327 = load float, ptr %6, align 4
%328 = load float, ptr %7, align 4
%329 = fcmp une float %327, %328
br i1 %329, label %330, label %332
330: ; preds = %326
%331 = call i32 (...) @abort() #2
unreachable
332: ; preds = %326
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %333
333: ; preds = %342, %332
%334 = load i32, ptr %13, align 4
%335 = load i32, ptr %12, align 4
%336 = icmp slt i32 %334, %335
br i1 %336, label %337, label %345
337: ; preds = %333
%338 = load float, ptr %6, align 4
%339 = fpext float %338 to double
%340 = fsub double %339, 2.000000e+00
%341 = fptrunc double %340 to float
store float %341, ptr %6, align 4
br label %342
342: ; preds = %337
%343 = load i32, ptr %13, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %13, align 4
br label %333, !llvm.loop !22
345: ; preds = %333
store i32 0, ptr %13, align 4
br label %346
346: ; preds = %354, %345
%347 = load i32, ptr %13, align 4
%348 = load i32, ptr %12, align 4
%349 = icmp slt i32 %347, %348
br i1 %349, label %350, label %357
350: ; preds = %346
store float 2.000000e+00, ptr %22, align 4
%351 = load float, ptr %22, align 4
%352 = load float, ptr %7, align 4
%353 = fsub float %352, %351
store float %353, ptr %7, align 4
br label %354
354: ; preds = %350
%355 = load i32, ptr %13, align 4
%356 = add nsw i32 %355, 1
store i32 %356, ptr %13, align 4
br label %346, !llvm.loop !23
357: ; preds = %346
%358 = load float, ptr %6, align 4
%359 = load float, ptr %7, align 4
%360 = fcmp une float %358, %359
br i1 %360, label %361, label %363
361: ; preds = %357
%362 = call i32 (...) @abort() #2
unreachable
363: ; preds = %357
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %364
364: ; preds = %373, %363
%365 = load i32, ptr %13, align 4
%366 = load i32, ptr %12, align 4
%367 = icmp slt i32 %365, %366
br i1 %367, label %368, label %376
368: ; preds = %364
%369 = load float, ptr %6, align 4
%370 = fpext float %369 to double
%371 = fsub double %370, 2.000000e+00
%372 = fptrunc double %371 to float
store float %372, ptr %6, align 4
br label %373
373: ; preds = %368
%374 = load i32, ptr %13, align 4
%375 = add nsw i32 %374, 1
store i32 %375, ptr %13, align 4
br label %364, !llvm.loop !24
376: ; preds = %364
store i32 0, ptr %13, align 4
br label %377
377: ; preds = %385, %376
%378 = load i32, ptr %13, align 4
%379 = load i32, ptr %12, align 4
%380 = icmp slt i32 %378, %379
br i1 %380, label %381, label %388
381: ; preds = %377
store float 2.000000e+00, ptr %23, align 4
%382 = load float, ptr %7, align 4
%383 = load float, ptr %23, align 4
%384 = fsub float %382, %383
store float %384, ptr %7, align 4
br label %385
385: ; preds = %381
%386 = load i32, ptr %13, align 4
%387 = add nsw i32 %386, 1
store i32 %387, ptr %13, align 4
br label %377, !llvm.loop !25
388: ; preds = %377
%389 = load float, ptr %6, align 4
%390 = load float, ptr %7, align 4
%391 = fcmp une float %389, %390
br i1 %391, label %392, label %394
392: ; preds = %388
%393 = call i32 (...) @abort() #2
unreachable
394: ; preds = %388
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %395
395: ; preds = %404, %394
%396 = load i32, ptr %13, align 4
%397 = load i32, ptr %12, align 4
%398 = icmp slt i32 %396, %397
br i1 %398, label %399, label %407
399: ; preds = %395
%400 = load float, ptr %6, align 4
%401 = fpext float %400 to double
%402 = fsub double 2.000000e+00, %401
%403 = fptrunc double %402 to float
store float %403, ptr %6, align 4
br label %404
404: ; preds = %399
%405 = load i32, ptr %13, align 4
%406 = add nsw i32 %405, 1
store i32 %406, ptr %13, align 4
br label %395, !llvm.loop !26
407: ; preds = %395
store i32 0, ptr %13, align 4
br label %408
408: ; preds = %416, %407
%409 = load i32, ptr %13, align 4
%410 = load i32, ptr %12, align 4
%411 = icmp slt i32 %409, %410
br i1 %411, label %412, label %419
412: ; preds = %408
store float 2.000000e+00, ptr %24, align 4
%413 = load float, ptr %24, align 4
%414 = load float, ptr %7, align 4
%415 = fsub float %413, %414
store float %415, ptr %7, align 4
br label %416
416: ; preds = %412
%417 = load i32, ptr %13, align 4
%418 = add nsw i32 %417, 1
store i32 %418, ptr %13, align 4
br label %408, !llvm.loop !27
419: ; preds = %408
%420 = load float, ptr %6, align 4
%421 = load float, ptr %7, align 4
%422 = fcmp une float %420, %421
br i1 %422, label %423, label %425
423: ; preds = %419
%424 = call i32 (...) @abort() #2
unreachable
425: ; preds = %419
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
br label %426
426: ; preds = %436, %425
%427 = load i32, ptr %13, align 4
%428 = load i32, ptr %12, align 4
%429 = icmp slt i32 %427, %428
br i1 %429, label %430, label %439
430: ; preds = %426
store float 1.000000e+00, ptr %25, align 4
%431 = load float, ptr %25, align 4
%432 = load float, ptr %25, align 4
%433 = fadd float %431, %432
%434 = load float, ptr %7, align 4
%435 = fsub float %433, %434
store float %435, ptr %7, align 4
br label %436
436: ; preds = %430
%437 = load i32, ptr %13, align 4
%438 = add nsw i32 %437, 1
store i32 %438, ptr %13, align 4
br label %426, !llvm.loop !28
439: ; preds = %426
%440 = load float, ptr %6, align 4
%441 = load float, ptr %7, align 4
%442 = fcmp une float %440, %441
br i1 %442, label %443, label %445
443: ; preds = %439
%444 = call i32 (...) @abort() #2
unreachable
445: ; preds = %439
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %446
446: ; preds = %455, %445
%447 = load i32, ptr %13, align 4
%448 = load i32, ptr %12, align 4
%449 = icmp slt i32 %447, %448
br i1 %449, label %450, label %458
450: ; preds = %446
%451 = load float, ptr %6, align 4
%452 = fpext float %451 to double
%453 = fdiv double %452, 2.000000e+00
%454 = fptrunc double %453 to float
store float %454, ptr %6, align 4
br label %455
455: ; preds = %450
%456 = load i32, ptr %13, align 4
%457 = add nsw i32 %456, 1
store i32 %457, ptr %13, align 4
br label %446, !llvm.loop !29
458: ; preds = %446
store i32 0, ptr %13, align 4
br label %459
459: ; preds = %467, %458
%460 = load i32, ptr %13, align 4
%461 = load i32, ptr %12, align 4
%462 = icmp slt i32 %460, %461
br i1 %462, label %463, label %470
463: ; preds = %459
store float 2.000000e+00, ptr %26, align 4
%464 = load float, ptr %26, align 4
%465 = load float, ptr %7, align 4
%466 = fdiv float %465, %464
store float %466, ptr %7, align 4
br label %467
467: ; preds = %463
%468 = load i32, ptr %13, align 4
%469 = add nsw i32 %468, 1
store i32 %469, ptr %13, align 4
br label %459, !llvm.loop !30
470: ; preds = %459
%471 = load float, ptr %6, align 4
%472 = load float, ptr %7, align 4
%473 = fcmp une float %471, %472
br i1 %473, label %474, label %476
474: ; preds = %470
%475 = call i32 (...) @abort() #2
unreachable
476: ; preds = %470
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %477
477: ; preds = %486, %476
%478 = load i32, ptr %13, align 4
%479 = load i32, ptr %12, align 4
%480 = icmp slt i32 %478, %479
br i1 %480, label %481, label %489
481: ; preds = %477
%482 = load float, ptr %6, align 4
%483 = fpext float %482 to double
%484 = fdiv double %483, 2.000000e+00
%485 = fptrunc double %484 to float
store float %485, ptr %6, align 4
br label %486
486: ; preds = %481
%487 = load i32, ptr %13, align 4
%488 = add nsw i32 %487, 1
store i32 %488, ptr %13, align 4
br label %477, !llvm.loop !31
489: ; preds = %477
store i32 0, ptr %13, align 4
br label %490
490: ; preds = %498, %489
%491 = load i32, ptr %13, align 4
%492 = load i32, ptr %12, align 4
%493 = icmp slt i32 %491, %492
br i1 %493, label %494, label %501
494: ; preds = %490
store float 2.000000e+00, ptr %27, align 4
%495 = load float, ptr %7, align 4
%496 = load float, ptr %27, align 4
%497 = fdiv float %495, %496
store float %497, ptr %7, align 4
br label %498
498: ; preds = %494
%499 = load i32, ptr %13, align 4
%500 = add nsw i32 %499, 1
store i32 %500, ptr %13, align 4
br label %490, !llvm.loop !32
501: ; preds = %490
%502 = load float, ptr %6, align 4
%503 = load float, ptr %7, align 4
%504 = fcmp une float %502, %503
br i1 %504, label %505, label %507
505: ; preds = %501
%506 = call i32 (...) @abort() #2
unreachable
507: ; preds = %501
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %508
508: ; preds = %517, %507
%509 = load i32, ptr %13, align 4
%510 = load i32, ptr %12, align 4
%511 = icmp slt i32 %509, %510
br i1 %511, label %512, label %520
512: ; preds = %508
%513 = load float, ptr %6, align 4
%514 = fpext float %513 to double
%515 = fdiv double 2.000000e+00, %514
%516 = fptrunc double %515 to float
store float %516, ptr %6, align 4
br label %517
517: ; preds = %512
%518 = load i32, ptr %13, align 4
%519 = add nsw i32 %518, 1
store i32 %519, ptr %13, align 4
br label %508, !llvm.loop !33
520: ; preds = %508
store i32 0, ptr %13, align 4
br label %521
521: ; preds = %529, %520
%522 = load i32, ptr %13, align 4
%523 = load i32, ptr %12, align 4
%524 = icmp slt i32 %522, %523
br i1 %524, label %525, label %532
525: ; preds = %521
store float 2.000000e+00, ptr %28, align 4
%526 = load float, ptr %28, align 4
%527 = load float, ptr %7, align 4
%528 = fdiv float %526, %527
store float %528, ptr %7, align 4
br label %529
529: ; preds = %525
%530 = load i32, ptr %13, align 4
%531 = add nsw i32 %530, 1
store i32 %531, ptr %13, align 4
br label %521, !llvm.loop !34
532: ; preds = %521
%533 = load float, ptr %6, align 4
%534 = load float, ptr %7, align 4
%535 = fcmp une float %533, %534
br i1 %535, label %536, label %538
536: ; preds = %532
%537 = call i32 (...) @abort() #2
unreachable
538: ; preds = %532
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
br label %539
539: ; preds = %548, %538
%540 = load i32, ptr %13, align 4
%541 = load i32, ptr %12, align 4
%542 = icmp slt i32 %540, %541
br i1 %542, label %543, label %551
543: ; preds = %539
%544 = load float, ptr %6, align 4
%545 = fpext float %544 to double
%546 = fdiv double 2.000000e+00, %545
%547 = fptrunc double %546 to float
store float %547, ptr %6, align 4
br label %548
548: ; preds = %543
%549 = load i32, ptr %13, align 4
%550 = add nsw i32 %549, 1
store i32 %550, ptr %13, align 4
br label %539, !llvm.loop !35
551: ; preds = %539
store i32 0, ptr %13, align 4
br label %552
552: ; preds = %562, %551
%553 = load i32, ptr %13, align 4
%554 = load i32, ptr %12, align 4
%555 = icmp slt i32 %553, %554
br i1 %555, label %556, label %565
556: ; preds = %552
store float 1.000000e+00, ptr %29, align 4
%557 = load float, ptr %29, align 4
%558 = load float, ptr %29, align 4
%559 = fadd float %557, %558
%560 = load float, ptr %7, align 4
%561 = fdiv float %559, %560
store float %561, ptr %7, align 4
br label %562
562: ; preds = %556
%563 = load i32, ptr %13, align 4
%564 = add nsw i32 %563, 1
store i32 %564, ptr %13, align 4
br label %552, !llvm.loop !36
565: ; preds = %552
%566 = load float, ptr %6, align 4
%567 = load float, ptr %7, align 4
%568 = fcmp une float %566, %567
br i1 %568, label %569, label %571
569: ; preds = %565
%570 = call i32 (...) @abort() #2
unreachable
571: ; preds = %565
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %572
572: ; preds = %583, %571
%573 = load i32, ptr %13, align 4
%574 = load i32, ptr %12, align 4
%575 = icmp slt i32 %573, %574
br i1 %575, label %576, label %586
576: ; preds = %572
%577 = load i32, ptr %13, align 4
%578 = shl i32 1, %577
%579 = xor i32 %578, -1
store i32 %579, ptr %30, align 4
%580 = load i32, ptr %30, align 4
%581 = load i32, ptr %9, align 4
%582 = and i32 %581, %580
store i32 %582, ptr %9, align 4
br label %583
583: ; preds = %576
%584 = load i32, ptr %13, align 4
%585 = add nsw i32 %584, 1
store i32 %585, ptr %13, align 4
br label %572, !llvm.loop !37
586: ; preds = %572
%587 = load i32, ptr %8, align 4
%588 = load i32, ptr %9, align 4
%589 = icmp ne i32 %587, %588
br i1 %589, label %590, label %592
590: ; preds = %586
%591 = call i32 (...) @abort() #2
unreachable
592: ; preds = %586
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %593
593: ; preds = %604, %592
%594 = load i32, ptr %13, align 4
%595 = load i32, ptr %12, align 4
%596 = icmp slt i32 %594, %595
br i1 %596, label %597, label %607
597: ; preds = %593
%598 = load i32, ptr %13, align 4
%599 = shl i32 1, %598
%600 = xor i32 %599, -1
store i32 %600, ptr %31, align 4
%601 = load i32, ptr %9, align 4
%602 = load i32, ptr %31, align 4
%603 = sdiv i32 %601, %602
store i32 %603, ptr %9, align 4
br label %604
604: ; preds = %597
%605 = load i32, ptr %13, align 4
%606 = add nsw i32 %605, 1
store i32 %606, ptr %13, align 4
br label %593, !llvm.loop !38
607: ; preds = %593
%608 = load i32, ptr %8, align 4
%609 = load i32, ptr %9, align 4
%610 = icmp ne i32 %608, %609
br i1 %610, label %611, label %613
611: ; preds = %607
%612 = call i32 (...) @abort() #2
unreachable
613: ; preds = %607
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %614
614: ; preds = %625, %613
%615 = load i32, ptr %13, align 4
%616 = load i32, ptr %12, align 4
%617 = icmp slt i32 %615, %616
br i1 %617, label %618, label %628
618: ; preds = %614
%619 = load i32, ptr %13, align 4
%620 = shl i32 1, %619
%621 = xor i32 %620, -1
store i32 %621, ptr %32, align 4
%622 = load i32, ptr %32, align 4
%623 = load i32, ptr %9, align 4
%624 = and i32 %622, %623
store i32 %624, ptr %9, align 4
br label %625
625: ; preds = %618
%626 = load i32, ptr %13, align 4
%627 = add nsw i32 %626, 1
store i32 %627, ptr %13, align 4
br label %614, !llvm.loop !39
628: ; preds = %614
%629 = load i32, ptr %8, align 4
%630 = load i32, ptr %9, align 4
%631 = icmp ne i32 %629, %630
br i1 %631, label %632, label %634
632: ; preds = %628
%633 = call i32 (...) @abort() #2
unreachable
634: ; preds = %628
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %635
635: ; preds = %648, %634
%636 = load i32, ptr %13, align 4
%637 = load i32, ptr %12, align 4
%638 = icmp slt i32 %636, %637
br i1 %638, label %639, label %651
639: ; preds = %635
%640 = load i32, ptr %13, align 4
%641 = shl i32 1, %640
%642 = xor i32 %641, -1
store i32 %642, ptr %33, align 4
store i32 0, ptr %34, align 4
%643 = load i32, ptr %33, align 4
%644 = load i32, ptr %34, align 4
%645 = add nsw i32 %643, %644
%646 = load i32, ptr %9, align 4
%647 = and i32 %645, %646
store i32 %647, ptr %9, align 4
br label %648
648: ; preds = %639
%649 = load i32, ptr %13, align 4
%650 = add nsw i32 %649, 1
store i32 %650, ptr %13, align 4
br label %635, !llvm.loop !40
651: ; preds = %635
%652 = load i32, ptr %8, align 4
%653 = load i32, ptr %9, align 4
%654 = icmp ne i32 %652, %653
br i1 %654, label %655, label %657
655: ; preds = %651
%656 = call i32 (...) @abort() #2
unreachable
657: ; preds = %651
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %658
658: ; preds = %668, %657
%659 = load i32, ptr %13, align 4
%660 = load i32, ptr %12, align 4
%661 = icmp slt i32 %659, %660
br i1 %661, label %662, label %671
662: ; preds = %658
%663 = load i32, ptr %13, align 4
%664 = shl i32 1, %663
store i32 %664, ptr %35, align 4
%665 = load i32, ptr %35, align 4
%666 = load i32, ptr %9, align 4
%667 = xor i32 %666, %665
store i32 %667, ptr %9, align 4
br label %668
668: ; preds = %662
%669 = load i32, ptr %13, align 4
%670 = add nsw i32 %669, 1
store i32 %670, ptr %13, align 4
br label %658, !llvm.loop !41
671: ; preds = %658
%672 = load i32, ptr %8, align 4
%673 = load i32, ptr %9, align 4
%674 = icmp ne i32 %672, %673
br i1 %674, label %675, label %677
675: ; preds = %671
%676 = call i32 (...) @abort() #2
unreachable
677: ; preds = %671
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %678
678: ; preds = %688, %677
%679 = load i32, ptr %13, align 4
%680 = load i32, ptr %12, align 4
%681 = icmp slt i32 %679, %680
br i1 %681, label %682, label %691
682: ; preds = %678
%683 = load i32, ptr %13, align 4
%684 = shl i32 1, %683
store i32 %684, ptr %36, align 4
%685 = load i32, ptr %9, align 4
%686 = load i32, ptr %36, align 4
%687 = xor i32 %685, %686
store i32 %687, ptr %9, align 4
br label %688
688: ; preds = %682
%689 = load i32, ptr %13, align 4
%690 = add nsw i32 %689, 1
store i32 %690, ptr %13, align 4
br label %678, !llvm.loop !42
691: ; preds = %678
%692 = load i32, ptr %8, align 4
%693 = load i32, ptr %9, align 4
%694 = icmp ne i32 %692, %693
br i1 %694, label %695, label %697
695: ; preds = %691
%696 = call i32 (...) @abort() #2
unreachable
697: ; preds = %691
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %698
698: ; preds = %708, %697
%699 = load i32, ptr %13, align 4
%700 = load i32, ptr %12, align 4
%701 = icmp slt i32 %699, %700
br i1 %701, label %702, label %711
702: ; preds = %698
%703 = load i32, ptr %13, align 4
%704 = shl i32 1, %703
store i32 %704, ptr %37, align 4
%705 = load i32, ptr %37, align 4
%706 = load i32, ptr %9, align 4
%707 = xor i32 %705, %706
store i32 %707, ptr %9, align 4
br label %708
708: ; preds = %702
%709 = load i32, ptr %13, align 4
%710 = add nsw i32 %709, 1
store i32 %710, ptr %13, align 4
br label %698, !llvm.loop !43
711: ; preds = %698
%712 = load i32, ptr %8, align 4
%713 = load i32, ptr %9, align 4
%714 = icmp ne i32 %712, %713
br i1 %714, label %715, label %717
715: ; preds = %711
%716 = call i32 (...) @abort() #2
unreachable
717: ; preds = %711
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %718
718: ; preds = %730, %717
%719 = load i32, ptr %13, align 4
%720 = load i32, ptr %12, align 4
%721 = icmp slt i32 %719, %720
br i1 %721, label %722, label %733
722: ; preds = %718
%723 = load i32, ptr %13, align 4
%724 = shl i32 1, %723
store i32 %724, ptr %38, align 4
store i32 0, ptr %39, align 4
%725 = load i32, ptr %38, align 4
%726 = load i32, ptr %39, align 4
%727 = add nsw i32 %725, %726
%728 = load i32, ptr %9, align 4
%729 = xor i32 %727, %728
store i32 %729, ptr %9, align 4
br label %730
730: ; preds = %722
%731 = load i32, ptr %13, align 4
%732 = add nsw i32 %731, 1
store i32 %732, ptr %13, align 4
br label %718, !llvm.loop !44
733: ; preds = %718
%734 = load i32, ptr %8, align 4
%735 = load i32, ptr %9, align 4
%736 = icmp ne i32 %734, %735
br i1 %736, label %737, label %739
737: ; preds = %733
%738 = call i32 (...) @abort() #2
unreachable
739: ; preds = %733
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %740
740: ; preds = %750, %739
%741 = load i32, ptr %13, align 4
%742 = load i32, ptr %12, align 4
%743 = icmp slt i32 %741, %742
br i1 %743, label %744, label %753
744: ; preds = %740
%745 = load i32, ptr %13, align 4
%746 = shl i32 1, %745
store i32 %746, ptr %40, align 4
%747 = load i32, ptr %40, align 4
%748 = load i32, ptr %9, align 4
%749 = or i32 %748, %747
store i32 %749, ptr %9, align 4
br label %750
750: ; preds = %744
%751 = load i32, ptr %13, align 4
%752 = add nsw i32 %751, 1
store i32 %752, ptr %13, align 4
br label %740, !llvm.loop !45
753: ; preds = %740
%754 = load i32, ptr %8, align 4
%755 = load i32, ptr %9, align 4
%756 = icmp ne i32 %754, %755
br i1 %756, label %757, label %759
757: ; preds = %753
%758 = call i32 (...) @abort() #2
unreachable
759: ; preds = %753
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %760
760: ; preds = %770, %759
%761 = load i32, ptr %13, align 4
%762 = load i32, ptr %12, align 4
%763 = icmp slt i32 %761, %762
br i1 %763, label %764, label %773
764: ; preds = %760
%765 = load i32, ptr %13, align 4
%766 = shl i32 1, %765
store i32 %766, ptr %41, align 4
%767 = load i32, ptr %9, align 4
%768 = load i32, ptr %41, align 4
%769 = or i32 %767, %768
store i32 %769, ptr %9, align 4
br label %770
770: ; preds = %764
%771 = load i32, ptr %13, align 4
%772 = add nsw i32 %771, 1
store i32 %772, ptr %13, align 4
br label %760, !llvm.loop !46
773: ; preds = %760
%774 = load i32, ptr %8, align 4
%775 = load i32, ptr %9, align 4
%776 = icmp ne i32 %774, %775
br i1 %776, label %777, label %779
777: ; preds = %773
%778 = call i32 (...) @abort() #2
unreachable
779: ; preds = %773
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %780
780: ; preds = %790, %779
%781 = load i32, ptr %13, align 4
%782 = load i32, ptr %12, align 4
%783 = icmp slt i32 %781, %782
br i1 %783, label %784, label %793
784: ; preds = %780
%785 = load i32, ptr %13, align 4
%786 = shl i32 1, %785
store i32 %786, ptr %42, align 4
%787 = load i32, ptr %42, align 4
%788 = load i32, ptr %9, align 4
%789 = or i32 %787, %788
store i32 %789, ptr %9, align 4
br label %790
790: ; preds = %784
%791 = load i32, ptr %13, align 4
%792 = add nsw i32 %791, 1
store i32 %792, ptr %13, align 4
br label %780, !llvm.loop !47
793: ; preds = %780
%794 = load i32, ptr %8, align 4
%795 = load i32, ptr %9, align 4
%796 = icmp ne i32 %794, %795
br i1 %796, label %797, label %799
797: ; preds = %793
%798 = call i32 (...) @abort() #2
unreachable
799: ; preds = %793
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
br label %800
800: ; preds = %812, %799
%801 = load i32, ptr %13, align 4
%802 = load i32, ptr %12, align 4
%803 = icmp slt i32 %801, %802
br i1 %803, label %804, label %815
804: ; preds = %800
%805 = load i32, ptr %13, align 4
%806 = shl i32 1, %805
store i32 %806, ptr %43, align 4
store i32 0, ptr %44, align 4
%807 = load i32, ptr %43, align 4
%808 = load i32, ptr %44, align 4
%809 = add nsw i32 %807, %808
%810 = load i32, ptr %9, align 4
%811 = or i32 %809, %810
store i32 %811, ptr %9, align 4
br label %812
812: ; preds = %804
%813 = load i32, ptr %13, align 4
%814 = add nsw i32 %813, 1
store i32 %814, ptr %13, align 4
br label %800, !llvm.loop !48
815: ; preds = %800
%816 = load i32, ptr %8, align 4
%817 = load i32, ptr %9, align 4
%818 = icmp ne i32 %816, %817
br i1 %818, label %819, label %821
819: ; preds = %815
%820 = call i32 (...) @abort() #2
unreachable
821: ; preds = %815
store i64 1, ptr %11, align 8
%822 = load i32, ptr %12, align 4
%823 = zext i32 %822 to i64
%824 = shl i64 1, %823
store i64 %824, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %825
825: ; preds = %833, %821
%826 = load i32, ptr %13, align 4
%827 = load i32, ptr %12, align 4
%828 = icmp slt i32 %826, %827
br i1 %828, label %829, label %836
829: ; preds = %825
store i64 1, ptr %45, align 8
%830 = load i64, ptr %45, align 8
%831 = load i64, ptr %11, align 8
%832 = shl i64 %831, %830
store i64 %832, ptr %11, align 8
br label %833
833: ; preds = %829
%834 = load i32, ptr %13, align 4
%835 = add nsw i32 %834, 1
store i32 %835, ptr %13, align 4
br label %825, !llvm.loop !49
836: ; preds = %825
%837 = load i64, ptr %10, align 8
%838 = load i64, ptr %11, align 8
%839 = icmp ne i64 %837, %838
br i1 %839, label %840, label %842
840: ; preds = %836
%841 = call i32 (...) @abort() #2
unreachable
842: ; preds = %836
store i64 1, ptr %11, align 8
%843 = load i32, ptr %12, align 4
%844 = zext i32 %843 to i64
%845 = shl i64 1, %844
store i64 %845, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %846
846: ; preds = %854, %842
%847 = load i32, ptr %13, align 4
%848 = load i32, ptr %12, align 4
%849 = icmp slt i32 %847, %848
br i1 %849, label %850, label %857
850: ; preds = %846
store i64 1, ptr %46, align 8
%851 = load i64, ptr %11, align 8
%852 = load i64, ptr %46, align 8
%853 = shl i64 %851, %852
store i64 %853, ptr %11, align 8
br label %854
854: ; preds = %850
%855 = load i32, ptr %13, align 4
%856 = add nsw i32 %855, 1
store i32 %856, ptr %13, align 4
br label %846, !llvm.loop !50
857: ; preds = %846
%858 = load i64, ptr %10, align 8
%859 = load i64, ptr %11, align 8
%860 = icmp ne i64 %858, %859
br i1 %860, label %861, label %863
861: ; preds = %857
%862 = call i32 (...) @abort() #2
unreachable
863: ; preds = %857
store i64 1, ptr %11, align 8
store i64 2, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %864
864: ; preds = %871, %863
%865 = load i32, ptr %13, align 4
%866 = icmp slt i32 %865, 1
br i1 %866, label %867, label %874
867: ; preds = %864
store i64 1, ptr %47, align 8
%868 = load i64, ptr %47, align 8
%869 = load i64, ptr %11, align 8
%870 = shl i64 %868, %869
store i64 %870, ptr %11, align 8
br label %871
871: ; preds = %867
%872 = load i32, ptr %13, align 4
%873 = add nsw i32 %872, 1
store i32 %873, ptr %13, align 4
br label %864, !llvm.loop !51
874: ; preds = %864
%875 = load i64, ptr %10, align 8
%876 = load i64, ptr %11, align 8
%877 = icmp ne i64 %875, %876
br i1 %877, label %878, label %880
878: ; preds = %874
%879 = call i32 (...) @abort() #2
unreachable
880: ; preds = %874
store i64 1, ptr %11, align 8
store i64 2, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %881
881: ; preds = %890, %880
%882 = load i32, ptr %13, align 4
%883 = icmp slt i32 %882, 1
br i1 %883, label %884, label %893
884: ; preds = %881
store i64 1, ptr %48, align 8
store i64 0, ptr %49, align 8
%885 = load i64, ptr %48, align 8
%886 = load i64, ptr %49, align 8
%887 = add nsw i64 %885, %886
%888 = load i64, ptr %11, align 8
%889 = shl i64 %887, %888
store i64 %889, ptr %11, align 8
br label %890
890: ; preds = %884
%891 = load i32, ptr %13, align 4
%892 = add nsw i32 %891, 1
store i32 %892, ptr %13, align 4
br label %881, !llvm.loop !52
893: ; preds = %881
%894 = load i64, ptr %10, align 8
%895 = load i64, ptr %11, align 8
%896 = icmp ne i64 %894, %895
br i1 %896, label %897, label %899
897: ; preds = %893
%898 = call i32 (...) @abort() #2
unreachable
899: ; preds = %893
%900 = load i32, ptr %12, align 4
%901 = zext i32 %900 to i64
%902 = shl i64 1, %901
store i64 %902, ptr %11, align 8
store i64 1, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %903
903: ; preds = %911, %899
%904 = load i32, ptr %13, align 4
%905 = load i32, ptr %12, align 4
%906 = icmp slt i32 %904, %905
br i1 %906, label %907, label %914
907: ; preds = %903
store i64 1, ptr %50, align 8
%908 = load i64, ptr %50, align 8
%909 = load i64, ptr %11, align 8
%910 = ashr i64 %909, %908
store i64 %910, ptr %11, align 8
br label %911
911: ; preds = %907
%912 = load i32, ptr %13, align 4
%913 = add nsw i32 %912, 1
store i32 %913, ptr %13, align 4
br label %903, !llvm.loop !53
914: ; preds = %903
%915 = load i64, ptr %10, align 8
%916 = load i64, ptr %11, align 8
%917 = icmp ne i64 %915, %916
br i1 %917, label %918, label %920
918: ; preds = %914
%919 = call i32 (...) @abort() #2
unreachable
920: ; preds = %914
%921 = load i32, ptr %12, align 4
%922 = zext i32 %921 to i64
%923 = shl i64 1, %922
store i64 %923, ptr %11, align 8
store i64 1, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %924
924: ; preds = %932, %920
%925 = load i32, ptr %13, align 4
%926 = load i32, ptr %12, align 4
%927 = icmp slt i32 %925, %926
br i1 %927, label %928, label %935
928: ; preds = %924
store i64 1, ptr %51, align 8
%929 = load i64, ptr %11, align 8
%930 = load i64, ptr %51, align 8
%931 = ashr i64 %929, %930
store i64 %931, ptr %11, align 8
br label %932
932: ; preds = %928
%933 = load i32, ptr %13, align 4
%934 = add nsw i32 %933, 1
store i32 %934, ptr %13, align 4
br label %924, !llvm.loop !54
935: ; preds = %924
%936 = load i64, ptr %10, align 8
%937 = load i64, ptr %11, align 8
%938 = icmp ne i64 %936, %937
br i1 %938, label %939, label %941
939: ; preds = %935
%940 = call i32 (...) @abort() #2
unreachable
941: ; preds = %935
store i64 1, ptr %11, align 8
%942 = load i32, ptr %12, align 4
%943 = sub nsw i32 %942, 1
%944 = zext i32 %943 to i64
%945 = shl i64 1, %944
store i64 %945, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %946
946: ; preds = %956, %941
%947 = load i32, ptr %13, align 4
%948 = icmp slt i32 %947, 1
br i1 %948, label %949, label %959
949: ; preds = %946
%950 = load i32, ptr %12, align 4
%951 = zext i32 %950 to i64
%952 = shl i64 1, %951
store i64 %952, ptr %52, align 8
%953 = load i64, ptr %52, align 8
%954 = load i64, ptr %11, align 8
%955 = ashr i64 %953, %954
store i64 %955, ptr %11, align 8
br label %956
956: ; preds = %949
%957 = load i32, ptr %13, align 4
%958 = add nsw i32 %957, 1
store i32 %958, ptr %13, align 4
br label %946, !llvm.loop !55
959: ; preds = %946
%960 = load i64, ptr %10, align 8
%961 = load i64, ptr %11, align 8
%962 = icmp ne i64 %960, %961
br i1 %962, label %963, label %965
963: ; preds = %959
%964 = call i32 (...) @abort() #2
unreachable
965: ; preds = %959
store i64 1, ptr %11, align 8
%966 = load i32, ptr %12, align 4
%967 = sub nsw i32 %966, 1
%968 = zext i32 %967 to i64
%969 = shl i64 1, %968
store i64 %969, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %970
970: ; preds = %982, %965
%971 = load i32, ptr %13, align 4
%972 = icmp slt i32 %971, 1
br i1 %972, label %973, label %985
973: ; preds = %970
%974 = load i32, ptr %12, align 4
%975 = zext i32 %974 to i64
%976 = shl i64 1, %975
store i64 %976, ptr %53, align 8
store i64 0, ptr %54, align 8
%977 = load i64, ptr %53, align 8
%978 = load i64, ptr %54, align 8
%979 = add nsw i64 %977, %978
%980 = load i64, ptr %11, align 8
%981 = ashr i64 %979, %980
store i64 %981, ptr %11, align 8
br label %982
982: ; preds = %973
%983 = load i32, ptr %13, align 4
%984 = add nsw i32 %983, 1
store i32 %984, ptr %13, align 4
br label %970, !llvm.loop !56
985: ; preds = %970
%986 = load i64, ptr %10, align 8
%987 = load i64, ptr %11, align 8
%988 = icmp ne i64 %986, %987
br i1 %988, label %989, label %991
989: ; preds = %985
%990 = call i32 (...) @abort() #2
unreachable
991: ; preds = %985
ret i32 0
}
; 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyk72t7_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca float, 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 i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i64, align 8
%46 = alloca i64, align 8
%47 = alloca i64, align 8
%48 = alloca i64, align 8
%49 = alloca i64, align 8
%50 = alloca i64, align 8
%51 = alloca i64, align 8
%52 = alloca i64, align 8
%53 = alloca i64, align 8
%54 = 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 32, ptr %12, align 4
store float 1.234000e+03, ptr %7, align 4
store float 1.235000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%55 = load i32, ptr %13, align 4
%56 = icmp slt i32 %55, 1
br i1 %56, label %.lr.ph, label %65
.lr.ph: ; preds = %2
br label %57
57: ; preds = %.lr.ph, %60
%58 = load float, ptr %7, align 4
%59 = fadd float %58, 1.000000e+00
store float %59, ptr %7, align 4
br label %60
60: ; preds = %57
%61 = load i32, ptr %13, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %13, align 4
%63 = load i32, ptr %13, align 4
%64 = icmp slt i32 %63, 1
br i1 %64, label %57, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %65
65: ; preds = %._crit_edge, %2
%66 = load float, ptr %6, align 4
%67 = load float, ptr %7, align 4
%68 = fcmp une float %66, %67
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = call i32 (...) @abort() #2
unreachable
71: ; preds = %65
store float 1.234000e+03, ptr %7, align 4
%72 = load float, ptr %7, align 4
%73 = load i32, ptr %12, align 4
%74 = sitofp i32 %73 to float
%75 = fsub float %72, %74
store float %75, ptr %6, align 4
store i32 0, ptr %13, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %12, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph2, label %88
.lr.ph2: ; preds = %71
br label %79
79: ; preds = %.lr.ph2, %82
%80 = load float, ptr %7, align 4
%81 = fadd float %80, -1.000000e+00
store float %81, ptr %7, align 4
br label %82
82: ; preds = %79
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
%85 = load i32, ptr %13, align 4
%86 = load i32, ptr %12, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %79, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %88
88: ; preds = %._crit_edge3, %71
%89 = load float, ptr %6, align 4
%90 = load float, ptr %7, align 4
%91 = fcmp une float %89, %90
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 (...) @abort() #2
unreachable
94: ; preds = %88
store float 1.234000e+03, ptr %7, align 4
%95 = load float, ptr %7, align 4
%96 = load i32, ptr %12, align 4
%97 = sitofp i32 %96 to float
%98 = fadd float %95, %97
store float %98, ptr %6, align 4
store i32 0, ptr %13, align 4
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %12, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph5, label %111
.lr.ph5: ; preds = %94
br label %102
102: ; preds = %.lr.ph5, %105
%103 = load float, ptr %7, align 4
%104 = fadd float %103, 1.000000e+00
store float %104, ptr %7, align 4
br label %105
105: ; preds = %102
%106 = load i32, ptr %13, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %13, align 4
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %12, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %102, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %111
111: ; preds = %._crit_edge6, %94
%112 = load float, ptr %6, align 4
%113 = load float, ptr %7, align 4
%114 = fcmp une float %112, %113
br i1 %114, label %115, label %117
115: ; preds = %111
%116 = call i32 (...) @abort() #2
unreachable
117: ; preds = %111
store float 1.234000e+03, ptr %7, align 4
%118 = load float, ptr %7, align 4
%119 = load i32, ptr %12, align 4
%120 = sitofp i32 %119 to float
%121 = fsub float %118, %120
store float %121, ptr %6, align 4
store i32 0, ptr %13, align 4
%122 = load i32, ptr %13, align 4
%123 = load i32, ptr %12, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %.lr.ph8, label %134
.lr.ph8: ; preds = %117
br label %125
125: ; preds = %.lr.ph8, %128
%126 = load float, ptr %7, align 4
%127 = fadd float %126, -1.000000e+00
store float %127, ptr %7, align 4
br label %128
128: ; preds = %125
%129 = load i32, ptr %13, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %13, align 4
%131 = load i32, ptr %13, align 4
%132 = load i32, ptr %12, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %125, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %128
br label %134
134: ; preds = %._crit_edge9, %117
%135 = load float, ptr %6, align 4
%136 = load float, ptr %7, align 4
%137 = fcmp une float %135, %136
br i1 %137, label %138, label %140
138: ; preds = %134
%139 = call i32 (...) @abort() #2
unreachable
140: ; preds = %134
store float 1.234000e+03, ptr %7, align 4
%141 = load float, ptr %7, align 4
%142 = load i32, ptr %12, align 4
%143 = sitofp i32 %142 to float
%144 = fadd float %141, %143
store float %144, ptr %6, align 4
store i32 0, ptr %13, align 4
%145 = load i32, ptr %13, align 4
%146 = load i32, ptr %12, align 4
%147 = icmp slt i32 %145, %146
br i1 %147, label %.lr.ph11, label %158
.lr.ph11: ; preds = %140
br label %148
148: ; preds = %.lr.ph11, %152
store float 1.000000e+00, ptr %14, align 4
%149 = load float, ptr %14, align 4
%150 = load float, ptr %7, align 4
%151 = fadd float %150, %149
store float %151, ptr %7, align 4
br label %152
152: ; preds = %148
%153 = load i32, ptr %13, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %13, align 4
%155 = load i32, ptr %13, align 4
%156 = load i32, ptr %12, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %148, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %152
br label %158
158: ; preds = %._crit_edge12, %140
%159 = load float, ptr %6, align 4
%160 = load float, ptr %7, align 4
%161 = fcmp une float %159, %160
br i1 %161, label %162, label %164
162: ; preds = %158
%163 = call i32 (...) @abort() #2
unreachable
164: ; preds = %158
store float 1.234000e+03, ptr %7, align 4
%165 = load float, ptr %7, align 4
%166 = load i32, ptr %12, align 4
%167 = sitofp i32 %166 to float
%168 = fadd float %165, %167
store float %168, ptr %6, align 4
store i32 0, ptr %13, align 4
%169 = load i32, ptr %13, align 4
%170 = load i32, ptr %12, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %.lr.ph14, label %182
.lr.ph14: ; preds = %164
br label %172
172: ; preds = %.lr.ph14, %176
store float 1.000000e+00, ptr %15, align 4
%173 = load float, ptr %7, align 4
%174 = load float, ptr %15, align 4
%175 = fadd float %173, %174
store float %175, ptr %7, align 4
br label %176
176: ; preds = %172
%177 = load i32, ptr %13, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %13, align 4
%179 = load i32, ptr %13, align 4
%180 = load i32, ptr %12, align 4
%181 = icmp slt i32 %179, %180
br i1 %181, label %172, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %176
br label %182
182: ; preds = %._crit_edge15, %164
%183 = load float, ptr %6, align 4
%184 = load float, ptr %7, align 4
%185 = fcmp une float %183, %184
br i1 %185, label %186, label %188
186: ; preds = %182
%187 = call i32 (...) @abort() #2
unreachable
188: ; preds = %182
store float 1.234000e+03, ptr %7, align 4
%189 = load float, ptr %7, align 4
%190 = load i32, ptr %12, align 4
%191 = sitofp i32 %190 to float
%192 = fadd float %189, %191
store float %192, ptr %6, align 4
store i32 0, ptr %13, align 4
%193 = load i32, ptr %13, align 4
%194 = load i32, ptr %12, align 4
%195 = icmp slt i32 %193, %194
br i1 %195, label %.lr.ph17, label %206
.lr.ph17: ; preds = %188
br label %196
196: ; preds = %.lr.ph17, %200
store float 1.000000e+00, ptr %16, align 4
%197 = load float, ptr %16, align 4
%198 = load float, ptr %7, align 4
%199 = fadd float %197, %198
store float %199, ptr %7, align 4
br label %200
200: ; preds = %196
%201 = load i32, ptr %13, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %13, align 4
%203 = load i32, ptr %13, align 4
%204 = load i32, ptr %12, align 4
%205 = icmp slt i32 %203, %204
br i1 %205, label %196, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %200
br label %206
206: ; preds = %._crit_edge18, %188
%207 = load float, ptr %6, align 4
%208 = load float, ptr %7, align 4
%209 = fcmp une float %207, %208
br i1 %209, label %210, label %212
210: ; preds = %206
%211 = call i32 (...) @abort() #2
unreachable
212: ; preds = %206
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
%213 = load i32, ptr %13, align 4
%214 = load i32, ptr %12, align 4
%215 = icmp slt i32 %213, %214
br i1 %215, label %.lr.ph20, label %228
.lr.ph20: ; preds = %212
br label %216
216: ; preds = %.lr.ph20, %222
store float 5.000000e-01, ptr %17, align 4
%217 = load float, ptr %17, align 4
%218 = load float, ptr %17, align 4
%219 = fadd float %217, %218
%220 = load float, ptr %7, align 4
%221 = fadd float %219, %220
store float %221, ptr %7, align 4
br label %222
222: ; preds = %216
%223 = load i32, ptr %13, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %13, align 4
%225 = load i32, ptr %13, align 4
%226 = load i32, ptr %12, align 4
%227 = icmp slt i32 %225, %226
br i1 %227, label %216, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %222
br label %228
228: ; preds = %._crit_edge21, %212
%229 = load float, ptr %6, align 4
%230 = load float, ptr %7, align 4
%231 = fcmp une float %229, %230
br i1 %231, label %232, label %234
232: ; preds = %228
%233 = call i32 (...) @abort() #2
unreachable
234: ; preds = %228
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%235 = load i32, ptr %13, align 4
%236 = load i32, ptr %12, align 4
%237 = icmp slt i32 %235, %236
br i1 %237, label %.lr.ph23, label %249
.lr.ph23: ; preds = %234
br label %238
238: ; preds = %.lr.ph23, %243
%239 = load float, ptr %6, align 4
%240 = fpext float %239 to double
%241 = fmul double %240, 2.000000e+00
%242 = fptrunc double %241 to float
store float %242, ptr %6, align 4
br label %243
243: ; preds = %238
%244 = load i32, ptr %13, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %13, align 4
%246 = load i32, ptr %13, align 4
%247 = load i32, ptr %12, align 4
%248 = icmp slt i32 %246, %247
br i1 %248, label %238, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %243
br label %249
249: ; preds = %._crit_edge24, %234
store i32 0, ptr %13, align 4
%250 = load i32, ptr %13, align 4
%251 = load i32, ptr %12, align 4
%252 = icmp slt i32 %250, %251
br i1 %252, label %.lr.ph26, label %263
.lr.ph26: ; preds = %249
br label %253
253: ; preds = %.lr.ph26, %257
store float 2.000000e+00, ptr %18, align 4
%254 = load float, ptr %18, align 4
%255 = load float, ptr %7, align 4
%256 = fmul float %255, %254
store float %256, ptr %7, align 4
br label %257
257: ; preds = %253
%258 = load i32, ptr %13, align 4
%259 = add nsw i32 %258, 1
store i32 %259, ptr %13, align 4
%260 = load i32, ptr %13, align 4
%261 = load i32, ptr %12, align 4
%262 = icmp slt i32 %260, %261
br i1 %262, label %253, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %257
br label %263
263: ; preds = %._crit_edge27, %249
%264 = load float, ptr %6, align 4
%265 = load float, ptr %7, align 4
%266 = fcmp une float %264, %265
br i1 %266, label %267, label %269
267: ; preds = %263
%268 = call i32 (...) @abort() #2
unreachable
269: ; preds = %263
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%270 = load i32, ptr %13, align 4
%271 = load i32, ptr %12, align 4
%272 = icmp slt i32 %270, %271
br i1 %272, label %.lr.ph29, label %284
.lr.ph29: ; preds = %269
br label %273
273: ; preds = %.lr.ph29, %278
%274 = load float, ptr %6, align 4
%275 = fpext float %274 to double
%276 = fmul double %275, 2.000000e+00
%277 = fptrunc double %276 to float
store float %277, ptr %6, align 4
br label %278
278: ; preds = %273
%279 = load i32, ptr %13, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %13, align 4
%281 = load i32, ptr %13, align 4
%282 = load i32, ptr %12, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %273, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %278
br label %284
284: ; preds = %._crit_edge30, %269
store i32 0, ptr %13, align 4
%285 = load i32, ptr %13, align 4
%286 = load i32, ptr %12, align 4
%287 = icmp slt i32 %285, %286
br i1 %287, label %.lr.ph32, label %298
.lr.ph32: ; preds = %284
br label %288
288: ; preds = %.lr.ph32, %292
store float 2.000000e+00, ptr %19, align 4
%289 = load float, ptr %7, align 4
%290 = load float, ptr %19, align 4
%291 = fmul float %289, %290
store float %291, ptr %7, align 4
br label %292
292: ; preds = %288
%293 = load i32, ptr %13, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %13, align 4
%295 = load i32, ptr %13, align 4
%296 = load i32, ptr %12, align 4
%297 = icmp slt i32 %295, %296
br i1 %297, label %288, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %292
br label %298
298: ; preds = %._crit_edge33, %284
%299 = load float, ptr %6, align 4
%300 = load float, ptr %7, align 4
%301 = fcmp une float %299, %300
br i1 %301, label %302, label %304
302: ; preds = %298
%303 = call i32 (...) @abort() #2
unreachable
304: ; preds = %298
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%305 = load i32, ptr %13, align 4
%306 = load i32, ptr %12, align 4
%307 = icmp slt i32 %305, %306
br i1 %307, label %.lr.ph35, label %319
.lr.ph35: ; preds = %304
br label %308
308: ; preds = %.lr.ph35, %313
%309 = load float, ptr %6, align 4
%310 = fpext float %309 to double
%311 = fmul double 2.000000e+00, %310
%312 = fptrunc double %311 to float
store float %312, ptr %6, align 4
br label %313
313: ; preds = %308
%314 = load i32, ptr %13, align 4
%315 = add nsw i32 %314, 1
store i32 %315, ptr %13, align 4
%316 = load i32, ptr %13, align 4
%317 = load i32, ptr %12, align 4
%318 = icmp slt i32 %316, %317
br i1 %318, label %308, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %313
br label %319
319: ; preds = %._crit_edge36, %304
store i32 0, ptr %13, align 4
%320 = load i32, ptr %13, align 4
%321 = load i32, ptr %12, align 4
%322 = icmp slt i32 %320, %321
br i1 %322, label %.lr.ph38, label %333
.lr.ph38: ; preds = %319
br label %323
323: ; preds = %.lr.ph38, %327
store float 2.000000e+00, ptr %20, align 4
%324 = load float, ptr %20, align 4
%325 = load float, ptr %7, align 4
%326 = fmul float %324, %325
store float %326, ptr %7, align 4
br label %327
327: ; preds = %323
%328 = load i32, ptr %13, align 4
%329 = add nsw i32 %328, 1
store i32 %329, ptr %13, align 4
%330 = load i32, ptr %13, align 4
%331 = load i32, ptr %12, align 4
%332 = icmp slt i32 %330, %331
br i1 %332, label %323, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %327
br label %333
333: ; preds = %._crit_edge39, %319
%334 = load float, ptr %6, align 4
%335 = load float, ptr %7, align 4
%336 = fcmp une float %334, %335
br i1 %336, label %337, label %339
337: ; preds = %333
%338 = call i32 (...) @abort() #2
unreachable
339: ; preds = %333
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
%340 = load i32, ptr %13, align 4
%341 = load i32, ptr %12, align 4
%342 = icmp slt i32 %340, %341
br i1 %342, label %.lr.ph41, label %355
.lr.ph41: ; preds = %339
br label %343
343: ; preds = %.lr.ph41, %349
store float 1.000000e+00, ptr %21, align 4
%344 = load float, ptr %21, align 4
%345 = load float, ptr %21, align 4
%346 = fadd float %344, %345
%347 = load float, ptr %7, align 4
%348 = fmul float %346, %347
store float %348, ptr %7, align 4
br label %349
349: ; preds = %343
%350 = load i32, ptr %13, align 4
%351 = add nsw i32 %350, 1
store i32 %351, ptr %13, align 4
%352 = load i32, ptr %13, align 4
%353 = load i32, ptr %12, align 4
%354 = icmp slt i32 %352, %353
br i1 %354, label %343, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %349
br label %355
355: ; preds = %._crit_edge42, %339
%356 = load float, ptr %6, align 4
%357 = load float, ptr %7, align 4
%358 = fcmp une float %356, %357
br i1 %358, label %359, label %361
359: ; preds = %355
%360 = call i32 (...) @abort() #2
unreachable
361: ; preds = %355
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%362 = load i32, ptr %13, align 4
%363 = load i32, ptr %12, align 4
%364 = icmp slt i32 %362, %363
br i1 %364, label %.lr.ph44, label %376
.lr.ph44: ; preds = %361
br label %365
365: ; preds = %.lr.ph44, %370
%366 = load float, ptr %6, align 4
%367 = fpext float %366 to double
%368 = fsub double %367, 2.000000e+00
%369 = fptrunc double %368 to float
store float %369, ptr %6, align 4
br label %370
370: ; preds = %365
%371 = load i32, ptr %13, align 4
%372 = add nsw i32 %371, 1
store i32 %372, ptr %13, align 4
%373 = load i32, ptr %13, align 4
%374 = load i32, ptr %12, align 4
%375 = icmp slt i32 %373, %374
br i1 %375, label %365, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %370
br label %376
376: ; preds = %._crit_edge45, %361
store i32 0, ptr %13, align 4
%377 = load i32, ptr %13, align 4
%378 = load i32, ptr %12, align 4
%379 = icmp slt i32 %377, %378
br i1 %379, label %.lr.ph47, label %390
.lr.ph47: ; preds = %376
br label %380
380: ; preds = %.lr.ph47, %384
store float 2.000000e+00, ptr %22, align 4
%381 = load float, ptr %22, align 4
%382 = load float, ptr %7, align 4
%383 = fsub float %382, %381
store float %383, ptr %7, align 4
br label %384
384: ; preds = %380
%385 = load i32, ptr %13, align 4
%386 = add nsw i32 %385, 1
store i32 %386, ptr %13, align 4
%387 = load i32, ptr %13, align 4
%388 = load i32, ptr %12, align 4
%389 = icmp slt i32 %387, %388
br i1 %389, label %380, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %384
br label %390
390: ; preds = %._crit_edge48, %376
%391 = load float, ptr %6, align 4
%392 = load float, ptr %7, align 4
%393 = fcmp une float %391, %392
br i1 %393, label %394, label %396
394: ; preds = %390
%395 = call i32 (...) @abort() #2
unreachable
396: ; preds = %390
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%397 = load i32, ptr %13, align 4
%398 = load i32, ptr %12, align 4
%399 = icmp slt i32 %397, %398
br i1 %399, label %.lr.ph50, label %411
.lr.ph50: ; preds = %396
br label %400
400: ; preds = %.lr.ph50, %405
%401 = load float, ptr %6, align 4
%402 = fpext float %401 to double
%403 = fsub double %402, 2.000000e+00
%404 = fptrunc double %403 to float
store float %404, ptr %6, align 4
br label %405
405: ; preds = %400
%406 = load i32, ptr %13, align 4
%407 = add nsw i32 %406, 1
store i32 %407, ptr %13, align 4
%408 = load i32, ptr %13, align 4
%409 = load i32, ptr %12, align 4
%410 = icmp slt i32 %408, %409
br i1 %410, label %400, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %405
br label %411
411: ; preds = %._crit_edge51, %396
store i32 0, ptr %13, align 4
%412 = load i32, ptr %13, align 4
%413 = load i32, ptr %12, align 4
%414 = icmp slt i32 %412, %413
br i1 %414, label %.lr.ph53, label %425
.lr.ph53: ; preds = %411
br label %415
415: ; preds = %.lr.ph53, %419
store float 2.000000e+00, ptr %23, align 4
%416 = load float, ptr %7, align 4
%417 = load float, ptr %23, align 4
%418 = fsub float %416, %417
store float %418, ptr %7, align 4
br label %419
419: ; preds = %415
%420 = load i32, ptr %13, align 4
%421 = add nsw i32 %420, 1
store i32 %421, ptr %13, align 4
%422 = load i32, ptr %13, align 4
%423 = load i32, ptr %12, align 4
%424 = icmp slt i32 %422, %423
br i1 %424, label %415, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %419
br label %425
425: ; preds = %._crit_edge54, %411
%426 = load float, ptr %6, align 4
%427 = load float, ptr %7, align 4
%428 = fcmp une float %426, %427
br i1 %428, label %429, label %431
429: ; preds = %425
%430 = call i32 (...) @abort() #2
unreachable
431: ; preds = %425
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%432 = load i32, ptr %13, align 4
%433 = load i32, ptr %12, align 4
%434 = icmp slt i32 %432, %433
br i1 %434, label %.lr.ph56, label %446
.lr.ph56: ; preds = %431
br label %435
435: ; preds = %.lr.ph56, %440
%436 = load float, ptr %6, align 4
%437 = fpext float %436 to double
%438 = fsub double 2.000000e+00, %437
%439 = fptrunc double %438 to float
store float %439, ptr %6, align 4
br label %440
440: ; preds = %435
%441 = load i32, ptr %13, align 4
%442 = add nsw i32 %441, 1
store i32 %442, ptr %13, align 4
%443 = load i32, ptr %13, align 4
%444 = load i32, ptr %12, align 4
%445 = icmp slt i32 %443, %444
br i1 %445, label %435, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %440
br label %446
446: ; preds = %._crit_edge57, %431
store i32 0, ptr %13, align 4
%447 = load i32, ptr %13, align 4
%448 = load i32, ptr %12, align 4
%449 = icmp slt i32 %447, %448
br i1 %449, label %.lr.ph59, label %460
.lr.ph59: ; preds = %446
br label %450
450: ; preds = %.lr.ph59, %454
store float 2.000000e+00, ptr %24, align 4
%451 = load float, ptr %24, align 4
%452 = load float, ptr %7, align 4
%453 = fsub float %451, %452
store float %453, ptr %7, align 4
br label %454
454: ; preds = %450
%455 = load i32, ptr %13, align 4
%456 = add nsw i32 %455, 1
store i32 %456, ptr %13, align 4
%457 = load i32, ptr %13, align 4
%458 = load i32, ptr %12, align 4
%459 = icmp slt i32 %457, %458
br i1 %459, label %450, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %454
br label %460
460: ; preds = %._crit_edge60, %446
%461 = load float, ptr %6, align 4
%462 = load float, ptr %7, align 4
%463 = fcmp une float %461, %462
br i1 %463, label %464, label %466
464: ; preds = %460
%465 = call i32 (...) @abort() #2
unreachable
466: ; preds = %460
store float 1.234000e+03, ptr %7, align 4
store i32 0, ptr %13, align 4
%467 = load i32, ptr %13, align 4
%468 = load i32, ptr %12, align 4
%469 = icmp slt i32 %467, %468
br i1 %469, label %.lr.ph62, label %482
.lr.ph62: ; preds = %466
br label %470
470: ; preds = %.lr.ph62, %476
store float 1.000000e+00, ptr %25, align 4
%471 = load float, ptr %25, align 4
%472 = load float, ptr %25, align 4
%473 = fadd float %471, %472
%474 = load float, ptr %7, align 4
%475 = fsub float %473, %474
store float %475, ptr %7, align 4
br label %476
476: ; preds = %470
%477 = load i32, ptr %13, align 4
%478 = add nsw i32 %477, 1
store i32 %478, ptr %13, align 4
%479 = load i32, ptr %13, align 4
%480 = load i32, ptr %12, align 4
%481 = icmp slt i32 %479, %480
br i1 %481, label %470, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %476
br label %482
482: ; preds = %._crit_edge63, %466
%483 = load float, ptr %6, align 4
%484 = load float, ptr %7, align 4
%485 = fcmp une float %483, %484
br i1 %485, label %486, label %488
486: ; preds = %482
%487 = call i32 (...) @abort() #2
unreachable
488: ; preds = %482
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%489 = load i32, ptr %13, align 4
%490 = load i32, ptr %12, align 4
%491 = icmp slt i32 %489, %490
br i1 %491, label %.lr.ph65, label %503
.lr.ph65: ; preds = %488
br label %492
492: ; preds = %.lr.ph65, %497
%493 = load float, ptr %6, align 4
%494 = fpext float %493 to double
%495 = fdiv double %494, 2.000000e+00
%496 = fptrunc double %495 to float
store float %496, ptr %6, align 4
br label %497
497: ; preds = %492
%498 = load i32, ptr %13, align 4
%499 = add nsw i32 %498, 1
store i32 %499, ptr %13, align 4
%500 = load i32, ptr %13, align 4
%501 = load i32, ptr %12, align 4
%502 = icmp slt i32 %500, %501
br i1 %502, label %492, label %._crit_edge66, !llvm.loop !29
._crit_edge66: ; preds = %497
br label %503
503: ; preds = %._crit_edge66, %488
store i32 0, ptr %13, align 4
%504 = load i32, ptr %13, align 4
%505 = load i32, ptr %12, align 4
%506 = icmp slt i32 %504, %505
br i1 %506, label %.lr.ph68, label %517
.lr.ph68: ; preds = %503
br label %507
507: ; preds = %.lr.ph68, %511
store float 2.000000e+00, ptr %26, align 4
%508 = load float, ptr %26, align 4
%509 = load float, ptr %7, align 4
%510 = fdiv float %509, %508
store float %510, ptr %7, align 4
br label %511
511: ; preds = %507
%512 = load i32, ptr %13, align 4
%513 = add nsw i32 %512, 1
store i32 %513, ptr %13, align 4
%514 = load i32, ptr %13, align 4
%515 = load i32, ptr %12, align 4
%516 = icmp slt i32 %514, %515
br i1 %516, label %507, label %._crit_edge69, !llvm.loop !30
._crit_edge69: ; preds = %511
br label %517
517: ; preds = %._crit_edge69, %503
%518 = load float, ptr %6, align 4
%519 = load float, ptr %7, align 4
%520 = fcmp une float %518, %519
br i1 %520, label %521, label %523
521: ; preds = %517
%522 = call i32 (...) @abort() #2
unreachable
523: ; preds = %517
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%524 = load i32, ptr %13, align 4
%525 = load i32, ptr %12, align 4
%526 = icmp slt i32 %524, %525
br i1 %526, label %.lr.ph71, label %538
.lr.ph71: ; preds = %523
br label %527
527: ; preds = %.lr.ph71, %532
%528 = load float, ptr %6, align 4
%529 = fpext float %528 to double
%530 = fdiv double %529, 2.000000e+00
%531 = fptrunc double %530 to float
store float %531, ptr %6, align 4
br label %532
532: ; preds = %527
%533 = load i32, ptr %13, align 4
%534 = add nsw i32 %533, 1
store i32 %534, ptr %13, align 4
%535 = load i32, ptr %13, align 4
%536 = load i32, ptr %12, align 4
%537 = icmp slt i32 %535, %536
br i1 %537, label %527, label %._crit_edge72, !llvm.loop !31
._crit_edge72: ; preds = %532
br label %538
538: ; preds = %._crit_edge72, %523
store i32 0, ptr %13, align 4
%539 = load i32, ptr %13, align 4
%540 = load i32, ptr %12, align 4
%541 = icmp slt i32 %539, %540
br i1 %541, label %.lr.ph74, label %552
.lr.ph74: ; preds = %538
br label %542
542: ; preds = %.lr.ph74, %546
store float 2.000000e+00, ptr %27, align 4
%543 = load float, ptr %7, align 4
%544 = load float, ptr %27, align 4
%545 = fdiv float %543, %544
store float %545, ptr %7, align 4
br label %546
546: ; preds = %542
%547 = load i32, ptr %13, align 4
%548 = add nsw i32 %547, 1
store i32 %548, ptr %13, align 4
%549 = load i32, ptr %13, align 4
%550 = load i32, ptr %12, align 4
%551 = icmp slt i32 %549, %550
br i1 %551, label %542, label %._crit_edge75, !llvm.loop !32
._crit_edge75: ; preds = %546
br label %552
552: ; preds = %._crit_edge75, %538
%553 = load float, ptr %6, align 4
%554 = load float, ptr %7, align 4
%555 = fcmp une float %553, %554
br i1 %555, label %556, label %558
556: ; preds = %552
%557 = call i32 (...) @abort() #2
unreachable
558: ; preds = %552
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%559 = load i32, ptr %13, align 4
%560 = load i32, ptr %12, align 4
%561 = icmp slt i32 %559, %560
br i1 %561, label %.lr.ph77, label %573
.lr.ph77: ; preds = %558
br label %562
562: ; preds = %.lr.ph77, %567
%563 = load float, ptr %6, align 4
%564 = fpext float %563 to double
%565 = fdiv double 2.000000e+00, %564
%566 = fptrunc double %565 to float
store float %566, ptr %6, align 4
br label %567
567: ; preds = %562
%568 = load i32, ptr %13, align 4
%569 = add nsw i32 %568, 1
store i32 %569, ptr %13, align 4
%570 = load i32, ptr %13, align 4
%571 = load i32, ptr %12, align 4
%572 = icmp slt i32 %570, %571
br i1 %572, label %562, label %._crit_edge78, !llvm.loop !33
._crit_edge78: ; preds = %567
br label %573
573: ; preds = %._crit_edge78, %558
store i32 0, ptr %13, align 4
%574 = load i32, ptr %13, align 4
%575 = load i32, ptr %12, align 4
%576 = icmp slt i32 %574, %575
br i1 %576, label %.lr.ph80, label %587
.lr.ph80: ; preds = %573
br label %577
577: ; preds = %.lr.ph80, %581
store float 2.000000e+00, ptr %28, align 4
%578 = load float, ptr %28, align 4
%579 = load float, ptr %7, align 4
%580 = fdiv float %578, %579
store float %580, ptr %7, align 4
br label %581
581: ; preds = %577
%582 = load i32, ptr %13, align 4
%583 = add nsw i32 %582, 1
store i32 %583, ptr %13, align 4
%584 = load i32, ptr %13, align 4
%585 = load i32, ptr %12, align 4
%586 = icmp slt i32 %584, %585
br i1 %586, label %577, label %._crit_edge81, !llvm.loop !34
._crit_edge81: ; preds = %581
br label %587
587: ; preds = %._crit_edge81, %573
%588 = load float, ptr %6, align 4
%589 = load float, ptr %7, align 4
%590 = fcmp une float %588, %589
br i1 %590, label %591, label %593
591: ; preds = %587
%592 = call i32 (...) @abort() #2
unreachable
593: ; preds = %587
store float 1.234000e+03, ptr %7, align 4
store float 1.234000e+03, ptr %6, align 4
store i32 0, ptr %13, align 4
%594 = load i32, ptr %13, align 4
%595 = load i32, ptr %12, align 4
%596 = icmp slt i32 %594, %595
br i1 %596, label %.lr.ph83, label %608
.lr.ph83: ; preds = %593
br label %597
597: ; preds = %.lr.ph83, %602
%598 = load float, ptr %6, align 4
%599 = fpext float %598 to double
%600 = fdiv double 2.000000e+00, %599
%601 = fptrunc double %600 to float
store float %601, ptr %6, align 4
br label %602
602: ; preds = %597
%603 = load i32, ptr %13, align 4
%604 = add nsw i32 %603, 1
store i32 %604, ptr %13, align 4
%605 = load i32, ptr %13, align 4
%606 = load i32, ptr %12, align 4
%607 = icmp slt i32 %605, %606
br i1 %607, label %597, label %._crit_edge84, !llvm.loop !35
._crit_edge84: ; preds = %602
br label %608
608: ; preds = %._crit_edge84, %593
store i32 0, ptr %13, align 4
%609 = load i32, ptr %13, align 4
%610 = load i32, ptr %12, align 4
%611 = icmp slt i32 %609, %610
br i1 %611, label %.lr.ph86, label %624
.lr.ph86: ; preds = %608
br label %612
612: ; preds = %.lr.ph86, %618
store float 1.000000e+00, ptr %29, align 4
%613 = load float, ptr %29, align 4
%614 = load float, ptr %29, align 4
%615 = fadd float %613, %614
%616 = load float, ptr %7, align 4
%617 = fdiv float %615, %616
store float %617, ptr %7, align 4
br label %618
618: ; preds = %612
%619 = load i32, ptr %13, align 4
%620 = add nsw i32 %619, 1
store i32 %620, ptr %13, align 4
%621 = load i32, ptr %13, align 4
%622 = load i32, ptr %12, align 4
%623 = icmp slt i32 %621, %622
br i1 %623, label %612, label %._crit_edge87, !llvm.loop !36
._crit_edge87: ; preds = %618
br label %624
624: ; preds = %._crit_edge87, %608
%625 = load float, ptr %6, align 4
%626 = load float, ptr %7, align 4
%627 = fcmp une float %625, %626
br i1 %627, label %628, label %630
628: ; preds = %624
%629 = call i32 (...) @abort() #2
unreachable
630: ; preds = %624
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%631 = load i32, ptr %13, align 4
%632 = load i32, ptr %12, align 4
%633 = icmp slt i32 %631, %632
br i1 %633, label %.lr.ph89, label %647
.lr.ph89: ; preds = %630
br label %634
634: ; preds = %.lr.ph89, %641
%635 = load i32, ptr %13, align 4
%636 = shl i32 1, %635
%637 = xor i32 %636, -1
store i32 %637, ptr %30, align 4
%638 = load i32, ptr %30, align 4
%639 = load i32, ptr %9, align 4
%640 = and i32 %639, %638
store i32 %640, ptr %9, align 4
br label %641
641: ; preds = %634
%642 = load i32, ptr %13, align 4
%643 = add nsw i32 %642, 1
store i32 %643, ptr %13, align 4
%644 = load i32, ptr %13, align 4
%645 = load i32, ptr %12, align 4
%646 = icmp slt i32 %644, %645
br i1 %646, label %634, label %._crit_edge90, !llvm.loop !37
._crit_edge90: ; preds = %641
br label %647
647: ; preds = %._crit_edge90, %630
%648 = load i32, ptr %8, align 4
%649 = load i32, ptr %9, align 4
%650 = icmp ne i32 %648, %649
br i1 %650, label %651, label %653
651: ; preds = %647
%652 = call i32 (...) @abort() #2
unreachable
653: ; preds = %647
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%654 = load i32, ptr %13, align 4
%655 = load i32, ptr %12, align 4
%656 = icmp slt i32 %654, %655
br i1 %656, label %.lr.ph92, label %670
.lr.ph92: ; preds = %653
br label %657
657: ; preds = %.lr.ph92, %664
%658 = load i32, ptr %13, align 4
%659 = shl i32 1, %658
%660 = xor i32 %659, -1
store i32 %660, ptr %31, align 4
%661 = load i32, ptr %9, align 4
%662 = load i32, ptr %31, align 4
%663 = sdiv i32 %661, %662
store i32 %663, ptr %9, align 4
br label %664
664: ; preds = %657
%665 = load i32, ptr %13, align 4
%666 = add nsw i32 %665, 1
store i32 %666, ptr %13, align 4
%667 = load i32, ptr %13, align 4
%668 = load i32, ptr %12, align 4
%669 = icmp slt i32 %667, %668
br i1 %669, label %657, label %._crit_edge93, !llvm.loop !38
._crit_edge93: ; preds = %664
br label %670
670: ; preds = %._crit_edge93, %653
%671 = load i32, ptr %8, align 4
%672 = load i32, ptr %9, align 4
%673 = icmp ne i32 %671, %672
br i1 %673, label %674, label %676
674: ; preds = %670
%675 = call i32 (...) @abort() #2
unreachable
676: ; preds = %670
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%677 = load i32, ptr %13, align 4
%678 = load i32, ptr %12, align 4
%679 = icmp slt i32 %677, %678
br i1 %679, label %.lr.ph95, label %693
.lr.ph95: ; preds = %676
br label %680
680: ; preds = %.lr.ph95, %687
%681 = load i32, ptr %13, align 4
%682 = shl i32 1, %681
%683 = xor i32 %682, -1
store i32 %683, ptr %32, align 4
%684 = load i32, ptr %32, align 4
%685 = load i32, ptr %9, align 4
%686 = and i32 %684, %685
store i32 %686, ptr %9, align 4
br label %687
687: ; preds = %680
%688 = load i32, ptr %13, align 4
%689 = add nsw i32 %688, 1
store i32 %689, ptr %13, align 4
%690 = load i32, ptr %13, align 4
%691 = load i32, ptr %12, align 4
%692 = icmp slt i32 %690, %691
br i1 %692, label %680, label %._crit_edge96, !llvm.loop !39
._crit_edge96: ; preds = %687
br label %693
693: ; preds = %._crit_edge96, %676
%694 = load i32, ptr %8, align 4
%695 = load i32, ptr %9, align 4
%696 = icmp ne i32 %694, %695
br i1 %696, label %697, label %699
697: ; preds = %693
%698 = call i32 (...) @abort() #2
unreachable
699: ; preds = %693
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%700 = load i32, ptr %13, align 4
%701 = load i32, ptr %12, align 4
%702 = icmp slt i32 %700, %701
br i1 %702, label %.lr.ph98, label %718
.lr.ph98: ; preds = %699
br label %703
703: ; preds = %.lr.ph98, %712
%704 = load i32, ptr %13, align 4
%705 = shl i32 1, %704
%706 = xor i32 %705, -1
store i32 %706, ptr %33, align 4
store i32 0, ptr %34, align 4
%707 = load i32, ptr %33, align 4
%708 = load i32, ptr %34, align 4
%709 = add nsw i32 %707, %708
%710 = load i32, ptr %9, align 4
%711 = and i32 %709, %710
store i32 %711, ptr %9, align 4
br label %712
712: ; preds = %703
%713 = load i32, ptr %13, align 4
%714 = add nsw i32 %713, 1
store i32 %714, ptr %13, align 4
%715 = load i32, ptr %13, align 4
%716 = load i32, ptr %12, align 4
%717 = icmp slt i32 %715, %716
br i1 %717, label %703, label %._crit_edge99, !llvm.loop !40
._crit_edge99: ; preds = %712
br label %718
718: ; preds = %._crit_edge99, %699
%719 = load i32, ptr %8, align 4
%720 = load i32, ptr %9, align 4
%721 = icmp ne i32 %719, %720
br i1 %721, label %722, label %724
722: ; preds = %718
%723 = call i32 (...) @abort() #2
unreachable
724: ; preds = %718
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%725 = load i32, ptr %13, align 4
%726 = load i32, ptr %12, align 4
%727 = icmp slt i32 %725, %726
br i1 %727, label %.lr.ph101, label %740
.lr.ph101: ; preds = %724
br label %728
728: ; preds = %.lr.ph101, %734
%729 = load i32, ptr %13, align 4
%730 = shl i32 1, %729
store i32 %730, ptr %35, align 4
%731 = load i32, ptr %35, align 4
%732 = load i32, ptr %9, align 4
%733 = xor i32 %732, %731
store i32 %733, ptr %9, align 4
br label %734
734: ; preds = %728
%735 = load i32, ptr %13, align 4
%736 = add nsw i32 %735, 1
store i32 %736, ptr %13, align 4
%737 = load i32, ptr %13, align 4
%738 = load i32, ptr %12, align 4
%739 = icmp slt i32 %737, %738
br i1 %739, label %728, label %._crit_edge102, !llvm.loop !41
._crit_edge102: ; preds = %734
br label %740
740: ; preds = %._crit_edge102, %724
%741 = load i32, ptr %8, align 4
%742 = load i32, ptr %9, align 4
%743 = icmp ne i32 %741, %742
br i1 %743, label %744, label %746
744: ; preds = %740
%745 = call i32 (...) @abort() #2
unreachable
746: ; preds = %740
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%747 = load i32, ptr %13, align 4
%748 = load i32, ptr %12, align 4
%749 = icmp slt i32 %747, %748
br i1 %749, label %.lr.ph104, label %762
.lr.ph104: ; preds = %746
br label %750
750: ; preds = %.lr.ph104, %756
%751 = load i32, ptr %13, align 4
%752 = shl i32 1, %751
store i32 %752, ptr %36, align 4
%753 = load i32, ptr %9, align 4
%754 = load i32, ptr %36, align 4
%755 = xor i32 %753, %754
store i32 %755, ptr %9, align 4
br label %756
756: ; preds = %750
%757 = load i32, ptr %13, align 4
%758 = add nsw i32 %757, 1
store i32 %758, ptr %13, align 4
%759 = load i32, ptr %13, align 4
%760 = load i32, ptr %12, align 4
%761 = icmp slt i32 %759, %760
br i1 %761, label %750, label %._crit_edge105, !llvm.loop !42
._crit_edge105: ; preds = %756
br label %762
762: ; preds = %._crit_edge105, %746
%763 = load i32, ptr %8, align 4
%764 = load i32, ptr %9, align 4
%765 = icmp ne i32 %763, %764
br i1 %765, label %766, label %768
766: ; preds = %762
%767 = call i32 (...) @abort() #2
unreachable
768: ; preds = %762
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%769 = load i32, ptr %13, align 4
%770 = load i32, ptr %12, align 4
%771 = icmp slt i32 %769, %770
br i1 %771, label %.lr.ph107, label %784
.lr.ph107: ; preds = %768
br label %772
772: ; preds = %.lr.ph107, %778
%773 = load i32, ptr %13, align 4
%774 = shl i32 1, %773
store i32 %774, ptr %37, align 4
%775 = load i32, ptr %37, align 4
%776 = load i32, ptr %9, align 4
%777 = xor i32 %775, %776
store i32 %777, ptr %9, align 4
br label %778
778: ; preds = %772
%779 = load i32, ptr %13, align 4
%780 = add nsw i32 %779, 1
store i32 %780, ptr %13, align 4
%781 = load i32, ptr %13, align 4
%782 = load i32, ptr %12, align 4
%783 = icmp slt i32 %781, %782
br i1 %783, label %772, label %._crit_edge108, !llvm.loop !43
._crit_edge108: ; preds = %778
br label %784
784: ; preds = %._crit_edge108, %768
%785 = load i32, ptr %8, align 4
%786 = load i32, ptr %9, align 4
%787 = icmp ne i32 %785, %786
br i1 %787, label %788, label %790
788: ; preds = %784
%789 = call i32 (...) @abort() #2
unreachable
790: ; preds = %784
store i32 -1, ptr %9, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %13, align 4
%791 = load i32, ptr %13, align 4
%792 = load i32, ptr %12, align 4
%793 = icmp slt i32 %791, %792
br i1 %793, label %.lr.ph110, label %808
.lr.ph110: ; preds = %790
br label %794
794: ; preds = %.lr.ph110, %802
%795 = load i32, ptr %13, align 4
%796 = shl i32 1, %795
store i32 %796, ptr %38, align 4
store i32 0, ptr %39, align 4
%797 = load i32, ptr %38, align 4
%798 = load i32, ptr %39, align 4
%799 = add nsw i32 %797, %798
%800 = load i32, ptr %9, align 4
%801 = xor i32 %799, %800
store i32 %801, ptr %9, align 4
br label %802
802: ; preds = %794
%803 = load i32, ptr %13, align 4
%804 = add nsw i32 %803, 1
store i32 %804, ptr %13, align 4
%805 = load i32, ptr %13, align 4
%806 = load i32, ptr %12, align 4
%807 = icmp slt i32 %805, %806
br i1 %807, label %794, label %._crit_edge111, !llvm.loop !44
._crit_edge111: ; preds = %802
br label %808
808: ; preds = %._crit_edge111, %790
%809 = load i32, ptr %8, align 4
%810 = load i32, ptr %9, align 4
%811 = icmp ne i32 %809, %810
br i1 %811, label %812, label %814
812: ; preds = %808
%813 = call i32 (...) @abort() #2
unreachable
814: ; preds = %808
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
%815 = load i32, ptr %13, align 4
%816 = load i32, ptr %12, align 4
%817 = icmp slt i32 %815, %816
br i1 %817, label %.lr.ph113, label %830
.lr.ph113: ; preds = %814
br label %818
818: ; preds = %.lr.ph113, %824
%819 = load i32, ptr %13, align 4
%820 = shl i32 1, %819
store i32 %820, ptr %40, align 4
%821 = load i32, ptr %40, align 4
%822 = load i32, ptr %9, align 4
%823 = or i32 %822, %821
store i32 %823, ptr %9, align 4
br label %824
824: ; preds = %818
%825 = load i32, ptr %13, align 4
%826 = add nsw i32 %825, 1
store i32 %826, ptr %13, align 4
%827 = load i32, ptr %13, align 4
%828 = load i32, ptr %12, align 4
%829 = icmp slt i32 %827, %828
br i1 %829, label %818, label %._crit_edge114, !llvm.loop !45
._crit_edge114: ; preds = %824
br label %830
830: ; preds = %._crit_edge114, %814
%831 = load i32, ptr %8, align 4
%832 = load i32, ptr %9, align 4
%833 = icmp ne i32 %831, %832
br i1 %833, label %834, label %836
834: ; preds = %830
%835 = call i32 (...) @abort() #2
unreachable
836: ; preds = %830
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
%837 = load i32, ptr %13, align 4
%838 = load i32, ptr %12, align 4
%839 = icmp slt i32 %837, %838
br i1 %839, label %.lr.ph116, label %852
.lr.ph116: ; preds = %836
br label %840
840: ; preds = %.lr.ph116, %846
%841 = load i32, ptr %13, align 4
%842 = shl i32 1, %841
store i32 %842, ptr %41, align 4
%843 = load i32, ptr %9, align 4
%844 = load i32, ptr %41, align 4
%845 = or i32 %843, %844
store i32 %845, ptr %9, align 4
br label %846
846: ; preds = %840
%847 = load i32, ptr %13, align 4
%848 = add nsw i32 %847, 1
store i32 %848, ptr %13, align 4
%849 = load i32, ptr %13, align 4
%850 = load i32, ptr %12, align 4
%851 = icmp slt i32 %849, %850
br i1 %851, label %840, label %._crit_edge117, !llvm.loop !46
._crit_edge117: ; preds = %846
br label %852
852: ; preds = %._crit_edge117, %836
%853 = load i32, ptr %8, align 4
%854 = load i32, ptr %9, align 4
%855 = icmp ne i32 %853, %854
br i1 %855, label %856, label %858
856: ; preds = %852
%857 = call i32 (...) @abort() #2
unreachable
858: ; preds = %852
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
%859 = load i32, ptr %13, align 4
%860 = load i32, ptr %12, align 4
%861 = icmp slt i32 %859, %860
br i1 %861, label %.lr.ph119, label %874
.lr.ph119: ; preds = %858
br label %862
862: ; preds = %.lr.ph119, %868
%863 = load i32, ptr %13, align 4
%864 = shl i32 1, %863
store i32 %864, ptr %42, align 4
%865 = load i32, ptr %42, align 4
%866 = load i32, ptr %9, align 4
%867 = or i32 %865, %866
store i32 %867, ptr %9, align 4
br label %868
868: ; preds = %862
%869 = load i32, ptr %13, align 4
%870 = add nsw i32 %869, 1
store i32 %870, ptr %13, align 4
%871 = load i32, ptr %13, align 4
%872 = load i32, ptr %12, align 4
%873 = icmp slt i32 %871, %872
br i1 %873, label %862, label %._crit_edge120, !llvm.loop !47
._crit_edge120: ; preds = %868
br label %874
874: ; preds = %._crit_edge120, %858
%875 = load i32, ptr %8, align 4
%876 = load i32, ptr %9, align 4
%877 = icmp ne i32 %875, %876
br i1 %877, label %878, label %880
878: ; preds = %874
%879 = call i32 (...) @abort() #2
unreachable
880: ; preds = %874
store i32 0, ptr %9, align 4
store i32 -1, ptr %8, align 4
store i32 0, ptr %13, align 4
%881 = load i32, ptr %13, align 4
%882 = load i32, ptr %12, align 4
%883 = icmp slt i32 %881, %882
br i1 %883, label %.lr.ph122, label %898
.lr.ph122: ; preds = %880
br label %884
884: ; preds = %.lr.ph122, %892
%885 = load i32, ptr %13, align 4
%886 = shl i32 1, %885
store i32 %886, ptr %43, align 4
store i32 0, ptr %44, align 4
%887 = load i32, ptr %43, align 4
%888 = load i32, ptr %44, align 4
%889 = add nsw i32 %887, %888
%890 = load i32, ptr %9, align 4
%891 = or i32 %889, %890
store i32 %891, ptr %9, align 4
br label %892
892: ; preds = %884
%893 = load i32, ptr %13, align 4
%894 = add nsw i32 %893, 1
store i32 %894, ptr %13, align 4
%895 = load i32, ptr %13, align 4
%896 = load i32, ptr %12, align 4
%897 = icmp slt i32 %895, %896
br i1 %897, label %884, label %._crit_edge123, !llvm.loop !48
._crit_edge123: ; preds = %892
br label %898
898: ; preds = %._crit_edge123, %880
%899 = load i32, ptr %8, align 4
%900 = load i32, ptr %9, align 4
%901 = icmp ne i32 %899, %900
br i1 %901, label %902, label %904
902: ; preds = %898
%903 = call i32 (...) @abort() #2
unreachable
904: ; preds = %898
store i64 1, ptr %11, align 8
%905 = load i32, ptr %12, align 4
%906 = zext i32 %905 to i64
%907 = shl i64 1, %906
store i64 %907, ptr %10, align 8
store i32 0, ptr %13, align 4
%908 = load i32, ptr %13, align 4
%909 = load i32, ptr %12, align 4
%910 = icmp slt i32 %908, %909
br i1 %910, label %.lr.ph125, label %921
.lr.ph125: ; preds = %904
br label %911
911: ; preds = %.lr.ph125, %915
store i64 1, ptr %45, align 8
%912 = load i64, ptr %45, align 8
%913 = load i64, ptr %11, align 8
%914 = shl i64 %913, %912
store i64 %914, ptr %11, align 8
br label %915
915: ; preds = %911
%916 = load i32, ptr %13, align 4
%917 = add nsw i32 %916, 1
store i32 %917, ptr %13, align 4
%918 = load i32, ptr %13, align 4
%919 = load i32, ptr %12, align 4
%920 = icmp slt i32 %918, %919
br i1 %920, label %911, label %._crit_edge126, !llvm.loop !49
._crit_edge126: ; preds = %915
br label %921
921: ; preds = %._crit_edge126, %904
%922 = load i64, ptr %10, align 8
%923 = load i64, ptr %11, align 8
%924 = icmp ne i64 %922, %923
br i1 %924, label %925, label %927
925: ; preds = %921
%926 = call i32 (...) @abort() #2
unreachable
927: ; preds = %921
store i64 1, ptr %11, align 8
%928 = load i32, ptr %12, align 4
%929 = zext i32 %928 to i64
%930 = shl i64 1, %929
store i64 %930, ptr %10, align 8
store i32 0, ptr %13, align 4
%931 = load i32, ptr %13, align 4
%932 = load i32, ptr %12, align 4
%933 = icmp slt i32 %931, %932
br i1 %933, label %.lr.ph128, label %944
.lr.ph128: ; preds = %927
br label %934
934: ; preds = %.lr.ph128, %938
store i64 1, ptr %46, align 8
%935 = load i64, ptr %11, align 8
%936 = load i64, ptr %46, align 8
%937 = shl i64 %935, %936
store i64 %937, ptr %11, align 8
br label %938
938: ; preds = %934
%939 = load i32, ptr %13, align 4
%940 = add nsw i32 %939, 1
store i32 %940, ptr %13, align 4
%941 = load i32, ptr %13, align 4
%942 = load i32, ptr %12, align 4
%943 = icmp slt i32 %941, %942
br i1 %943, label %934, label %._crit_edge129, !llvm.loop !50
._crit_edge129: ; preds = %938
br label %944
944: ; preds = %._crit_edge129, %927
%945 = load i64, ptr %10, align 8
%946 = load i64, ptr %11, align 8
%947 = icmp ne i64 %945, %946
br i1 %947, label %948, label %950
948: ; preds = %944
%949 = call i32 (...) @abort() #2
unreachable
950: ; preds = %944
store i64 1, ptr %11, align 8
store i64 2, ptr %10, align 8
store i32 0, ptr %13, align 4
%951 = load i32, ptr %13, align 4
%952 = icmp slt i32 %951, 1
br i1 %952, label %.lr.ph131, label %962
.lr.ph131: ; preds = %950
br label %953
953: ; preds = %.lr.ph131, %957
store i64 1, ptr %47, align 8
%954 = load i64, ptr %47, align 8
%955 = load i64, ptr %11, align 8
%956 = shl i64 %954, %955
store i64 %956, ptr %11, align 8
br label %957
957: ; preds = %953
%958 = load i32, ptr %13, align 4
%959 = add nsw i32 %958, 1
store i32 %959, ptr %13, align 4
%960 = load i32, ptr %13, align 4
%961 = icmp slt i32 %960, 1
br i1 %961, label %953, label %._crit_edge132, !llvm.loop !51
._crit_edge132: ; preds = %957
br label %962
962: ; preds = %._crit_edge132, %950
%963 = load i64, ptr %10, align 8
%964 = load i64, ptr %11, align 8
%965 = icmp ne i64 %963, %964
br i1 %965, label %966, label %968
966: ; preds = %962
%967 = call i32 (...) @abort() #2
unreachable
968: ; preds = %962
store i64 1, ptr %11, align 8
store i64 2, ptr %10, align 8
store i32 0, ptr %13, align 4
%969 = load i32, ptr %13, align 4
%970 = icmp slt i32 %969, 1
br i1 %970, label %.lr.ph134, label %982
.lr.ph134: ; preds = %968
br label %971
971: ; preds = %.lr.ph134, %977
store i64 1, ptr %48, align 8
store i64 0, ptr %49, align 8
%972 = load i64, ptr %48, align 8
%973 = load i64, ptr %49, align 8
%974 = add nsw i64 %972, %973
%975 = load i64, ptr %11, align 8
%976 = shl i64 %974, %975
store i64 %976, ptr %11, align 8
br label %977
977: ; preds = %971
%978 = load i32, ptr %13, align 4
%979 = add nsw i32 %978, 1
store i32 %979, ptr %13, align 4
%980 = load i32, ptr %13, align 4
%981 = icmp slt i32 %980, 1
br i1 %981, label %971, label %._crit_edge135, !llvm.loop !52
._crit_edge135: ; preds = %977
br label %982
982: ; preds = %._crit_edge135, %968
%983 = load i64, ptr %10, align 8
%984 = load i64, ptr %11, align 8
%985 = icmp ne i64 %983, %984
br i1 %985, label %986, label %988
986: ; preds = %982
%987 = call i32 (...) @abort() #2
unreachable
988: ; preds = %982
%989 = load i32, ptr %12, align 4
%990 = zext i32 %989 to i64
%991 = shl i64 1, %990
store i64 %991, ptr %11, align 8
store i64 1, ptr %10, align 8
store i32 0, ptr %13, align 4
%992 = load i32, ptr %13, align 4
%993 = load i32, ptr %12, align 4
%994 = icmp slt i32 %992, %993
br i1 %994, label %.lr.ph137, label %1005
.lr.ph137: ; preds = %988
br label %995
995: ; preds = %.lr.ph137, %999
store i64 1, ptr %50, align 8
%996 = load i64, ptr %50, align 8
%997 = load i64, ptr %11, align 8
%998 = ashr i64 %997, %996
store i64 %998, ptr %11, align 8
br label %999
999: ; preds = %995
%1000 = load i32, ptr %13, align 4
%1001 = add nsw i32 %1000, 1
store i32 %1001, ptr %13, align 4
%1002 = load i32, ptr %13, align 4
%1003 = load i32, ptr %12, align 4
%1004 = icmp slt i32 %1002, %1003
br i1 %1004, label %995, label %._crit_edge138, !llvm.loop !53
._crit_edge138: ; preds = %999
br label %1005
1005: ; preds = %._crit_edge138, %988
%1006 = load i64, ptr %10, align 8
%1007 = load i64, ptr %11, align 8
%1008 = icmp ne i64 %1006, %1007
br i1 %1008, label %1009, label %1011
1009: ; preds = %1005
%1010 = call i32 (...) @abort() #2
unreachable
1011: ; preds = %1005
%1012 = load i32, ptr %12, align 4
%1013 = zext i32 %1012 to i64
%1014 = shl i64 1, %1013
store i64 %1014, ptr %11, align 8
store i64 1, ptr %10, align 8
store i32 0, ptr %13, align 4
%1015 = load i32, ptr %13, align 4
%1016 = load i32, ptr %12, align 4
%1017 = icmp slt i32 %1015, %1016
br i1 %1017, label %.lr.ph140, label %1028
.lr.ph140: ; preds = %1011
br label %1018
1018: ; preds = %.lr.ph140, %1022
store i64 1, ptr %51, align 8
%1019 = load i64, ptr %11, align 8
%1020 = load i64, ptr %51, align 8
%1021 = ashr i64 %1019, %1020
store i64 %1021, ptr %11, align 8
br label %1022
1022: ; preds = %1018
%1023 = load i32, ptr %13, align 4
%1024 = add nsw i32 %1023, 1
store i32 %1024, ptr %13, align 4
%1025 = load i32, ptr %13, align 4
%1026 = load i32, ptr %12, align 4
%1027 = icmp slt i32 %1025, %1026
br i1 %1027, label %1018, label %._crit_edge141, !llvm.loop !54
._crit_edge141: ; preds = %1022
br label %1028
1028: ; preds = %._crit_edge141, %1011
%1029 = load i64, ptr %10, align 8
%1030 = load i64, ptr %11, align 8
%1031 = icmp ne i64 %1029, %1030
br i1 %1031, label %1032, label %1034
1032: ; preds = %1028
%1033 = call i32 (...) @abort() #2
unreachable
1034: ; preds = %1028
store i64 1, ptr %11, align 8
%1035 = load i32, ptr %12, align 4
%1036 = sub nsw i32 %1035, 1
%1037 = zext i32 %1036 to i64
%1038 = shl i64 1, %1037
store i64 %1038, ptr %10, align 8
store i32 0, ptr %13, align 4
%1039 = load i32, ptr %13, align 4
%1040 = icmp slt i32 %1039, 1
br i1 %1040, label %.lr.ph143, label %1053
.lr.ph143: ; preds = %1034
br label %1041
1041: ; preds = %.lr.ph143, %1048
%1042 = load i32, ptr %12, align 4
%1043 = zext i32 %1042 to i64
%1044 = shl i64 1, %1043
store i64 %1044, ptr %52, align 8
%1045 = load i64, ptr %52, align 8
%1046 = load i64, ptr %11, align 8
%1047 = ashr i64 %1045, %1046
store i64 %1047, ptr %11, align 8
br label %1048
1048: ; preds = %1041
%1049 = load i32, ptr %13, align 4
%1050 = add nsw i32 %1049, 1
store i32 %1050, ptr %13, align 4
%1051 = load i32, ptr %13, align 4
%1052 = icmp slt i32 %1051, 1
br i1 %1052, label %1041, label %._crit_edge144, !llvm.loop !55
._crit_edge144: ; preds = %1048
br label %1053
1053: ; preds = %._crit_edge144, %1034
%1054 = load i64, ptr %10, align 8
%1055 = load i64, ptr %11, align 8
%1056 = icmp ne i64 %1054, %1055
br i1 %1056, label %1057, label %1059
1057: ; preds = %1053
%1058 = call i32 (...) @abort() #2
unreachable
1059: ; preds = %1053
store i64 1, ptr %11, align 8
%1060 = load i32, ptr %12, align 4
%1061 = sub nsw i32 %1060, 1
%1062 = zext i32 %1061 to i64
%1063 = shl i64 1, %1062
store i64 %1063, ptr %10, align 8
store i32 0, ptr %13, align 4
%1064 = load i32, ptr %13, align 4
%1065 = icmp slt i32 %1064, 1
br i1 %1065, label %.lr.ph146, label %1080
.lr.ph146: ; preds = %1059
br label %1066
1066: ; preds = %.lr.ph146, %1075
%1067 = load i32, ptr %12, align 4
%1068 = zext i32 %1067 to i64
%1069 = shl i64 1, %1068
store i64 %1069, ptr %53, align 8
store i64 0, ptr %54, align 8
%1070 = load i64, ptr %53, align 8
%1071 = load i64, ptr %54, align 8
%1072 = add nsw i64 %1070, %1071
%1073 = load i64, ptr %11, align 8
%1074 = ashr i64 %1072, %1073
store i64 %1074, ptr %11, align 8
br label %1075
1075: ; preds = %1066
%1076 = load i32, ptr %13, align 4
%1077 = add nsw i32 %1076, 1
store i32 %1077, ptr %13, align 4
%1078 = load i32, ptr %13, align 4
%1079 = icmp slt i32 %1078, 1
br i1 %1079, label %1066, label %._crit_edge147, !llvm.loop !56
._crit_edge147: ; preds = %1075
br label %1080
1080: ; preds = %._crit_edge147, %1059
%1081 = load i64, ptr %10, align 8
%1082 = load i64, ptr %11, align 8
%1083 = icmp ne i64 %1081, %1082
br i1 %1083, label %1084, label %1086
1084: ; preds = %1080
%1085 = call i32 (...) @abort() #2
unreachable
1086: ; preds = %1080
ret i32 0
}
; 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
!43 = distinct !{!43, !7}
!44 = distinct !{!44, !7}
!45 = distinct !{!45, !7}
!46 = distinct !{!46, !7}
!47 = distinct !{!47, !7}
!48 = distinct !{!48, !7}
!49 = distinct !{!49, !7}
!50 = distinct !{!50, !7}
!51 = distinct !{!51, !7}
!52 = distinct !{!52, !7}
!53 = distinct !{!53, !7}
!54 = distinct !{!54, !7}
!55 = distinct !{!55, !7}
!56 = distinct !{!56, !7}
|
; ModuleID = '/tmp/tmpj6sz0rqu.c'
source_filename = "/tmp/tmpj6sz0rqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fish_decrypt_from_nick(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @keystore_get_key(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %22
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call ptr @fish_decrypt(ptr noundef %14, i32 noundef %16, ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %7, align 8
store ptr %21, ptr %3, align 8
br label %22
22: ; preds = %13, %12
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @keystore_get_key(ptr noundef) #1
declare ptr @fish_decrypt(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(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/tmpj6sz0rqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fish_decrypt_from_nick(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @keystore_get_key(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %22
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = call ptr @fish_decrypt(ptr noundef %14, i32 noundef %16, ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %7, align 8
store ptr %21, ptr %3, align 8
br label %22
22: ; preds = %13, %12
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @keystore_get_key(ptr noundef) #1
declare ptr @fish_decrypt(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(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/tmp4rzslo2w.c'
source_filename = "/tmp/tmp4rzslo2w.c"
target datalayout = "e-m:e-p270: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"ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_with_error(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4rzslo2w.c"
target datalayout = "e-m:e-p270: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"ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_with_error(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr %4, align 4
%9 = call i32 @exit(i32 noundef %8) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo7z2azxj.c'
source_filename = "/tmp/tmpo7z2azxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\81\C2\BD\C2\B8\C3\B6\C3\95\C3\BB\C3\8A\C3\BD\C2\A3\C2\BA\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%i %i\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%i\C3\84\C3\9C\C3\95\C3\BB\C2\B3\C3\BD%i\C2\A1\C2\A3\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"%i\C2\B2\C2\BB\C3\84\C3\9C\C3\95\C3\BB\C2\B3\C3\BD%i\C2\A1\C2\A3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = srem i32 %6, %7
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
br label %18
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %14, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7z2azxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C3\81\C2\BD\C2\B8\C3\B6\C3\95\C3\BB\C3\8A\C3\BD\C2\A3\C2\BA\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%i %i\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%i\C3\84\C3\9C\C3\95\C3\BB\C2\B3\C3\BD%i\C2\A1\C2\A3\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"%i\C2\B2\C2\BB\C3\84\C3\9C\C3\95\C3\BB\C2\B3\C3\BD%i\C2\A1\C2\A3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = srem i32 %6, %7
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %12)
br label %18
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %14, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuhonlupy.c'
source_filename = "/tmp/tmpuhonlupy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_life_ok(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @pthread_mutex_init(ptr noundef %4, i32 noundef 0)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %24
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @pthread_mutex_lock(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %24
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @pthread_mutex_unlock(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %24
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @pthread_mutex_destroy(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 0, ptr %2, align 4
br label %24
23: ; preds = %18
store i32 1, ptr %2, align 4
br label %24
24: ; preds = %23, %22, %17, %12, %7
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @pthread_mutex_init(ptr noundef, i32 noundef) #1
declare i64 @pthread_mutex_lock(ptr noundef) #1
declare i64 @pthread_mutex_unlock(ptr noundef) #1
declare i64 @pthread_mutex_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuhonlupy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normal_life_ok(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @pthread_mutex_init(ptr noundef %4, i32 noundef 0)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %24
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @pthread_mutex_lock(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %24
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i64 @pthread_mutex_unlock(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %24
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = call i64 @pthread_mutex_destroy(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store i32 0, ptr %2, align 4
br label %24
23: ; preds = %18
store i32 1, ptr %2, align 4
br label %24
24: ; preds = %23, %22, %17, %12, %7
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @pthread_mutex_init(ptr noundef, i32 noundef) #1
declare i64 @pthread_mutex_lock(ptr noundef) #1
declare i64 @pthread_mutex_unlock(ptr noundef) #1
declare i64 @pthread_mutex_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51pcbg3_.c'
source_filename = "/tmp/tmp51pcbg3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AEnter an integer > \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0AThat's all, have a nice day!\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 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %2, align 4
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %30, %0
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 10
br i1 %11, label %12, label %33
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 10
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 -1, %19
%21 = srem i32 %20, 10
store i32 %21, ptr %5, align 4
br label %25
22: ; preds = %15, %12
%23 = load i32, ptr %3, align 4
%24 = srem i32 %23, 10
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %22, %18
%26 = load i32, ptr %3, align 4
%27 = sdiv i32 %26, 10
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %5, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %25
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %9, !llvm.loop !6
33: ; preds = %9
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51pcbg3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AEnter an integer > \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"\0AThat's all, have a nice day!\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 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %2, align 4
store i32 1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %9, 10
br i1 %10, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %29
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = mul nsw i32 -1, %18
%20 = srem i32 %19, 10
store i32 %20, ptr %5, align 4
br label %24
21: ; preds = %14, %11
%22 = load i32, ptr %3, align 4
%23 = srem i32 %22, 10
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %21, %17
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 10
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %24
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp sle i32 %32, 10
br i1 %33, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpis76iewx.c'
source_filename = "/tmp/tmpis76iewx.c"
target datalayout = "e-m:e-p270: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, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@AF_LOCAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Bitte Kommando eingeben: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"put\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"An error has occured\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"get\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32768 x i8], align 16
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [20 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [32767 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca [20 x ptr], align 16
%17 = alloca i32, align 4
store i32 0, ptr %1, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 9000)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @AF_LOCAL, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%27 = call i32 @inet_pton(i32 noundef %25, ptr noundef @.str, ptr noundef %26)
%28 = load i32, ptr %2, align 4
%29 = call i32 @connect(i32 noundef %28, ptr noundef %4, i32 noundef 12)
br label %30
30: ; preds = %0, %196
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%32 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @bzero(ptr noundef %32, i32 noundef 32768)
%34 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%35 = load i32, ptr @stdin, align 4
%36 = call i32 @fgets(ptr noundef %34, i32 noundef 32767, i32 noundef %35)
%37 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%38 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %37)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %30
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef %44)
br label %197
46: ; preds = %30
%47 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%48 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %47, i32 noundef 3)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %113
50: ; preds = %46
%51 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%52 = call i32 @strlen(ptr noundef %51)
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 %54
store i8 32, ptr %55, align 1
%56 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%57 = call i32 @strlen(ptr noundef %56)
%58 = add nsw i32 %57, 1
%59 = zext i32 %58 to i64
%60 = call ptr @llvm.stacksave()
store ptr %60, ptr %6, align 8
%61 = alloca i8, i64 %59, align 16
store i64 %59, ptr %7, align 8
%62 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%63 = call i32 @strcpy(ptr noundef %61, ptr noundef %62)
store i32 0, ptr %5, align 4
%64 = call ptr @strtok(ptr noundef %61, ptr noundef @.str.4)
store ptr %64, ptr %8, align 8
br label %65
65: ; preds = %68, %50
%66 = load ptr, ptr %8, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %76
68: ; preds = %65
%69 = load ptr, ptr %8, align 8
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 %71
store ptr %69, ptr %72, align 8
%73 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4)
store ptr %73, ptr %8, align 8
%74 = load i32, ptr %5, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %5, align 4
br label %65, !llvm.loop !6
76: ; preds = %65
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 %78
store ptr null, ptr %79, align 8
%80 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 1
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr @O_RDONLY, align 4
%83 = call i32 (ptr, i32, ...) @open(ptr noundef %81, i32 noundef %82)
store i32 %83, ptr %10, align 4
%84 = load i32, ptr %10, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %90, label %86
86: ; preds = %76
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%88 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%89 = call i32 @bzero(ptr noundef %88, i32 noundef 32768)
br label %111
90: ; preds = %76
%91 = load i32, ptr %10, align 4
%92 = getelementptr inbounds [32767 x i8], ptr %11, i64 0, i64 0
%93 = call i32 @read(i32 noundef %91, ptr noundef %92, i32 noundef 32767)
%94 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%95 = getelementptr inbounds [32767 x i8], ptr %11, i64 0, i64 0
%96 = call i32 @strncat(ptr noundef %94, ptr noundef %95, i32 noundef 2000)
%97 = load i32, ptr %2, align 4
%98 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%99 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%100 = call i32 @strlen(ptr noundef %99)
%101 = call i32 @write(i32 noundef %97, ptr noundef %98, i32 noundef %100)
%102 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%103 = call i32 @bzero(ptr noundef %102, i32 noundef 32768)
%104 = load i32, ptr %2, align 4
%105 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%106 = call i32 @read(i32 noundef %104, ptr noundef %105, i32 noundef 32767)
%107 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %107)
%109 = load i32, ptr %10, align 4
%110 = call i32 @close(i32 noundef %109)
br label %111
111: ; preds = %90, %86
%112 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %112)
br label %113
113: ; preds = %111, %46
%114 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%115 = call i64 @strncmp(ptr noundef @.str.7, ptr noundef %114, i32 noundef 3)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %183
117: ; preds = %113
%118 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%119 = call i32 @strlen(ptr noundef %118)
%120 = add nsw i32 %119, 1
%121 = zext i32 %120 to i64
%122 = call ptr @llvm.stacksave()
store ptr %122, ptr %13, align 8
%123 = alloca i8, i64 %121, align 16
store i64 %121, ptr %14, align 8
%124 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%125 = call i32 @strcpy(ptr noundef %123, ptr noundef %124)
store i32 0, ptr %12, align 4
%126 = call ptr @strtok(ptr noundef %123, ptr noundef @.str.4)
store ptr %126, ptr %15, align 8
br label %127
127: ; preds = %130, %117
%128 = load ptr, ptr %15, align 8
%129 = icmp ne ptr %128, null
br i1 %129, label %130, label %138
130: ; preds = %127
%131 = load ptr, ptr %15, align 8
%132 = load i32, ptr %12, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 %133
store ptr %131, ptr %134, align 8
%135 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4)
store ptr %135, ptr %15, align 8
%136 = load i32, ptr %12, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %12, align 4
br label %127, !llvm.loop !8
138: ; preds = %127
%139 = load i32, ptr %12, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 %140
store ptr null, ptr %141, align 8
%142 = load i32, ptr %2, align 4
%143 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%144 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%145 = call i32 @strlen(ptr noundef %144)
%146 = call i32 @write(i32 noundef %142, ptr noundef %143, i32 noundef %145)
%147 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%148 = call i32 @bzero(ptr noundef %147, i32 noundef 32768)
%149 = load i32, ptr %2, align 4
%150 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%151 = call i32 @read(i32 noundef %149, ptr noundef %150, i32 noundef 32767)
%152 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%153 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %152, i32 noundef 2)
%154 = icmp ne i64 %153, 0
br i1 %154, label %157, label %155
155: ; preds = %138
%156 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %181
157: ; preds = %138
%158 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%159 = load ptr, ptr %158, align 8
%160 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%161 = load ptr, ptr %160, align 8
%162 = call i32 @strlen(ptr noundef %161)
%163 = sub nsw i32 %162, 1
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %159, i64 %164
store i8 0, ptr %165, align 1
%166 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%167 = load ptr, ptr %166, align 8
%168 = load i32, ptr @O_WRONLY, align 4
%169 = load i32, ptr @O_CREAT, align 4
%170 = or i32 %168, %169
%171 = load i32, ptr @O_APPEND, align 4
%172 = or i32 %170, %171
%173 = call i32 (ptr, i32, ...) @open(ptr noundef %167, i32 noundef %172, i32 noundef 420)
store i32 %173, ptr %17, align 4
%174 = load i32, ptr %17, align 4
%175 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%176 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%177 = call i32 @strlen(ptr noundef %176)
%178 = call i32 @write(i32 noundef %174, ptr noundef %175, i32 noundef %177)
%179 = load i32, ptr %17, align 4
%180 = call i32 @close(i32 noundef %179)
br label %181
181: ; preds = %157, %155
%182 = load ptr, ptr %13, align 8
call void @llvm.stackrestore(ptr %182)
br label %196
183: ; preds = %113
%184 = load i32, ptr %2, align 4
%185 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%186 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%187 = call i32 @strlen(ptr noundef %186)
%188 = call i32 @write(i32 noundef %184, ptr noundef %185, i32 noundef %187)
%189 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%190 = call i32 @bzero(ptr noundef %189, i32 noundef 32768)
%191 = load i32, ptr %2, align 4
%192 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%193 = call i32 @read(i32 noundef %191, ptr noundef %192, i32 noundef 32767)
%194 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %194)
br label %196
196: ; preds = %183, %181
br label %30
197: ; preds = %40
%198 = load i32, ptr %2, align 4
%199 = call i32 @close(i32 noundef %198)
%200 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %200
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpis76iewx.c"
target datalayout = "e-m:e-p270: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, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@AF_LOCAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Bitte Kommando eingeben: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"exit\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"put\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"An error has occured\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"get\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32768 x i8], align 16
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca [20 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca [32767 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca [20 x ptr], align 16
%17 = alloca i32, align 4
store i32 0, ptr %1, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 9000)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @AF_LOCAL, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%27 = call i32 @inet_pton(i32 noundef %25, ptr noundef @.str, ptr noundef %26)
%28 = load i32, ptr %2, align 4
%29 = call i32 @connect(i32 noundef %28, ptr noundef %4, i32 noundef 12)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%31 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%32 = call i32 @bzero(ptr noundef %31, i32 noundef 32768)
%33 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%34 = load i32, ptr @stdin, align 4
%35 = call i32 @fgets(ptr noundef %33, i32 noundef 32767, i32 noundef %34)
%36 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%37 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %36)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %.lr.ph5
.lr.ph5: ; preds = %0
br label %45
._crit_edge6: ; preds = %197
br label %39
39: ; preds = %._crit_edge6, %0
%40 = load i32, ptr %2, align 4
%41 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%42 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%43 = call i32 @strlen(ptr noundef %42)
%44 = call i32 @write(i32 noundef %40, ptr noundef %41, i32 noundef %43)
br label %204
45: ; preds = %.lr.ph5, %197
%46 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%47 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %46, i32 noundef 3)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %113
49: ; preds = %45
%50 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = sub nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 %53
store i8 32, ptr %54, align 1
%55 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%56 = call i32 @strlen(ptr noundef %55)
%57 = add nsw i32 %56, 1
%58 = zext i32 %57 to i64
%59 = call ptr @llvm.stacksave()
store ptr %59, ptr %6, align 8
%60 = alloca i8, i64 %58, align 16
store i64 %58, ptr %7, align 8
%61 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61)
store i32 0, ptr %5, align 4
%63 = call ptr @strtok(ptr noundef %60, ptr noundef @.str.4)
store ptr %63, ptr %8, align 8
%64 = load ptr, ptr %8, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %.lr.ph, label %76
.lr.ph: ; preds = %49
br label %66
66: ; preds = %.lr.ph, %66
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 %69
store ptr %67, ptr %70, align 8
%71 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4)
store ptr %71, ptr %8, align 8
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load ptr, ptr %8, align 8
%75 = icmp ne ptr %74, null
br i1 %75, label %66, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %76
76: ; preds = %._crit_edge, %49
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 %78
store ptr null, ptr %79, align 8
%80 = getelementptr inbounds [20 x ptr], ptr %9, i64 0, i64 1
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr @O_RDONLY, align 4
%83 = call i32 (ptr, i32, ...) @open(ptr noundef %81, i32 noundef %82)
store i32 %83, ptr %10, align 4
%84 = load i32, ptr %10, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %90, label %86
86: ; preds = %76
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%88 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%89 = call i32 @bzero(ptr noundef %88, i32 noundef 32768)
br label %111
90: ; preds = %76
%91 = load i32, ptr %10, align 4
%92 = getelementptr inbounds [32767 x i8], ptr %11, i64 0, i64 0
%93 = call i32 @read(i32 noundef %91, ptr noundef %92, i32 noundef 32767)
%94 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%95 = getelementptr inbounds [32767 x i8], ptr %11, i64 0, i64 0
%96 = call i32 @strncat(ptr noundef %94, ptr noundef %95, i32 noundef 2000)
%97 = load i32, ptr %2, align 4
%98 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%99 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%100 = call i32 @strlen(ptr noundef %99)
%101 = call i32 @write(i32 noundef %97, ptr noundef %98, i32 noundef %100)
%102 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%103 = call i32 @bzero(ptr noundef %102, i32 noundef 32768)
%104 = load i32, ptr %2, align 4
%105 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%106 = call i32 @read(i32 noundef %104, ptr noundef %105, i32 noundef 32767)
%107 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %107)
%109 = load i32, ptr %10, align 4
%110 = call i32 @close(i32 noundef %109)
br label %111
111: ; preds = %90, %86
%112 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %112)
br label %113
113: ; preds = %111, %45
%114 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%115 = call i64 @strncmp(ptr noundef @.str.7, ptr noundef %114, i32 noundef 3)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %184
117: ; preds = %113
%118 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%119 = call i32 @strlen(ptr noundef %118)
%120 = add nsw i32 %119, 1
%121 = zext i32 %120 to i64
%122 = call ptr @llvm.stacksave()
store ptr %122, ptr %13, align 8
%123 = alloca i8, i64 %121, align 16
store i64 %121, ptr %14, align 8
%124 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%125 = call i32 @strcpy(ptr noundef %123, ptr noundef %124)
store i32 0, ptr %12, align 4
%126 = call ptr @strtok(ptr noundef %123, ptr noundef @.str.4)
store ptr %126, ptr %15, align 8
%127 = load ptr, ptr %15, align 8
%128 = icmp ne ptr %127, null
br i1 %128, label %.lr.ph2, label %139
.lr.ph2: ; preds = %117
br label %129
129: ; preds = %.lr.ph2, %129
%130 = load ptr, ptr %15, align 8
%131 = load i32, ptr %12, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 %132
store ptr %130, ptr %133, align 8
%134 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4)
store ptr %134, ptr %15, align 8
%135 = load i32, ptr %12, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %12, align 4
%137 = load ptr, ptr %15, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %129, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %129
br label %139
139: ; preds = %._crit_edge3, %117
%140 = load i32, ptr %12, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 %141
store ptr null, ptr %142, align 8
%143 = load i32, ptr %2, align 4
%144 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%145 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%146 = call i32 @strlen(ptr noundef %145)
%147 = call i32 @write(i32 noundef %143, ptr noundef %144, i32 noundef %146)
%148 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%149 = call i32 @bzero(ptr noundef %148, i32 noundef 32768)
%150 = load i32, ptr %2, align 4
%151 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%152 = call i32 @read(i32 noundef %150, ptr noundef %151, i32 noundef 32767)
%153 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%154 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %153, i32 noundef 2)
%155 = icmp ne i64 %154, 0
br i1 %155, label %158, label %156
156: ; preds = %139
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %182
158: ; preds = %139
%159 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%160 = load ptr, ptr %159, align 8
%161 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%162 = load ptr, ptr %161, align 8
%163 = call i32 @strlen(ptr noundef %162)
%164 = sub nsw i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, ptr %160, i64 %165
store i8 0, ptr %166, align 1
%167 = getelementptr inbounds [20 x ptr], ptr %16, i64 0, i64 1
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr @O_WRONLY, align 4
%170 = load i32, ptr @O_CREAT, align 4
%171 = or i32 %169, %170
%172 = load i32, ptr @O_APPEND, align 4
%173 = or i32 %171, %172
%174 = call i32 (ptr, i32, ...) @open(ptr noundef %168, i32 noundef %173, i32 noundef 420)
store i32 %174, ptr %17, align 4
%175 = load i32, ptr %17, align 4
%176 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%177 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%178 = call i32 @strlen(ptr noundef %177)
%179 = call i32 @write(i32 noundef %175, ptr noundef %176, i32 noundef %178)
%180 = load i32, ptr %17, align 4
%181 = call i32 @close(i32 noundef %180)
br label %182
182: ; preds = %158, %156
%183 = load ptr, ptr %13, align 8
call void @llvm.stackrestore(ptr %183)
br label %197
184: ; preds = %113
%185 = load i32, ptr %2, align 4
%186 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%187 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%188 = call i32 @strlen(ptr noundef %187)
%189 = call i32 @write(i32 noundef %185, ptr noundef %186, i32 noundef %188)
%190 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%191 = call i32 @bzero(ptr noundef %190, i32 noundef 32768)
%192 = load i32, ptr %2, align 4
%193 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%194 = call i32 @read(i32 noundef %192, ptr noundef %193, i32 noundef 32767)
%195 = getelementptr inbounds [32768 x i8], ptr %3, i64 0, i64 0
%196 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %195)
br label %197
197: ; preds = %184, %182
%198 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%199 = call i32 @bzero(ptr noundef %31, i32 noundef 32768)
%200 = load i32, ptr @stdin, align 4
%201 = call i32 @fgets(ptr noundef %33, i32 noundef 32767, i32 noundef %200)
%202 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %36)
%203 = icmp eq i64 %202, 0
br i1 %203, label %._crit_edge6, label %45
204: ; preds = %39
%205 = load i32, ptr %2, align 4
%206 = call i32 @close(i32 noundef %205)
%207 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %207
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzhpl8h4r.c'
source_filename = "/tmp/tmpzhpl8h4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter root password: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Login failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str.3, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca [2 x ptr], align 16
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @ureadline(ptr noundef %1, i32 noundef 31, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @login(i32 noundef 0, ptr noundef %6)
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = call i32 @exit(i32 noundef 1) #4
unreachable
12: ; preds = %0
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.args, i64 16, i1 false)
%13 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%14 = load ptr, ptr %13, align 16
%15 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%16 = call i32 @execv(ptr noundef %14, ptr noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @ureadline(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @login(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @execv(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzhpl8h4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter root password: \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Login failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str.3, ptr null], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [32 x i8], align 16
%2 = alloca [2 x ptr], align 16
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @ureadline(ptr noundef %1, i32 noundef 31, i32 noundef 0)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = getelementptr inbounds [32 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @login(i32 noundef 0, ptr noundef %6)
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = call i32 @exit(i32 noundef 1) #4
unreachable
12: ; preds = %0
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.args, i64 16, i1 false)
%13 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%14 = load ptr, ptr %13, align 16
%15 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%16 = call i32 @execv(ptr noundef %14, ptr noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @ureadline(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @login(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @execv(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmk47g7xj.c'
source_filename = "/tmp/tmpmk47g7xj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = call i64 @calloc(i32 noundef %14, i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = sext i32 %22 to i64
%25 = sub i64 0, %24
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %9, align 4
br label %28
28: ; preds = %61, %21
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %64
32: ; preds = %28
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %33, %34
%36 = add nsw i32 %35, 1
%37 = call i64 @calloc(i32 noundef %36, i32 noundef 4)
%38 = inttoptr i64 %37 to ptr
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
store ptr %38, ptr %42, align 8
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %51, label %49
49: ; preds = %32
%50 = call i32 @printf(ptr noundef @.str.1)
br label %51
51: ; preds = %49, %32
%52 = load i32, ptr %7, align 4
%53 = load ptr, ptr %10, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = sext i32 %52 to i64
%59 = sub i64 0, %58
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store ptr %60, ptr %56, align 8
br label %61
61: ; preds = %51
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %28, !llvm.loop !6
64: ; preds = %28
%65 = load ptr, ptr %10, align 8
ret ptr %65
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmk47g7xj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = call i64 @calloc(i32 noundef %14, i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = sext i32 %22 to i64
%25 = sub i64 0, %24
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph, label %66
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %60
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
%35 = add nsw i32 %34, 1
%36 = call i64 @calloc(i32 noundef %35, i32 noundef 4)
%37 = inttoptr i64 %36 to ptr
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
store ptr %37, ptr %41, align 8
%42 = load ptr, ptr %10, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %50, label %48
48: ; preds = %31
%49 = call i32 @printf(ptr noundef @.str.1)
br label %50
50: ; preds = %48, %31
%51 = load i32, ptr %7, align 4
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = sext i32 %51 to i64
%58 = sub i64 0, %57
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store ptr %59, ptr %55, align 8
br label %60
60: ; preds = %50
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %21
%67 = load ptr, ptr %10, align 8
ret ptr %67
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2u_yqnst.c'
source_filename = "/tmp/tmp2u_yqnst.c"
target datalayout = "e-m:e-p270: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/tmp2u_yqnst.c"
target datalayout = "e-m:e-p270: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/tmpb8_je4l5.c'
source_filename = "/tmp/tmpb8_je4l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @par_caller1() #0 {
%1 = call i32 (...) @caller1()
ret void
}
declare i32 @caller1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8_je4l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @par_caller1() #0 {
%1 = call i32 (...) @caller1()
ret void
}
declare i32 @caller1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7w8f6hp.c'
source_filename = "/tmp/tmpu7w8f6hp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f488(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 @f487(ptr noundef %3)
ret i32 %4
}
declare i32 @f487(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7w8f6hp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f488(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 @f487(ptr noundef %3)
ret i32 %4
}
declare i32 @f487(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjuuwg653.c'
source_filename = "/tmp/tmpjuuwg653.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"execvp\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Terminated by signal %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @execute_External(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @fork()
store i32 %5, ptr %3, align 4
switch i32 %5, label %16 [
i32 -1, label %6
i32 0, label %8
]
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str)
br label %17
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @execvp(ptr noundef %11, ptr noundef %12)
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %1
br label %17
17: ; preds = %16, %6
%18 = load i32, ptr %3, align 4
%19 = call i32 @waitpid(i32 noundef %18, ptr noundef %4, i32 noundef 0)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.2)
br label %32
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = call i64 @WIFSIGNALED(i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load i32, ptr %4, align 4
%29 = call i32 @WTERMSIG(i32 noundef %28)
%30 = call i32 @printf(ptr noundef @.str.3, i32 noundef %29)
br label %31
31: ; preds = %27, %23
br label %32
32: ; preds = %31, %21
ret void
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @WIFSIGNALED(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @WTERMSIG(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjuuwg653.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"execvp\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Terminated by signal %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @execute_External(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @fork()
store i32 %5, ptr %3, align 4
switch i32 %5, label %16 [
i32 -1, label %6
i32 0, label %8
]
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str)
br label %17
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @execvp(ptr noundef %11, ptr noundef %12)
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %1
br label %17
17: ; preds = %16, %6
%18 = load i32, ptr %3, align 4
%19 = call i32 @waitpid(i32 noundef %18, ptr noundef %4, i32 noundef 0)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.2)
br label %32
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = call i64 @WIFSIGNALED(i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load i32, ptr %4, align 4
%29 = call i32 @WTERMSIG(i32 noundef %28)
%30 = call i32 @printf(ptr noundef @.str.3, i32 noundef %29)
br label %31
31: ; preds = %27, %23
br label %32
32: ; preds = %31, %21
ret void
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @WIFSIGNALED(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @WTERMSIG(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpocfks86v.c'
source_filename = "/tmp/tmpocfks86v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 24)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i64, ptr %4, i64 1
store i64 9, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpocfks86v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 24)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i64, ptr %4, i64 1
store i64 9, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppymp4p2x.c'
source_filename = "/tmp/tmppymp4p2x.c"
target datalayout = "e-m:e-p270: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/tmppymp4p2x.c"
target datalayout = "e-m:e-p270: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/tmp6yhsq533.c'
source_filename = "/tmp/tmp6yhsq533.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cil_keeperController() #0 {
%1 = call i32 (...) @__startrek_entry_pt_Controller()
ret void
}
declare i32 @__startrek_entry_pt_Controller(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6yhsq533.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cil_keeperController() #0 {
%1 = call i32 (...) @__startrek_entry_pt_Controller()
ret void
}
declare i32 @__startrek_entry_pt_Controller(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp93fohgxb.c'
source_filename = "/tmp/tmp93fohgxb.c"
target datalayout = "e-m:e-p270: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/tmp93fohgxb.c"
target datalayout = "e-m:e-p270: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/tmpudbxcaxf.c'
source_filename = "/tmp/tmpudbxcaxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Degree Of Freedom should be a positive real integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tpdf(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0x400921FB54442D18, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #4
unreachable
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = sitofp i32 %16 to double
%18 = fadd double %17, 1.000000e+00
%19 = fdiv double %18, 2.000000e+00
%20 = call double @gamma_log(double noundef %19)
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double %22, 2.000000e+00
%24 = call double @gamma_log(double noundef %23)
%25 = fsub double %20, %24
store double %25, ptr %6, align 8
%26 = load double, ptr %6, align 8
%27 = call double @exp(double noundef %26) #5
store double %27, ptr %7, align 8
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fmul double %28, %29
%31 = load i32, ptr %4, align 4
%32 = sitofp i32 %31 to double
%33 = fmul double %32, 1.000000e+00
%34 = fdiv double %30, %33
%35 = fadd double 1.000000e+00, %34
%36 = load i32, ptr %4, align 4
%37 = sitofp i32 %36 to double
%38 = fadd double %37, 1.000000e+00
%39 = fneg double %38
%40 = fdiv double %39, 2.000000e+00
%41 = fptosi double %40 to i32
%42 = call double @pow(double noundef %35, i32 noundef %41)
store double %42, ptr %8, align 8
%43 = load double, ptr %7, align 8
%44 = load double, ptr %8, align 8
%45 = fmul double %43, %44
store double %45, ptr %5, align 8
%46 = load double, ptr %5, align 8
%47 = load double, ptr %9, align 8
%48 = load i32, ptr %4, align 4
%49 = sitofp i32 %48 to double
%50 = fmul double %47, %49
%51 = call double @sqrt(double noundef %50) #5
%52 = fdiv double %46, %51
store double %52, ptr %5, align 8
%53 = load double, ptr %5, align 8
ret double %53
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @gamma_log(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #3
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudbxcaxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Degree Of Freedom should be a positive real integer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tpdf(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 0x400921FB54442D18, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #4
unreachable
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = sitofp i32 %16 to double
%18 = fadd double %17, 1.000000e+00
%19 = fdiv double %18, 2.000000e+00
%20 = call double @gamma_log(double noundef %19)
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double %22, 2.000000e+00
%24 = call double @gamma_log(double noundef %23)
%25 = fsub double %20, %24
store double %25, ptr %6, align 8
%26 = load double, ptr %6, align 8
%27 = call double @exp(double noundef %26) #5
store double %27, ptr %7, align 8
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fmul double %28, %29
%31 = load i32, ptr %4, align 4
%32 = sitofp i32 %31 to double
%33 = fmul double %32, 1.000000e+00
%34 = fdiv double %30, %33
%35 = fadd double 1.000000e+00, %34
%36 = load i32, ptr %4, align 4
%37 = sitofp i32 %36 to double
%38 = fadd double %37, 1.000000e+00
%39 = fneg double %38
%40 = fdiv double %39, 2.000000e+00
%41 = fptosi double %40 to i32
%42 = call double @pow(double noundef %35, i32 noundef %41)
store double %42, ptr %8, align 8
%43 = load double, ptr %7, align 8
%44 = load double, ptr %8, align 8
%45 = fmul double %43, %44
store double %45, ptr %5, align 8
%46 = load double, ptr %5, align 8
%47 = load double, ptr %9, align 8
%48 = load i32, ptr %4, align 4
%49 = sitofp i32 %48 to double
%50 = fmul double %47, %49
%51 = call double @sqrt(double noundef %50) #5
%52 = fdiv double %46, %51
store double %52, ptr %5, align 8
%53 = load double, ptr %5, align 8
ret double %53
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @gamma_log(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #3
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzbtb0jk4.c'
source_filename = "/tmp/tmpzbtb0jk4.c"
target datalayout = "e-m:e-p270: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/tmpzbtb0jk4.c"
target datalayout = "e-m:e-p270: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/tmp0pi0c7gv.c'
source_filename = "/tmp/tmp0pi0c7gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %10, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %28, %0
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = call i32 @scanf(ptr noundef @.str, ptr noundef %26)
br label %28
28: ; preds = %22
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
br label %18, !llvm.loop !6
31: ; preds = %18
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 1
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = sub nsw i32 %34, %37
store i32 %38, ptr %6, align 4
store i32 %38, ptr %4, align 4
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 2
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds i32, ptr %42, i64 1
%44 = load i32, ptr %43, align 4
%45 = sub nsw i32 %41, %44
store i32 %45, ptr %7, align 4
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %46, %47
store i32 %48, ptr %3, align 4
store i32 2, ptr %10, align 4
br label %49
49: ; preds = %103, %31
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %2, align 4
%52 = sub nsw i32 %51, 1
%53 = icmp slt i32 %50, %52
br i1 %53, label %54, label %106
54: ; preds = %49
%55 = load i32, ptr %7, align 4
store i32 %55, ptr %6, align 4
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %10, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = sub nsw i32 %61, %66
store i32 %67, ptr %7, align 4
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %68, %69
store i32 %70, ptr %8, align 4
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %3, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %94
74: ; preds = %54
%75 = load i32, ptr %8, align 4
store i32 %75, ptr %3, align 4
%76 = load i32, ptr %4, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %84
79: ; preds = %74
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %5, align 4
%82 = icmp sgt i32 %80, %81
br i1 %82, label %83, label %84
83: ; preds = %79
store i32 0, ptr %5, align 4
br label %93
84: ; preds = %79, %74
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp sgt i32 %85, %86
br i1 %87, label %88, label %89
88: ; preds = %84
store i32 0, ptr %4, align 4
br label %92
89: ; preds = %84
%90 = load i32, ptr %6, align 4
store i32 %90, ptr %4, align 4
%91 = load i32, ptr %7, align 4
store i32 %91, ptr %5, align 4
br label %92
92: ; preds = %89, %88
br label %93
93: ; preds = %92, %83
br label %94
94: ; preds = %93, %54
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %4, align 4
%97 = load i32, ptr %5, align 4
%98 = add nsw i32 %96, %97
%99 = icmp sgt i32 %95, %98
br i1 %99, label %100, label %102
100: ; preds = %94
store i32 0, ptr %4, align 4
%101 = load i32, ptr %7, align 4
store i32 %101, ptr %5, align 4
br label %102
102: ; preds = %100, %94
br label %103
103: ; preds = %102
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %10, align 4
br label %49, !llvm.loop !8
106: ; preds = %49
%107 = load i32, ptr %4, align 4
%108 = load i32, ptr %5, align 4
%109 = add nsw i32 %107, %108
%110 = call i32 @printf(ptr noundef @.str.1, i32 noundef %109)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0pi0c7gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %10, align 4
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %9, align 8
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %27
%22 = load ptr, ptr %9, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25)
br label %27
27: ; preds = %21
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %0
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 1
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i32, ptr %37, i64 0
%39 = load i32, ptr %38, align 4
%40 = sub nsw i32 %36, %39
store i32 %40, ptr %6, align 4
store i32 %40, ptr %4, align 4
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 2
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 1
%46 = load i32, ptr %45, align 4
%47 = sub nsw i32 %43, %46
store i32 %47, ptr %7, align 4
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %48, %49
store i32 %50, ptr %3, align 4
store i32 2, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %2, align 4
%53 = sub nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %.lr.ph2, label %111
.lr.ph2: ; preds = %33
br label %55
55: ; preds = %.lr.ph2, %104
%56 = load i32, ptr %7, align 4
store i32 %56, ptr %6, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %57, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
%68 = sub nsw i32 %62, %67
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %6, align 4
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %69, %70
store i32 %71, ptr %8, align 4
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %95
75: ; preds = %55
%76 = load i32, ptr %8, align 4
store i32 %76, ptr %3, align 4
%77 = load i32, ptr %4, align 4
%78 = load i32, ptr %8, align 4
%79 = icmp sgt i32 %77, %78
br i1 %79, label %80, label %85
80: ; preds = %75
%81 = load i32, ptr %4, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp sgt i32 %81, %82
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 0, ptr %5, align 4
br label %94
85: ; preds = %80, %75
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %90
89: ; preds = %85
store i32 0, ptr %4, align 4
br label %93
90: ; preds = %85
%91 = load i32, ptr %6, align 4
store i32 %91, ptr %4, align 4
%92 = load i32, ptr %7, align 4
store i32 %92, ptr %5, align 4
br label %93
93: ; preds = %90, %89
br label %94
94: ; preds = %93, %84
br label %95
95: ; preds = %94, %55
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %4, align 4
%98 = load i32, ptr %5, align 4
%99 = add nsw i32 %97, %98
%100 = icmp sgt i32 %96, %99
br i1 %100, label %101, label %103
101: ; preds = %95
store i32 0, ptr %4, align 4
%102 = load i32, ptr %7, align 4
store i32 %102, ptr %5, align 4
br label %103
103: ; preds = %101, %95
br label %104
104: ; preds = %103
%105 = load i32, ptr %10, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %10, align 4
%107 = load i32, ptr %10, align 4
%108 = load i32, ptr %2, align 4
%109 = sub nsw i32 %108, 1
%110 = icmp slt i32 %107, %109
br i1 %110, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %104
br label %111
111: ; preds = %._crit_edge3, %33
%112 = load i32, ptr %4, align 4
%113 = load i32, ptr %5, align 4
%114 = add nsw i32 %112, %113
%115 = call i32 @printf(ptr noundef @.str.1, i32 noundef %114)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk9z29lbj.c'
source_filename = "/tmp/tmpk9z29lbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"./ABCD0001.txt\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"open error\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_CREAT, align 4
%9 = load i32, ptr @O_RDWR, align 4
%10 = or i32 %8, %9
%11 = call i32 @open(ptr noundef @.str, i32 noundef %10, i32 noundef 493)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = call i32 @write(i32 noundef %18, ptr noundef @.str.2, i32 noundef 4)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.3)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %17
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpk9z29lbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"./ABCD0001.txt\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"open error\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr @O_CREAT, align 4
%9 = load i32, ptr @O_RDWR, align 4
%10 = or i32 %8, %9
%11 = call i32 @open(ptr noundef @.str, i32 noundef %10, i32 noundef 493)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = call i32 @write(i32 noundef %18, ptr noundef @.str.2, i32 noundef 4)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.3)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %17
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp2l5q0ley.c'
source_filename = "/tmp/tmp2l5q0ley.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = call i32 @swap(ptr noundef %11, i32 noundef 1, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %17, %18
%20 = call i32 @rotate(ptr noundef %16, i32 noundef 1, i32 noundef %19)
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rotate(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2l5q0ley.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = call i32 @swap(ptr noundef %10, i32 noundef 1, i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %16, %17
%19 = call i32 @rotate(ptr noundef %15, i32 noundef 1, i32 noundef %18)
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rotate(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf7585qeq.c'
source_filename = "/tmp/tmpf7585qeq.c"
target datalayout = "e-m:e-p270: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/tmpf7585qeq.c"
target datalayout = "e-m:e-p270: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/tmpmbp_5bwl.c'
source_filename = "/tmp/tmpmbp_5bwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local ptr @_PLIB_PhysToVirtK0(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp ult i64 %3, 1073741824
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i64, ptr %2, align 8
%7 = or i64 %6, 2147483648
%8 = inttoptr i64 %7 to ptr
br label %13
9: ; preds = %1
%10 = load i64, ptr %2, align 8
%11 = sub i64 %10, 1073741824
%12 = inttoptr i64 %11 to ptr
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ %8, %5 ], [ %12, %9 ]
ret ptr %14
}
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmbp_5bwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define dso_local ptr @_PLIB_PhysToVirtK0(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp ult i64 %3, 1073741824
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i64, ptr %2, align 8
%7 = or i64 %6, 2147483648
%8 = inttoptr i64 %7 to ptr
br label %13
9: ; preds = %1
%10 = load i64, ptr %2, align 8
%11 = sub i64 %10, 1073741824
%12 = inttoptr i64 %11 to ptr
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ %8, %5 ], [ %12, %9 ]
ret ptr %14
}
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppx0lyq5b.c'
source_filename = "/tmp/tmppx0lyq5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_string(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 ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sext i32 %5 to i64
%7 = mul i64 1, %6
%8 = trunc i64 %7 to i32
%9 = call i32 @fnv1_hash(ptr noundef %3, i32 noundef %8)
ret i32 %9
}
declare i32 @fnv1_hash(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppx0lyq5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_string(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 ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = sext i32 %5 to i64
%7 = mul i64 1, %6
%8 = trunc i64 %7 to i32
%9 = call i32 @fnv1_hash(ptr noundef %3, i32 noundef %8)
ret i32 %9
}
declare i32 @fnv1_hash(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf37xbylx.c'
source_filename = "/tmp/tmpf37xbylx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strptime(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @_strptime(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %8)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
ret ptr %13
}
declare ptr @_strptime(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf37xbylx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strptime(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @_strptime(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %8)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
ret ptr %13
}
declare ptr @_strptime(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9s9014i2.c'
source_filename = "/tmp/tmp9s9014i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%dT%H:%M:%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ffgstm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
br label %40
16: ; preds = %3
%17 = call i32 @time(ptr noundef %8)
%18 = call ptr @gmtime(ptr noundef %8)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load ptr, ptr %9, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
store i32 0, ptr %25, align 4
br label %28
26: ; preds = %21
%27 = load ptr, ptr %6, align 8
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %26, %24
br label %29
29: ; preds = %28, %16
%30 = load ptr, ptr %9, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call ptr @localtime(ptr noundef %8)
store ptr %33, ptr %9, align 8
br label %34
34: ; preds = %32, %29
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %9, align 8
%37 = call i32 @strftime(ptr noundef %35, i32 noundef 25, ptr noundef @.str, ptr noundef %36)
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %38, align 4
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %34, %13
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr 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/tmp9s9014i2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%dT%H:%M:%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ffgstm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
br label %40
16: ; preds = %3
%17 = call i32 @time(ptr noundef %8)
%18 = call ptr @gmtime(ptr noundef %8)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load ptr, ptr %9, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
store i32 0, ptr %25, align 4
br label %28
26: ; preds = %21
%27 = load ptr, ptr %6, align 8
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %26, %24
br label %29
29: ; preds = %28, %16
%30 = load ptr, ptr %9, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call ptr @localtime(ptr noundef %8)
store ptr %33, ptr %9, align 8
br label %34
34: ; preds = %32, %29
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %9, align 8
%37 = call i32 @strftime(ptr noundef %35, i32 noundef 25, ptr noundef @.str, ptr noundef %36)
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %38, align 4
store i32 %39, ptr %4, align 4
br label %40
40: ; preds = %34, %13
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr 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/tmpjynk2cq5.c'
source_filename = "/tmp/tmpjynk2cq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isaac_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store i32 1, ptr %4, align 4
br label %24
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %11
store i32 1, ptr %4, align 4
br label %24
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 0, ptr %23, align 1
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %15, %14, %10
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjynk2cq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isaac_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store i32 1, ptr %4, align 4
br label %24
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %11
store i32 1, ptr %4, align 4
br label %24
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 0, ptr %23, align 1
store i32 0, ptr %4, align 4
br label %24
24: ; preds = %15, %14, %10
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps5qjuwyk.c'
source_filename = "/tmp/tmps5qjuwyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22zero\22\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"got string = (%s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"should be zero: is (%s)\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\22zero\22,\22one\22,\22two\22\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"should be one: is (%s)\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"should be two: is (%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_piece_unknown() #0 {
%1 = alloca ptr, align 8
%2 = alloca [16 x i8], align 16
%3 = alloca i8, align 1
store ptr @.str, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4)
store i8 0, ptr %3, align 1
%6 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%7 = load ptr, ptr %1, align 8
%8 = call ptr @piece_unknown(ptr noundef %6, ptr noundef %3, ptr noundef %7, i32 noundef 0)
%9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8)
store ptr @.str.3, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
store i8 0, ptr %3, align 1
%12 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%13 = load ptr, ptr %1, align 8
%14 = call ptr @piece_unknown(ptr noundef %12, ptr noundef %3, ptr noundef %13, i32 noundef 1)
%15 = call i32 @printf(ptr noundef @.str.4, ptr noundef %14)
store ptr @.str.3, ptr %1, align 8
%16 = load ptr, ptr %1, align 8
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16)
store i8 0, ptr %3, align 1
%18 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%19 = load ptr, ptr %1, align 8
%20 = call ptr @piece_unknown(ptr noundef %18, ptr noundef %3, ptr noundef %19, i32 noundef 2)
%21 = call i32 @printf(ptr noundef @.str.5, ptr noundef %20)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @piece_unknown(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps5qjuwyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22zero\22\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"got string = (%s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"should be zero: is (%s)\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"\22zero\22,\22one\22,\22two\22\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"should be one: is (%s)\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"should be two: is (%s)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_piece_unknown() #0 {
%1 = alloca ptr, align 8
%2 = alloca [16 x i8], align 16
%3 = alloca i8, align 1
store ptr @.str, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4)
store i8 0, ptr %3, align 1
%6 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%7 = load ptr, ptr %1, align 8
%8 = call ptr @piece_unknown(ptr noundef %6, ptr noundef %3, ptr noundef %7, i32 noundef 0)
%9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8)
store ptr @.str.3, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
store i8 0, ptr %3, align 1
%12 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%13 = load ptr, ptr %1, align 8
%14 = call ptr @piece_unknown(ptr noundef %12, ptr noundef %3, ptr noundef %13, i32 noundef 1)
%15 = call i32 @printf(ptr noundef @.str.4, ptr noundef %14)
store ptr @.str.3, ptr %1, align 8
%16 = load ptr, ptr %1, align 8
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16)
store i8 0, ptr %3, align 1
%18 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%19 = load ptr, ptr %1, align 8
%20 = call ptr @piece_unknown(ptr noundef %18, ptr noundef %3, ptr noundef %19, i32 noundef 2)
%21 = call i32 @printf(ptr noundef @.str.5, ptr noundef %20)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @piece_unknown(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51lng0ys.c'
source_filename = "/tmp/tmp51lng0ys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_data() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51lng0ys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_data() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbueojr7n.c'
source_filename = "/tmp/tmpbueojr7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_crypt.buff = internal global [14 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DES_crypt(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 ptr @DES_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @DES_crypt.buff)
ret ptr %7
}
declare ptr @DES_fcrypt(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbueojr7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DES_crypt.buff = internal global [14 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DES_crypt(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 ptr @DES_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @DES_crypt.buff)
ret ptr %7
}
declare ptr @DES_fcrypt(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz2vhd9ko.c'
source_filename = "/tmp/tmpz2vhd9ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main1(i32 noundef 25)
ret i32 %2
}
declare i32 @main1(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/tmpz2vhd9ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main1(i32 noundef 25)
ret i32 %2
}
declare i32 @main1(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/tmprms31pqi.c'
source_filename = "/tmp/tmprms31pqi.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"!---! Erreur !---!\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"fonction: %s -- %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_failure(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 i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprms31pqi.c"
target datalayout = "e-m:e-p270: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 [20 x i8] c"!---! Erreur !---!\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"fonction: %s -- %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_failure(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 i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl3xijhc0.c'
source_filename = "/tmp/tmpl3xijhc0.c"
target datalayout = "e-m:e-p270: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/tmpl3xijhc0.c"
target datalayout = "e-m:e-p270: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/tmpj7avo3e2.c'
source_filename = "/tmp/tmpj7avo3e2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_log10f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @log10f(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @log10f(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_log10f()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @log10f(float noundef) #1
declare i32 @link_failure_log10f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj7avo3e2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_log10f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @log10f(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @log10f(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_log10f()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @log10f(float noundef) #1
declare i32 @link_failure_log10f(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxb5kd379.c'
source_filename = "/tmp/tmpxb5kd379.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @minmod(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %5, align 8
%10 = fmul double %8, %9
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %12, label %13
12: ; preds = %3
store double 0.000000e+00, ptr %7, align 8
br label %24
13: ; preds = %3
%14 = load double, ptr %4, align 8
%15 = call i64 @fabs(double noundef %14)
%16 = load double, ptr %5, align 8
%17 = call i64 @fabs(double noundef %16)
%18 = icmp slt i64 %15, %17
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load double, ptr %4, align 8
store double %20, ptr %7, align 8
br label %23
21: ; preds = %13
%22 = load double, ptr %5, align 8
store double %22, ptr %7, align 8
br label %23
23: ; preds = %21, %19
br label %24
24: ; preds = %23, %12
%25 = load double, ptr %7, align 8
%26 = load double, ptr %6, align 8
%27 = fmul double %25, %26
%28 = fcmp olt double %27, 0.000000e+00
br i1 %28, label %29, label %30
29: ; preds = %24
store double 0.000000e+00, ptr %7, align 8
br label %39
30: ; preds = %24
%31 = load double, ptr %6, align 8
%32 = call i64 @fabs(double noundef %31)
%33 = load double, ptr %7, align 8
%34 = call i64 @fabs(double noundef %33)
%35 = icmp slt i64 %32, %34
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = load double, ptr %6, align 8
store double %37, ptr %7, align 8
br label %38
38: ; preds = %36, %30
br label %39
39: ; preds = %38, %29
%40 = load double, ptr %7, align 8
ret double %40
}
declare i64 @fabs(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/tmpxb5kd379.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @minmod(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %5, align 8
%10 = fmul double %8, %9
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %12, label %13
12: ; preds = %3
store double 0.000000e+00, ptr %7, align 8
br label %24
13: ; preds = %3
%14 = load double, ptr %4, align 8
%15 = call i64 @fabs(double noundef %14)
%16 = load double, ptr %5, align 8
%17 = call i64 @fabs(double noundef %16)
%18 = icmp slt i64 %15, %17
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load double, ptr %4, align 8
store double %20, ptr %7, align 8
br label %23
21: ; preds = %13
%22 = load double, ptr %5, align 8
store double %22, ptr %7, align 8
br label %23
23: ; preds = %21, %19
br label %24
24: ; preds = %23, %12
%25 = load double, ptr %7, align 8
%26 = load double, ptr %6, align 8
%27 = fmul double %25, %26
%28 = fcmp olt double %27, 0.000000e+00
br i1 %28, label %29, label %30
29: ; preds = %24
store double 0.000000e+00, ptr %7, align 8
br label %39
30: ; preds = %24
%31 = load double, ptr %6, align 8
%32 = call i64 @fabs(double noundef %31)
%33 = load double, ptr %7, align 8
%34 = call i64 @fabs(double noundef %33)
%35 = icmp slt i64 %32, %34
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = load double, ptr %6, align 8
store double %37, ptr %7, align 8
br label %38
38: ; preds = %36, %30
br label %39
39: ; preds = %38, %29
%40 = load double, ptr %7, align 8
ret double %40
}
declare i64 @fabs(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/tmpkkiasy0j.c'
source_filename = "/tmp/tmpkkiasy0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Charger init\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charger_init() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkiasy0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Charger init\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @charger_init() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyzp0bpwr.c'
source_filename = "/tmp/tmpyzp0bpwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetStillPreview(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 1, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %14 [
i32 0, label %6
i32 1, label %8
i32 2, label %10
i32 3, label %12
]
6: ; preds = %1
%7 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 1)
br label %14
8: ; preds = %1
%9 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 3)
br label %14
10: ; preds = %1
%11 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 5)
br label %14
12: ; preds = %1
%13 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 7)
br label %14
14: ; preds = %1, %12, %10, %8, %6
br label %15
15: ; preds = %18, %14
%16 = load i8, ptr %3, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call zeroext i8 @RdStatus(i32 noundef 1)
store i8 %19, ptr %3, align 1
br label %15, !llvm.loop !6
20: ; preds = %15
ret void
}
declare i32 @RamWrite32A(i32 noundef, i32 noundef) #1
declare zeroext i8 @RdStatus(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/tmpyzp0bpwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetStillPreview(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 1, ptr %3, align 1
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %14 [
i32 0, label %6
i32 1, label %8
i32 2, label %10
i32 3, label %12
]
6: ; preds = %1
%7 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 1)
br label %14
8: ; preds = %1
%9 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 3)
br label %14
10: ; preds = %1
%11 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 5)
br label %14
12: ; preds = %1
%13 = call i32 @RamWrite32A(i32 noundef 61459, i32 noundef 7)
br label %14
14: ; preds = %12, %10, %8, %6, %1
%15 = load i8, ptr %3, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %21
.lr.ph: ; preds = %14
br label %17
17: ; preds = %.lr.ph, %17
%18 = call zeroext i8 @RdStatus(i32 noundef 1)
store i8 %18, ptr %3, align 1
%19 = load i8, ptr %3, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %21
21: ; preds = %._crit_edge, %14
ret void
}
declare i32 @RamWrite32A(i32 noundef, i32 noundef) #1
declare zeroext i8 @RdStatus(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/tmprxdzfnxn.c'
source_filename = "/tmp/tmprxdzfnxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xdc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0xdc() #0 {
%1 = call i64 @isbdigit(i32 noundef 220)
%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 1105, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxdzfnxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xdc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0xdc() #0 {
%1 = call i64 @isbdigit(i32 noundef 220)
%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 1105, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpea23h746.c'
source_filename = "/tmp/tmpea23h746.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_RECIP_INFO_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_PKCS7_RECIP_INFO(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS7_RECIP_INFO_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpea23h746.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_RECIP_INFO_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_PKCS7_RECIP_INFO(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS7_RECIP_INFO_it)
ret i32 %7
}
declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjs448qnb.c'
source_filename = "/tmp/tmpjs448qnb.c"
target datalayout = "e-m:e-p270: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.group = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_gnamebyid(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @getgrgid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %14
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
%13 = load ptr, ptr %12, align 8
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %10, %9
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare ptr @getgrgid(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/tmpjs448qnb.c"
target datalayout = "e-m:e-p270: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.group = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_gnamebyid(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @getgrgid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %14
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds %struct.group, ptr %11, i32 0, i32 0
%13 = load ptr, ptr %12, align 8
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %10, %9
%15 = load ptr, ptr %2, align 8
ret ptr %15
}
declare ptr @getgrgid(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/tmpq31y1sr6.c'
source_filename = "/tmp/tmpq31y1sr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Expected vprintf to return %d or %d, got %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoArgumentPrecDoubleTest(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load double, ptr %8, align 8
%15 = call i32 @DoVprintf(ptr noundef %12, i32 noundef %13, double noundef %14)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = load ptr, ptr %9, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %32
20: ; preds = %5
%21 = load i32, ptr %11, align 4
%22 = load ptr, ptr %10, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp ne i32 %21, %23
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = load ptr, ptr %9, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = load ptr, ptr %10, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = load i32, ptr %11, align 4
%31 = call i32 @Fail(ptr noundef @.str, i32 noundef %27, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %25, %20, %5
ret void
}
declare i32 @DoVprintf(ptr noundef, i32 noundef, double noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @Fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq31y1sr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Expected vprintf to return %d or %d, got %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoArgumentPrecDoubleTest(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = load double, ptr %8, align 8
%15 = call i32 @DoVprintf(ptr noundef %12, i32 noundef %13, double noundef %14)
store i32 %15, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = load ptr, ptr %9, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp ne i32 %16, %18
br i1 %19, label %20, label %32
20: ; preds = %5
%21 = load i32, ptr %11, align 4
%22 = load ptr, ptr %10, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp ne i32 %21, %23
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = load ptr, ptr %9, align 8
%27 = call i32 @strlen(ptr noundef %26)
%28 = load ptr, ptr %10, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = load i32, ptr %11, align 4
%31 = call i32 @Fail(ptr noundef @.str, i32 noundef %27, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %25, %20, %5
ret void
}
declare i32 @DoVprintf(ptr noundef, i32 noundef, double noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @Fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.