llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpkn50pnk3.c'
source_filename = "/tmp/tmpkn50pnk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createDivExpression(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 @createExpression(i32 noundef 14, ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @createExpression(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/tmpkn50pnk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createDivExpression(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 @createExpression(i32 noundef 14, ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @createExpression(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/tmp6dt9k22b.c'
source_filename = "/tmp/tmp6dt9k22b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"\0A\0Dstartpar: forward write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_forward() #0 {
%1 = alloca [4096 x i8], align 16
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = call i32 (...) @setsid()
br label %6
6: ; preds = %45, %17, %0
%7 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0
%8 = call i64 @read(i32 noundef 0, ptr noundef %7, i32 noundef 4096)
store i64 %8, ptr %3, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %46
10: ; preds = %6
%11 = load i64, ptr %3, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @EINTR, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %13
br label %6, !llvm.loop !6
18: ; preds = %13
br label %46
19: ; preds = %10
%20 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %38, %34, %19
%22 = load i64, ptr %3, align 8
%23 = icmp sgt i64 %22, 0
br i1 %23, label %24, label %45
24: ; preds = %21
%25 = load ptr, ptr %2, align 8
%26 = load i64, ptr %3, align 8
%27 = call i64 @write(i32 noundef 1, ptr noundef %25, i64 noundef %26)
store i64 %27, ptr %4, align 8
%28 = load i64, ptr %4, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %24
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @EINTR, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %30
br label %21, !llvm.loop !8
35: ; preds = %30
%36 = call i32 @perror(ptr noundef @.str)
%37 = load i64, ptr %3, align 8
store i64 %37, ptr %4, align 8
br label %38
38: ; preds = %35, %24
%39 = load i64, ptr %4, align 8
%40 = load i64, ptr %3, align 8
%41 = sub nsw i64 %40, %39
store i64 %41, ptr %3, align 8
%42 = load i64, ptr %4, align 8
%43 = load ptr, ptr %2, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 %42
store ptr %44, ptr %2, align 8
br label %21, !llvm.loop !8
45: ; preds = %21
br label %6, !llvm.loop !6
46: ; preds = %18, %6
%47 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @setsid(...) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6dt9k22b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"\0A\0Dstartpar: forward write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_forward() #0 {
%1 = alloca [4096 x i8], align 16
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = call i32 (...) @setsid()
%6 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @read(i32 noundef 0, ptr noundef %6, i32 noundef 4096)
store i64 %7, ptr %3, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph3, label %.loopexit
.lr.ph3: ; preds = %0
br label %9
9: ; preds = %.lr.ph3, %.backedge1
%10 = load i64, ptr %3, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @EINTR, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
br label %.backedge1
.backedge1: ; preds = %16, %47
%17 = call i64 @read(i32 noundef 0, ptr noundef %6, i32 noundef 4096)
store i64 %17, ptr %3, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %9, label %..loopexit_crit_edge, !llvm.loop !6
19: ; preds = %12
br label %48
20: ; preds = %9
%21 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0
store ptr %21, ptr %2, align 8
%22 = load i64, ptr %3, align 8
%23 = icmp sgt i64 %22, 0
br i1 %23, label %.lr.ph, label %47
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %.backedge
%25 = load ptr, ptr %2, align 8
%26 = load i64, ptr %3, align 8
%27 = call i64 @write(i32 noundef 1, ptr noundef %25, i64 noundef %26)
store i64 %27, ptr %4, align 8
%28 = load i64, ptr %4, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %40
30: ; preds = %24
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @EINTR, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
br label %.backedge
.backedge: ; preds = %34, %40
%35 = load i64, ptr %3, align 8
%36 = icmp sgt i64 %35, 0
br i1 %36, label %24, label %._crit_edge, !llvm.loop !8
37: ; preds = %30
%38 = call i32 @perror(ptr noundef @.str)
%39 = load i64, ptr %3, align 8
store i64 %39, ptr %4, align 8
br label %40
40: ; preds = %37, %24
%41 = load i64, ptr %4, align 8
%42 = load i64, ptr %3, align 8
%43 = sub nsw i64 %42, %41
store i64 %43, ptr %3, align 8
%44 = load i64, ptr %4, align 8
%45 = load ptr, ptr %2, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 %44
store ptr %46, ptr %2, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %47
47: ; preds = %._crit_edge, %20
br label %.backedge1
..loopexit_crit_edge: ; preds = %.backedge1
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %48
48: ; preds = %.loopexit, %19
%49 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @setsid(...) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @perror(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2_u877i4.c'
source_filename = "/tmp/tmp2_u877i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_u877i4.c"
target datalayout = "e-m:e-p270: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/tmpuxcuosrx.c'
source_filename = "/tmp/tmpuxcuosrx.c"
target datalayout = "e-m:e-p270: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/tmpuxcuosrx.c"
target datalayout = "e-m:e-p270: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/tmpyrs0hcug.c'
source_filename = "/tmp/tmpyrs0hcug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = trunc i32 %11 to i8
store i8 %12, ptr %9, align 1
br label %13
13: ; preds = %28, %3
%14 = load i64, ptr %7, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = load i8, ptr %9, align 1
%21 = zext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
store ptr %24, ptr %4, align 8
br label %32
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
br label %28
28: ; preds = %25
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
br label %13, !llvm.loop !6
31: ; preds = %13
store ptr null, ptr %4, align 8
br label %32
32: ; preds = %31, %23
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpyrs0hcug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = trunc i32 %11 to i8
store i8 %12, ptr %9, align 1
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = load i8, ptr %9, align 1
%20 = zext i8 %19 to i32
%21 = icmp eq i32 %18, %20
br i1 %21, label %22, label %24
22: ; preds = %15
%23 = load ptr, ptr %8, align 8
store ptr %23, ptr %4, align 8
br label %33
24: ; preds = %15
%25 = load ptr, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %8, align 8
br label %27
27: ; preds = %24
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %33
33: ; preds = %32, %22
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpizsnimkj.c'
source_filename = "/tmp/tmpizsnimkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_perf_event_open = 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/tmpizsnimkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_perf_event_open = 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/tmp6_atlnbq.c'
source_filename = "/tmp/tmp6_atlnbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clr_fl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @F_GETFL, align 4
%9 = call i64 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = xor i32 %15, -1
%17 = load i32, ptr %6, align 4
%18 = and i32 %17, %16
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr %6, align 4
%22 = call i64 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %14
store i32 -1, ptr %3, align 4
br label %26
25: ; preds = %14
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %13
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_atlnbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clr_fl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @F_GETFL, align 4
%9 = call i64 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef 0)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = xor i32 %15, -1
%17 = load i32, ptr %6, align 4
%18 = and i32 %17, %16
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr %6, align 4
%22 = call i64 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %14
store i32 -1, ptr %3, align 4
br label %26
25: ; preds = %14
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %13
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4wnok3h.c'
source_filename = "/tmp/tmpj4wnok3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup_hexdump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @strdup_hexdump(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr null, %9
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @fatal(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @strdup_hexdump(ptr noundef, i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4wnok3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup_hexdump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = call ptr @strdup_hexdump(ptr noundef %6, i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr null, %9
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @fatal(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @strdup_hexdump(ptr noundef, i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp41u5szd4.c'
source_filename = "/tmp/tmp41u5szd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objchar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @objalloc(i32 noundef %8, ptr noundef null)
store ptr %9, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %11, %1
%17 = load ptr, ptr %4, align 8
ret ptr %17
}
declare i32 @strlen(ptr noundef) #1
declare ptr @objalloc(i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp41u5szd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objchar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @objalloc(i32 noundef %8, ptr noundef null)
store ptr %9, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %11, %1
%17 = load ptr, ptr %4, align 8
ret ptr %17
}
declare i32 @strlen(ptr noundef) #1
declare ptr @objalloc(i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3q6ec2su.c'
source_filename = "/tmp/tmp3q6ec2su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_str(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 1, %10
%12 = trunc i64 %11 to i32
%13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
ret ptr %17
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3q6ec2su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_str(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 1, %10
%12 = trunc i64 %11 to i32
%13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
ret ptr %17
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu4azwts.c'
source_filename = "/tmp/tmpeu4azwts.c"
target datalayout = "e-m:e-p270: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/tmpeu4azwts.c"
target datalayout = "e-m:e-p270: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/tmp9brjh9sp.c'
source_filename = "/tmp/tmp9brjh9sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#%.6X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @html_formatcolor(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [8 x i8], align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%13 = load i32, ptr %6, align 4
%14 = call ptr @strncpy(ptr noundef %11, ptr noundef %12, i32 noundef %13)
ret ptr %14
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @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/tmp9brjh9sp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#%.6X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @html_formatcolor(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [8 x i8], align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%9 = load i32, ptr %4, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%13 = load i32, ptr %6, align 4
%14 = call ptr @strncpy(ptr noundef %11, ptr noundef %12, i32 noundef %13)
ret ptr %14
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @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/tmpy_u8modd.c'
source_filename = "/tmp/tmpy_u8modd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [27 x i8] c"isbdigit should be 0 for E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x45() #0 {
%1 = call i64 @isbdigit(i32 noundef 69)
%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 350, 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/tmpy_u8modd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [27 x i8] c"isbdigit should be 0 for E\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x45() #0 {
%1 = call i64 @isbdigit(i32 noundef 69)
%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 350, 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/tmp8dsgezje.c'
source_filename = "/tmp/tmp8dsgezje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Background jobs runner\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [60 x i8] c"bgrunner (-v) (-d) (-o <outputfolder>) -f <jobsdescriptor>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @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/tmp8dsgezje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Background jobs runner\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.2 = private unnamed_addr constant [60 x i8] c"bgrunner (-v) (-d) (-o <outputfolder>) -f <jobsdescriptor>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @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/tmpzrl0p3nc.c'
source_filename = "/tmp/tmpzrl0p3nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsm_sr_free(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 %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzrl0p3nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gsm_sr_free(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 %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvb4kqs1y.c'
source_filename = "/tmp/tmpvb4kqs1y.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"** %s:%d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @ERR_print_errors_fp(i32 noundef %12)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @ERR_print_errors_fp(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/tmpvb4kqs1y.c"
target datalayout = "e-m:e-p270: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 [13 x i8] c"** %s:%d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @ERR_print_errors_fp(i32 noundef %12)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @ERR_print_errors_fp(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/tmpt9gsv_dx.c'
source_filename = "/tmp/tmpt9gsv_dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%22 = load ptr, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 -32
store ptr %25, ptr %20, align 8
%26 = load i64, ptr %14, align 8
%27 = sub i64 %26, 32
store i64 %27, ptr %21, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %17, align 8
%32 = load ptr, ptr %13, align 8
%33 = load i64, ptr %21, align 8
%34 = load ptr, ptr %15, align 8
%35 = load i64, ptr %16, align 8
%36 = load ptr, ptr %20, align 8
%37 = call i32 @jhae_decryption_verification(ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %34, i64 noundef %35, ptr noundef %36)
store i32 %37, ptr %19, align 4
%38 = load i32, ptr %19, align 4
ret i32 %38
}
declare i32 @jhae_decryption_verification(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpt9gsv_dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%22 = load ptr, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 -32
store ptr %25, ptr %20, align 8
%26 = load i64, ptr %14, align 8
%27 = sub i64 %26, 32
store i64 %27, ptr %21, align 8
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %11, align 8
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %17, align 8
%32 = load ptr, ptr %13, align 8
%33 = load i64, ptr %21, align 8
%34 = load ptr, ptr %15, align 8
%35 = load i64, ptr %16, align 8
%36 = load ptr, ptr %20, align 8
%37 = call i32 @jhae_decryption_verification(ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %34, i64 noundef %35, ptr noundef %36)
store i32 %37, ptr %19, align 4
%38 = load i32, ptr %19, align 4
ret i32 %38
}
declare i32 @jhae_decryption_verification(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpjyu9f5e7.c'
source_filename = "/tmp/tmpjyu9f5e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outside_chmod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @chmod(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @chmod(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/tmpjyu9f5e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outside_chmod(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @chmod(ptr noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @chmod(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/tmpiegyek29.c'
source_filename = "/tmp/tmpiegyek29.c"
target datalayout = "e-m:e-p270: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/tmpiegyek29.c"
target datalayout = "e-m:e-p270: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/tmphyz0rcz1.c'
source_filename = "/tmp/tmphyz0rcz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ex() #0 {
%1 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyz0rcz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ex() #0 {
%1 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmd_s0dei.c'
source_filename = "/tmp/tmpmd_s0dei.c"
target datalayout = "e-m:e-p270: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/tmpmd_s0dei.c"
target datalayout = "e-m:e-p270: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/tmpjdnwiobd.c'
source_filename = "/tmp/tmpjdnwiobd.c"
target datalayout = "e-m:e-p270: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/tmpjdnwiobd.c"
target datalayout = "e-m:e-p270: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/tmpzm6gmumz.c'
source_filename = "/tmp/tmpzm6gmumz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plisp_floor(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fcmp oge float %4, 0.000000e+00
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load float, ptr %3, align 4
%8 = fptosi float %7 to i32
store i32 %8, ptr %2, align 4
br label %18
9: ; preds = %1
%10 = load float, ptr %3, align 4
%11 = call i64 @fabsf(float noundef %10)
%12 = sitofp i64 %11 to double
%13 = fadd double %12, 5.000000e-01
%14 = fptosi double %13 to i64
%15 = call i64 @round(i64 noundef %14)
%16 = trunc i64 %15 to i32
%17 = mul nsw i32 -1, %16
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %9, %6
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @round(i64 noundef) #1
declare i64 @fabsf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzm6gmumz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plisp_floor(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fcmp oge float %4, 0.000000e+00
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load float, ptr %3, align 4
%8 = fptosi float %7 to i32
store i32 %8, ptr %2, align 4
br label %18
9: ; preds = %1
%10 = load float, ptr %3, align 4
%11 = call i64 @fabsf(float noundef %10)
%12 = sitofp i64 %11 to double
%13 = fadd double %12, 5.000000e-01
%14 = fptosi double %13 to i64
%15 = call i64 @round(i64 noundef %14)
%16 = trunc i64 %15 to i32
%17 = mul nsw i32 -1, %16
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %9, %6
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @round(i64 noundef) #1
declare i64 @fabsf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1fc2jnle.c'
source_filename = "/tmp/tmp1fc2jnle.c"
target datalayout = "e-m:e-p270: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/tmp1fc2jnle.c"
target datalayout = "e-m:e-p270: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/tmp4f1s2m2_.c'
source_filename = "/tmp/tmp4f1s2m2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"list dpcopc list dpcopc index\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"show dpcopc <id> show specified dpcopc\0A\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"info dpcopc <id> show detailed information of specified dpcopc\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"list device list dpcopc index\0A\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"show device <id> show specified dpcopc\0A\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"info device <id> show detailed information of specified dpcopc\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"show packet show packet statistics\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"quit exit program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4f1s2m2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"list dpcopc list dpcopc index\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"show dpcopc <id> show specified dpcopc\0A\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"info dpcopc <id> show detailed information of specified dpcopc\0A\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"list device list dpcopc index\0A\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"show device <id> show specified dpcopc\0A\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"info device <id> show detailed information of specified dpcopc\0A\00", align 1
@.str.6 = private unnamed_addr constant [44 x i8] c"show packet show packet statistics\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"quit exit program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprhh3g1l4.c'
source_filename = "/tmp/tmprhh3g1l4.c"
target datalayout = "e-m:e-p270: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/tmprhh3g1l4.c"
target datalayout = "e-m:e-p270: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/tmp8shkmw8y.c'
source_filename = "/tmp/tmp8shkmw8y.c"
target datalayout = "e-m:e-p270: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/tmp8shkmw8y.c"
target datalayout = "e-m:e-p270: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/tmp5z3bnrqq.c'
source_filename = "/tmp/tmp5z3bnrqq.c"
target datalayout = "e-m:e-p270: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/tmp5z3bnrqq.c"
target datalayout = "e-m:e-p270: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/tmpl4og90z0.c'
source_filename = "/tmp/tmpl4og90z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"BAL\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"BALME\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"NNIBALME\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"NNI_BALME\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"O\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"OLS\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"OLSME\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"NNIOLSME\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"NNI_OLSME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getN(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 3, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @Uppercase(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %25, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef 3)
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %9
%14 = load ptr, ptr %2, align 8
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %25, label %17
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.3, i32 noundef 8)
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.4, i32 noundef 9)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %21, %17, %13, %9, %1
store i32 3, ptr %3, align 4
br label %48
26: ; preds = %21
%27 = load ptr, ptr %2, align 8
%28 = call i64 @strncmp(ptr noundef %27, ptr noundef @.str.5, i32 noundef 1)
%29 = icmp eq i64 %28, 0
br i1 %29, label %46, label %30
30: ; preds = %26
%31 = load ptr, ptr %2, align 8
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.6, i32 noundef 3)
%33 = icmp eq i64 %32, 0
br i1 %33, label %46, label %34
34: ; preds = %30
%35 = load ptr, ptr %2, align 8
%36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str.7, i32 noundef 5)
%37 = icmp eq i64 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %34
%39 = load ptr, ptr %2, align 8
%40 = call i64 @strncmp(ptr noundef %39, ptr noundef @.str.8, i32 noundef 8)
%41 = icmp eq i64 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %38
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.9, i32 noundef 9)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42, %38, %34, %30, %26
store i32 4, ptr %3, align 4
br label %47
47: ; preds = %46, %42
br label %48
48: ; preds = %47, %25
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @Uppercase(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl4og90z0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"BAL\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"BALME\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"NNIBALME\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"NNI_BALME\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"O\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"OLS\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"OLSME\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"NNIOLSME\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"NNI_OLSME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getN(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 3, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @Uppercase(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %25, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i64 @strncmp(ptr noundef %10, ptr noundef @.str.1, i32 noundef 3)
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %9
%14 = load ptr, ptr %2, align 8
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %25, label %17
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str.3, i32 noundef 8)
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.4, i32 noundef 9)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %21, %17, %13, %9, %1
store i32 3, ptr %3, align 4
br label %48
26: ; preds = %21
%27 = load ptr, ptr %2, align 8
%28 = call i64 @strncmp(ptr noundef %27, ptr noundef @.str.5, i32 noundef 1)
%29 = icmp eq i64 %28, 0
br i1 %29, label %46, label %30
30: ; preds = %26
%31 = load ptr, ptr %2, align 8
%32 = call i64 @strncmp(ptr noundef %31, ptr noundef @.str.6, i32 noundef 3)
%33 = icmp eq i64 %32, 0
br i1 %33, label %46, label %34
34: ; preds = %30
%35 = load ptr, ptr %2, align 8
%36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str.7, i32 noundef 5)
%37 = icmp eq i64 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %34
%39 = load ptr, ptr %2, align 8
%40 = call i64 @strncmp(ptr noundef %39, ptr noundef @.str.8, i32 noundef 8)
%41 = icmp eq i64 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %38
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.9, i32 noundef 9)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42, %38, %34, %30, %26
store i32 4, ptr %3, align 4
br label %47
47: ; preds = %46, %42
br label %48
48: ; preds = %47, %25
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @Uppercase(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprt6pyp25.c'
source_filename = "/tmp/tmprt6pyp25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.itimerval = type { %struct.TYPE_3__, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i64 }
@ITIMER_REAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ualarm(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.itimerval, align 8
%7 = alloca %struct.itimerval, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
store i32 0, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1
store i32 %10, ptr %12, align 4
%13 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i32 0, i32 1
store i64 0, ptr %14, align 8
%15 = load i32, ptr %5, align 4
%16 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0
store i32 %15, ptr %17, align 8
%18 = load i32, ptr @ITIMER_REAL, align 4
%19 = call i64 @__setitimer(i32 noundef %18, ptr noundef %6, ptr noundef %7)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %2
store i32 -1, ptr %3, align 4
br label %31
22: ; preds = %2
%23 = getelementptr inbounds %struct.itimerval, ptr %7, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 8
%26 = mul nsw i32 %25, 1000000
%27 = getelementptr inbounds %struct.itimerval, ptr %7, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 1
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %26, %29
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %22, %21
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i64 @__setitimer(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/tmprt6pyp25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.itimerval = type { %struct.TYPE_3__, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i64 }
@ITIMER_REAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ualarm(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.itimerval, align 8
%7 = alloca %struct.itimerval, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i32 0, i32 0
store i32 0, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1
store i32 %10, ptr %12, align 4
%13 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i32 0, i32 1
store i64 0, ptr %14, align 8
%15 = load i32, ptr %5, align 4
%16 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 1
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i32 0, i32 0
store i32 %15, ptr %17, align 8
%18 = load i32, ptr @ITIMER_REAL, align 4
%19 = call i64 @__setitimer(i32 noundef %18, ptr noundef %6, ptr noundef %7)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %2
store i32 -1, ptr %3, align 4
br label %31
22: ; preds = %2
%23 = getelementptr inbounds %struct.itimerval, ptr %7, i32 0, i32 0
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 8
%26 = mul nsw i32 %25, 1000000
%27 = getelementptr inbounds %struct.itimerval, ptr %7, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %27, i32 0, i32 1
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %26, %29
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %22, %21
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i64 @__setitimer(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/tmpqjl694cp.c'
source_filename = "/tmp/tmpqjl694cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getword(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %16, %3
%13 = call i32 @getch()
store i32 %13, ptr %8, align 4
%14 = call i64 @isspace(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
br label %12, !llvm.loop !6
17: ; preds = %12
%18 = load i32, ptr %7, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %86
20: ; preds = %17
%21 = load i32, ptr %8, align 4
%22 = icmp eq i32 %21, 47
br i1 %22, label %23, label %70
23: ; preds = %20
%24 = call i32 @getch()
store i32 %24, ptr %8, align 4
%25 = icmp eq i32 %24, 47
br i1 %25, label %26, label %38
26: ; preds = %23
br label %27
27: ; preds = %36, %26
%28 = call i32 @getch()
store i32 %28, ptr %8, align 4
%29 = icmp ne i32 %28, 10
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr @EOF, align 4
%33 = icmp ne i32 %31, %32
br label %34
34: ; preds = %30, %27
%35 = phi i1 [ false, %27 ], [ %33, %30 ]
br i1 %35, label %36, label %37
36: ; preds = %34
br label %27, !llvm.loop !8
37: ; preds = %34
br label %69
38: ; preds = %23
%39 = load i32, ptr %8, align 4
%40 = icmp eq i32 %39, 42
br i1 %40, label %41, label %68
41: ; preds = %38
store i32 0, ptr %10, align 4
br label %42
42: ; preds = %66, %41
%43 = load i32, ptr %10, align 4
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
br i1 %45, label %46, label %67
46: ; preds = %42
br label %47
47: ; preds = %61, %46
%48 = call i32 @getch()
store i32 %48, ptr %8, align 4
%49 = icmp ne i32 %48, 42
br i1 %49, label %50, label %62
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr @EOF, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %61
54: ; preds = %50
%55 = load ptr, ptr %9, align 8
store i8 0, ptr %55, align 1
%56 = load i32, ptr %8, align 4
call void @ungetch(i32 noundef %56)
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
store i32 %60, ptr %4, align 4
br label %137
61: ; preds = %50
br label %47, !llvm.loop !9
62: ; preds = %47
%63 = call i32 @getch()
store i32 %63, ptr %8, align 4
%64 = icmp eq i32 %63, 47
br i1 %64, label %65, label %66
65: ; preds = %62
store i32 1, ptr %10, align 4
br label %66
66: ; preds = %65, %62
br label %42, !llvm.loop !10
67: ; preds = %42
br label %68
68: ; preds = %67, %38
br label %69
69: ; preds = %68, %37
br label %70
70: ; preds = %69, %20
%71 = load i32, ptr %8, align 4
%72 = icmp eq i32 %71, 34
br i1 %72, label %73, label %85
73: ; preds = %70
br label %74
74: ; preds = %83, %73
%75 = call i32 @getch()
store i32 %75, ptr %8, align 4
%76 = icmp ne i32 %75, 34
br i1 %76, label %77, label %81
77: ; preds = %74
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr @EOF, align 4
%80 = icmp ne i32 %78, %79
br label %81
81: ; preds = %77, %74
%82 = phi i1 [ false, %74 ], [ %80, %77 ]
br i1 %82, label %83, label %84
83: ; preds = %81
br label %74, !llvm.loop !11
84: ; preds = %81
br label %85
85: ; preds = %84, %70
br label %86
86: ; preds = %85, %17
%87 = load i32, ptr %8, align 4
%88 = call i64 @isalpha(i32 noundef %87)
%89 = icmp ne i64 %88, 0
br i1 %89, label %96, label %90
90: ; preds = %86
%91 = load i32, ptr %8, align 4
%92 = icmp eq i32 %91, 35
br i1 %92, label %96, label %93
93: ; preds = %90
%94 = load i32, ptr %8, align 4
%95 = icmp eq i32 %94, 95
br i1 %95, label %96, label %125
96: ; preds = %93, %90, %86
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, -1
store i32 %98, ptr %6, align 4
%99 = icmp sgt i32 %98, 0
br i1 %99, label %100, label %125
100: ; preds = %96
%101 = load i32, ptr %8, align 4
%102 = trunc i32 %101 to i8
%103 = load ptr, ptr %9, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %9, align 8
store i8 %102, ptr %103, align 1
br label %105
105: ; preds = %118, %100
%106 = call i32 @getch()
store i32 %106, ptr %8, align 4
%107 = call i64 @isalnum(i32 noundef %106)
%108 = icmp ne i64 %107, 0
br i1 %108, label %112, label %109
109: ; preds = %105
%110 = load i32, ptr %8, align 4
%111 = icmp eq i32 %110, 95
br i1 %111, label %112, label %116
112: ; preds = %109, %105
%113 = load i32, ptr %6, align 4
%114 = add nsw i32 %113, -1
store i32 %114, ptr %6, align 4
%115 = icmp sgt i32 %114, 0
br label %116
116: ; preds = %112, %109
%117 = phi i1 [ false, %109 ], [ %115, %112 ]
br i1 %117, label %118, label %123
118: ; preds = %116
%119 = load i32, ptr %8, align 4
%120 = trunc i32 %119 to i8
%121 = load ptr, ptr %9, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %9, align 8
store i8 %120, ptr %121, align 1
br label %105, !llvm.loop !12
123: ; preds = %116
%124 = load i32, ptr %8, align 4
call void @ungetch(i32 noundef %124)
br label %125
125: ; preds = %123, %96, %93
%126 = load i32, ptr %8, align 4
%127 = load i32, ptr @EOF, align 4
%128 = icmp eq i32 %126, %127
br i1 %128, label %129, label %131
129: ; preds = %125
%130 = load i32, ptr %8, align 4
store i32 %130, ptr %4, align 4
br label %137
131: ; preds = %125
%132 = load ptr, ptr %9, align 8
store i8 0, ptr %132, align 1
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 0
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
store i32 %136, ptr %4, align 4
br label %137
137: ; preds = %131, %129, %54
%138 = load i32, ptr %4, align 4
ret i32 %138
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch() #1
declare void @ungetch(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjl694cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getword(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %12, %3
%13 = call i32 @getch()
store i32 %13, ptr %8, align 4
%14 = call i64 @isspace(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %12, label %16, !llvm.loop !6
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %86
19: ; preds = %16
%20 = load i32, ptr %8, align 4
%21 = icmp eq i32 %20, 47
br i1 %21, label %22, label %71
22: ; preds = %19
%23 = call i32 @getch()
store i32 %23, ptr %8, align 4
%24 = icmp eq i32 %23, 47
br i1 %24, label %25, label %36
25: ; preds = %22
br label %26
26: ; preds = %33, %25
%27 = call i32 @getch()
store i32 %27, ptr %8, align 4
%28 = icmp ne i32 %27, 10
br i1 %28, label %29, label %33
29: ; preds = %26
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr @EOF, align 4
%32 = icmp ne i32 %30, %31
br label %33
33: ; preds = %29, %26
%34 = phi i1 [ false, %26 ], [ %32, %29 ]
br i1 %34, label %26, label %35, !llvm.loop !8
35: ; preds = %33
br label %70
36: ; preds = %22
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 42
br i1 %38, label %39, label %69
39: ; preds = %36
store i32 0, ptr %10, align 4
%40 = load i32, ptr %10, align 4
%41 = icmp ne i32 %40, 0
%42 = xor i1 %41, true
br i1 %42, label %.lr.ph2, label %68
.lr.ph2: ; preds = %39
br label %43
43: ; preds = %.lr.ph2, %64
%44 = call i32 @getch()
store i32 %44, ptr %8, align 4
%45 = icmp ne i32 %44, 42
br i1 %45, label %.lr.ph, label %60
.lr.ph: ; preds = %43
br label %49
46: ; preds = %49
%47 = call i32 @getch()
store i32 %47, ptr %8, align 4
%48 = icmp ne i32 %47, 42
br i1 %48, label %49, label %._crit_edge, !llvm.loop !9
49: ; preds = %.lr.ph, %46
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr @EOF, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %46
53: ; preds = %49
%54 = load ptr, ptr %9, align 8
store i8 0, ptr %54, align 1
%55 = load i32, ptr %8, align 4
call void @ungetch(i32 noundef %55)
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 0
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
store i32 %59, ptr %4, align 4
br label %137
._crit_edge: ; preds = %46
br label %60
60: ; preds = %._crit_edge, %43
%61 = call i32 @getch()
store i32 %61, ptr %8, align 4
%62 = icmp eq i32 %61, 47
br i1 %62, label %63, label %64
63: ; preds = %60
store i32 1, ptr %10, align 4
br label %64
64: ; preds = %63, %60
%65 = load i32, ptr %10, align 4
%66 = icmp ne i32 %65, 0
%67 = xor i1 %66, true
br i1 %67, label %43, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %64
br label %68
68: ; preds = %._crit_edge3, %39
br label %69
69: ; preds = %68, %36
br label %70
70: ; preds = %69, %35
br label %71
71: ; preds = %70, %19
%72 = load i32, ptr %8, align 4
%73 = icmp eq i32 %72, 34
br i1 %73, label %74, label %85
74: ; preds = %71
br label %75
75: ; preds = %82, %74
%76 = call i32 @getch()
store i32 %76, ptr %8, align 4
%77 = icmp ne i32 %76, 34
br i1 %77, label %78, label %82
78: ; preds = %75
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr @EOF, align 4
%81 = icmp ne i32 %79, %80
br label %82
82: ; preds = %78, %75
%83 = phi i1 [ false, %75 ], [ %81, %78 ]
br i1 %83, label %75, label %84, !llvm.loop !11
84: ; preds = %82
br label %85
85: ; preds = %84, %71
br label %86
86: ; preds = %85, %16
%87 = load i32, ptr %8, align 4
%88 = call i64 @isalpha(i32 noundef %87)
%89 = icmp ne i64 %88, 0
br i1 %89, label %96, label %90
90: ; preds = %86
%91 = load i32, ptr %8, align 4
%92 = icmp eq i32 %91, 35
br i1 %92, label %96, label %93
93: ; preds = %90
%94 = load i32, ptr %8, align 4
%95 = icmp eq i32 %94, 95
br i1 %95, label %96, label %125
96: ; preds = %93, %90, %86
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, -1
store i32 %98, ptr %6, align 4
%99 = icmp sgt i32 %98, 0
br i1 %99, label %100, label %125
100: ; preds = %96
%101 = load i32, ptr %8, align 4
%102 = trunc i32 %101 to i8
%103 = load ptr, ptr %9, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %9, align 8
store i8 %102, ptr %103, align 1
br label %105
105: ; preds = %118, %100
%106 = call i32 @getch()
store i32 %106, ptr %8, align 4
%107 = call i64 @isalnum(i32 noundef %106)
%108 = icmp ne i64 %107, 0
br i1 %108, label %112, label %109
109: ; preds = %105
%110 = load i32, ptr %8, align 4
%111 = icmp eq i32 %110, 95
br i1 %111, label %112, label %116
112: ; preds = %109, %105
%113 = load i32, ptr %6, align 4
%114 = add nsw i32 %113, -1
store i32 %114, ptr %6, align 4
%115 = icmp sgt i32 %114, 0
br label %116
116: ; preds = %112, %109
%117 = phi i1 [ false, %109 ], [ %115, %112 ]
br i1 %117, label %118, label %123
118: ; preds = %116
%119 = load i32, ptr %8, align 4
%120 = trunc i32 %119 to i8
%121 = load ptr, ptr %9, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %9, align 8
store i8 %120, ptr %121, align 1
br label %105, !llvm.loop !12
123: ; preds = %116
%124 = load i32, ptr %8, align 4
call void @ungetch(i32 noundef %124)
br label %125
125: ; preds = %123, %96, %93
%126 = load i32, ptr %8, align 4
%127 = load i32, ptr @EOF, align 4
%128 = icmp eq i32 %126, %127
br i1 %128, label %129, label %131
129: ; preds = %125
%130 = load i32, ptr %8, align 4
store i32 %130, ptr %4, align 4
br label %137
131: ; preds = %125
%132 = load ptr, ptr %9, align 8
store i8 0, ptr %132, align 1
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 0
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
store i32 %136, ptr %4, align 4
br label %137
137: ; preds = %131, %129, %53
%138 = load i32, ptr %4, align 4
ret i32 %138
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch() #1
declare void @ungetch(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpkrg4vfzy.c'
source_filename = "/tmp/tmpkrg4vfzy.c"
target datalayout = "e-m:e-p270: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/tmpkrg4vfzy.c"
target datalayout = "e-m:e-p270: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_nt99wrt.c'
source_filename = "/tmp/tmp_nt99wrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"gmvinput ascii\0A\0Anodev %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0Acells %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c" tri 3\0A %d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0Amaterial %d 0\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"mat%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_front_gmv(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %7, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %16, align 8
%19 = load ptr, ptr %16, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, i32 noundef %20)
store i32 0, ptr %13, align 4
br label %22
22: ; preds = %50, %6
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %53
26: ; preds = %22
%27 = load ptr, ptr %16, align 8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %13, align 4
%30 = mul nsw i32 3, %29
%31 = add nsw i32 %30, 0
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %28, i64 %32
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %13, align 4
%37 = mul nsw i32 3, %36
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %35, i64 %39
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %13, align 4
%44 = mul nsw i32 3, %43
%45 = add nsw i32 %44, 2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = load double, ptr %47, align 8
%49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.2, double noundef %34, double noundef %41, double noundef %48)
br label %50
50: ; preds = %26
%51 = load i32, ptr %13, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %13, align 4
br label %22, !llvm.loop !6
53: ; preds = %22
%54 = load ptr, ptr %16, align 8
%55 = load i32, ptr %10, align 4
%56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.3, i32 noundef %55)
store i32 0, ptr %13, align 4
br label %57
57: ; preds = %107, %53
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %110
61: ; preds = %57
%62 = load ptr, ptr %16, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %13, align 4
%65 = mul nsw i32 3, %64
%66 = add nsw i32 %65, 0
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %63, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %11, align 8
%71 = load i32, ptr %13, align 4
%72 = mul nsw i32 3, %71
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %70, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %13, align 4
%79 = mul nsw i32 3, %78
%80 = add nsw i32 %79, 2
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %77, i64 %81
%83 = load i32, ptr %82, align 4
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.4, i32 noundef %69, i32 noundef %76, i32 noundef %83)
%85 = load i32, ptr %14, align 4
%86 = load ptr, ptr %12, align 8
%87 = load i32, ptr %13, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = icmp slt i32 %85, %90
br i1 %91, label %92, label %98
92: ; preds = %61
%93 = load ptr, ptr %12, align 8
%94 = load i32, ptr %13, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
store i32 %97, ptr %14, align 4
br label %98
98: ; preds = %92, %61
%99 = load ptr, ptr %12, align 8
%100 = load i32, ptr %13, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %98
store i32 1, ptr %15, align 4
br label %106
106: ; preds = %105, %98
br label %107
107: ; preds = %106
%108 = load i32, ptr %13, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %13, align 4
br label %57, !llvm.loop !8
110: ; preds = %57
%111 = load i32, ptr %10, align 4
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %167
113: ; preds = %110
%114 = load ptr, ptr %16, align 8
%115 = load i32, ptr %14, align 4
%116 = load i32, ptr %15, align 4
%117 = add nsw i32 %115, %116
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.5, i32 noundef %117)
store i32 0, ptr %13, align 4
br label %119
119: ; preds = %128, %113
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %14, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %123, label %131
123: ; preds = %119
%124 = load ptr, ptr %16, align 8
%125 = load i32, ptr %13, align 4
%126 = add nsw i32 %125, 1
%127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.6, i32 noundef %126)
br label %128
128: ; preds = %123
%129 = load i32, ptr %13, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %13, align 4
br label %119, !llvm.loop !9
131: ; preds = %119
%132 = load i32, ptr %15, align 4
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %137
134: ; preds = %131
%135 = load ptr, ptr %16, align 8
%136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef @.str.7)
br label %137
137: ; preds = %134, %131
store i32 0, ptr %13, align 4
br label %138
138: ; preds = %163, %137
%139 = load i32, ptr %13, align 4
%140 = load i32, ptr %10, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %166
142: ; preds = %138
%143 = load ptr, ptr %16, align 8
%144 = load ptr, ptr %12, align 8
%145 = load i32, ptr %13, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = icmp ne i32 %148, 0
br i1 %149, label %150, label %156
150: ; preds = %142
%151 = load ptr, ptr %12, align 8
%152 = load i32, ptr %13, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i32, ptr %151, i64 %153
%155 = load i32, ptr %154, align 4
br label %160
156: ; preds = %142
%157 = load i32, ptr %14, align 4
%158 = load i32, ptr %15, align 4
%159 = add nsw i32 %157, %158
br label %160
160: ; preds = %156, %150
%161 = phi i32 [ %155, %150 ], [ %159, %156 ]
%162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.8, i32 noundef %161)
br label %163
163: ; preds = %160
%164 = load i32, ptr %13, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %13, align 4
br label %138, !llvm.loop !10
166: ; preds = %138
br label %167
167: ; preds = %166, %110
%168 = load ptr, ptr %16, align 8
%169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef @.str.9)
%170 = load ptr, ptr %16, align 8
%171 = call i32 @fclose(ptr noundef %170)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_nt99wrt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"gmvinput ascii\0A\0Anodev %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c" %20.15lf %20.15lf %20.15lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\0Acells %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c" tri 3\0A %d %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"\0Amaterial %d 0\0A\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"mat%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"\0Aendgmv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_front_gmv(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %7, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %16, align 8
%19 = load ptr, ptr %16, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, i32 noundef %20)
store i32 0, ptr %13, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %55
.lr.ph: ; preds = %6
br label %25
25: ; preds = %.lr.ph, %49
%26 = load ptr, ptr %16, align 8
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %13, align 4
%29 = mul nsw i32 3, %28
%30 = add nsw i32 %29, 0
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %27, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %13, align 4
%36 = mul nsw i32 3, %35
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %34, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i32, ptr %13, align 4
%43 = mul nsw i32 3, %42
%44 = add nsw i32 %43, 2
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %41, i64 %45
%47 = load double, ptr %46, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.2, double noundef %33, double noundef %40, double noundef %47)
br label %49
49: ; preds = %25
%50 = load i32, ptr %13, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %13, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %6
%56 = load ptr, ptr %16, align 8
%57 = load i32, ptr %10, align 4
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.3, i32 noundef %57)
store i32 0, ptr %13, align 4
%59 = load i32, ptr %13, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph2, label %114
.lr.ph2: ; preds = %55
br label %62
62: ; preds = %.lr.ph2, %108
%63 = load ptr, ptr %16, align 8
%64 = load ptr, ptr %11, align 8
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 3, %65
%67 = add nsw i32 %66, 0
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %64, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %11, align 8
%72 = load i32, ptr %13, align 4
%73 = mul nsw i32 3, %72
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %71, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %13, align 4
%80 = mul nsw i32 3, %79
%81 = add nsw i32 %80, 2
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %78, i64 %82
%84 = load i32, ptr %83, align 4
%85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.4, i32 noundef %70, i32 noundef %77, i32 noundef %84)
%86 = load i32, ptr %14, align 4
%87 = load ptr, ptr %12, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
%91 = load i32, ptr %90, align 4
%92 = icmp slt i32 %86, %91
br i1 %92, label %93, label %99
93: ; preds = %62
%94 = load ptr, ptr %12, align 8
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
store i32 %98, ptr %14, align 4
br label %99
99: ; preds = %93, %62
%100 = load ptr, ptr %12, align 8
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
%104 = load i32, ptr %103, align 4
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %99
store i32 1, ptr %15, align 4
br label %107
107: ; preds = %106, %99
br label %108
108: ; preds = %107
%109 = load i32, ptr %13, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %13, align 4
%111 = load i32, ptr %13, align 4
%112 = load i32, ptr %10, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %108
br label %114
114: ; preds = %._crit_edge3, %55
%115 = load i32, ptr %10, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %175
117: ; preds = %114
%118 = load ptr, ptr %16, align 8
%119 = load i32, ptr %14, align 4
%120 = load i32, ptr %15, align 4
%121 = add nsw i32 %119, %120
%122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.5, i32 noundef %121)
store i32 0, ptr %13, align 4
%123 = load i32, ptr %13, align 4
%124 = load i32, ptr %14, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %.lr.ph5, label %137
.lr.ph5: ; preds = %117
br label %126
126: ; preds = %.lr.ph5, %131
%127 = load ptr, ptr %16, align 8
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %128, 1
%130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef @.str.6, i32 noundef %129)
br label %131
131: ; preds = %126
%132 = load i32, ptr %13, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %13, align 4
%134 = load i32, ptr %13, align 4
%135 = load i32, ptr %14, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %126, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %131
br label %137
137: ; preds = %._crit_edge6, %117
%138 = load i32, ptr %15, align 4
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %143
140: ; preds = %137
%141 = load ptr, ptr %16, align 8
%142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.7)
br label %143
143: ; preds = %140, %137
store i32 0, ptr %13, align 4
%144 = load i32, ptr %13, align 4
%145 = load i32, ptr %10, align 4
%146 = icmp slt i32 %144, %145
br i1 %146, label %.lr.ph8, label %174
.lr.ph8: ; preds = %143
br label %147
147: ; preds = %.lr.ph8, %168
%148 = load ptr, ptr %16, align 8
%149 = load ptr, ptr %12, align 8
%150 = load i32, ptr %13, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
%153 = load i32, ptr %152, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %161
155: ; preds = %147
%156 = load ptr, ptr %12, align 8
%157 = load i32, ptr %13, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %156, i64 %158
%160 = load i32, ptr %159, align 4
br label %165
161: ; preds = %147
%162 = load i32, ptr %14, align 4
%163 = load i32, ptr %15, align 4
%164 = add nsw i32 %162, %163
br label %165
165: ; preds = %161, %155
%166 = phi i32 [ %160, %155 ], [ %164, %161 ]
%167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %148, ptr noundef @.str.8, i32 noundef %166)
br label %168
168: ; preds = %165
%169 = load i32, ptr %13, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %13, align 4
%171 = load i32, ptr %13, align 4
%172 = load i32, ptr %10, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %147, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %168
br label %174
174: ; preds = %._crit_edge9, %143
br label %175
175: ; preds = %174, %114
%176 = load ptr, ptr %16, align 8
%177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.9)
%178 = load ptr, ptr %16, align 8
%179 = call i32 @fclose(ptr noundef %178)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpwj1uj__j.c'
source_filename = "/tmp/tmpwj1uj__j.c"
target datalayout = "e-m:e-p270: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/tmpwj1uj__j.c"
target datalayout = "e-m:e-p270: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/tmpqgrzqw_x.c'
source_filename = "/tmp/tmpqgrzqw_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @history_getch() #0 {
%1 = alloca %struct.termios, align 4
%2 = alloca %struct.termios, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @tcgetattr(i32 noundef %4, ptr noundef %1)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %1, i64 4, i1 false)
%6 = load i32, ptr @ICANON, align 4
%7 = load i32, ptr @ECHO, align 4
%8 = or i32 %6, %7
%9 = xor i32 %8, -1
%10 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = and i32 %11, %9
store i32 %12, ptr %10, align 4
%13 = load i32, ptr @STDIN_FILENO, align 4
%14 = load i32, ptr @TCSANOW, align 4
%15 = call i32 @tcsetattr(i32 noundef %13, i32 noundef %14, ptr noundef %2)
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @getc_utf8(i32 noundef %16)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr @STDIN_FILENO, align 4
%19 = load i32, ptr @TCSANOW, align 4
%20 = call i32 @tcsetattr(i32 noundef %18, i32 noundef %19, ptr noundef %1)
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getc_utf8(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqgrzqw_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @history_getch() #0 {
%1 = alloca %struct.termios, align 4
%2 = alloca %struct.termios, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @tcgetattr(i32 noundef %4, ptr noundef %1)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %1, i64 4, i1 false)
%6 = load i32, ptr @ICANON, align 4
%7 = load i32, ptr @ECHO, align 4
%8 = or i32 %6, %7
%9 = xor i32 %8, -1
%10 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = and i32 %11, %9
store i32 %12, ptr %10, align 4
%13 = load i32, ptr @STDIN_FILENO, align 4
%14 = load i32, ptr @TCSANOW, align 4
%15 = call i32 @tcsetattr(i32 noundef %13, i32 noundef %14, ptr noundef %2)
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @getc_utf8(i32 noundef %16)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr @STDIN_FILENO, align 4
%19 = load i32, ptr @TCSANOW, align 4
%20 = call i32 @tcsetattr(i32 noundef %18, i32 noundef %19, ptr noundef %1)
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @getc_utf8(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyl5g7ew5.c'
source_filename = "/tmp/tmpyl5g7ew5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@test.testNo = internal global i32 0, align 4
@test.testPassNo = internal global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"\0ATEST %d \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ENCRYPTION:\09\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"DECRYPTION:\09\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\0A----------\0AGrade:\09\09\09\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"\1B[22;1;32mPASS\1B[0m\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\1B[22;1;31mFAIL\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"Input:\09\09\09\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"\0AKey:\09\09\09\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\0AExpected Output:\09\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"\0AActual Output:\09\09\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"\0A---------\0A\1B[22;1;32m%d/%d passed\1B[0m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i16 noundef zeroext %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i8 noundef signext %3) #0 {
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i8, align 1
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
store i16 %0, ptr %5, align 2
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i8 %3, ptr %8, align 1
%12 = load i32, ptr @test.testNo, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr @test.testNo, align 4
%14 = load i32, ptr @test.testNo, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
%16 = load i8, ptr %8, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 101
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = load i16, ptr %7, align 2
%22 = call i32 @keygen(i16 noundef zeroext %21, ptr noundef %9, ptr noundef %10)
br label %27
23: ; preds = %4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%25 = load i16, ptr %7, align 2
%26 = call i32 @keygen(i16 noundef zeroext %25, ptr noundef %10, ptr noundef %9)
br label %27
27: ; preds = %23, %19
%28 = load i16, ptr %5, align 2
%29 = load i16, ptr %9, align 2
%30 = load i16, ptr %10, align 2
%31 = call zeroext i16 @encryptDecrypt(i16 noundef zeroext %28, i16 noundef zeroext %29, i16 noundef zeroext %30)
store i16 %31, ptr %11, align 2
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%33 = load i16, ptr %11, align 2
%34 = zext i16 %33 to i32
%35 = load i16, ptr %6, align 2
%36 = zext i16 %35 to i32
%37 = icmp eq i32 %34, %36
br i1 %37, label %38, label %42
38: ; preds = %27
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%40 = load i32, ptr @test.testPassNo, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr @test.testPassNo, align 4
br label %44
42: ; preds = %27
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%46 = load i16, ptr %5, align 2
%47 = call i32 @printBin(i16 noundef zeroext %46, i32 noundef 8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%49 = load i16, ptr %7, align 2
%50 = call i32 @printBin(i16 noundef zeroext %49, i32 noundef 10)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%52 = load i16, ptr %6, align 2
%53 = call i32 @printBin(i16 noundef zeroext %52, i32 noundef 8)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%55 = load i16, ptr %11, align 2
%56 = call i32 @printBin(i16 noundef zeroext %55, i32 noundef 8)
%57 = load i32, ptr @test.testPassNo, align 4
%58 = load i32, ptr @test.testNo, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %57, i32 noundef %58)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @keygen(i16 noundef zeroext, ptr noundef, ptr noundef) #1
declare zeroext i16 @encryptDecrypt(i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) #1
declare i32 @printBin(i16 noundef zeroext, 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/tmpyl5g7ew5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@test.testNo = internal global i32 0, align 4
@test.testPassNo = internal global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"\0ATEST %d \00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"ENCRYPTION:\09\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"DECRYPTION:\09\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"\0A----------\0AGrade:\09\09\09\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"\1B[22;1;32mPASS\1B[0m\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\1B[22;1;31mFAIL\1B[0m\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"Input:\09\09\09\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"\0AKey:\09\09\09\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\0AExpected Output:\09\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"\0AActual Output:\09\09\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c"\0A---------\0A\1B[22;1;32m%d/%d passed\1B[0m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i16 noundef zeroext %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i8 noundef signext %3) #0 {
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i8, align 1
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
store i16 %0, ptr %5, align 2
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i8 %3, ptr %8, align 1
%12 = load i32, ptr @test.testNo, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr @test.testNo, align 4
%14 = load i32, ptr @test.testNo, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
%16 = load i8, ptr %8, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 101
br i1 %18, label %19, label %23
19: ; preds = %4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = load i16, ptr %7, align 2
%22 = call i32 @keygen(i16 noundef zeroext %21, ptr noundef %9, ptr noundef %10)
br label %27
23: ; preds = %4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%25 = load i16, ptr %7, align 2
%26 = call i32 @keygen(i16 noundef zeroext %25, ptr noundef %10, ptr noundef %9)
br label %27
27: ; preds = %23, %19
%28 = load i16, ptr %5, align 2
%29 = load i16, ptr %9, align 2
%30 = load i16, ptr %10, align 2
%31 = call zeroext i16 @encryptDecrypt(i16 noundef zeroext %28, i16 noundef zeroext %29, i16 noundef zeroext %30)
store i16 %31, ptr %11, align 2
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%33 = load i16, ptr %11, align 2
%34 = zext i16 %33 to i32
%35 = load i16, ptr %6, align 2
%36 = zext i16 %35 to i32
%37 = icmp eq i32 %34, %36
br i1 %37, label %38, label %42
38: ; preds = %27
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%40 = load i32, ptr @test.testPassNo, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr @test.testPassNo, align 4
br label %44
42: ; preds = %27
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %38
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%46 = load i16, ptr %5, align 2
%47 = call i32 @printBin(i16 noundef zeroext %46, i32 noundef 8)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%49 = load i16, ptr %7, align 2
%50 = call i32 @printBin(i16 noundef zeroext %49, i32 noundef 10)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%52 = load i16, ptr %6, align 2
%53 = call i32 @printBin(i16 noundef zeroext %52, i32 noundef 8)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%55 = load i16, ptr %11, align 2
%56 = call i32 @printBin(i16 noundef zeroext %55, i32 noundef 8)
%57 = load i32, ptr @test.testPassNo, align 4
%58 = load i32, ptr @test.testNo, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %57, i32 noundef %58)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @keygen(i16 noundef zeroext, ptr noundef, ptr noundef) #1
declare zeroext i16 @encryptDecrypt(i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) #1
declare i32 @printBin(i16 noundef zeroext, 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/tmpopqtlgo1.c'
source_filename = "/tmp/tmpopqtlgo1.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Model\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_hardware(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load i32, ptr @BUFSIZ, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %4, align 8
%10 = call i32 (...) @get_cpuinfo_file()
%11 = call ptr @fopen(i32 noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %28
13: ; preds = %1
br label %14
14: ; preds = %26, %13
%15 = load i32, ptr @BUFSIZ, align 4
%16 = load ptr, ptr %5, align 8
%17 = call ptr @fgets(ptr noundef %9, i32 noundef %15, ptr noundef %16)
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 15)
%21 = icmp ne i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %19
%23 = load ptr, ptr %2, align 8
%24 = call i32 @parse_line(ptr noundef %9)
%25 = call i32 @strncpy(ptr noundef %23, i32 noundef %24, i32 noundef 64)
br label %26
26: ; preds = %22, %19
br label %14, !llvm.loop !6
27: ; preds = %14
br label %28
28: ; preds = %27, %1
%29 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %29)
ret i32 1
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(i32 noundef, ptr noundef) #2
declare i32 @get_cpuinfo_file(...) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @parse_line(ptr 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/tmpopqtlgo1.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Model\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_hardware(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load i32, ptr @BUFSIZ, align 4
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %4, align 8
%10 = call i32 (...) @get_cpuinfo_file()
%11 = call ptr @fopen(i32 noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %31
13: ; preds = %1
%14 = load i32, ptr @BUFSIZ, align 4
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fgets(ptr noundef %9, i32 noundef %14, ptr noundef %15)
%17 = icmp ne ptr %16, null
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %25
%19 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 15)
%20 = icmp ne i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %18
%22 = load ptr, ptr %2, align 8
%23 = call i32 @parse_line(ptr noundef %9)
%24 = call i32 @strncpy(ptr noundef %22, i32 noundef %23, i32 noundef 64)
br label %25
25: ; preds = %21, %18
%26 = load i32, ptr @BUFSIZ, align 4
%27 = load ptr, ptr %5, align 8
%28 = call ptr @fgets(ptr noundef %9, i32 noundef %26, ptr noundef %27)
%29 = icmp ne ptr %28, null
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %13
br label %31
31: ; preds = %30, %1
%32 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %32)
ret i32 1
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @fopen(i32 noundef, ptr noundef) #2
declare i32 @get_cpuinfo_file(...) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @parse_line(ptr 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/tmplaqmjjmw.c'
source_filename = "/tmp/tmplaqmjjmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplaqmjjmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERANGE = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmphoe083.c'
source_filename = "/tmp/tmpmphoe083.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION = dso_local global i32 0, align 4
@TS_MAX_CLOCK_PRECISION_DIGITS = dso_local global i32 0, align 4
@TS_R_COULD_NOT_SET_TIME = 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/tmpmphoe083.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION = dso_local global i32 0, align 4
@TS_MAX_CLOCK_PRECISION_DIGITS = dso_local global i32 0, align 4
@TS_R_COULD_NOT_SET_TIME = 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/tmpvisbx8dr.c'
source_filename = "/tmp/tmpvisbx8dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate_clockwise_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @rotate_clockwise(i32 noundef 33686018)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 538976288)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @rotate_clockwise(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/tmpvisbx8dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate_clockwise_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @rotate_clockwise(i32 noundef 33686018)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 538976288)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @rotate_clockwise(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/tmpvtb1u420.c'
source_filename = "/tmp/tmpvtb1u420.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"I study programming in %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeFile(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
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvtb1u420.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"I study programming in %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeFile(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
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = call i32 @fclose(ptr noundef %11)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6k8pksp6.c'
source_filename = "/tmp/tmp6k8pksp6.c"
target datalayout = "e-m:e-p270: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._Unwind_DeleteException.msg = private unnamed_addr constant [79 x i8] c"Aborting: _Unwind_DeleteException called (C++ exception handling is disabled)\0A\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Unwind_DeleteException() #0 {
%1 = alloca [79 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const._Unwind_DeleteException.msg, i64 79, i1 false)
%2 = getelementptr inbounds [79 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @write(i32 noundef 2, ptr noundef %2, i32 noundef 78)
%4 = call i32 (...) @abort() #4
unreachable
}
; 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 @write(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6k8pksp6.c"
target datalayout = "e-m:e-p270: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._Unwind_DeleteException.msg = private unnamed_addr constant [79 x i8] c"Aborting: _Unwind_DeleteException called (C++ exception handling is disabled)\0A\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Unwind_DeleteException() #0 {
%1 = alloca [79 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const._Unwind_DeleteException.msg, i64 79, i1 false)
%2 = getelementptr inbounds [79 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @write(i32 noundef 2, ptr noundef %2, i32 noundef 78)
%4 = call i32 (...) @abort() #4
unreachable
}
; 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 @write(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa7gf6a6s.c'
source_filename = "/tmp/tmpa7gf6a6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__setup_control_path(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @PF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %44
13: ; preds = %1
%14 = load i32, ptr %4, align 4
%15 = call i32 @set_non_blocking(i32 noundef %14)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 -1, ptr %2, align 4
br label %44
18: ; preds = %13
%19 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%20 = load i32, ptr @PF_UNIX, align 4
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i32 @unlink(ptr noundef %26)
%28 = load i32, ptr %4, align 4
%29 = call i64 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 8)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %18
%32 = call i32 @perror(ptr noundef @.str.1)
br label %41
33: ; preds = %18
%34 = load i32, ptr %4, align 4
%35 = call i64 @listen(i32 noundef %34, i32 noundef 5)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 @perror(ptr noundef @.str.2)
br label %41
39: ; preds = %33
%40 = load i32, ptr %4, align 4
store i32 %40, ptr %2, align 4
br label %44
41: ; preds = %37, %31
%42 = load i32, ptr %4, align 4
%43 = call i32 @close(i32 noundef %42)
store i32 -1, ptr %2, align 4
br label %44
44: ; preds = %41, %39, %17, %11
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @set_non_blocking(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7gf6a6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__setup_control_path(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_un, align 4
store ptr %0, ptr %3, align 8
%6 = load i32, ptr @PF_UNIX, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %44
13: ; preds = %1
%14 = load i32, ptr %4, align 4
%15 = call i32 @set_non_blocking(i32 noundef %14)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 -1, ptr %2, align 4
br label %44
18: ; preds = %13
%19 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%20 = load i32, ptr @PF_UNIX, align 4
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i32 @unlink(ptr noundef %26)
%28 = load i32, ptr %4, align 4
%29 = call i64 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 8)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %18
%32 = call i32 @perror(ptr noundef @.str.1)
br label %41
33: ; preds = %18
%34 = load i32, ptr %4, align 4
%35 = call i64 @listen(i32 noundef %34, i32 noundef 5)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i32 @perror(ptr noundef @.str.2)
br label %41
39: ; preds = %33
%40 = load i32, ptr %4, align 4
store i32 %40, ptr %2, align 4
br label %44
41: ; preds = %37, %31
%42 = load i32, ptr %4, align 4
%43 = call i32 @close(i32 noundef %42)
store i32 -1, ptr %2, align 4
br label %44
44: ; preds = %41, %39, %17, %11
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @set_non_blocking(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsehnhmun.c'
source_filename = "/tmp/tmpsehnhmun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HardFault_Handler() #0 {
%1 = call i32 @__BKPT(i32 noundef 3)
ret void
}
declare i32 @__BKPT(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/tmpsehnhmun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HardFault_Handler() #0 {
%1 = call i32 @__BKPT(i32 noundef 3)
ret void
}
declare i32 @__BKPT(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/tmpkt144fu7.c'
source_filename = "/tmp/tmpkt144fu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateNewGeneration(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
%8 = alloca double, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = call ptr @malloc(i32 noundef 64)
store ptr %10, ptr %5, align 8
%11 = call ptr @malloc(i32 noundef 64)
store ptr %11, ptr %6, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %40, %2
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 20
br i1 %14, label %15, label %43
15: ; preds = %12
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = load double, ptr %8, align 8
%22 = fcmp ogt double %20, %21
br i1 %22, label %23, label %39
23: ; preds = %15
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 64)
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = call i32 @memcpy(ptr noundef %27, ptr noundef %32, i32 noundef 64)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
store double %38, ptr %8, align 8
br label %39
39: ; preds = %23, %15
br label %40
40: ; preds = %39
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %12, !llvm.loop !6
43: ; preds = %12
store i32 0, ptr %9, align 4
br label %44
44: ; preds = %91, %43
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 20
br i1 %46, label %47, label %94
47: ; preds = %44
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 7
br i1 %49, label %50, label %63
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %6, align 8
%53 = call ptr @CreateChild(ptr noundef %51, ptr noundef %52)
store ptr %53, ptr %7, align 8
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %7, align 8
%60 = call i32 @memcpy(ptr noundef %58, ptr noundef %59, i32 noundef 64)
%61 = load ptr, ptr %7, align 8
%62 = call i32 @free(ptr noundef %61)
store ptr null, ptr %7, align 8
br label %90
63: ; preds = %47
%64 = load i32, ptr %9, align 4
%65 = icmp slt i32 %64, 14
br i1 %65, label %66, label %78
66: ; preds = %63
%67 = load ptr, ptr %5, align 8
%68 = call ptr @CreateBastard(ptr noundef %67)
store ptr %68, ptr %7, align 8
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %7, align 8
%75 = call i32 @memcpy(ptr noundef %73, ptr noundef %74, i32 noundef 64)
%76 = load ptr, ptr %7, align 8
%77 = call i32 @free(ptr noundef %76)
store ptr null, ptr %7, align 8
br label %89
78: ; preds = %63
%79 = call ptr (...) @CreateImmigrant()
store ptr %79, ptr %7, align 8
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = load ptr, ptr %7, align 8
%86 = call i32 @memcpy(ptr noundef %84, ptr noundef %85, i32 noundef 64)
%87 = load ptr, ptr %7, align 8
%88 = call i32 @free(ptr noundef %87)
store ptr null, ptr %7, align 8
br label %89
89: ; preds = %78, %66
br label %90
90: ; preds = %89, %50
br label %91
91: ; preds = %90
%92 = load i32, ptr %9, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %9, align 4
br label %44, !llvm.loop !8
94: ; preds = %44
%95 = load ptr, ptr %5, align 8
%96 = call i32 @free(ptr noundef %95)
%97 = load ptr, ptr %6, align 8
%98 = call i32 @free(ptr noundef %97)
%99 = load ptr, ptr %3, align 8
ret ptr %99
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @CreateChild(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @CreateBastard(ptr noundef) #1
declare ptr @CreateImmigrant(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpkt144fu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateNewGeneration(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
%8 = alloca double, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = call ptr @malloc(i32 noundef 64)
store ptr %10, ptr %5, align 8
%11 = call ptr @malloc(i32 noundef 64)
store ptr %11, ptr %6, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %12, 20
br i1 %13, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %39
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
%20 = load double, ptr %8, align 8
%21 = fcmp ogt double %19, %20
br i1 %21, label %22, label %38
22: ; preds = %14
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %5, align 8
%25 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef 64)
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = call i32 @memcpy(ptr noundef %26, ptr noundef %31, i32 noundef 64)
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
store double %37, ptr %8, align 8
br label %38
38: ; preds = %22, %14
br label %39
39: ; preds = %38
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %42, 20
br i1 %43, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %44
44: ; preds = %._crit_edge, %2
store i32 0, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 20
br i1 %46, label %.lr.ph2, label %96
.lr.ph2: ; preds = %44
br label %47
47: ; preds = %.lr.ph2, %91
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 7
br i1 %49, label %50, label %63
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %6, align 8
%53 = call ptr @CreateChild(ptr noundef %51, ptr noundef %52)
store ptr %53, ptr %7, align 8
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %7, align 8
%60 = call i32 @memcpy(ptr noundef %58, ptr noundef %59, i32 noundef 64)
%61 = load ptr, ptr %7, align 8
%62 = call i32 @free(ptr noundef %61)
store ptr null, ptr %7, align 8
br label %90
63: ; preds = %47
%64 = load i32, ptr %9, align 4
%65 = icmp slt i32 %64, 14
br i1 %65, label %66, label %78
66: ; preds = %63
%67 = load ptr, ptr %5, align 8
%68 = call ptr @CreateBastard(ptr noundef %67)
store ptr %68, ptr %7, align 8
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %7, align 8
%75 = call i32 @memcpy(ptr noundef %73, ptr noundef %74, i32 noundef 64)
%76 = load ptr, ptr %7, align 8
%77 = call i32 @free(ptr noundef %76)
store ptr null, ptr %7, align 8
br label %89
78: ; preds = %63
%79 = call ptr (...) @CreateImmigrant()
store ptr %79, ptr %7, align 8
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = load ptr, ptr %7, align 8
%86 = call i32 @memcpy(ptr noundef %84, ptr noundef %85, i32 noundef 64)
%87 = load ptr, ptr %7, align 8
%88 = call i32 @free(ptr noundef %87)
store ptr null, ptr %7, align 8
br label %89
89: ; preds = %78, %66
br label %90
90: ; preds = %89, %50
br label %91
91: ; preds = %90
%92 = load i32, ptr %9, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %9, align 4
%94 = load i32, ptr %9, align 4
%95 = icmp slt i32 %94, 20
br i1 %95, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %91
br label %96
96: ; preds = %._crit_edge3, %44
%97 = load ptr, ptr %5, align 8
%98 = call i32 @free(ptr noundef %97)
%99 = load ptr, ptr %6, align 8
%100 = call i32 @free(ptr noundef %99)
%101 = load ptr, ptr %3, align 8
ret ptr %101
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @CreateChild(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @CreateBastard(ptr noundef) #1
declare ptr @CreateImmigrant(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp34em65mz.c'
source_filename = "/tmp/tmp34em65mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d at %d = \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 26, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %25, %0
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 100
br i1 %8, label %9, label %28
9: ; preds = %6
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %11
store i8 0, ptr %12, align 1
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @fromDecimal2(i32 noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %5)
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %21
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23)
br label %25
25: ; preds = %9
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %6, !llvm.loop !6
28: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fromDecimal2(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp34em65mz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d at %d = \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 26, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 100
br i1 %7, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %24
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %10
store i8 0, ptr %11, align 1
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @fromDecimal2(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %5)
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %20
store i8 0, ptr %21, align 1
%22 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sle i32 %27, 100
br i1 %28, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fromDecimal2(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0fqxrerl.c'
source_filename = "/tmp/tmp0fqxrerl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %4, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @printf(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/tmp0fqxrerl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %4, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @printf(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/tmpfidt36hw.c'
source_filename = "/tmp/tmpfidt36hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Dear my parent process!\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Child sending a messege\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Child: 1st message sent.\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Today is my birthday!\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"Child sending a message \0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Parent receiving 1st message now\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"Parent: received message len=%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"Parent: 1st message received - %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"There is an error when receiving message\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"Parent receiving 2nd message now\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Parent: 2nd message received - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = call i32 (...) @getpid()
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @fork()
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %33, label %16
16: ; preds = %2
%17 = call i64 @malloc(i32 noundef 100)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store ptr @.str, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %9, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = load ptr, ptr %9, align 8
%24 = call i64 @syscall(i32 noundef 292, i32 noundef %20, i32 noundef %22, ptr noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store ptr @.str.3, ptr %9, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %9, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = load ptr, ptr %9, align 8
%31 = call i64 @syscall(i32 noundef 292, i32 noundef %27, i32 noundef %29, ptr noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %66
33: ; preds = %2
%34 = load i32, ptr %8, align 4
%35 = call i32 @waitpid(i32 noundef %34, ptr noundef %6, i32 noundef 0)
%36 = call i64 @malloc(i32 noundef 100)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %10, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%39 = load i32, ptr %8, align 4
%40 = load ptr, ptr %10, align 8
%41 = call i64 @syscall(i32 noundef 293, i32 noundef %39, i32 noundef 100, ptr noundef %40)
store i64 %41, ptr %11, align 8
%42 = load i64, ptr %11, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %42)
%44 = load i64, ptr %11, align 8
%45 = icmp sgt i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %33
%47 = load ptr, ptr %10, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %47)
br label %51
49: ; preds = %33
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %51
51: ; preds = %49, %46
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%53 = load i32, ptr %8, align 4
%54 = load ptr, ptr %10, align 8
%55 = call i64 @syscall(i32 noundef 293, i32 noundef %53, i32 noundef 100, ptr noundef %54)
store i64 %55, ptr %11, align 8
%56 = load i64, ptr %11, align 8
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %56)
%58 = load i64, ptr %11, align 8
%59 = icmp sgt i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %51
%61 = load ptr, ptr %10, align 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %61)
br label %65
63: ; preds = %51
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %65
65: ; preds = %63, %60
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %65, %16
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @getpid(...) #1
declare i32 @fork(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfidt36hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Dear my parent process!\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Child sending a messege\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Child: 1st message sent.\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Today is my birthday!\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"Child sending a message \0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Parent receiving 1st message now\0A\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"Parent: received message len=%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [35 x i8] c"Parent: 1st message received - %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"There is an error when receiving message\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"Parent receiving 2nd message now\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Parent: 2nd message received - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = call i32 (...) @getpid()
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @fork()
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %33, label %16
16: ; preds = %2
%17 = call i64 @malloc(i32 noundef 100)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store ptr @.str, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %9, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = load ptr, ptr %9, align 8
%24 = call i64 @syscall(i32 noundef 292, i32 noundef %20, i32 noundef %22, ptr noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store ptr @.str.3, ptr %9, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %9, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = load ptr, ptr %9, align 8
%31 = call i64 @syscall(i32 noundef 292, i32 noundef %27, i32 noundef %29, ptr noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %66
33: ; preds = %2
%34 = load i32, ptr %8, align 4
%35 = call i32 @waitpid(i32 noundef %34, ptr noundef %6, i32 noundef 0)
%36 = call i64 @malloc(i32 noundef 100)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %10, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%39 = load i32, ptr %8, align 4
%40 = load ptr, ptr %10, align 8
%41 = call i64 @syscall(i32 noundef 293, i32 noundef %39, i32 noundef 100, ptr noundef %40)
store i64 %41, ptr %11, align 8
%42 = load i64, ptr %11, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %42)
%44 = load i64, ptr %11, align 8
%45 = icmp sgt i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %33
%47 = load ptr, ptr %10, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %47)
br label %51
49: ; preds = %33
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %51
51: ; preds = %49, %46
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%53 = load i32, ptr %8, align 4
%54 = load ptr, ptr %10, align 8
%55 = call i64 @syscall(i32 noundef 293, i32 noundef %53, i32 noundef 100, ptr noundef %54)
store i64 %55, ptr %11, align 8
%56 = load i64, ptr %11, align 8
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %56)
%58 = load i64, ptr %11, align 8
%59 = icmp sgt i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %51
%61 = load ptr, ptr %10, align 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %61)
br label %65
63: ; preds = %51
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %65
65: ; preds = %63, %60
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %65, %16
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @getpid(...) #1
declare i32 @fork(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @syscall(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp68e7ozqw.c'
source_filename = "/tmp/tmp68e7ozqw.c"
target datalayout = "e-m:e-p270: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/tmp68e7ozqw.c"
target datalayout = "e-m:e-p270: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/tmpfgrcds8u.c'
source_filename = "/tmp/tmpfgrcds8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guess(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca [9 x [9 x [10 x i8]]], align 16
store ptr %0, ptr %3, align 8
store i8 0, ptr %4, align 1
br label %8
8: ; preds = %89, %1
%9 = load i8, ptr %4, align 1
%10 = sext i8 %9 to i32
%11 = icmp slt i32 %10, 9
br i1 %11, label %12, label %92
12: ; preds = %8
store i8 0, ptr %5, align 1
br label %13
13: ; preds = %85, %12
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp slt i32 %15, 9
br i1 %16, label %17, label %88
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %4, align 1
%20 = sext i8 %19 to i64
%21 = getelementptr inbounds [9 x [10 x i8]], ptr %18, i64 %20
%22 = load i8, ptr %5, align 1
%23 = sext i8 %22 to i64
%24 = getelementptr inbounds [9 x [10 x i8]], ptr %21, i64 0, i64 %23
%25 = getelementptr inbounds [10 x i8], ptr %24, i64 0, i64 0
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %84, label %28
28: ; preds = %17
store i8 1, ptr %6, align 1
br label %29
29: ; preds = %80, %28
%30 = load i8, ptr %6, align 1
%31 = sext i8 %30 to i32
%32 = icmp slt i32 %31, 10
br i1 %32, label %33, label %83
33: ; preds = %29
%34 = load ptr, ptr %3, align 8
%35 = load i8, ptr %4, align 1
%36 = sext i8 %35 to i64
%37 = getelementptr inbounds [9 x [10 x i8]], ptr %34, i64 %36
%38 = load i8, ptr %5, align 1
%39 = sext i8 %38 to i64
%40 = getelementptr inbounds [9 x [10 x i8]], ptr %37, i64 0, i64 %39
%41 = load i8, ptr %6, align 1
%42 = sext i8 %41 to i64
%43 = getelementptr inbounds [10 x i8], ptr %40, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = icmp ne i8 %44, 0
br i1 %45, label %46, label %79
46: ; preds = %33
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%49 = load i8, ptr %4, align 1
%50 = load i8, ptr %5, align 1
%51 = load i8, ptr %6, align 1
%52 = call i32 @guessed(ptr noundef %47, ptr noundef %48, i8 noundef signext %49, i8 noundef signext %50, i8 noundef signext %51)
%53 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%54 = call i32 @solve(ptr noundef %53)
%55 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%56 = call i64 @solved(ptr noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %46
%59 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%60 = call i32 @output(ptr noundef %59)
store i32 1, ptr %2, align 4
br label %93
61: ; preds = %46
%62 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%63 = call i32 @guess(ptr noundef %62)
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %61
store i32 1, ptr %2, align 4
br label %93
66: ; preds = %61
%67 = load ptr, ptr %3, align 8
%68 = load i8, ptr %4, align 1
%69 = sext i8 %68 to i64
%70 = getelementptr inbounds [9 x [10 x i8]], ptr %67, i64 %69
%71 = load i8, ptr %5, align 1
%72 = sext i8 %71 to i64
%73 = getelementptr inbounds [9 x [10 x i8]], ptr %70, i64 0, i64 %72
%74 = load i8, ptr %6, align 1
%75 = sext i8 %74 to i64
%76 = getelementptr inbounds [10 x i8], ptr %73, i64 0, i64 %75
store i8 0, ptr %76, align 1
%77 = load ptr, ptr %3, align 8
%78 = call i32 @solve(ptr noundef %77)
br label %79
79: ; preds = %66, %33
br label %80
80: ; preds = %79
%81 = load i8, ptr %6, align 1
%82 = add i8 %81, 1
store i8 %82, ptr %6, align 1
br label %29, !llvm.loop !6
83: ; preds = %29
br label %84
84: ; preds = %83, %17
br label %85
85: ; preds = %84
%86 = load i8, ptr %5, align 1
%87 = add i8 %86, 1
store i8 %87, ptr %5, align 1
br label %13, !llvm.loop !8
88: ; preds = %13
br label %89
89: ; preds = %88
%90 = load i8, ptr %4, align 1
%91 = add i8 %90, 1
store i8 %91, ptr %4, align 1
br label %8, !llvm.loop !9
92: ; preds = %8
store i32 0, ptr %2, align 4
br label %93
93: ; preds = %92, %65, %58
%94 = load i32, ptr %2, align 4
ret i32 %94
}
declare i32 @guessed(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @solve(ptr noundef) #1
declare i64 @solved(ptr noundef) #1
declare i32 @output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfgrcds8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guess(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca [9 x [9 x [10 x i8]]], align 16
store ptr %0, ptr %3, align 8
store i8 0, ptr %4, align 1
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = icmp slt i32 %9, 9
br i1 %10, label %.lr.ph5, label %98
.lr.ph5: ; preds = %1
br label %11
11: ; preds = %.lr.ph5, %92
store i8 0, ptr %5, align 1
%12 = load i8, ptr %5, align 1
%13 = sext i8 %12 to i32
%14 = icmp slt i32 %13, 9
br i1 %14, label %.lr.ph2, label %91
.lr.ph2: ; preds = %11
br label %15
15: ; preds = %.lr.ph2, %85
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %4, align 1
%18 = sext i8 %17 to i64
%19 = getelementptr inbounds [9 x [10 x i8]], ptr %16, i64 %18
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i64
%22 = getelementptr inbounds [9 x [10 x i8]], ptr %19, i64 0, i64 %21
%23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %84, label %26
26: ; preds = %15
store i8 1, ptr %6, align 1
%27 = load i8, ptr %6, align 1
%28 = sext i8 %27 to i32
%29 = icmp slt i32 %28, 10
br i1 %29, label %.lr.ph, label %83
.lr.ph: ; preds = %26
br label %30
30: ; preds = %.lr.ph, %77
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %4, align 1
%33 = sext i8 %32 to i64
%34 = getelementptr inbounds [9 x [10 x i8]], ptr %31, i64 %33
%35 = load i8, ptr %5, align 1
%36 = sext i8 %35 to i64
%37 = getelementptr inbounds [9 x [10 x i8]], ptr %34, i64 0, i64 %36
%38 = load i8, ptr %6, align 1
%39 = sext i8 %38 to i64
%40 = getelementptr inbounds [10 x i8], ptr %37, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = icmp ne i8 %41, 0
br i1 %42, label %43, label %76
43: ; preds = %30
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%46 = load i8, ptr %4, align 1
%47 = load i8, ptr %5, align 1
%48 = load i8, ptr %6, align 1
%49 = call i32 @guessed(ptr noundef %44, ptr noundef %45, i8 noundef signext %46, i8 noundef signext %47, i8 noundef signext %48)
%50 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%51 = call i32 @solve(ptr noundef %50)
%52 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%53 = call i64 @solved(ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %43
%56 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%57 = call i32 @output(ptr noundef %56)
store i32 1, ptr %2, align 4
br label %99
58: ; preds = %43
%59 = getelementptr inbounds [9 x [9 x [10 x i8]]], ptr %7, i64 0, i64 0
%60 = call i32 @guess(ptr noundef %59)
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 1, ptr %2, align 4
br label %99
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = load i8, ptr %4, align 1
%66 = sext i8 %65 to i64
%67 = getelementptr inbounds [9 x [10 x i8]], ptr %64, i64 %66
%68 = load i8, ptr %5, align 1
%69 = sext i8 %68 to i64
%70 = getelementptr inbounds [9 x [10 x i8]], ptr %67, i64 0, i64 %69
%71 = load i8, ptr %6, align 1
%72 = sext i8 %71 to i64
%73 = getelementptr inbounds [10 x i8], ptr %70, i64 0, i64 %72
store i8 0, ptr %73, align 1
%74 = load ptr, ptr %3, align 8
%75 = call i32 @solve(ptr noundef %74)
br label %76
76: ; preds = %63, %30
br label %77
77: ; preds = %76
%78 = load i8, ptr %6, align 1
%79 = add i8 %78, 1
store i8 %79, ptr %6, align 1
%80 = load i8, ptr %6, align 1
%81 = sext i8 %80 to i32
%82 = icmp slt i32 %81, 10
br i1 %82, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %26
br label %84
84: ; preds = %83, %15
br label %85
85: ; preds = %84
%86 = load i8, ptr %5, align 1
%87 = add i8 %86, 1
store i8 %87, ptr %5, align 1
%88 = load i8, ptr %5, align 1
%89 = sext i8 %88 to i32
%90 = icmp slt i32 %89, 9
br i1 %90, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %91
91: ; preds = %._crit_edge3, %11
br label %92
92: ; preds = %91
%93 = load i8, ptr %4, align 1
%94 = add i8 %93, 1
store i8 %94, ptr %4, align 1
%95 = load i8, ptr %4, align 1
%96 = sext i8 %95 to i32
%97 = icmp slt i32 %96, 9
br i1 %97, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %92
br label %98
98: ; preds = %._crit_edge6, %1
store i32 0, ptr %2, align 4
br label %99
99: ; preds = %98, %62, %55
%100 = load i32, ptr %2, align 4
ret i32 %100
}
declare i32 @guessed(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1
declare i32 @solve(ptr noundef) #1
declare i64 @solved(ptr noundef) #1
declare i32 @output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpc9d9bl9h.c'
source_filename = "/tmp/tmpc9d9bl9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_hasht_delete(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @hasht_delete(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
ret void
}
declare ptr @hasht_delete(ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmpc9d9bl9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_hasht_delete(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @hasht_delete(ptr noundef %8, ptr noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = call i32 @free(ptr noundef %16)
ret void
}
declare ptr @hasht_delete(ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmpj796vfpr.c'
source_filename = "/tmp/tmpj796vfpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checktrue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj796vfpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checktrue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ydvh6z9.c'
source_filename = "/tmp/tmp8ydvh6z9.c"
target datalayout = "e-m:e-p270: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/tmp8ydvh6z9.c"
target datalayout = "e-m:e-p270: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/tmp1trthww3.c'
source_filename = "/tmp/tmp1trthww3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn51\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fn51() #0 {
%1 = alloca ptr, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 20
%4 = add nsw i32 20, %3
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 20
%9 = add nsw i32 30, %8
%10 = call ptr @realloc(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str)
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1trthww3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn51\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fn51() #0 {
%1 = alloca ptr, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 20
%4 = add nsw i32 20, %3
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 20
%9 = add nsw i32 30, %8
%10 = call ptr @realloc(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str)
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0z6y8dg.c'
source_filename = "/tmp/tmpy0z6y8dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putCatch(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
br label %8
8: ; preds = %51, %2
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %52
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
switch i32 %15, label %45 [
i32 35, label %16
]
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 35
br i1 %21, label %22, label %28
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %3, align 8
store i8 %25, ptr %26, align 1
br label %44
28: ; preds = %16
%29 = load ptr, ptr %4, align 8
%30 = call i32 @aToi(ptr noundef %29)
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = call i32 @cpyCatch(ptr noundef %31, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = call i32 @lenCatch(i32 noundef %34)
%36 = load ptr, ptr %3, align 8
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %36, i64 %37
store ptr %38, ptr %3, align 8
%39 = load ptr, ptr %4, align 8
%40 = call i32 @countCharDigits(ptr noundef %39)
%41 = load ptr, ptr %4, align 8
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store ptr %43, ptr %4, align 8
br label %44
44: ; preds = %28, %22
br label %51
45: ; preds = %12
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %4, align 8
%48 = load i8, ptr %46, align 1
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %3, align 8
store i8 %48, ptr %49, align 1
br label %51
51: ; preds = %45, %44
br label %8, !llvm.loop !6
52: ; preds = %8
%53 = load ptr, ptr %3, align 8
store i8 0, ptr %53, align 1
%54 = load ptr, ptr %5, align 8
ret ptr %54
}
declare i32 @aToi(ptr noundef) #1
declare i32 @cpyCatch(ptr noundef, i32 noundef) #1
declare i32 @lenCatch(i32 noundef) #1
declare i32 @countCharDigits(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpy0z6y8dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putCatch(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %.lr.ph, label %54
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %50
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
switch i32 %14, label %44 [
i32 35, label %15
]
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 35
br i1 %20, label %21, label %27
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %3, align 8
store i8 %24, ptr %25, align 1
br label %43
27: ; preds = %15
%28 = load ptr, ptr %4, align 8
%29 = call i32 @aToi(ptr noundef %28)
store i32 %29, ptr %6, align 4
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %6, align 4
%32 = call i32 @cpyCatch(ptr noundef %30, i32 noundef %31)
%33 = load i32, ptr %6, align 4
%34 = call i32 @lenCatch(i32 noundef %33)
%35 = load ptr, ptr %3, align 8
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %35, i64 %36
store ptr %37, ptr %3, align 8
%38 = load ptr, ptr %4, align 8
%39 = call i32 @countCharDigits(ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store ptr %42, ptr %4, align 8
br label %43
43: ; preds = %27, %21
br label %50
44: ; preds = %11
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %4, align 8
%47 = load i8, ptr %45, align 1
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %3, align 8
store i8 %47, ptr %48, align 1
br label %50
50: ; preds = %44, %43
%51 = load ptr, ptr %4, align 8
%52 = load i8, ptr %51, align 1
%53 = icmp ne i8 %52, 0
br i1 %53, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %54
54: ; preds = %._crit_edge, %2
%55 = load ptr, ptr %3, align 8
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %5, align 8
ret ptr %56
}
declare i32 @aToi(ptr noundef) #1
declare i32 @cpyCatch(ptr noundef, i32 noundef) #1
declare i32 @lenCatch(i32 noundef) #1
declare i32 @countCharDigits(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpd8ttzvll.c'
source_filename = "/tmp/tmpd8ttzvll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @receiver(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
%13 = call ptr @network_bind_and_accept(i32 noundef 232323)
store ptr %13, ptr %5, align 8
%14 = call ptr @network_connect(ptr noundef @.str, i32 noundef 343434)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @network_receive(ptr noundef %15)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = call ptr @pair_get_first(ptr noundef %17)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @check_is_data(ptr noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = call i32 @item_get_data(ptr noundef %21, ptr noundef %7)
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %2
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %2
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %10, align 1
%29 = load ptr, ptr %7, align 8
%30 = call i32 @free(ptr noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = call ptr @pair_get_second(ptr noundef %31)
store ptr %32, ptr %11, align 8
%33 = load ptr, ptr %11, align 8
%34 = call i32 @check_is_nonce(ptr noundef %33)
%35 = load ptr, ptr %8, align 8
%36 = call i32 @item_free(ptr noundef %35)
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i8, ptr %10, align 1
%40 = load ptr, ptr %11, align 8
%41 = load i8, ptr %3, align 1
%42 = load ptr, ptr %4, align 8
%43 = call ptr @core_receiver(ptr noundef %37, ptr noundef %38, i8 noundef signext %39, ptr noundef %40, i8 noundef signext %41, ptr noundef %42)
store ptr %43, ptr %12, align 8
%44 = load ptr, ptr %9, align 8
%45 = call i32 @item_free(ptr noundef %44)
%46 = load ptr, ptr %12, align 8
%47 = call i32 @item_free(ptr noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @network_disconnect(ptr noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @network_disconnect(ptr noundef %50)
ret void
}
declare ptr @network_bind_and_accept(i32 noundef) #1
declare ptr @network_connect(ptr noundef, i32 noundef) #1
declare ptr @network_receive(ptr noundef) #1
declare ptr @pair_get_first(ptr noundef) #1
declare i32 @check_is_data(ptr noundef) #1
declare i32 @item_get_data(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @free(ptr noundef) #1
declare ptr @pair_get_second(ptr noundef) #1
declare i32 @check_is_nonce(ptr noundef) #1
declare i32 @item_free(ptr noundef) #1
declare ptr @core_receiver(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext, ptr noundef) #1
declare i32 @network_disconnect(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpd8ttzvll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @receiver(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
%13 = call ptr @network_bind_and_accept(i32 noundef 232323)
store ptr %13, ptr %5, align 8
%14 = call ptr @network_connect(ptr noundef @.str, i32 noundef 343434)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @network_receive(ptr noundef %15)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = call ptr @pair_get_first(ptr noundef %17)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @check_is_data(ptr noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = call i32 @item_get_data(ptr noundef %21, ptr noundef %7)
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %26
24: ; preds = %2
%25 = call i32 (...) @abort() #3
unreachable
26: ; preds = %2
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %10, align 1
%29 = load ptr, ptr %7, align 8
%30 = call i32 @free(ptr noundef %29)
%31 = load ptr, ptr %8, align 8
%32 = call ptr @pair_get_second(ptr noundef %31)
store ptr %32, ptr %11, align 8
%33 = load ptr, ptr %11, align 8
%34 = call i32 @check_is_nonce(ptr noundef %33)
%35 = load ptr, ptr %8, align 8
%36 = call i32 @item_free(ptr noundef %35)
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i8, ptr %10, align 1
%40 = load ptr, ptr %11, align 8
%41 = load i8, ptr %3, align 1
%42 = load ptr, ptr %4, align 8
%43 = call ptr @core_receiver(ptr noundef %37, ptr noundef %38, i8 noundef signext %39, ptr noundef %40, i8 noundef signext %41, ptr noundef %42)
store ptr %43, ptr %12, align 8
%44 = load ptr, ptr %9, align 8
%45 = call i32 @item_free(ptr noundef %44)
%46 = load ptr, ptr %12, align 8
%47 = call i32 @item_free(ptr noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @network_disconnect(ptr noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @network_disconnect(ptr noundef %50)
ret void
}
declare ptr @network_bind_and_accept(i32 noundef) #1
declare ptr @network_connect(ptr noundef, i32 noundef) #1
declare ptr @network_receive(ptr noundef) #1
declare ptr @pair_get_first(ptr noundef) #1
declare i32 @check_is_data(ptr noundef) #1
declare i32 @item_get_data(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @free(ptr noundef) #1
declare ptr @pair_get_second(ptr noundef) #1
declare i32 @check_is_nonce(ptr noundef) #1
declare i32 @item_free(ptr noundef) #1
declare ptr @core_receiver(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext, ptr noundef) #1
declare i32 @network_disconnect(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpxxvgaom_.c'
source_filename = "/tmp/tmpxxvgaom_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"makedisk <size in blocks>\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"stackl.disk\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Unable to open disk\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Buffer allocation failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"File write failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @printf(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = call i32 @printf(ptr noundef @.str)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %16
%27 = load i32, ptr @O_WRONLY, align 4
%28 = load i32, ptr @O_CREAT, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @O_TRUNC, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IRUSR, align 4
%33 = load i32, ptr @S_IWUSR, align 4
%34 = or i32 %32, %33
%35 = call i32 @open(ptr noundef @.str.1, i32 noundef %31, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %26
%39 = call i32 @printf(ptr noundef @.str.2)
%40 = call i32 @exit(i32 noundef -2) #3
unreachable
41: ; preds = %26
%42 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.3)
%47 = call i32 @exit(i32 noundef -3) #3
unreachable
48: ; preds = %41
store i32 0, ptr %9, align 4
br label %49
49: ; preds = %63, %48
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %66
53: ; preds = %49
%54 = load i32, ptr %8, align 4
%55 = load ptr, ptr %10, align 8
%56 = call i32 @write(i32 noundef %54, ptr noundef %55, i32 noundef 1024)
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp ne i32 %57, 1024
br i1 %58, label %59, label %62
59: ; preds = %53
%60 = call i32 @printf(ptr noundef @.str.4)
%61 = call i32 @exit(i32 noundef -5) #3
unreachable
62: ; preds = %53
br label %63
63: ; preds = %62
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %49, !llvm.loop !6
66: ; preds = %49
%67 = load i32, ptr %8, align 4
%68 = call i32 @close(i32 noundef %67)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxxvgaom_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"makedisk <size in blocks>\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"stackl.disk\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Unable to open disk\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Buffer allocation failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"File write failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @printf(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 1
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = call i32 @printf(ptr noundef @.str)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %16
%27 = load i32, ptr @O_WRONLY, align 4
%28 = load i32, ptr @O_CREAT, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @O_TRUNC, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IRUSR, align 4
%33 = load i32, ptr @S_IWUSR, align 4
%34 = or i32 %32, %33
%35 = call i32 @open(ptr noundef @.str.1, i32 noundef %31, i32 noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %26
%39 = call i32 @printf(ptr noundef @.str.2)
%40 = call i32 @exit(i32 noundef -2) #3
unreachable
41: ; preds = %26
%42 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = call i32 @printf(ptr noundef @.str.3)
%47 = call i32 @exit(i32 noundef -3) #3
unreachable
48: ; preds = %41
store i32 0, ptr %9, align 4
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %68
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %62
%53 = load i32, ptr %8, align 4
%54 = load ptr, ptr %10, align 8
%55 = call i32 @write(i32 noundef %53, ptr noundef %54, i32 noundef 1024)
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp ne i32 %56, 1024
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = call i32 @printf(ptr noundef @.str.4)
%60 = call i32 @exit(i32 noundef -5) #3
unreachable
61: ; preds = %52
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %48
%69 = load i32, ptr %8, align 4
%70 = call i32 @close(i32 noundef %69)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2o4gdu42.c'
source_filename = "/tmp/tmp2o4gdu42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UI_UI_lapResetPressed() #0 {
%1 = call i32 (...) @Tracking_UI_lapResetPressed()
ret void
}
declare i32 @Tracking_UI_lapResetPressed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2o4gdu42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UI_UI_lapResetPressed() #0 {
%1 = call i32 (...) @Tracking_UI_lapResetPressed()
ret void
}
declare i32 @Tracking_UI_lapResetPressed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg5yyo4zd.c'
source_filename = "/tmp/tmpg5yyo4zd.c"
target datalayout = "e-m:e-p270:32:32-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 void @BME_AND_H(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 %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i32
%8 = or i32 %7, 67108864
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
store volatile i32 %5, ptr %10, align 4
ret void
}
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/tmpg5yyo4zd.c"
target datalayout = "e-m:e-p270:32:32-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 void @BME_AND_H(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 %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i32
%8 = or i32 %7, 67108864
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
store volatile i32 %5, ptr %10, align 4
ret void
}
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/tmpwsc7j_bd.c'
source_filename = "/tmp/tmpwsc7j_bd.c"
target datalayout = "e-m:e-p270: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/tmpwsc7j_bd.c"
target datalayout = "e-m:e-p270: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/tmpg1n0oew8.c'
source_filename = "/tmp/tmpg1n0oew8.c"
target datalayout = "e-m:e-p270: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.spwd = type { ptr, ptr, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [27 x i8] c"Usage: test-shadow <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Shadow %s not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Username : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Password : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Last change : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Mininum : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Maximum : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Warning : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"Inactive : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Expire : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"Flag : %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %63
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = call i32 (...) @setspent()
%17 = load ptr, ptr %6, align 8
%18 = call ptr @getspnam(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %12
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 -1, ptr %3, align 4
br label %63
24: ; preds = %12
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds %struct.spwd, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.spwd, ptr %29, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.spwd, ptr %33, i32 0, i32 2
%35 = load i32, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds %struct.spwd, ptr %37, i32 0, i32 3
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds %struct.spwd, ptr %41, i32 0, i32 4
%43 = load i32, ptr %42, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds %struct.spwd, ptr %45, i32 0, i32 5
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds %struct.spwd, ptr %49, i32 0, i32 6
%51 = load i32, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %51)
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds %struct.spwd, ptr %53, i32 0, i32 7
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %55)
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds %struct.spwd, ptr %57, i32 0, i32 8
%59 = load i32, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %59)
%61 = call i32 (...) @endspent()
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %24, %21, %10
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setspent(...) #1
declare ptr @getspnam(ptr noundef) #1
declare i32 @endspent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg1n0oew8.c"
target datalayout = "e-m:e-p270: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.spwd = type { ptr, ptr, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [27 x i8] c"Usage: test-shadow <name>\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Shadow %s not found.\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Username : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Password : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Last change : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Mininum : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Maximum : %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Warning : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"Inactive : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"Expire : %d\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"Flag : %d\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %63
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = call i32 (...) @setspent()
%17 = load ptr, ptr %6, align 8
%18 = call ptr @getspnam(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %24, label %21
21: ; preds = %12
%22 = load ptr, ptr %6, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
store i32 -1, ptr %3, align 4
br label %63
24: ; preds = %12
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds %struct.spwd, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.spwd, ptr %29, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.spwd, ptr %33, i32 0, i32 2
%35 = load i32, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds %struct.spwd, ptr %37, i32 0, i32 3
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds %struct.spwd, ptr %41, i32 0, i32 4
%43 = load i32, ptr %42, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43)
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds %struct.spwd, ptr %45, i32 0, i32 5
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %47)
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds %struct.spwd, ptr %49, i32 0, i32 6
%51 = load i32, ptr %50, align 8
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %51)
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds %struct.spwd, ptr %53, i32 0, i32 7
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %55)
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds %struct.spwd, ptr %57, i32 0, i32 8
%59 = load i32, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %59)
%61 = call i32 (...) @endspent()
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %24, %21, %10
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setspent(...) #1
declare ptr @getspnam(ptr noundef) #1
declare i32 @endspent(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxf51mv_8.c'
source_filename = "/tmp/tmpxf51mv_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"RND Invoke Response: ContentDirectory/ImportResource[ErrorCode:%d](%u)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_ContentDirectory_ImportResource(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %8, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @printf(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/tmpxf51mv_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"RND Invoke Response: ContentDirectory/ImportResource[ErrorCode:%d](%u)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_ContentDirectory_ImportResource(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %8, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @printf(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/tmpp4pyeq1x.c'
source_filename = "/tmp/tmpp4pyeq1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x63() #0 {
%1 = call i32 @isgraph(i32 noundef 99) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 500, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp4pyeq1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x63() #0 {
%1 = call i32 @isgraph(i32 noundef 99) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 500, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxxwggbde.c'
source_filename = "/tmp/tmpxxwggbde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @status_off() #0 {
%1 = call i32 @gpio_output(i32 noundef 0, i32 noundef 20, i32 noundef 0)
ret void
}
declare i32 @gpio_output(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/tmpxxwggbde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @status_off() #0 {
%1 = call i32 @gpio_output(i32 noundef 0, i32 noundef 20, i32 noundef 0)
ret void
}
declare i32 @gpio_output(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi4qfbcj8.c'
source_filename = "/tmp/tmpi4qfbcj8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi4qfbcj8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_d8om0m6.c'
source_filename = "/tmp/tmp_d8om0m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @knuth_rand_subset(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load i64, ptr %5, align 8
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %14
14: ; preds = %32, %3
%15 = load i64, ptr %7, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %37
17: ; preds = %14
%18 = load i64, ptr %8, align 8
%19 = sub i64 %18, 1
%20 = call i64 @range_rand(i32 noundef 0, i64 noundef %19)
%21 = load i64, ptr %7, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %17
%24 = load i64, ptr %9, align 8
%25 = trunc i64 %24 to i32
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %10, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %10, align 8
%29 = getelementptr inbounds i32, ptr %26, i64 %27
store i32 %25, ptr %29, align 4
%30 = load i64, ptr %7, align 8
%31 = add i64 %30, -1
store i64 %31, ptr %7, align 8
br label %32
32: ; preds = %23, %17
%33 = load i64, ptr %8, align 8
%34 = add i64 %33, -1
store i64 %34, ptr %8, align 8
%35 = load i64, ptr %9, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %9, align 8
br label %14, !llvm.loop !6
37: ; preds = %14
ret void
}
declare i64 @range_rand(i32 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/tmp_d8om0m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @knuth_rand_subset(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load i64, ptr %5, align 8
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %8, align 8
store i64 0, ptr %9, align 8
store i64 0, ptr %10, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %31
%17 = load i64, ptr %8, align 8
%18 = sub i64 %17, 1
%19 = call i64 @range_rand(i32 noundef 0, i64 noundef %18)
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %16
%23 = load i64, ptr %9, align 8
%24 = trunc i64 %23 to i32
%25 = load ptr, ptr %4, align 8
%26 = load i64, ptr %10, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %10, align 8
%28 = getelementptr inbounds i32, ptr %25, i64 %26
store i32 %24, ptr %28, align 4
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
br label %31
31: ; preds = %22, %16
%32 = load i64, ptr %8, align 8
%33 = add i64 %32, -1
store i64 %33, ptr %8, align 8
%34 = load i64, ptr %9, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %9, align 8
%36 = load i64, ptr %7, align 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %38
38: ; preds = %._crit_edge, %3
ret void
}
declare i64 @range_rand(i32 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/tmpdacapr41.c'
source_filename = "/tmp/tmpdacapr41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 24866
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdacapr41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 24866
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpx3_xrlle.c'
source_filename = "/tmp/tmpx3_xrlle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"usage: %s <videodevice>\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)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3_xrlle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"usage: %s <videodevice>\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)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0pb29w50.c'
source_filename = "/tmp/tmp0pb29w50.c"
target datalayout = "e-m:e-p270: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/tmp0pb29w50.c"
target datalayout = "e-m:e-p270: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/tmpjcdmpuvm.c'
source_filename = "/tmp/tmpjcdmpuvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getIntInputCheck(i32 noundef %0, i32 noundef %1) #0 {
%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
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %27, %2
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = call i32 (...) @_flushall()
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sge i32 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %5, align 4
br label %26
26: ; preds = %25, %21, %17
br label %27
27: ; preds = %26, %12
br label %8, !llvm.loop !6
28: ; preds = %8
%29 = load i32, ptr %7, align 4
ret i32 %29
}
declare i32 @_flushall(...) #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/tmpjcdmpuvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getIntInputCheck(i32 noundef %0, i32 noundef %1) #0 {
%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
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br i1 %10, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %26
%12 = call i32 (...) @_flushall()
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %11
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 1, ptr %5, align 4
br label %25
25: ; preds = %24, %20, %16
br label %26
26: ; preds = %25, %11
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
%29 = xor i1 %28, true
br i1 %29, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %30
30: ; preds = %._crit_edge, %2
%31 = load i32, ptr %7, align 4
ret i32 %31
}
declare i32 @_flushall(...) #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/tmp2_izzmvc.c'
source_filename = "/tmp/tmp2_izzmvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dclock() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = call double @extract(ptr noundef %1)
ret double %4
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare double @extract(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_izzmvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
%struct.timezone = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dclock() #0 {
%1 = alloca %struct.timeval, align 4
%2 = alloca %struct.timezone, align 4
%3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2)
%4 = call double @extract(ptr noundef %1)
ret double %4
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare double @extract(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5yodke49.c'
source_filename = "/tmp/tmp5yodke49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/sys/module/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @driver_loaded(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load i32, ptr @PATH_MAX, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = load i32, ptr @PATH_MAX, align 4
%13 = sub nsw i32 %12, 1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @snprintf(ptr noundef %11, i32 noundef %13, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %14)
%16 = call i64 @stat(ptr noundef %11, ptr noundef %6)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %1
store i32 0, ptr %2, align 4
store i32 1, ptr %7, align 4
br label %20
19: ; preds = %1
store i32 1, ptr %2, align 4
store i32 1, ptr %7, align 4
br label %20
20: ; preds = %19, %18
%21 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %21)
%22 = load i32, ptr %2, align 4
ret i32 %22
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @stat(ptr noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yodke49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/sys/module/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @driver_loaded(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load i32, ptr @PATH_MAX, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i8, i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = load i32, ptr @PATH_MAX, align 4
%13 = sub nsw i32 %12, 1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @snprintf(ptr noundef %11, i32 noundef %13, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %14)
%16 = call i64 @stat(ptr noundef %11, ptr noundef %6)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %1
store i32 0, ptr %2, align 4
store i32 1, ptr %7, align 4
br label %20
19: ; preds = %1
store i32 1, ptr %2, align 4
store i32 1, ptr %7, align 4
br label %20
20: ; preds = %19, %18
%21 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %21)
%22 = load i32, ptr %2, align 4
ret i32 %22
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @stat(ptr noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpbo2dg82_.c'
source_filename = "/tmp/tmpbo2dg82_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_al_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fn_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @fn_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbo2dg82_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_al_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fn_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @fn_sq_ch_78_ch_101_ch_103_ch_97_ch_116_ch_105_ch_118_ch_101_ch_79_ch_98_ch_106_ch_101_ch_99_ch_116_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_121_ch_65_ch_115_ch_115_ch_101_ch_114_ch_116_ch_105_ch_111_ch_110(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp09o9039v.c'
source_filename = "/tmp/tmp09o9039v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%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 void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load i32, ptr %1, align 4
%5 = call i32 @sum(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @sum(i32 noundef %6)
%8 = add nsw i32 %5, %7
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(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/tmp09o9039v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%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 void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
%4 = load i32, ptr %1, align 4
%5 = call i32 @sum(i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @sum(i32 noundef %6)
%8 = add nsw i32 %5, %7
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(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/tmp6_gzs4gi.c'
source_filename = "/tmp/tmp6_gzs4gi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_min_size(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @getTam_lista(ptr noundef %11)
store i32 %12, ptr %5, align 4
store i32 1, ptr %7, align 4
br label %13
13: ; preds = %31, %2
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %34
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @getTam_lista(ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %17
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %7, align 4
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %27, %17
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
br label %13, !llvm.loop !6
34: ; preds = %13
%35 = load i32, ptr %6, align 4
ret i32 %35
}
declare i32 @getTam_lista(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6_gzs4gi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_min_size(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @getTam_lista(ptr noundef %11)
store i32 %12, ptr %5, align 4
store i32 1, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %30
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 @getTam_lista(ptr noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %16
%27 = load i32, ptr %8, align 4
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %7, align 4
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %26, %16
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
%37 = load i32, ptr %6, align 4
ret i32 %37
}
declare i32 @getTam_lista(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpe8zhw942.c'
source_filename = "/tmp/tmpe8zhw942.c"
target datalayout = "e-m:e-p270: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/tmpe8zhw942.c"
target datalayout = "e-m:e-p270: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/tmpkn5itdnj.c'
source_filename = "/tmp/tmpkn5itdnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_deriv_67(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 3.100000e+01) #3
%8 = fmul double 0xC1AA9F95EC000000, %7
%9 = load double, ptr %4, align 8
%10 = call double @pow(double noundef %9, double noundef 6.200000e+01) #3
%11 = load double, ptr %3, align 8
%12 = call double @pow(double noundef %11, double noundef 2.100000e+01) #3
%13 = fmul double 0x45B2DDE835036656, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 4.200000e+01) #3
%16 = fmul double %13, %15
%17 = fneg double %16
%18 = call double @llvm.fmuladd.f64(double %8, double %10, double %17)
%19 = load double, ptr %3, align 8
%20 = call double @pow(double noundef %19, double noundef 3.300000e+01) #3
%21 = fmul double 1.172500e+03, %20
%22 = load double, ptr %4, align 8
%23 = call double @pow(double noundef %22, double noundef 6.600000e+01) #3
%24 = fneg double %21
%25 = call double @llvm.fmuladd.f64(double %24, double %23, double %18)
%26 = load double, ptr %3, align 8
%27 = call double @pow(double noundef %26, double noundef 2.500000e+01) #3
%28 = fmul double 0x444D6275A791641D, %27
%29 = load double, ptr %4, align 8
%30 = call double @pow(double noundef %29, double noundef 5.000000e+01) #3
%31 = fneg double %28
%32 = call double @llvm.fmuladd.f64(double %31, double %30, double %25)
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 3.000000e+01) #3
%35 = fmul double 0x42293F2F83C70000, %34
%36 = load double, ptr %4, align 8
%37 = call double @pow(double noundef %36, double noundef 6.000000e+01) #3
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32)
%39 = load double, ptr %3, align 8
%40 = call double @pow(double noundef %39, double noundef 2.000000e+01) #3
%41 = fmul double 0x460283FD1358715E, %40
%42 = load double, ptr %4, align 8
%43 = call double @pow(double noundef %42, double noundef 4.000000e+01) #3
%44 = call double @llvm.fmuladd.f64(double %41, double %43, double %38)
%45 = load double, ptr %3, align 8
%46 = call double @pow(double noundef %45, double noundef 2.800000e+01) #3
%47 = fmul double 0x4313C62F3514630E, %46
%48 = load double, ptr %4, align 8
%49 = call double @pow(double noundef %48, double noundef 5.600000e+01) #3
%50 = call double @llvm.fmuladd.f64(double %47, double %49, double %44)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.900000e+01) #3
%53 = fmul double 0x464EB6F326176164, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 3.800000e+01) #3
%56 = fneg double %53
%57 = call double @llvm.fmuladd.f64(double %56, double %55, double %50)
%58 = load double, ptr %3, align 8
%59 = call double @pow(double noundef %58, double noundef 3.200000e+01) #3
%60 = fmul double 0x4123BC7B00000000, %59
%61 = load double, ptr %4, align 8
%62 = call double @pow(double noundef %61, double noundef 6.400000e+01) #3
%63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 2.300000e+01) #3
%66 = fmul double 0x450793D2A6CEB177, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 4.600000e+01) #3
%69 = fneg double %66
%70 = call double @llvm.fmuladd.f64(double %69, double %68, double %63)
%71 = load double, ptr %3, align 8
%72 = call double @pow(double noundef %71, double noundef 2.700000e+01) #3
%73 = fmul double 0x43816B1295417541, %72
%74 = load double, ptr %4, align 8
%75 = call double @pow(double noundef %74, double noundef 5.400000e+01) #3
%76 = fneg double %73
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %70)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x47EF4F678A7D678F, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.400000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %3, align 8
%85 = call double @pow(double noundef %84, double noundef 9.000000e+00) #3
%86 = fmul double 0x485C471B9B521F1C, %85
%87 = load double, ptr %4, align 8
%88 = call double @pow(double noundef %87, double noundef 1.800000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x4875272C6E98A1F4, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 1.600000e+01) #3
%96 = call double @llvm.fmuladd.f64(double %93, double %95, double %90)
%97 = load double, ptr %3, align 8
%98 = call double @pow(double noundef %97, double noundef 2.200000e+01) #3
%99 = fmul double 0x45603D7CC3905EE8, %98
%100 = load double, ptr %4, align 8
%101 = call double @pow(double noundef %100, double noundef 4.400000e+01) #3
%102 = call double @llvm.fmuladd.f64(double %99, double %101, double %96)
%103 = load double, ptr %3, align 8
%104 = call double @pow(double noundef %103, double noundef 1.300000e+01) #3
%105 = fmul double 0x47C0A72360B9FA50, %104
%106 = load double, ptr %4, align 8
%107 = call double @pow(double noundef %106, double noundef 2.600000e+01) #3
%108 = fneg double %105
%109 = call double @llvm.fmuladd.f64(double %108, double %107, double %102)
%110 = load double, ptr %3, align 8
%111 = call double @pow(double noundef %110, double noundef 1.600000e+01) #3
%112 = fmul double 0x47193D73DD612E56, %111
%113 = load double, ptr %4, align 8
%114 = call double @pow(double noundef %113, double noundef 3.200000e+01) #3
%115 = call double @llvm.fmuladd.f64(double %112, double %114, double %109)
%116 = load double, ptr %3, align 8
%117 = call double @pow(double noundef %116, double noundef 2.600000e+01) #3
%118 = fmul double 0x43E8EF5D58AA926D, %117
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 5.200000e+01) #3
%121 = call double @llvm.fmuladd.f64(double %118, double %120, double %115)
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 1.700000e+01) #3
%124 = fmul double 0x46D96AA338702EA9, %123
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 3.400000e+01) #3
%127 = fneg double %124
%128 = call double @llvm.fmuladd.f64(double %127, double %126, double %121)
%129 = load double, ptr %3, align 8
%130 = call double @pow(double noundef %129, double noundef 3.400000e+01) #3
%131 = load double, ptr %4, align 8
%132 = call double @pow(double noundef %131, double noundef 6.800000e+01) #3
%133 = call double @llvm.fmuladd.f64(double %130, double %132, double %128)
%134 = load double, ptr %3, align 8
%135 = call double @pow(double noundef %134, double noundef 1.800000e+01) #3
%136 = fmul double 0x46958443BE002780, %135
%137 = load double, ptr %4, align 8
%138 = call double @pow(double noundef %137, double noundef 3.600000e+01) #3
%139 = call double @llvm.fmuladd.f64(double %136, double %138, double %133)
%140 = load double, ptr %3, align 8
%141 = call double @pow(double noundef %140, double noundef 1.500000e+01) #3
%142 = fmul double 0x4754FC8DD00A3251, %141
%143 = load double, ptr %4, align 8
%144 = call double @pow(double noundef %143, double noundef 3.000000e+01) #3
%145 = fneg double %142
%146 = call double @llvm.fmuladd.f64(double %145, double %144, double %139)
%147 = load double, ptr %3, align 8
%148 = call double @pow(double noundef %147, double noundef 1.000000e+01) #3
%149 = fmul double 0x483D42F5842DB308, %148
%150 = load double, ptr %4, align 8
%151 = call double @pow(double noundef %150, double noundef 2.000000e+01) #3
%152 = call double @llvm.fmuladd.f64(double %149, double %151, double %146)
%153 = load double, ptr %3, align 8
%154 = call double @pow(double noundef %153, double noundef 2.400000e+01) #3
%155 = fmul double 0x44ACC6A71FE9436F, %154
%156 = load double, ptr %4, align 8
%157 = call double @pow(double noundef %156, double noundef 4.800000e+01) #3
%158 = call double @llvm.fmuladd.f64(double %155, double %157, double %152)
%159 = load double, ptr %3, align 8
%160 = call double @pow(double noundef %159, double noundef 7.000000e+00) #3
%161 = fmul double 0x4887E523F83128B9, %160
%162 = load double, ptr %4, align 8
%163 = call double @pow(double noundef %162, double noundef 1.400000e+01) #3
%164 = fneg double %161
%165 = call double @llvm.fmuladd.f64(double %164, double %163, double %158)
%166 = load double, ptr %3, align 8
%167 = call double @pow(double noundef %166, double noundef 1.100000e+01) #3
%168 = fmul double 0x4817E6E70ADD727C, %167
%169 = load double, ptr %4, align 8
%170 = call double @pow(double noundef %169, double noundef 2.200000e+01) #3
%171 = fneg double %168
%172 = call double @llvm.fmuladd.f64(double %171, double %170, double %165)
%173 = load double, ptr %3, align 8
%174 = call double @pow(double noundef %173, double noundef 1.400000e+01) #3
%175 = fmul double 0x478D111D2B28B042, %174
%176 = load double, ptr %4, align 8
%177 = call double @pow(double noundef %176, double noundef 2.800000e+01) #3
%178 = call double @llvm.fmuladd.f64(double %175, double %177, double %172)
%179 = load double, ptr %3, align 8
%180 = call double @pow(double noundef %179, double noundef 5.000000e+00) #3
%181 = fmul double 0x4896D126D2E1E173, %180
%182 = load double, ptr %4, align 8
%183 = call double @pow(double noundef %182, double noundef 1.000000e+01) #3
%184 = fneg double %181
%185 = call double @llvm.fmuladd.f64(double %184, double %183, double %178)
%186 = load double, ptr %3, align 8
%187 = call double @pow(double noundef %186, double noundef 4.000000e+00) #3
%188 = fmul double 0x48916266B90D9F95, %187
%189 = load double, ptr %4, align 8
%190 = call double @pow(double noundef %189, double noundef 8.000000e+00) #3
%191 = call double @llvm.fmuladd.f64(double %188, double %190, double %185)
%192 = load double, ptr %3, align 8
%193 = call double @pow(double noundef %192, double noundef 3.000000e+00) #3
%194 = fmul double 0x487FE50CFABD1F9E, %193
%195 = load double, ptr %4, align 8
%196 = call double @pow(double noundef %195, double noundef 6.000000e+00) #3
%197 = fneg double %194
%198 = call double @llvm.fmuladd.f64(double %197, double %196, double %191)
%199 = load double, ptr %3, align 8
%200 = fmul double 0x485E5C800C38F441, %199
%201 = load double, ptr %3, align 8
%202 = fmul double %200, %201
%203 = load double, ptr %4, align 8
%204 = call double @pow(double noundef %203, double noundef 4.000000e+00) #3
%205 = call double @llvm.fmuladd.f64(double %202, double %204, double %198)
%206 = load double, ptr %3, align 8
%207 = fmul double 0x48266A5FF274CDB8, %206
%208 = load double, ptr %4, align 8
%209 = fmul double %207, %208
%210 = load double, ptr %4, align 8
%211 = fneg double %209
%212 = call double @llvm.fmuladd.f64(double %211, double %210, double %205)
%213 = fadd double %212, 0x47C5696EC1641C63
%214 = load double, ptr %3, align 8
%215 = call double @pow(double noundef %214, double noundef 6.000000e+00) #3
%216 = fmul double 0x4893BBA7ABE9A54D, %215
%217 = load double, ptr %4, align 8
%218 = call double @pow(double noundef %217, double noundef 1.200000e+01) #3
%219 = call double @llvm.fmuladd.f64(double %216, double %218, double %213)
%220 = load double, ptr %3, align 8
%221 = call double @pow(double noundef %220, double noundef 2.900000e+01) #3
%222 = fmul double 0x42A1EA48B0B18D80, %221
%223 = load double, ptr %4, align 8
%224 = call double @pow(double noundef %223, double noundef 5.800000e+01) #3
%225 = fneg double %222
%226 = call double @llvm.fmuladd.f64(double %225, double %224, double %219)
%227 = fmul double 0xB644EC498C2BB425, %226
%228 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%229 = fmul double %227, %228
%230 = load double, ptr %3, align 8
%231 = call double @pow(double noundef %230, double noundef 7.500000e-01) #3
%232 = fmul double %229, %231
%233 = call double @sqrt(double noundef 0x43D11FCF74400678) #3
%234 = fmul double %232, %233
%235 = load double, ptr %3, align 8
%236 = fneg double %235
%237 = load double, ptr %4, align 8
%238 = fmul double %236, %237
%239 = load double, ptr %4, align 8
%240 = fmul double %238, %239
%241 = fdiv double %240, 2.000000e+00
%242 = call double @exp(double noundef %241) #3
%243 = fmul double %234, %242
store double %243, ptr %5, align 8
%244 = load double, ptr %5, align 8
ret double %244
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkn5itdnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_deriv_67(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 3.100000e+01) #3
%8 = fmul double 0xC1AA9F95EC000000, %7
%9 = load double, ptr %4, align 8
%10 = call double @pow(double noundef %9, double noundef 6.200000e+01) #3
%11 = load double, ptr %3, align 8
%12 = call double @pow(double noundef %11, double noundef 2.100000e+01) #3
%13 = fmul double 0x45B2DDE835036656, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 4.200000e+01) #3
%16 = fmul double %13, %15
%17 = fneg double %16
%18 = call double @llvm.fmuladd.f64(double %8, double %10, double %17)
%19 = load double, ptr %3, align 8
%20 = call double @pow(double noundef %19, double noundef 3.300000e+01) #3
%21 = fmul double 1.172500e+03, %20
%22 = load double, ptr %4, align 8
%23 = call double @pow(double noundef %22, double noundef 6.600000e+01) #3
%24 = fneg double %21
%25 = call double @llvm.fmuladd.f64(double %24, double %23, double %18)
%26 = load double, ptr %3, align 8
%27 = call double @pow(double noundef %26, double noundef 2.500000e+01) #3
%28 = fmul double 0x444D6275A791641D, %27
%29 = load double, ptr %4, align 8
%30 = call double @pow(double noundef %29, double noundef 5.000000e+01) #3
%31 = fneg double %28
%32 = call double @llvm.fmuladd.f64(double %31, double %30, double %25)
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 3.000000e+01) #3
%35 = fmul double 0x42293F2F83C70000, %34
%36 = load double, ptr %4, align 8
%37 = call double @pow(double noundef %36, double noundef 6.000000e+01) #3
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32)
%39 = load double, ptr %3, align 8
%40 = call double @pow(double noundef %39, double noundef 2.000000e+01) #3
%41 = fmul double 0x460283FD1358715E, %40
%42 = load double, ptr %4, align 8
%43 = call double @pow(double noundef %42, double noundef 4.000000e+01) #3
%44 = call double @llvm.fmuladd.f64(double %41, double %43, double %38)
%45 = load double, ptr %3, align 8
%46 = call double @pow(double noundef %45, double noundef 2.800000e+01) #3
%47 = fmul double 0x4313C62F3514630E, %46
%48 = load double, ptr %4, align 8
%49 = call double @pow(double noundef %48, double noundef 5.600000e+01) #3
%50 = call double @llvm.fmuladd.f64(double %47, double %49, double %44)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.900000e+01) #3
%53 = fmul double 0x464EB6F326176164, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 3.800000e+01) #3
%56 = fneg double %53
%57 = call double @llvm.fmuladd.f64(double %56, double %55, double %50)
%58 = load double, ptr %3, align 8
%59 = call double @pow(double noundef %58, double noundef 3.200000e+01) #3
%60 = fmul double 0x4123BC7B00000000, %59
%61 = load double, ptr %4, align 8
%62 = call double @pow(double noundef %61, double noundef 6.400000e+01) #3
%63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 2.300000e+01) #3
%66 = fmul double 0x450793D2A6CEB177, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 4.600000e+01) #3
%69 = fneg double %66
%70 = call double @llvm.fmuladd.f64(double %69, double %68, double %63)
%71 = load double, ptr %3, align 8
%72 = call double @pow(double noundef %71, double noundef 2.700000e+01) #3
%73 = fmul double 0x43816B1295417541, %72
%74 = load double, ptr %4, align 8
%75 = call double @pow(double noundef %74, double noundef 5.400000e+01) #3
%76 = fneg double %73
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %70)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x47EF4F678A7D678F, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.400000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %3, align 8
%85 = call double @pow(double noundef %84, double noundef 9.000000e+00) #3
%86 = fmul double 0x485C471B9B521F1C, %85
%87 = load double, ptr %4, align 8
%88 = call double @pow(double noundef %87, double noundef 1.800000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x4875272C6E98A1F4, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 1.600000e+01) #3
%96 = call double @llvm.fmuladd.f64(double %93, double %95, double %90)
%97 = load double, ptr %3, align 8
%98 = call double @pow(double noundef %97, double noundef 2.200000e+01) #3
%99 = fmul double 0x45603D7CC3905EE8, %98
%100 = load double, ptr %4, align 8
%101 = call double @pow(double noundef %100, double noundef 4.400000e+01) #3
%102 = call double @llvm.fmuladd.f64(double %99, double %101, double %96)
%103 = load double, ptr %3, align 8
%104 = call double @pow(double noundef %103, double noundef 1.300000e+01) #3
%105 = fmul double 0x47C0A72360B9FA50, %104
%106 = load double, ptr %4, align 8
%107 = call double @pow(double noundef %106, double noundef 2.600000e+01) #3
%108 = fneg double %105
%109 = call double @llvm.fmuladd.f64(double %108, double %107, double %102)
%110 = load double, ptr %3, align 8
%111 = call double @pow(double noundef %110, double noundef 1.600000e+01) #3
%112 = fmul double 0x47193D73DD612E56, %111
%113 = load double, ptr %4, align 8
%114 = call double @pow(double noundef %113, double noundef 3.200000e+01) #3
%115 = call double @llvm.fmuladd.f64(double %112, double %114, double %109)
%116 = load double, ptr %3, align 8
%117 = call double @pow(double noundef %116, double noundef 2.600000e+01) #3
%118 = fmul double 0x43E8EF5D58AA926D, %117
%119 = load double, ptr %4, align 8
%120 = call double @pow(double noundef %119, double noundef 5.200000e+01) #3
%121 = call double @llvm.fmuladd.f64(double %118, double %120, double %115)
%122 = load double, ptr %3, align 8
%123 = call double @pow(double noundef %122, double noundef 1.700000e+01) #3
%124 = fmul double 0x46D96AA338702EA9, %123
%125 = load double, ptr %4, align 8
%126 = call double @pow(double noundef %125, double noundef 3.400000e+01) #3
%127 = fneg double %124
%128 = call double @llvm.fmuladd.f64(double %127, double %126, double %121)
%129 = load double, ptr %3, align 8
%130 = call double @pow(double noundef %129, double noundef 3.400000e+01) #3
%131 = load double, ptr %4, align 8
%132 = call double @pow(double noundef %131, double noundef 6.800000e+01) #3
%133 = call double @llvm.fmuladd.f64(double %130, double %132, double %128)
%134 = load double, ptr %3, align 8
%135 = call double @pow(double noundef %134, double noundef 1.800000e+01) #3
%136 = fmul double 0x46958443BE002780, %135
%137 = load double, ptr %4, align 8
%138 = call double @pow(double noundef %137, double noundef 3.600000e+01) #3
%139 = call double @llvm.fmuladd.f64(double %136, double %138, double %133)
%140 = load double, ptr %3, align 8
%141 = call double @pow(double noundef %140, double noundef 1.500000e+01) #3
%142 = fmul double 0x4754FC8DD00A3251, %141
%143 = load double, ptr %4, align 8
%144 = call double @pow(double noundef %143, double noundef 3.000000e+01) #3
%145 = fneg double %142
%146 = call double @llvm.fmuladd.f64(double %145, double %144, double %139)
%147 = load double, ptr %3, align 8
%148 = call double @pow(double noundef %147, double noundef 1.000000e+01) #3
%149 = fmul double 0x483D42F5842DB308, %148
%150 = load double, ptr %4, align 8
%151 = call double @pow(double noundef %150, double noundef 2.000000e+01) #3
%152 = call double @llvm.fmuladd.f64(double %149, double %151, double %146)
%153 = load double, ptr %3, align 8
%154 = call double @pow(double noundef %153, double noundef 2.400000e+01) #3
%155 = fmul double 0x44ACC6A71FE9436F, %154
%156 = load double, ptr %4, align 8
%157 = call double @pow(double noundef %156, double noundef 4.800000e+01) #3
%158 = call double @llvm.fmuladd.f64(double %155, double %157, double %152)
%159 = load double, ptr %3, align 8
%160 = call double @pow(double noundef %159, double noundef 7.000000e+00) #3
%161 = fmul double 0x4887E523F83128B9, %160
%162 = load double, ptr %4, align 8
%163 = call double @pow(double noundef %162, double noundef 1.400000e+01) #3
%164 = fneg double %161
%165 = call double @llvm.fmuladd.f64(double %164, double %163, double %158)
%166 = load double, ptr %3, align 8
%167 = call double @pow(double noundef %166, double noundef 1.100000e+01) #3
%168 = fmul double 0x4817E6E70ADD727C, %167
%169 = load double, ptr %4, align 8
%170 = call double @pow(double noundef %169, double noundef 2.200000e+01) #3
%171 = fneg double %168
%172 = call double @llvm.fmuladd.f64(double %171, double %170, double %165)
%173 = load double, ptr %3, align 8
%174 = call double @pow(double noundef %173, double noundef 1.400000e+01) #3
%175 = fmul double 0x478D111D2B28B042, %174
%176 = load double, ptr %4, align 8
%177 = call double @pow(double noundef %176, double noundef 2.800000e+01) #3
%178 = call double @llvm.fmuladd.f64(double %175, double %177, double %172)
%179 = load double, ptr %3, align 8
%180 = call double @pow(double noundef %179, double noundef 5.000000e+00) #3
%181 = fmul double 0x4896D126D2E1E173, %180
%182 = load double, ptr %4, align 8
%183 = call double @pow(double noundef %182, double noundef 1.000000e+01) #3
%184 = fneg double %181
%185 = call double @llvm.fmuladd.f64(double %184, double %183, double %178)
%186 = load double, ptr %3, align 8
%187 = call double @pow(double noundef %186, double noundef 4.000000e+00) #3
%188 = fmul double 0x48916266B90D9F95, %187
%189 = load double, ptr %4, align 8
%190 = call double @pow(double noundef %189, double noundef 8.000000e+00) #3
%191 = call double @llvm.fmuladd.f64(double %188, double %190, double %185)
%192 = load double, ptr %3, align 8
%193 = call double @pow(double noundef %192, double noundef 3.000000e+00) #3
%194 = fmul double 0x487FE50CFABD1F9E, %193
%195 = load double, ptr %4, align 8
%196 = call double @pow(double noundef %195, double noundef 6.000000e+00) #3
%197 = fneg double %194
%198 = call double @llvm.fmuladd.f64(double %197, double %196, double %191)
%199 = load double, ptr %3, align 8
%200 = fmul double 0x485E5C800C38F441, %199
%201 = load double, ptr %3, align 8
%202 = fmul double %200, %201
%203 = load double, ptr %4, align 8
%204 = call double @pow(double noundef %203, double noundef 4.000000e+00) #3
%205 = call double @llvm.fmuladd.f64(double %202, double %204, double %198)
%206 = load double, ptr %3, align 8
%207 = fmul double 0x48266A5FF274CDB8, %206
%208 = load double, ptr %4, align 8
%209 = fmul double %207, %208
%210 = load double, ptr %4, align 8
%211 = fneg double %209
%212 = call double @llvm.fmuladd.f64(double %211, double %210, double %205)
%213 = fadd double %212, 0x47C5696EC1641C63
%214 = load double, ptr %3, align 8
%215 = call double @pow(double noundef %214, double noundef 6.000000e+00) #3
%216 = fmul double 0x4893BBA7ABE9A54D, %215
%217 = load double, ptr %4, align 8
%218 = call double @pow(double noundef %217, double noundef 1.200000e+01) #3
%219 = call double @llvm.fmuladd.f64(double %216, double %218, double %213)
%220 = load double, ptr %3, align 8
%221 = call double @pow(double noundef %220, double noundef 2.900000e+01) #3
%222 = fmul double 0x42A1EA48B0B18D80, %221
%223 = load double, ptr %4, align 8
%224 = call double @pow(double noundef %223, double noundef 5.800000e+01) #3
%225 = fneg double %222
%226 = call double @llvm.fmuladd.f64(double %225, double %224, double %219)
%227 = fmul double 0xB644EC498C2BB425, %226
%228 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%229 = fmul double %227, %228
%230 = load double, ptr %3, align 8
%231 = call double @pow(double noundef %230, double noundef 7.500000e-01) #3
%232 = fmul double %229, %231
%233 = call double @sqrt(double noundef 0x43D11FCF74400678) #3
%234 = fmul double %232, %233
%235 = load double, ptr %3, align 8
%236 = fneg double %235
%237 = load double, ptr %4, align 8
%238 = fmul double %236, %237
%239 = load double, ptr %4, align 8
%240 = fmul double %238, %239
%241 = fdiv double %240, 2.000000e+00
%242 = call double @exp(double noundef %241) #3
%243 = fmul double %234, %242
store double %243, ptr %5, align 8
%244 = load double, ptr %5, align 8
ret double %244
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphpz139do.c'
source_filename = "/tmp/tmphpz139do.c"
target datalayout = "e-m:e-p270: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/tmphpz139do.c"
target datalayout = "e-m:e-p270: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/tmpxlqpb2k8.c'
source_filename = "/tmp/tmpxlqpb2k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [3 x i8] c"abc", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 3, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 %9
%11 = load i8, ptr %10, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = call i32 @putchar(i8 noundef signext 10)
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 @putchar(i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlqpb2k8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [3 x i8] c"abc", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 3, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 3
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 %8
%10 = load i8, ptr %9, align 1
%11 = call i32 @putchar(i8 noundef signext %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 3
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 @putchar(i8 noundef signext 10)
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 @putchar(i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6in3sau7.c'
source_filename = "/tmp/tmp6in3sau7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter a non-negative number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"You entered %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6in3sau7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter a non-negative number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"You entered %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdmvrpen4.c'
source_filename = "/tmp/tmpdmvrpen4.c"
target datalayout = "e-m:e-p270: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/tmpdmvrpen4.c"
target datalayout = "e-m:e-p270: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/tmpwjbn34t_.c'
source_filename = "/tmp/tmpwjbn34t_.c"
target datalayout = "e-m:e-p270: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/tmpwjbn34t_.c"
target datalayout = "e-m:e-p270: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/tmp9_1kenye.c'
source_filename = "/tmp/tmp9_1kenye.c"
target datalayout = "e-m:e-p270: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.CL_Mother_private_ziggurat_normal_float_create_kernel.source_string = private unnamed_addr constant [320 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22Mother_private.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( Mother, );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( Mother, );\0A#endif\00", align 16
@CL_SUCCESS = dso_local global i32 0, align 4
@CL_CONTEXT_DEVICES = dso_local global i32 0, align 4
@CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8
@CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4
@CL_BUILD_SUCCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Mother_ziggurat_normal_float_kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CL_Mother_private_ziggurat_normal_float_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [320 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
store i32 %0, ptr %9, align 4
store i64 %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_Mother_private_ziggurat_normal_float_create_kernel.source_string, i64 320, i1 false)
%26 = load ptr, ptr %15, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %7
store ptr %17, ptr %15, align 8
br label %29
29: ; preds = %28, %7
%30 = getelementptr inbounds [320 x i8], ptr %16, i64 0, i64 0
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %15, align 8
%33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32)
store i32 %33, ptr %19, align 4
%34 = load ptr, ptr %15, align 8
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr @CL_SUCCESS, align 4
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %29
store ptr null, ptr %8, align 8
br label %138
39: ; preds = %29
%40 = load ptr, ptr %11, align 8
store ptr %40, ptr %21, align 8
%41 = load ptr, ptr %11, align 8
%42 = icmp eq ptr %41, null
%43 = zext i1 %42 to i32
store i32 %43, ptr %20, align 4
br i1 %42, label %44, label %81
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22)
%48 = load ptr, ptr %15, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr @CL_SUCCESS, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %44
store ptr null, ptr %8, align 8
br label %138
54: ; preds = %44
%55 = load i64, ptr %10, align 8
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %54
%58 = load i64, ptr %10, align 8
%59 = load i64, ptr %22, align 8
%60 = udiv i64 %59, 4
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57, %54
%63 = load i64, ptr %22, align 8
%64 = udiv i64 %63, 4
store i64 %64, ptr %10, align 8
br label %65
65: ; preds = %62, %57
%66 = load i64, ptr %22, align 8
%67 = call i64 @malloc(i64 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %21, align 8
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%71 = load i64, ptr %22, align 8
%72 = load ptr, ptr %21, align 8
%73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null)
%74 = load ptr, ptr %15, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @CL_SUCCESS, align 4
%78 = icmp ne i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %65
store ptr null, ptr %8, align 8
br label %138
80: ; preds = %65
br label %81
81: ; preds = %80, %39
%82 = load i32, ptr %19, align 4
%83 = load i64, ptr %10, align 8
%84 = load ptr, ptr %21, align 8
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %13, align 8
%87 = load ptr, ptr %14, align 8
%88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = load ptr, ptr %15, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %15, align 8
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr @CL_SUCCESS, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %94, label %95
94: ; preds = %81
store ptr null, ptr %8, align 8
br label %138
95: ; preds = %81
%96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
store i64 %96, ptr %23, align 8
store i32 0, ptr %24, align 4
br label %97
97: ; preds = %122, %95
%98 = load i32, ptr %24, align 4
%99 = sext i32 %98 to i64
%100 = load i64, ptr %10, align 8
%101 = icmp ult i64 %99, %100
br i1 %101, label %102, label %125
102: ; preds = %97
br label %103
103: ; preds = %107, %102
%104 = load i64, ptr %23, align 8
%105 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%106 = icmp eq i64 %104, %105
br i1 %106, label %107, label %116
107: ; preds = %103
%108 = load i32, ptr %19, align 4
%109 = load ptr, ptr %21, align 8
%110 = load i32, ptr %24, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
%113 = load i32, ptr %112, align 4
%114 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4
%115 = call i32 @clGetProgramBuildInfo(i32 noundef %108, i32 noundef %113, i32 noundef %114, i32 noundef 8, ptr noundef %23, ptr noundef null)
br label %103, !llvm.loop !6
116: ; preds = %103
%117 = load i64, ptr %23, align 8
%118 = load i64, ptr @CL_BUILD_SUCCESS, align 8
%119 = icmp ne i64 %117, %118
br i1 %119, label %120, label %121
120: ; preds = %116
store ptr null, ptr %8, align 8
br label %138
121: ; preds = %116
br label %122
122: ; preds = %121
%123 = load i32, ptr %24, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %24, align 4
br label %97, !llvm.loop !8
125: ; preds = %97
%126 = load i32, ptr %19, align 4
%127 = load ptr, ptr %15, align 8
%128 = call ptr @clCreateKernel(i32 noundef %126, ptr noundef @.str, ptr noundef %127)
store ptr %128, ptr %25, align 8
%129 = load i32, ptr %19, align 4
%130 = call i32 @clReleaseProgram(i32 noundef %129)
%131 = load i32, ptr %20, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %136
133: ; preds = %125
%134 = load ptr, ptr %21, align 8
%135 = call i32 @free(ptr noundef %134)
br label %136
136: ; preds = %133, %125
%137 = load ptr, ptr %25, align 8
store ptr %137, ptr %8, align 8
br label %138
138: ; preds = %136, %120, %94, %79, %53, %38
%139 = load ptr, ptr %8, align 8
ret ptr %139
}
; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @clReleaseProgram(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_1kenye.c"
target datalayout = "e-m:e-p270: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.CL_Mother_private_ziggurat_normal_float_create_kernel.source_string = private unnamed_addr constant [320 x i8] c"#define DISABLE_DOUBLES\0A#undef DISABLE_FLOATS\0A#define ZIGGURAT_NORMAL_FLOAT\0A#include \22Mother_private.hcl\22\0A#ifndef __RND_WORKGROUP_SIZE\0A__kernel __ziggurat_normal_float_kernel( Mother, );\0A#else\0A__kernel __attribute__((reqd_work_group_size(__RND_WORKGROUP_SIZE, 1, 1))) __ziggurat_normal_float_kernel( Mother, );\0A#endif\00", align 16
@CL_SUCCESS = dso_local global i32 0, align 4
@CL_CONTEXT_DEVICES = dso_local global i32 0, align 4
@CL_BUILD_IN_PROGRESS = dso_local global i64 0, align 8
@CL_PROGRAM_BUILD_STATUS = dso_local global i32 0, align 4
@CL_BUILD_SUCCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Mother_ziggurat_normal_float_kernel\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @CL_Mother_private_ziggurat_normal_float_create_kernel(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca [320 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca ptr, align 8
store i32 %0, ptr %9, align 4
store i64 %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 @__const.CL_Mother_private_ziggurat_normal_float_create_kernel.source_string, i64 320, i1 false)
%26 = load ptr, ptr %15, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %7
store ptr %17, ptr %15, align 8
br label %29
29: ; preds = %28, %7
%30 = getelementptr inbounds [320 x i8], ptr %16, i64 0, i64 0
store ptr %30, ptr %18, align 8
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %15, align 8
%33 = call i32 @clCreateProgramWithSource(i32 noundef %31, i32 noundef 1, ptr noundef %18, ptr noundef null, ptr noundef %32)
store i32 %33, ptr %19, align 4
%34 = load ptr, ptr %15, align 8
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr @CL_SUCCESS, align 4
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %29
store ptr null, ptr %8, align 8
br label %143
39: ; preds = %29
%40 = load ptr, ptr %11, align 8
store ptr %40, ptr %21, align 8
%41 = load ptr, ptr %11, align 8
%42 = icmp eq ptr %41, null
%43 = zext i1 %42 to i32
store i32 %43, ptr %20, align 4
br i1 %42, label %44, label %81
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%47 = call i32 @clGetContextInfo(i32 noundef %45, i32 noundef %46, i64 noundef 0, ptr noundef null, ptr noundef %22)
%48 = load ptr, ptr %15, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr @CL_SUCCESS, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %44
store ptr null, ptr %8, align 8
br label %143
54: ; preds = %44
%55 = load i64, ptr %10, align 8
%56 = icmp eq i64 %55, 0
br i1 %56, label %62, label %57
57: ; preds = %54
%58 = load i64, ptr %10, align 8
%59 = load i64, ptr %22, align 8
%60 = udiv i64 %59, 4
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %65
62: ; preds = %57, %54
%63 = load i64, ptr %22, align 8
%64 = udiv i64 %63, 4
store i64 %64, ptr %10, align 8
br label %65
65: ; preds = %62, %57
%66 = load i64, ptr %22, align 8
%67 = call i64 @malloc(i64 noundef %66)
%68 = inttoptr i64 %67 to ptr
store ptr %68, ptr %21, align 8
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr @CL_CONTEXT_DEVICES, align 4
%71 = load i64, ptr %22, align 8
%72 = load ptr, ptr %21, align 8
%73 = call i32 @clGetContextInfo(i32 noundef %69, i32 noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef null)
%74 = load ptr, ptr %15, align 8
store i32 %73, ptr %74, align 4
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr @CL_SUCCESS, align 4
%78 = icmp ne i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %65
store ptr null, ptr %8, align 8
br label %143
80: ; preds = %65
br label %81
81: ; preds = %80, %39
%82 = load i32, ptr %19, align 4
%83 = load i64, ptr %10, align 8
%84 = load ptr, ptr %21, align 8
%85 = load ptr, ptr %12, align 8
%86 = load ptr, ptr %13, align 8
%87 = load ptr, ptr %14, align 8
%88 = call i32 @clBuildProgram(i32 noundef %82, i64 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = load ptr, ptr %15, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %15, align 8
%91 = load i32, ptr %90, align 4
%92 = load i32, ptr @CL_SUCCESS, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %94, label %95
94: ; preds = %81
store ptr null, ptr %8, align 8
br label %143
95: ; preds = %81
%96 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
store i64 %96, ptr %23, align 8
store i32 0, ptr %24, align 4
%97 = load i32, ptr %24, align 4
%98 = sext i32 %97 to i64
%99 = load i64, ptr %10, align 8
%100 = icmp ult i64 %98, %99
br i1 %100, label %.lr.ph2, label %130
.lr.ph2: ; preds = %95
br label %101
101: ; preds = %.lr.ph2, %123
%102 = load i64, ptr %23, align 8
%103 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%104 = icmp eq i64 %102, %103
br i1 %104, label %.lr.ph, label %117
.lr.ph: ; preds = %101
br label %105
105: ; preds = %.lr.ph, %105
%106 = load i32, ptr %19, align 4
%107 = load ptr, ptr %21, align 8
%108 = load i32, ptr %24, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load i32, ptr @CL_PROGRAM_BUILD_STATUS, align 4
%113 = call i32 @clGetProgramBuildInfo(i32 noundef %106, i32 noundef %111, i32 noundef %112, i32 noundef 8, ptr noundef %23, ptr noundef null)
%114 = load i64, ptr %23, align 8
%115 = load i64, ptr @CL_BUILD_IN_PROGRESS, align 8
%116 = icmp eq i64 %114, %115
br i1 %116, label %105, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %105
br label %117
117: ; preds = %._crit_edge, %101
%118 = load i64, ptr %23, align 8
%119 = load i64, ptr @CL_BUILD_SUCCESS, align 8
%120 = icmp ne i64 %118, %119
br i1 %120, label %121, label %122
121: ; preds = %117
store ptr null, ptr %8, align 8
br label %143
122: ; preds = %117
br label %123
123: ; preds = %122
%124 = load i32, ptr %24, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %24, align 4
%126 = load i32, ptr %24, align 4
%127 = sext i32 %126 to i64
%128 = load i64, ptr %10, align 8
%129 = icmp ult i64 %127, %128
br i1 %129, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %123
br label %130
130: ; preds = %._crit_edge3, %95
%131 = load i32, ptr %19, align 4
%132 = load ptr, ptr %15, align 8
%133 = call ptr @clCreateKernel(i32 noundef %131, ptr noundef @.str, ptr noundef %132)
store ptr %133, ptr %25, align 8
%134 = load i32, ptr %19, align 4
%135 = call i32 @clReleaseProgram(i32 noundef %134)
%136 = load i32, ptr %20, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %141
138: ; preds = %130
%139 = load ptr, ptr %21, align 8
%140 = call i32 @free(ptr noundef %139)
br label %141
141: ; preds = %138, %130
%142 = load ptr, ptr %25, align 8
store ptr %142, ptr %8, align 8
br label %143
143: ; preds = %141, %121, %94, %79, %53, %38
%144 = load ptr, ptr %8, align 8
ret ptr %144
}
; 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 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetContextInfo(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i32 @clBuildProgram(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @clReleaseProgram(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp33yv9ve3.c'
source_filename = "/tmp/tmp33yv9ve3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_write_double(ptr noalias noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @buffer_write(ptr noundef %5, ptr noundef %4, i32 noundef 8)
ret void
}
declare i32 @buffer_write(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/tmp33yv9ve3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_write_double(ptr noalias noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @buffer_write(ptr noundef %5, ptr noundef %4, i32 noundef 8)
ret void
}
declare i32 @buffer_write(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/tmp58wvnt10.c'
source_filename = "/tmp/tmp58wvnt10.c"
target datalayout = "e-m:e-p270: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/tmp58wvnt10.c"
target datalayout = "e-m:e-p270: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/tmpv6qcru13.c'
source_filename = "/tmp/tmpv6qcru13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dualpal.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"dualpal.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @fclose(ptr noundef %20)
store i32 0, ptr %6, align 4
br label %22
22: ; preds = %38, %14
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %39
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = call i64 @is_dualpal(i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %26
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %5, align 4
%37 = call i32 @fprintf(ptr noundef %35, ptr noundef @.str.5, i32 noundef %36)
br label %38
38: ; preds = %32, %26
br label %22, !llvm.loop !6
39: ; preds = %22
%40 = load ptr, ptr %3, align 8
%41 = call i32 @fclose(ptr noundef %40)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @is_dualpal(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv6qcru13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dualpal.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"dualpal.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.5 = 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @fscanf(ptr noundef %18, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @fclose(ptr noundef %20)
store i32 0, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %41
.lr.ph: ; preds = %14
br label %25
25: ; preds = %.lr.ph, %37
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = call i64 @is_dualpal(i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %25
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = call i32 @fprintf(ptr noundef %34, ptr noundef @.str.5, i32 noundef %35)
br label %37
37: ; preds = %31, %25
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %41
41: ; preds = %._crit_edge, %14
%42 = load ptr, ptr %3, align 8
%43 = call i32 @fclose(ptr noundef %42)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @is_dualpal(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphku8g1t9.c'
source_filename = "/tmp/tmphku8g1t9.c"
target datalayout = "e-m:e-p270: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/tmphku8g1t9.c"
target datalayout = "e-m:e-p270: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/tmpr5gowvzr.c'
source_filename = "/tmp/tmpr5gowvzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initMidiTables(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @loadKeyTableA(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @loadKeyTableB(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @loadKeyTableC(ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @loadStatusTable(ptr noundef %11)
ret void
}
declare i32 @loadKeyTableA(ptr noundef) #1
declare i32 @loadKeyTableB(ptr noundef) #1
declare i32 @loadKeyTableC(ptr noundef) #1
declare i32 @loadStatusTable(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5gowvzr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initMidiTables(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @loadKeyTableA(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @loadKeyTableB(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @loadKeyTableC(ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @loadStatusTable(ptr noundef %11)
ret void
}
declare i32 @loadKeyTableA(ptr noundef) #1
declare i32 @loadKeyTableB(ptr noundef) #1
declare i32 @loadKeyTableC(ptr noundef) #1
declare i32 @loadStatusTable(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxb9qcbul.c'
source_filename = "/tmp/tmpxb9qcbul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"missing newline\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan_to_eol() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %11, %0
%3 = call i32 (...) @scanc()
store i32 %3, ptr %1, align 4
%4 = icmp ne i32 %3, 10
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = call i32 @errf(ptr noundef @.str)
br label %17
11: ; preds = %5
br label %2, !llvm.loop !6
12: ; preds = %2
%13 = load i32, ptr %1, align 4
%14 = icmp eq i32 %13, 10
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
br label %17
17: ; preds = %12, %9
ret void
}
declare i32 @scanc(...) #1
declare i32 @errf(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxb9qcbul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"missing newline\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan_to_eol() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @scanc()
store i32 %2, ptr %1, align 4
%3 = icmp ne i32 %2, 10
br i1 %3, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %7
4: ; preds = %7
%5 = call i32 (...) @scanc()
store i32 %5, ptr %1, align 4
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %._crit_edge, !llvm.loop !6
7: ; preds = %.lr.ph, %4
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %4
11: ; preds = %7
%12 = call i32 @errf(ptr noundef @.str)
br label %18
._crit_edge: ; preds = %4
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %1, align 4
%15 = icmp eq i32 %14, 10
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
br label %18
18: ; preds = %13, %11
ret void
}
declare i32 @scanc(...) #1
declare i32 @errf(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9doh14rt.c'
source_filename = "/tmp/tmp9doh14rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"gaussj: Singular Matrix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = call ptr @ivector(i32 noundef 1, i32 noundef %23)
store ptr %24, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = call ptr @ivector(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %6, align 4
%28 = call ptr @ivector(i32 noundef 1, i32 noundef %27)
store ptr %28, ptr %11, align 8
store i32 1, ptr %15, align 4
br label %29
29: ; preds = %38, %4
%30 = load i32, ptr %15, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %29
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr %15, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 0, ptr %37, align 4
br label %38
38: ; preds = %33
%39 = load i32, ptr %15, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %15, align 4
br label %29, !llvm.loop !6
41: ; preds = %29
store i32 1, ptr %12, align 4
br label %42
42: ; preds = %378, %41
%43 = load i32, ptr %12, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %381
46: ; preds = %42
store double 0.000000e+00, ptr %19, align 8
store i32 1, ptr %15, align 4
br label %47
47: ; preds = %103, %46
%48 = load i32, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %106
51: ; preds = %47
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %15, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %102
58: ; preds = %51
store i32 1, ptr %16, align 4
br label %59
59: ; preds = %98, %58
%60 = load i32, ptr %16, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp sle i32 %60, %61
br i1 %62, label %63, label %101
63: ; preds = %59
%64 = load ptr, ptr %11, align 8
%65 = load i32, ptr %16, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %97
70: ; preds = %63
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %15, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load i32, ptr %16, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
%80 = call double @llvm.fabs.f64(double %79)
%81 = load double, ptr %19, align 8
%82 = fcmp oge double %80, %81
br i1 %82, label %83, label %96
83: ; preds = %70
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %15, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds ptr, ptr %84, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = load i32, ptr %16, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %88, i64 %90
%92 = load double, ptr %91, align 8
%93 = call double @llvm.fabs.f64(double %92)
store double %93, ptr %19, align 8
%94 = load i32, ptr %15, align 4
store i32 %94, ptr %14, align 4
%95 = load i32, ptr %16, align 4
store i32 %95, ptr %13, align 4
br label %96
96: ; preds = %83, %70
br label %97
97: ; preds = %96, %63
br label %98
98: ; preds = %97
%99 = load i32, ptr %16, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %16, align 4
br label %59, !llvm.loop !8
101: ; preds = %59
br label %102
102: ; preds = %101, %51
br label %103
103: ; preds = %102
%104 = load i32, ptr %15, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %15, align 4
br label %47, !llvm.loop !9
106: ; preds = %47
%107 = load ptr, ptr %11, align 8
%108 = load i32, ptr %13, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %110, align 4
%113 = load i32, ptr %14, align 4
%114 = load i32, ptr %13, align 4
%115 = icmp ne i32 %113, %114
br i1 %115, label %116, label %205
116: ; preds = %106
store i32 1, ptr %17, align 4
br label %117
117: ; preds = %157, %116
%118 = load i32, ptr %17, align 4
%119 = load i32, ptr %6, align 4
%120 = icmp sle i32 %118, %119
br i1 %120, label %121, label %160
121: ; preds = %117
%122 = load ptr, ptr %5, align 8
%123 = load i32, ptr %14, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds ptr, ptr %122, i64 %124
%126 = load ptr, ptr %125, align 8
%127 = load i32, ptr %17, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
%130 = load double, ptr %129, align 8
store double %130, ptr %22, align 8
%131 = load ptr, ptr %5, align 8
%132 = load i32, ptr %13, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds ptr, ptr %131, i64 %133
%135 = load ptr, ptr %134, align 8
%136 = load i32, ptr %17, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %135, i64 %137
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %14, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds ptr, ptr %140, i64 %142
%144 = load ptr, ptr %143, align 8
%145 = load i32, ptr %17, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %144, i64 %146
store double %139, ptr %147, align 8
%148 = load double, ptr %22, align 8
%149 = load ptr, ptr %5, align 8
%150 = load i32, ptr %13, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds ptr, ptr %149, i64 %151
%153 = load ptr, ptr %152, align 8
%154 = load i32, ptr %17, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds double, ptr %153, i64 %155
store double %148, ptr %156, align 8
br label %157
157: ; preds = %121
%158 = load i32, ptr %17, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %17, align 4
br label %117, !llvm.loop !10
160: ; preds = %117
store i32 1, ptr %17, align 4
br label %161
161: ; preds = %201, %160
%162 = load i32, ptr %17, align 4
%163 = load i32, ptr %8, align 4
%164 = icmp sle i32 %162, %163
br i1 %164, label %165, label %204
165: ; preds = %161
%166 = load ptr, ptr %7, align 8
%167 = load i32, ptr %14, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds ptr, ptr %166, i64 %168
%170 = load ptr, ptr %169, align 8
%171 = load i32, ptr %17, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
store double %174, ptr %22, align 8
%175 = load ptr, ptr %7, align 8
%176 = load i32, ptr %13, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %175, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = load i32, ptr %17, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %179, i64 %181
%183 = load double, ptr %182, align 8
%184 = load ptr, ptr %7, align 8
%185 = load i32, ptr %14, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds ptr, ptr %184, i64 %186
%188 = load ptr, ptr %187, align 8
%189 = load i32, ptr %17, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, ptr %188, i64 %190
store double %183, ptr %191, align 8
%192 = load double, ptr %22, align 8
%193 = load ptr, ptr %7, align 8
%194 = load i32, ptr %13, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds ptr, ptr %193, i64 %195
%197 = load ptr, ptr %196, align 8
%198 = load i32, ptr %17, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %197, i64 %199
store double %192, ptr %200, align 8
br label %201
201: ; preds = %165
%202 = load i32, ptr %17, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %17, align 4
br label %161, !llvm.loop !11
204: ; preds = %161
br label %205
205: ; preds = %204, %106
%206 = load i32, ptr %14, align 4
%207 = load ptr, ptr %10, align 8
%208 = load i32, ptr %12, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %207, i64 %209
store i32 %206, ptr %210, align 4
%211 = load i32, ptr %13, align 4
%212 = load ptr, ptr %9, align 8
%213 = load i32, ptr %12, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i32, ptr %212, i64 %214
store i32 %211, ptr %215, align 4
%216 = load ptr, ptr %5, align 8
%217 = load i32, ptr %13, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds ptr, ptr %216, i64 %218
%220 = load ptr, ptr %219, align 8
%221 = load i32, ptr %13, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds double, ptr %220, i64 %222
%224 = load double, ptr %223, align 8
%225 = fcmp oeq double %224, 0.000000e+00
br i1 %225, label %226, label %228
226: ; preds = %205
%227 = call i32 @nrerror(ptr noundef @.str)
br label %228
228: ; preds = %226, %205
%229 = load ptr, ptr %5, align 8
%230 = load i32, ptr %13, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds ptr, ptr %229, i64 %231
%233 = load ptr, ptr %232, align 8
%234 = load i32, ptr %13, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, ptr %233, i64 %235
%237 = load double, ptr %236, align 8
%238 = fdiv double 1.000000e+00, %237
store double %238, ptr %21, align 8
%239 = load ptr, ptr %5, align 8
%240 = load i32, ptr %13, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds ptr, ptr %239, i64 %241
%243 = load ptr, ptr %242, align 8
%244 = load i32, ptr %13, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds double, ptr %243, i64 %245
store double 1.000000e+00, ptr %246, align 8
store i32 1, ptr %17, align 4
br label %247
247: ; preds = %263, %228
%248 = load i32, ptr %17, align 4
%249 = load i32, ptr %6, align 4
%250 = icmp sle i32 %248, %249
br i1 %250, label %251, label %266
251: ; preds = %247
%252 = load double, ptr %21, align 8
%253 = load ptr, ptr %5, align 8
%254 = load i32, ptr %13, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds ptr, ptr %253, i64 %255
%257 = load ptr, ptr %256, align 8
%258 = load i32, ptr %17, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds double, ptr %257, i64 %259
%261 = load double, ptr %260, align 8
%262 = fmul double %261, %252
store double %262, ptr %260, align 8
br label %263
263: ; preds = %251
%264 = load i32, ptr %17, align 4
%265 = add nsw i32 %264, 1
store i32 %265, ptr %17, align 4
br label %247, !llvm.loop !12
266: ; preds = %247
store i32 1, ptr %17, align 4
br label %267
267: ; preds = %283, %266
%268 = load i32, ptr %17, align 4
%269 = load i32, ptr %8, align 4
%270 = icmp sle i32 %268, %269
br i1 %270, label %271, label %286
271: ; preds = %267
%272 = load double, ptr %21, align 8
%273 = load ptr, ptr %7, align 8
%274 = load i32, ptr %13, align 4
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds ptr, ptr %273, i64 %275
%277 = load ptr, ptr %276, align 8
%278 = load i32, ptr %17, align 4
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, ptr %277, i64 %279
%281 = load double, ptr %280, align 8
%282 = fmul double %281, %272
store double %282, ptr %280, align 8
br label %283
283: ; preds = %271
%284 = load i32, ptr %17, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %17, align 4
br label %267, !llvm.loop !13
286: ; preds = %267
store i32 1, ptr %18, align 4
br label %287
287: ; preds = %374, %286
%288 = load i32, ptr %18, align 4
%289 = load i32, ptr %6, align 4
%290 = icmp sle i32 %288, %289
br i1 %290, label %291, label %377
291: ; preds = %287
%292 = load i32, ptr %18, align 4
%293 = load i32, ptr %13, align 4
%294 = icmp ne i32 %292, %293
br i1 %294, label %295, label %373
295: ; preds = %291
%296 = load ptr, ptr %5, align 8
%297 = load i32, ptr %18, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds ptr, ptr %296, i64 %298
%300 = load ptr, ptr %299, align 8
%301 = load i32, ptr %13, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds double, ptr %300, i64 %302
%304 = load double, ptr %303, align 8
store double %304, ptr %20, align 8
%305 = load ptr, ptr %5, align 8
%306 = load i32, ptr %18, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds ptr, ptr %305, i64 %307
%309 = load ptr, ptr %308, align 8
%310 = load i32, ptr %13, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds double, ptr %309, i64 %311
store double 0.000000e+00, ptr %312, align 8
store i32 1, ptr %17, align 4
br label %313
313: ; preds = %339, %295
%314 = load i32, ptr %17, align 4
%315 = load i32, ptr %6, align 4
%316 = icmp sle i32 %314, %315
br i1 %316, label %317, label %342
317: ; preds = %313
%318 = load ptr, ptr %5, align 8
%319 = load i32, ptr %13, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds ptr, ptr %318, i64 %320
%322 = load ptr, ptr %321, align 8
%323 = load i32, ptr %17, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds double, ptr %322, i64 %324
%326 = load double, ptr %325, align 8
%327 = load double, ptr %20, align 8
%328 = load ptr, ptr %5, align 8
%329 = load i32, ptr %18, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds ptr, ptr %328, i64 %330
%332 = load ptr, ptr %331, align 8
%333 = load i32, ptr %17, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, ptr %332, i64 %334
%336 = load double, ptr %335, align 8
%337 = fneg double %326
%338 = call double @llvm.fmuladd.f64(double %337, double %327, double %336)
store double %338, ptr %335, align 8
br label %339
339: ; preds = %317
%340 = load i32, ptr %17, align 4
%341 = add nsw i32 %340, 1
store i32 %341, ptr %17, align 4
br label %313, !llvm.loop !14
342: ; preds = %313
store i32 1, ptr %17, align 4
br label %343
343: ; preds = %369, %342
%344 = load i32, ptr %17, align 4
%345 = load i32, ptr %8, align 4
%346 = icmp sle i32 %344, %345
br i1 %346, label %347, label %372
347: ; preds = %343
%348 = load ptr, ptr %7, align 8
%349 = load i32, ptr %13, align 4
%350 = sext i32 %349 to i64
%351 = getelementptr inbounds ptr, ptr %348, i64 %350
%352 = load ptr, ptr %351, align 8
%353 = load i32, ptr %17, align 4
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds double, ptr %352, i64 %354
%356 = load double, ptr %355, align 8
%357 = load double, ptr %20, align 8
%358 = load ptr, ptr %7, align 8
%359 = load i32, ptr %18, align 4
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds ptr, ptr %358, i64 %360
%362 = load ptr, ptr %361, align 8
%363 = load i32, ptr %17, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds double, ptr %362, i64 %364
%366 = load double, ptr %365, align 8
%367 = fneg double %356
%368 = call double @llvm.fmuladd.f64(double %367, double %357, double %366)
store double %368, ptr %365, align 8
br label %369
369: ; preds = %347
%370 = load i32, ptr %17, align 4
%371 = add nsw i32 %370, 1
store i32 %371, ptr %17, align 4
br label %343, !llvm.loop !15
372: ; preds = %343
br label %373
373: ; preds = %372, %291
br label %374
374: ; preds = %373
%375 = load i32, ptr %18, align 4
%376 = add nsw i32 %375, 1
store i32 %376, ptr %18, align 4
br label %287, !llvm.loop !16
377: ; preds = %287
br label %378
378: ; preds = %377
%379 = load i32, ptr %12, align 4
%380 = add nsw i32 %379, 1
store i32 %380, ptr %12, align 4
br label %42, !llvm.loop !17
381: ; preds = %42
%382 = load i32, ptr %6, align 4
store i32 %382, ptr %17, align 4
br label %383
383: ; preds = %460, %381
%384 = load i32, ptr %17, align 4
%385 = icmp sge i32 %384, 1
br i1 %385, label %386, label %463
386: ; preds = %383
%387 = load ptr, ptr %10, align 8
%388 = load i32, ptr %17, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds i32, ptr %387, i64 %389
%391 = load i32, ptr %390, align 4
%392 = load ptr, ptr %9, align 8
%393 = load i32, ptr %17, align 4
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds i32, ptr %392, i64 %394
%396 = load i32, ptr %395, align 4
%397 = icmp ne i32 %391, %396
br i1 %397, label %398, label %459
398: ; preds = %386
store i32 1, ptr %16, align 4
br label %399
399: ; preds = %455, %398
%400 = load i32, ptr %16, align 4
%401 = load i32, ptr %6, align 4
%402 = icmp sle i32 %400, %401
br i1 %402, label %403, label %458
403: ; preds = %399
%404 = load ptr, ptr %5, align 8
%405 = load i32, ptr %16, align 4
%406 = sext i32 %405 to i64
%407 = getelementptr inbounds ptr, ptr %404, i64 %406
%408 = load ptr, ptr %407, align 8
%409 = load ptr, ptr %10, align 8
%410 = load i32, ptr %17, align 4
%411 = sext i32 %410 to i64
%412 = getelementptr inbounds i32, ptr %409, i64 %411
%413 = load i32, ptr %412, align 4
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds double, ptr %408, i64 %414
%416 = load double, ptr %415, align 8
store double %416, ptr %22, align 8
%417 = load ptr, ptr %5, align 8
%418 = load i32, ptr %16, align 4
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds ptr, ptr %417, i64 %419
%421 = load ptr, ptr %420, align 8
%422 = load ptr, ptr %9, align 8
%423 = load i32, ptr %17, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds i32, ptr %422, i64 %424
%426 = load i32, ptr %425, align 4
%427 = sext i32 %426 to i64
%428 = getelementptr inbounds double, ptr %421, i64 %427
%429 = load double, ptr %428, align 8
%430 = load ptr, ptr %5, align 8
%431 = load i32, ptr %16, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds ptr, ptr %430, i64 %432
%434 = load ptr, ptr %433, align 8
%435 = load ptr, ptr %10, align 8
%436 = load i32, ptr %17, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds i32, ptr %435, i64 %437
%439 = load i32, ptr %438, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds double, ptr %434, i64 %440
store double %429, ptr %441, align 8
%442 = load double, ptr %22, align 8
%443 = load ptr, ptr %5, align 8
%444 = load i32, ptr %16, align 4
%445 = sext i32 %444 to i64
%446 = getelementptr inbounds ptr, ptr %443, i64 %445
%447 = load ptr, ptr %446, align 8
%448 = load ptr, ptr %9, align 8
%449 = load i32, ptr %17, align 4
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds i32, ptr %448, i64 %450
%452 = load i32, ptr %451, align 4
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds double, ptr %447, i64 %453
store double %442, ptr %454, align 8
br label %455
455: ; preds = %403
%456 = load i32, ptr %16, align 4
%457 = add nsw i32 %456, 1
store i32 %457, ptr %16, align 4
br label %399, !llvm.loop !18
458: ; preds = %399
br label %459
459: ; preds = %458, %386
br label %460
460: ; preds = %459
%461 = load i32, ptr %17, align 4
%462 = add nsw i32 %461, -1
store i32 %462, ptr %17, align 4
br label %383, !llvm.loop !19
463: ; preds = %383
%464 = load ptr, ptr %11, align 8
%465 = load i32, ptr %6, align 4
%466 = call i32 @free_ivector(ptr noundef %464, i32 noundef 1, i32 noundef %465)
%467 = load ptr, ptr %10, align 8
%468 = load i32, ptr %6, align 4
%469 = call i32 @free_ivector(ptr noundef %467, i32 noundef 1, i32 noundef %468)
%470 = load ptr, ptr %9, align 8
%471 = load i32, ptr %6, align 4
%472 = call i32 @free_ivector(ptr noundef %470, i32 noundef 1, i32 noundef %471)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_ivector(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9doh14rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"gaussj: Singular Matrix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = call ptr @ivector(i32 noundef 1, i32 noundef %23)
store ptr %24, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = call ptr @ivector(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %6, align 4
%28 = call ptr @ivector(i32 noundef 1, i32 noundef %27)
store ptr %28, ptr %11, align 8
store i32 1, ptr %15, align 4
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph, label %43
.lr.ph: ; preds = %4
br label %32
32: ; preds = %.lr.ph, %37
%33 = load ptr, ptr %11, align 8
%34 = load i32, ptr %15, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 0, ptr %36, align 4
br label %37
37: ; preds = %32
%38 = load i32, ptr %15, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %15, align 4
%40 = load i32, ptr %15, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %4
store i32 1, ptr %12, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %.lr.ph29, label %403
.lr.ph29: ; preds = %43
br label %47
47: ; preds = %.lr.ph29, %397
store double 0.000000e+00, ptr %19, align 8
store i32 1, ptr %15, align 4
%48 = load i32, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %.lr.ph5, label %111
.lr.ph5: ; preds = %47
br label %51
51: ; preds = %.lr.ph5, %105
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %15, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %104
58: ; preds = %51
store i32 1, ptr %16, align 4
%59 = load i32, ptr %16, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %.lr.ph2, label %103
.lr.ph2: ; preds = %58
br label %62
62: ; preds = %.lr.ph2, %97
%63 = load ptr, ptr %11, align 8
%64 = load i32, ptr %16, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %96
69: ; preds = %62
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %15, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fabs.f64(double %78)
%80 = load double, ptr %19, align 8
%81 = fcmp oge double %79, %80
br i1 %81, label %82, label %95
82: ; preds = %69
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %16, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = call double @llvm.fabs.f64(double %91)
store double %92, ptr %19, align 8
%93 = load i32, ptr %15, align 4
store i32 %93, ptr %14, align 4
%94 = load i32, ptr %16, align 4
store i32 %94, ptr %13, align 4
br label %95
95: ; preds = %82, %69
br label %96
96: ; preds = %95, %62
br label %97
97: ; preds = %96
%98 = load i32, ptr %16, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %16, align 4
%100 = load i32, ptr %16, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp sle i32 %100, %101
br i1 %102, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %97
br label %103
103: ; preds = %._crit_edge3, %58
br label %104
104: ; preds = %103, %51
br label %105
105: ; preds = %104
%106 = load i32, ptr %15, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %15, align 4
%108 = load i32, ptr %15, align 4
%109 = load i32, ptr %6, align 4
%110 = icmp sle i32 %108, %109
br i1 %110, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %111
111: ; preds = %._crit_edge6, %47
%112 = load ptr, ptr %11, align 8
%113 = load i32, ptr %13, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %115, align 4
%118 = load i32, ptr %14, align 4
%119 = load i32, ptr %13, align 4
%120 = icmp ne i32 %118, %119
br i1 %120, label %121, label %214
121: ; preds = %111
store i32 1, ptr %17, align 4
%122 = load i32, ptr %17, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp sle i32 %122, %123
br i1 %124, label %.lr.ph8, label %167
.lr.ph8: ; preds = %121
br label %125
125: ; preds = %.lr.ph8, %161
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %14, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds ptr, ptr %126, i64 %128
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %17, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %130, i64 %132
%134 = load double, ptr %133, align 8
store double %134, ptr %22, align 8
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %13, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %135, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = load i32, ptr %17, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
%143 = load double, ptr %142, align 8
%144 = load ptr, ptr %5, align 8
%145 = load i32, ptr %14, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds ptr, ptr %144, i64 %146
%148 = load ptr, ptr %147, align 8
%149 = load i32, ptr %17, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds double, ptr %148, i64 %150
store double %143, ptr %151, align 8
%152 = load double, ptr %22, align 8
%153 = load ptr, ptr %5, align 8
%154 = load i32, ptr %13, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds ptr, ptr %153, i64 %155
%157 = load ptr, ptr %156, align 8
%158 = load i32, ptr %17, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, ptr %157, i64 %159
store double %152, ptr %160, align 8
br label %161
161: ; preds = %125
%162 = load i32, ptr %17, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %17, align 4
%164 = load i32, ptr %17, align 4
%165 = load i32, ptr %6, align 4
%166 = icmp sle i32 %164, %165
br i1 %166, label %125, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %161
br label %167
167: ; preds = %._crit_edge9, %121
store i32 1, ptr %17, align 4
%168 = load i32, ptr %17, align 4
%169 = load i32, ptr %8, align 4
%170 = icmp sle i32 %168, %169
br i1 %170, label %.lr.ph11, label %213
.lr.ph11: ; preds = %167
br label %171
171: ; preds = %.lr.ph11, %207
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %14, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds ptr, ptr %172, i64 %174
%176 = load ptr, ptr %175, align 8
%177 = load i32, ptr %17, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
%180 = load double, ptr %179, align 8
store double %180, ptr %22, align 8
%181 = load ptr, ptr %7, align 8
%182 = load i32, ptr %13, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds ptr, ptr %181, i64 %183
%185 = load ptr, ptr %184, align 8
%186 = load i32, ptr %17, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %185, i64 %187
%189 = load double, ptr %188, align 8
%190 = load ptr, ptr %7, align 8
%191 = load i32, ptr %14, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds ptr, ptr %190, i64 %192
%194 = load ptr, ptr %193, align 8
%195 = load i32, ptr %17, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
store double %189, ptr %197, align 8
%198 = load double, ptr %22, align 8
%199 = load ptr, ptr %7, align 8
%200 = load i32, ptr %13, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds ptr, ptr %199, i64 %201
%203 = load ptr, ptr %202, align 8
%204 = load i32, ptr %17, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %203, i64 %205
store double %198, ptr %206, align 8
br label %207
207: ; preds = %171
%208 = load i32, ptr %17, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %17, align 4
%210 = load i32, ptr %17, align 4
%211 = load i32, ptr %8, align 4
%212 = icmp sle i32 %210, %211
br i1 %212, label %171, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %207
br label %213
213: ; preds = %._crit_edge12, %167
br label %214
214: ; preds = %213, %111
%215 = load i32, ptr %14, align 4
%216 = load ptr, ptr %10, align 8
%217 = load i32, ptr %12, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds i32, ptr %216, i64 %218
store i32 %215, ptr %219, align 4
%220 = load i32, ptr %13, align 4
%221 = load ptr, ptr %9, align 8
%222 = load i32, ptr %12, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i32, ptr %221, i64 %223
store i32 %220, ptr %224, align 4
%225 = load ptr, ptr %5, align 8
%226 = load i32, ptr %13, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds ptr, ptr %225, i64 %227
%229 = load ptr, ptr %228, align 8
%230 = load i32, ptr %13, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, ptr %229, i64 %231
%233 = load double, ptr %232, align 8
%234 = fcmp oeq double %233, 0.000000e+00
br i1 %234, label %235, label %237
235: ; preds = %214
%236 = call i32 @nrerror(ptr noundef @.str)
br label %237
237: ; preds = %235, %214
%238 = load ptr, ptr %5, align 8
%239 = load i32, ptr %13, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = load i32, ptr %13, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds double, ptr %242, i64 %244
%246 = load double, ptr %245, align 8
%247 = fdiv double 1.000000e+00, %246
store double %247, ptr %21, align 8
%248 = load ptr, ptr %5, align 8
%249 = load i32, ptr %13, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds ptr, ptr %248, i64 %250
%252 = load ptr, ptr %251, align 8
%253 = load i32, ptr %13, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds double, ptr %252, i64 %254
store double 1.000000e+00, ptr %255, align 8
store i32 1, ptr %17, align 4
%256 = load i32, ptr %17, align 4
%257 = load i32, ptr %6, align 4
%258 = icmp sle i32 %256, %257
br i1 %258, label %.lr.ph14, label %277
.lr.ph14: ; preds = %237
br label %259
259: ; preds = %.lr.ph14, %271
%260 = load double, ptr %21, align 8
%261 = load ptr, ptr %5, align 8
%262 = load i32, ptr %13, align 4
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds ptr, ptr %261, i64 %263
%265 = load ptr, ptr %264, align 8
%266 = load i32, ptr %17, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds double, ptr %265, i64 %267
%269 = load double, ptr %268, align 8
%270 = fmul double %269, %260
store double %270, ptr %268, align 8
br label %271
271: ; preds = %259
%272 = load i32, ptr %17, align 4
%273 = add nsw i32 %272, 1
store i32 %273, ptr %17, align 4
%274 = load i32, ptr %17, align 4
%275 = load i32, ptr %6, align 4
%276 = icmp sle i32 %274, %275
br i1 %276, label %259, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %271
br label %277
277: ; preds = %._crit_edge15, %237
store i32 1, ptr %17, align 4
%278 = load i32, ptr %17, align 4
%279 = load i32, ptr %8, align 4
%280 = icmp sle i32 %278, %279
br i1 %280, label %.lr.ph17, label %299
.lr.ph17: ; preds = %277
br label %281
281: ; preds = %.lr.ph17, %293
%282 = load double, ptr %21, align 8
%283 = load ptr, ptr %7, align 8
%284 = load i32, ptr %13, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds ptr, ptr %283, i64 %285
%287 = load ptr, ptr %286, align 8
%288 = load i32, ptr %17, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, ptr %287, i64 %289
%291 = load double, ptr %290, align 8
%292 = fmul double %291, %282
store double %292, ptr %290, align 8
br label %293
293: ; preds = %281
%294 = load i32, ptr %17, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %17, align 4
%296 = load i32, ptr %17, align 4
%297 = load i32, ptr %8, align 4
%298 = icmp sle i32 %296, %297
br i1 %298, label %281, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %293
br label %299
299: ; preds = %._crit_edge18, %277
store i32 1, ptr %18, align 4
%300 = load i32, ptr %18, align 4
%301 = load i32, ptr %6, align 4
%302 = icmp sle i32 %300, %301
br i1 %302, label %.lr.ph26, label %396
.lr.ph26: ; preds = %299
br label %303
303: ; preds = %.lr.ph26, %390
%304 = load i32, ptr %18, align 4
%305 = load i32, ptr %13, align 4
%306 = icmp ne i32 %304, %305
br i1 %306, label %307, label %389
307: ; preds = %303
%308 = load ptr, ptr %5, align 8
%309 = load i32, ptr %18, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds ptr, ptr %308, i64 %310
%312 = load ptr, ptr %311, align 8
%313 = load i32, ptr %13, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, ptr %312, i64 %314
%316 = load double, ptr %315, align 8
store double %316, ptr %20, align 8
%317 = load ptr, ptr %5, align 8
%318 = load i32, ptr %18, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds ptr, ptr %317, i64 %319
%321 = load ptr, ptr %320, align 8
%322 = load i32, ptr %13, align 4
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds double, ptr %321, i64 %323
store double 0.000000e+00, ptr %324, align 8
store i32 1, ptr %17, align 4
%325 = load i32, ptr %17, align 4
%326 = load i32, ptr %6, align 4
%327 = icmp sle i32 %325, %326
br i1 %327, label %.lr.ph20, label %356
.lr.ph20: ; preds = %307
br label %328
328: ; preds = %.lr.ph20, %350
%329 = load ptr, ptr %5, align 8
%330 = load i32, ptr %13, align 4
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds ptr, ptr %329, i64 %331
%333 = load ptr, ptr %332, align 8
%334 = load i32, ptr %17, align 4
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds double, ptr %333, i64 %335
%337 = load double, ptr %336, align 8
%338 = load double, ptr %20, align 8
%339 = load ptr, ptr %5, align 8
%340 = load i32, ptr %18, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds ptr, ptr %339, i64 %341
%343 = load ptr, ptr %342, align 8
%344 = load i32, ptr %17, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds double, ptr %343, i64 %345
%347 = load double, ptr %346, align 8
%348 = fneg double %337
%349 = call double @llvm.fmuladd.f64(double %348, double %338, double %347)
store double %349, ptr %346, align 8
br label %350
350: ; preds = %328
%351 = load i32, ptr %17, align 4
%352 = add nsw i32 %351, 1
store i32 %352, ptr %17, align 4
%353 = load i32, ptr %17, align 4
%354 = load i32, ptr %6, align 4
%355 = icmp sle i32 %353, %354
br i1 %355, label %328, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %350
br label %356
356: ; preds = %._crit_edge21, %307
store i32 1, ptr %17, align 4
%357 = load i32, ptr %17, align 4
%358 = load i32, ptr %8, align 4
%359 = icmp sle i32 %357, %358
br i1 %359, label %.lr.ph23, label %388
.lr.ph23: ; preds = %356
br label %360
360: ; preds = %.lr.ph23, %382
%361 = load ptr, ptr %7, align 8
%362 = load i32, ptr %13, align 4
%363 = sext i32 %362 to i64
%364 = getelementptr inbounds ptr, ptr %361, i64 %363
%365 = load ptr, ptr %364, align 8
%366 = load i32, ptr %17, align 4
%367 = sext i32 %366 to i64
%368 = getelementptr inbounds double, ptr %365, i64 %367
%369 = load double, ptr %368, align 8
%370 = load double, ptr %20, align 8
%371 = load ptr, ptr %7, align 8
%372 = load i32, ptr %18, align 4
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds ptr, ptr %371, i64 %373
%375 = load ptr, ptr %374, align 8
%376 = load i32, ptr %17, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds double, ptr %375, i64 %377
%379 = load double, ptr %378, align 8
%380 = fneg double %369
%381 = call double @llvm.fmuladd.f64(double %380, double %370, double %379)
store double %381, ptr %378, align 8
br label %382
382: ; preds = %360
%383 = load i32, ptr %17, align 4
%384 = add nsw i32 %383, 1
store i32 %384, ptr %17, align 4
%385 = load i32, ptr %17, align 4
%386 = load i32, ptr %8, align 4
%387 = icmp sle i32 %385, %386
br i1 %387, label %360, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %382
br label %388
388: ; preds = %._crit_edge24, %356
br label %389
389: ; preds = %388, %303
br label %390
390: ; preds = %389
%391 = load i32, ptr %18, align 4
%392 = add nsw i32 %391, 1
store i32 %392, ptr %18, align 4
%393 = load i32, ptr %18, align 4
%394 = load i32, ptr %6, align 4
%395 = icmp sle i32 %393, %394
br i1 %395, label %303, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %390
br label %396
396: ; preds = %._crit_edge27, %299
br label %397
397: ; preds = %396
%398 = load i32, ptr %12, align 4
%399 = add nsw i32 %398, 1
store i32 %399, ptr %12, align 4
%400 = load i32, ptr %12, align 4
%401 = load i32, ptr %6, align 4
%402 = icmp sle i32 %400, %401
br i1 %402, label %47, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %397
br label %403
403: ; preds = %._crit_edge30, %43
%404 = load i32, ptr %6, align 4
store i32 %404, ptr %17, align 4
%405 = load i32, ptr %17, align 4
%406 = icmp sge i32 %405, 1
br i1 %406, label %.lr.ph35, label %488
.lr.ph35: ; preds = %403
br label %407
407: ; preds = %.lr.ph35, %483
%408 = load ptr, ptr %10, align 8
%409 = load i32, ptr %17, align 4
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds i32, ptr %408, i64 %410
%412 = load i32, ptr %411, align 4
%413 = load ptr, ptr %9, align 8
%414 = load i32, ptr %17, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds i32, ptr %413, i64 %415
%417 = load i32, ptr %416, align 4
%418 = icmp ne i32 %412, %417
br i1 %418, label %419, label %482
419: ; preds = %407
store i32 1, ptr %16, align 4
%420 = load i32, ptr %16, align 4
%421 = load i32, ptr %6, align 4
%422 = icmp sle i32 %420, %421
br i1 %422, label %.lr.ph32, label %481
.lr.ph32: ; preds = %419
br label %423
423: ; preds = %.lr.ph32, %475
%424 = load ptr, ptr %5, align 8
%425 = load i32, ptr %16, align 4
%426 = sext i32 %425 to i64
%427 = getelementptr inbounds ptr, ptr %424, i64 %426
%428 = load ptr, ptr %427, align 8
%429 = load ptr, ptr %10, align 8
%430 = load i32, ptr %17, align 4
%431 = sext i32 %430 to i64
%432 = getelementptr inbounds i32, ptr %429, i64 %431
%433 = load i32, ptr %432, align 4
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds double, ptr %428, i64 %434
%436 = load double, ptr %435, align 8
store double %436, ptr %22, align 8
%437 = load ptr, ptr %5, align 8
%438 = load i32, ptr %16, align 4
%439 = sext i32 %438 to i64
%440 = getelementptr inbounds ptr, ptr %437, i64 %439
%441 = load ptr, ptr %440, align 8
%442 = load ptr, ptr %9, align 8
%443 = load i32, ptr %17, align 4
%444 = sext i32 %443 to i64
%445 = getelementptr inbounds i32, ptr %442, i64 %444
%446 = load i32, ptr %445, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds double, ptr %441, i64 %447
%449 = load double, ptr %448, align 8
%450 = load ptr, ptr %5, align 8
%451 = load i32, ptr %16, align 4
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds ptr, ptr %450, i64 %452
%454 = load ptr, ptr %453, align 8
%455 = load ptr, ptr %10, align 8
%456 = load i32, ptr %17, align 4
%457 = sext i32 %456 to i64
%458 = getelementptr inbounds i32, ptr %455, i64 %457
%459 = load i32, ptr %458, align 4
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds double, ptr %454, i64 %460
store double %449, ptr %461, align 8
%462 = load double, ptr %22, align 8
%463 = load ptr, ptr %5, align 8
%464 = load i32, ptr %16, align 4
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds ptr, ptr %463, i64 %465
%467 = load ptr, ptr %466, align 8
%468 = load ptr, ptr %9, align 8
%469 = load i32, ptr %17, align 4
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds i32, ptr %468, i64 %470
%472 = load i32, ptr %471, align 4
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds double, ptr %467, i64 %473
store double %462, ptr %474, align 8
br label %475
475: ; preds = %423
%476 = load i32, ptr %16, align 4
%477 = add nsw i32 %476, 1
store i32 %477, ptr %16, align 4
%478 = load i32, ptr %16, align 4
%479 = load i32, ptr %6, align 4
%480 = icmp sle i32 %478, %479
br i1 %480, label %423, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %475
br label %481
481: ; preds = %._crit_edge33, %419
br label %482
482: ; preds = %481, %407
br label %483
483: ; preds = %482
%484 = load i32, ptr %17, align 4
%485 = add nsw i32 %484, -1
store i32 %485, ptr %17, align 4
%486 = load i32, ptr %17, align 4
%487 = icmp sge i32 %486, 1
br i1 %487, label %407, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %483
br label %488
488: ; preds = %._crit_edge36, %403
%489 = load ptr, ptr %11, align 8
%490 = load i32, ptr %6, align 4
%491 = call i32 @free_ivector(ptr noundef %489, i32 noundef 1, i32 noundef %490)
%492 = load ptr, ptr %10, align 8
%493 = load i32, ptr %6, align 4
%494 = call i32 @free_ivector(ptr noundef %492, i32 noundef 1, i32 noundef %493)
%495 = load ptr, ptr %9, align 8
%496 = load i32, ptr %6, align 4
%497 = call i32 @free_ivector(ptr noundef %495, i32 noundef 1, i32 noundef %496)
ret void
}
declare ptr @ivector(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare i32 @nrerror(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_ivector(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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!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}
|
; ModuleID = '/tmp/tmp20www3b_.c'
source_filename = "/tmp/tmp20www3b_.c"
target datalayout = "e-m:e-p270: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/tmp20www3b_.c"
target datalayout = "e-m:e-p270: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/tmpynb5p1n2.c'
source_filename = "/tmp/tmpynb5p1n2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"connection is closed....\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bye(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpynb5p1n2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"connection is closed....\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bye(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvhqmk_h_.c'
source_filename = "/tmp/tmpvhqmk_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"
@EBADF = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__libc_lseek(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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @EBADF, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
store i32 -1, ptr %4, align 4
br label %22
13: ; preds = %3
%14 = load i32, ptr %7, align 4
switch i32 %14, label %16 [
i32 128, label %15
i32 130, label %15
i32 129, label %15
]
15: ; preds = %13, %13, %13
br label %19
16: ; preds = %13
%17 = load i32, ptr @EINVAL, align 4
%18 = call i32 @__set_errno(i32 noundef %17)
store i32 -1, ptr %4, align 4
br label %22
19: ; preds = %15
%20 = load i32, ptr @ENOSYS, align 4
%21 = call i32 @__set_errno(i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %22
22: ; preds = %19, %16, %10
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @__set_errno(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/tmpvhqmk_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"
@EBADF = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__libc_lseek(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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @EBADF, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
store i32 -1, ptr %4, align 4
br label %22
13: ; preds = %3
%14 = load i32, ptr %7, align 4
switch i32 %14, label %16 [
i32 128, label %15
i32 130, label %15
i32 129, label %15
]
15: ; preds = %13, %13, %13
br label %19
16: ; preds = %13
%17 = load i32, ptr @EINVAL, align 4
%18 = call i32 @__set_errno(i32 noundef %17)
store i32 -1, ptr %4, align 4
br label %22
19: ; preds = %15
%20 = load i32, ptr @ENOSYS, align 4
%21 = call i32 @__set_errno(i32 noundef %20)
store i32 -1, ptr %4, align 4
br label %22
22: ; preds = %19, %16, %10
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @__set_errno(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/tmp2jpel7_5.c'
source_filename = "/tmp/tmp2jpel7_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Choices: %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Wrong choice, try again later.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getchoice(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %52, %2
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %16, %8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %7, align 8
br label %12, !llvm.loop !6
22: ; preds = %12
br label %23
23: ; preds = %25, %22
%24 = call i32 (...) @getchar()
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %23
%26 = load i32, ptr %6, align 4
%27 = icmp eq i32 %26, 10
br i1 %27, label %23, label %28, !llvm.loop !8
28: ; preds = %25
%29 = load ptr, ptr %4, align 8
store ptr %29, ptr %7, align 8
br label %30
30: ; preds = %43, %28
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %31, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 0
%38 = load ptr, ptr %37, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %35, %40
br i1 %41, label %42, label %43
42: ; preds = %34
store i32 1, ptr %5, align 4
br label %46
43: ; preds = %34
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds ptr, ptr %44, i32 1
store ptr %45, ptr %7, align 8
br label %30, !llvm.loop !9
46: ; preds = %42, %30
%47 = load i32, ptr %5, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %51
51: ; preds = %49, %46
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = icmp ne i32 %53, 0
%55 = xor i1 %54, true
br i1 %55, label %8, label %56, !llvm.loop !10
56: ; preds = %52
%57 = load i32, ptr %6, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2jpel7_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Choices: %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Wrong choice, try again later.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getchoice(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %56, %2
%9 = load ptr, ptr %3, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %12, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %24
.lr.ph: ; preds = %8
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17)
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %24
24: ; preds = %._crit_edge, %8
br label %25
25: ; preds = %27, %24
%26 = call i32 (...) @getchar()
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %25
%28 = load i32, ptr %6, align 4
%29 = icmp eq i32 %28, 10
br i1 %29, label %25, label %30, !llvm.loop !8
30: ; preds = %27
%31 = load ptr, ptr %4, align 8
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %44
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %36, %41
br i1 %42, label %43, label %44
43: ; preds = %35
store i32 1, ptr %5, align 4
br label %50
44: ; preds = %35
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds ptr, ptr %45, i32 1
store ptr %46, ptr %7, align 8
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %47, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %30
br label %50
50: ; preds = %.loopexit, %43
%51 = load i32, ptr %5, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %50
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %55
55: ; preds = %53, %50
br label %56
56: ; preds = %55
%57 = load i32, ptr %5, align 4
%58 = icmp ne i32 %57, 0
%59 = xor i1 %58, true
br i1 %59, label %8, label %60, !llvm.loop !10
60: ; preds = %56
%61 = load i32, ptr %6, align 4
ret i32 %61
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp4xh5s8nk.c'
source_filename = "/tmp/tmp4xh5s8nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @od_copy_64x64_16_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %25, %4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 64
br i1 %12, label %13, label %28
13: ; preds = %10
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef 128)
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %5, align 8
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %18, i64 %19
store ptr %20, ptr %5, align 8
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %7, align 8
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %22, i64 %23
store ptr %24, ptr %7, align 8
br label %25
25: ; preds = %13
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4xh5s8nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @od_copy_64x64_16_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = icmp slt i32 %10, 64
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %4
br label %12
12: ; preds = %.lr.ph, %24
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 128)
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %5, align 8
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store ptr %19, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %7, align 8
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store ptr %23, ptr %7, align 8
br label %24
24: ; preds = %12
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 64
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdes90osa.c'
source_filename = "/tmp/tmpdes90osa.c"
target datalayout = "e-m:e-p270: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/tmpdes90osa.c"
target datalayout = "e-m:e-p270: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/tmpw5o8s2j9.c'
source_filename = "/tmp/tmpw5o8s2j9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRDB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRDB_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw5o8s2j9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRDB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @U_WMRDB_get() #0 {
%1 = call i32 @U_WMRCORENONE_get(ptr noundef @.str)
ret i32 %1
}
declare i32 @U_WMRCORENONE_get(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa7z1s488.c'
source_filename = "/tmp/tmpa7z1s488.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7z1s488.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg2aftq06.c'
source_filename = "/tmp/tmpg2aftq06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptraceTraceMe() #0 {
%1 = call i32 @ptrace(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg2aftq06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptraceTraceMe() #0 {
%1 = call i32 @ptrace(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyah1y8lm.c'
source_filename = "/tmp/tmpyah1y8lm.c"
target datalayout = "e-m:e-p270: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/tmpyah1y8lm.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.