llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpxstp8nw1.c'
source_filename = "/tmp/tmpxstp8nw1.c"
target datalayout = "e-m:e-p270: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/tmpxstp8nw1.c"
target datalayout = "e-m:e-p270: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/tmp6r49rik1.c'
source_filename = "/tmp/tmp6r49rik1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"before memalign(): x = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"after memalign(): x = %p\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
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call ptr @memalign(i32 noundef 2, i32 noundef 123)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @memalign(i32 noundef, 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/tmp6r49rik1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"before memalign(): x = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"after memalign(): x = %p\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
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call ptr @memalign(i32 noundef 2, i32 noundef 123)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @memalign(i32 noundef, 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/tmp15nkyjzn.c'
source_filename = "/tmp/tmp15nkyjzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cutSticks(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %43, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = sub nsw i32 %11, 1
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %44
14: ; preds = %9
br label %15
15: ; preds = %28, %14
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %20, %26
br i1 %27, label %28, label %31
28: ; preds = %15
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %15, !llvm.loop !6
31: ; preds = %15
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %34, %35
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %31
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %39, %40
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
br label %43
43: ; preds = %38, %31
br label %9, !llvm.loop !8
44: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15nkyjzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cutSticks(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph2, label %58
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %53
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %19, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp eq i32 %18, %24
br i1 %25, label %.lr.ph, label %41
.lr.ph: ; preds = %13
br label %26
26: ; preds = %.lr.ph, %26
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp eq i32 %33, %39
br i1 %40, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %41
41: ; preds = %._crit_edge, %13
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 %44, %45
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %41
%49 = load i32, ptr %4, align 4
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %49, %50
%52 = call i32 @printf(ptr noundef @.str, i32 noundef %51)
br label %53
53: ; preds = %48, %41
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %4, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %58
58: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpul9t3vxe.c'
source_filename = "/tmp/tmpul9t3vxe.c"
target datalayout = "e-m:e-p270: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/tmpul9t3vxe.c"
target datalayout = "e-m:e-p270: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/tmpw0s1pp6u.c'
source_filename = "/tmp/tmpw0s1pp6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @key_pressed() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = call i32 (...) @start_curses()
%4 = call i32 @timeout(i32 noundef 0)
%5 = call signext i8 (...) @getch()
store i8 %5, ptr %2, align 1
%6 = call i32 (...) @stop_curses()
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = load i8, ptr @ERR, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %8, %10
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = load i8, ptr %2, align 1
store i8 %13, ptr %1, align 1
br label %15
14: ; preds = %0
store i8 112, ptr %1, align 1
br label %15
15: ; preds = %14, %12
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i32 @start_curses(...) #1
declare i32 @timeout(i32 noundef) #1
declare signext i8 @getch(...) #1
declare i32 @stop_curses(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw0s1pp6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ERR = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @key_pressed() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = call i32 (...) @start_curses()
%4 = call i32 @timeout(i32 noundef 0)
%5 = call signext i8 (...) @getch()
store i8 %5, ptr %2, align 1
%6 = call i32 (...) @stop_curses()
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = load i8, ptr @ERR, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %8, %10
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = load i8, ptr %2, align 1
store i8 %13, ptr %1, align 1
br label %15
14: ; preds = %0
store i8 112, ptr %1, align 1
br label %15
15: ; preds = %14, %12
%16 = load i8, ptr %1, align 1
ret i8 %16
}
declare i32 @start_curses(...) #1
declare i32 @timeout(i32 noundef) #1
declare signext i8 @getch(...) #1
declare i32 @stop_curses(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbl046iar.c'
source_filename = "/tmp/tmpbl046iar.c"
target datalayout = "e-m:e-p270: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"No argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"One argument only\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Only positive integers\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Fork Failed\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"Child: The first %d numbers in the Fibonacci sequence are: \00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"\0AParent: The child process is done!\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 i64, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %22
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %22
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %6, align 4
%37 = call i64 (...) @fork()
store i64 %37, ptr %7, align 8
%38 = load i64, ptr %7, align 8
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr @stderr, align 4
%42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %59
43: ; preds = %32
%44 = load i64, ptr %7, align 8
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %54
46: ; preds = %43
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i32 @atoi(ptr noundef %49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = call i32 @fib(i32 noundef %52)
store i32 1, ptr %3, align 4
br label %59
54: ; preds = %43
%55 = call i32 @wait(ptr noundef null)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %57
57: ; preds = %54
br label %58
58: ; preds = %57
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %46, %40
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fib(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpbl046iar.c"
target datalayout = "e-m:e-p270: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"No argument\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"One argument only\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Only positive integers\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Fork Failed\00", align 1
@.str.4 = private unnamed_addr constant [60 x i8] c"Child: The first %d numbers in the Fibonacci sequence are: \00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"\0AParent: The child process is done!\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 i64, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %22
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %11
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %22
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %6, align 4
%37 = call i64 (...) @fork()
store i64 %37, ptr %7, align 8
%38 = load i64, ptr %7, align 8
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr @stderr, align 4
%42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %59
43: ; preds = %32
%44 = load i64, ptr %7, align 8
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %54
46: ; preds = %43
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i32 @atoi(ptr noundef %49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = call i32 @fib(i32 noundef %52)
store i32 1, ptr %3, align 4
br label %59
54: ; preds = %43
%55 = call i32 @wait(ptr noundef null)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %57
57: ; preds = %54
br label %58
58: ; preds = %57
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %46, %40
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fib(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpahxo83c8.c'
source_filename = "/tmp/tmpahxo83c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"default \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"display\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"=%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_display(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 %7, label %5
5: ; preds = %1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %5, %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
br label %14
14: ; preds = %11, %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/tmpahxo83c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"default \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"display\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"=%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_display(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 %7, label %5
5: ; preds = %1
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %5, %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
br label %14
14: ; preds = %11, %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/tmpb3_lsakn.c'
source_filename = "/tmp/tmpb3_lsakn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std() #0 {
%1 = call i32 @db(i32 noundef 253)
ret void
}
declare i32 @db(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3_lsakn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std() #0 {
%1 = call i32 @db(i32 noundef 253)
ret void
}
declare i32 @db(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph1k2ge4z.c'
source_filename = "/tmp/tmph1k2ge4z.c"
target datalayout = "e-m:e-p270: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/tmph1k2ge4z.c"
target datalayout = "e-m:e-p270: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/tmpwkszd3qg.c'
source_filename = "/tmp/tmpwkszd3qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"incorrect pattern\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @item_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %3, align 8
%7 = load i8, ptr %5, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %32 [
i32 0, label %9
i32 37, label %12
i32 91, label %22
]
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 -1
store ptr %11, ptr %2, align 8
br label %34
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = call i32 @lua_error(ptr noundef @.str)
br label %19
19: ; preds = %17, %12
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
store ptr %21, ptr %2, align 8
br label %34
22: ; preds = %1
%23 = load ptr, ptr %3, align 8
%24 = call ptr @bracket_end(ptr noundef %23)
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @lua_error(ptr noundef @.str)
br label %29
29: ; preds = %27, %22
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
store ptr %31, ptr %2, align 8
br label %34
32: ; preds = %1
%33 = load ptr, ptr %3, align 8
store ptr %33, ptr %2, align 8
br label %34
34: ; preds = %32, %29, %19, %9
%35 = load ptr, ptr %2, align 8
ret ptr %35
}
declare i32 @lua_error(ptr noundef) #1
declare ptr @bracket_end(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwkszd3qg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"incorrect pattern\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @item_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %3, align 8
%7 = load i8, ptr %5, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %32 [
i32 0, label %9
i32 37, label %12
i32 91, label %22
]
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 -1
store ptr %11, ptr %2, align 8
br label %34
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = call i32 @lua_error(ptr noundef @.str)
br label %19
19: ; preds = %17, %12
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
store ptr %21, ptr %2, align 8
br label %34
22: ; preds = %1
%23 = load ptr, ptr %3, align 8
%24 = call ptr @bracket_end(ptr noundef %23)
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @lua_error(ptr noundef @.str)
br label %29
29: ; preds = %27, %22
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
store ptr %31, ptr %2, align 8
br label %34
32: ; preds = %1
%33 = load ptr, ptr %3, align 8
store ptr %33, ptr %2, align 8
br label %34
34: ; preds = %32, %29, %19, %9
%35 = load ptr, ptr %2, align 8
ret ptr %35
}
declare i32 @lua_error(ptr noundef) #1
declare ptr @bracket_end(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzj60mgie.c'
source_filename = "/tmp/tmpzj60mgie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test29_Led_targetInit__I() #0 {
%1 = call i32 (...) @test29_AvrPin_clear__E()
%2 = call i32 (...) @test29_AvrPin_makeOutput__E()
ret void
}
declare i32 @test29_AvrPin_clear__E(...) #1
declare i32 @test29_AvrPin_makeOutput__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzj60mgie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test29_Led_targetInit__I() #0 {
%1 = call i32 (...) @test29_AvrPin_clear__E()
%2 = call i32 (...) @test29_AvrPin_makeOutput__E()
ret void
}
declare i32 @test29_AvrPin_clear__E(...) #1
declare i32 @test29_AvrPin_makeOutput__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbmz97ubl.c'
source_filename = "/tmp/tmpbmz97ubl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %48, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %51
12: ; preds = %7
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %44, %12
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %47
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %20, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %25, %30
br i1 %31, label %32, label %43
32: ; preds = %19
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %33, i64 %36
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = call i32 @swap(ptr noundef %37, ptr noundef %41)
br label %43
43: ; preds = %32, %19
br label %44
44: ; preds = %43
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %6, align 4
br label %15, !llvm.loop !6
47: ; preds = %15
br label %48
48: ; preds = %47
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %7, !llvm.loop !8
51: ; preds = %7
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmz97ubl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph2, label %56
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %49
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %.lr.ph, label %48
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %42
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp sgt i32 %23, %28
br i1 %29, label %30, label %41
30: ; preds = %17
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %31, i64 %34
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = call i32 @swap(ptr noundef %35, ptr noundef %39)
br label %41
41: ; preds = %30, %17
br label %42
42: ; preds = %41
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %11
br label %49
49: ; preds = %48
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %4, align 4
%54 = sub nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %56
56: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4japkgnv.c'
source_filename = "/tmp/tmp4japkgnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"58945afce4b671b31cd3b047a1c9b1df0bc7a976c67623b2bbf6da6b6028741c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_password(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [20 x i8], align 16
%5 = alloca [65 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 65, i1 false)
%6 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
store i8 84, ptr %6, align 16
%7 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
store i8 104, ptr %7, align 1
%8 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 2
store i8 105, ptr %8, align 2
%9 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 3
store i8 115, ptr %9, align 1
%10 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 4
store i8 105, ptr %10, align 4
%11 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 5
store i8 115, ptr %11, align 1
%12 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 6
store i8 97, ptr %12, align 2
%13 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 7
store i8 115, ptr %13, align 1
%14 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 8
store i8 97, ptr %14, align 8
%15 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 9
store i8 108, ptr %15, align 1
%16 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 10
store i8 116, ptr %16, align 2
%17 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 11
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = call i32 @strcat(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%22 = getelementptr inbounds [65 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @sha256(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [65 x i8], ptr %5, i64 0, i64 0
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %1
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %27, %1
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 1
%31 = zext i1 %30 to i32
ret i32 %31
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @sha256(ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4japkgnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"58945afce4b671b31cd3b047a1c9b1df0bc7a976c67623b2bbf6da6b6028741c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_password(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [20 x i8], align 16
%5 = alloca [65 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 65, i1 false)
%6 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
store i8 84, ptr %6, align 16
%7 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
store i8 104, ptr %7, align 1
%8 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 2
store i8 105, ptr %8, align 2
%9 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 3
store i8 115, ptr %9, align 1
%10 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 4
store i8 105, ptr %10, align 4
%11 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 5
store i8 115, ptr %11, align 1
%12 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 6
store i8 97, ptr %12, align 2
%13 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 7
store i8 115, ptr %13, align 1
%14 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 8
store i8 97, ptr %14, align 8
%15 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 9
store i8 108, ptr %15, align 1
%16 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 10
store i8 116, ptr %16, align 2
%17 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 11
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%19 = load ptr, ptr %2, align 8
%20 = call i32 @strcat(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%22 = getelementptr inbounds [65 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @sha256(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [65 x i8], ptr %5, i64 0, i64 0
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %1
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %27, %1
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 1
%31 = zext i1 %30 to i32
ret i32 %31
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @sha256(ptr noundef, ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaymosq4v.c'
source_filename = "/tmp/tmpaymosq4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" :The larger one is %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
store i32 10, ptr %1, align 4
store i32 20, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %1, align 4
br label %10
8: ; preds = %0
%9 = load i32, ptr %2, align 4
br label %10
10: ; preds = %8, %6
%11 = phi i32 [ %7, %6 ], [ %9, %8 ]
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load i32, ptr %1, align 4
br label %20
18: ; preds = %10
%19 = load i32, ptr %2, align 4
br label %20
20: ; preds = %18, %16
%21 = phi i32 [ %17, %16 ], [ %19, %18 ]
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaymosq4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" :The larger one is %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
store i32 10, ptr %1, align 4
store i32 20, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %1, align 4
br label %10
8: ; preds = %0
%9 = load i32, ptr %2, align 4
br label %10
10: ; preds = %8, %6
%11 = phi i32 [ %7, %6 ], [ %9, %8 ]
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load i32, ptr %1, align 4
br label %20
18: ; preds = %10
%19 = load i32, ptr %2, align 4
br label %20
20: ; preds = %18, %16
%21 = phi i32 [ %17, %16 ], [ %19, %18 ]
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2fibxth0.c'
source_filename = "/tmp/tmp2fibxth0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"the second parameter is too big! The set_bit function can not accept it!\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_bit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 1000, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp ugt i32 %7, %9
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 1, ptr %17, align 4
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
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/tmp2fibxth0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"the second parameter is too big! The set_bit function can not accept it!\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_bit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 1000, ptr %6, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %6, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp ugt i32 %7, %9
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 1, ptr %17, align 4
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
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/tmpdtb2busp.c'
source_filename = "/tmp/tmpdtb2busp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_even_new(i32 noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 8
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %24
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %6, align 8
%20 = fadd double %18, %19
%21 = fmul double 5.000000e-01, %20
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
store double %21, ptr %23, align 8
br label %54
24: ; preds = %3
store i32 1, ptr %8, align 4
br label %25
25: ; preds = %50, %24
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %53
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %8, align 4
%32 = sub nsw i32 %30, %31
%33 = sitofp i32 %32 to double
%34 = load double, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %35, 1
%37 = sitofp i32 %36 to double
%38 = load double, ptr %6, align 8
%39 = fmul double %37, %38
%40 = call double @llvm.fmuladd.f64(double %33, double %34, double %39)
%41 = load i32, ptr %4, align 4
%42 = sub nsw i32 %41, 1
%43 = sitofp i32 %42 to double
%44 = fdiv double %40, %43
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %8, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %45, i64 %48
store double %44, ptr %49, align 8
br label %50
50: ; preds = %29
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %8, align 4
br label %25, !llvm.loop !6
53: ; preds = %25
br label %54
54: ; preds = %53, %17
%55 = load ptr, ptr %7, align 8
ret ptr %55
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdtb2busp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_even_new(i32 noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 8
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %24
17: ; preds = %3
%18 = load double, ptr %5, align 8
%19 = load double, ptr %6, align 8
%20 = fadd double %18, %19
%21 = fmul double 5.000000e-01, %20
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds double, ptr %22, i64 0
store double %21, ptr %23, align 8
br label %56
24: ; preds = %3
store i32 1, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %.lr.ph, label %55
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %49
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %29, %30
%32 = sitofp i32 %31 to double
%33 = load double, ptr %5, align 8
%34 = load i32, ptr %8, align 4
%35 = sub nsw i32 %34, 1
%36 = sitofp i32 %35 to double
%37 = load double, ptr %6, align 8
%38 = fmul double %36, %37
%39 = call double @llvm.fmuladd.f64(double %32, double %33, double %38)
%40 = load i32, ptr %4, align 4
%41 = sub nsw i32 %40, 1
%42 = sitofp i32 %41 to double
%43 = fdiv double %39, %42
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %8, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %44, i64 %47
store double %43, ptr %48, align 8
br label %49
49: ; preds = %28
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %24
br label %56
56: ; preds = %55, %17
%57 = load ptr, ptr %7, align 8
ret ptr %57
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc5y0sl_m.c'
source_filename = "/tmp/tmpc5y0sl_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendComPrimitives(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %17, %1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp slt i32 %6, 7
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = add nsw i32 %12, 1
%14 = ashr i32 %10, %13
%15 = and i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %8
%18 = load i8, ptr %3, align 1
%19 = add i8 %18, 1
store i8 %19, ptr %3, align 1
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5y0sl_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendComPrimitives(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp slt i32 %5, 7
br i1 %6, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = add nsw i32 %11, 1
%13 = ashr i32 %9, %12
%14 = and i32 %13, 1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %7
%17 = load i8, ptr %3, align 1
%18 = add i8 %17, 1
store i8 %18, ptr %3, align 1
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = icmp slt i32 %20, 7
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprhhk_9fg.c'
source_filename = "/tmp/tmprhhk_9fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" | \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_print(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %26, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.1, ptr @.str.2
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %7, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %23, ptr noundef %24)
br label %26
26: ; preds = %13
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprhhk_9fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" | \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_print(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %25
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22, ptr noundef %23)
br label %25
25: ; preds = %12
%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 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg6aclnj3.c'
source_filename = "/tmp/tmpg6aclnj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.9g\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"NaN(0x%8X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SerializeFloat(float noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store float %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load float, ptr %4, align 4
%10 = call i32 @IsNan(float noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load float, ptr %4, align 4
%15 = fptoui float %14 to i32
%16 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store ptr %20, ptr %3, align 8
br label %32
21: ; preds = %2
%22 = load float, ptr %4, align 4
%23 = call i64 @fcastu(float noundef %22)
store i64 %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %7, align 8
%26 = trunc i64 %25 to i32
%27 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.1, i32 noundef %26)
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %21, %12
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare i32 @IsNan(float noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fcastu(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/tmpg6aclnj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.9g\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"NaN(0x%8X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SerializeFloat(float noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store float %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load float, ptr %4, align 4
%10 = call i32 @IsNan(float noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = load float, ptr %4, align 4
%15 = fptoui float %14 to i32
%16 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store ptr %20, ptr %3, align 8
br label %32
21: ; preds = %2
%22 = load float, ptr %4, align 4
%23 = call i64 @fcastu(float noundef %22)
store i64 %23, ptr %7, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %7, align 8
%26 = trunc i64 %25 to i32
%27 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.1, i32 noundef %26)
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %21, %12
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare i32 @IsNan(float noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fcastu(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/tmp6e5ojk9b.c'
source_filename = "/tmp/tmp6e5ojk9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d + %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_random() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 @getentropy(ptr noundef %1, i32 noundef 4)
%5 = load i32, ptr %1, align 4
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 @rand_range(i32 noundef 0, i32 noundef 10)
store i32 %7, ptr %2, align 4
%8 = call i32 @rand_range(i32 noundef 0, i32 noundef 10)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %13)
ret void
}
declare i32 @getentropy(ptr noundef, i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @rand_range(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6e5ojk9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d + %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_random() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 @getentropy(ptr noundef %1, i32 noundef 4)
%5 = load i32, ptr %1, align 4
%6 = call i32 @srand(i32 noundef %5)
%7 = call i32 @rand_range(i32 noundef 0, i32 noundef 10)
store i32 %7, ptr %2, align 4
%8 = call i32 @rand_range(i32 noundef 0, i32 noundef 10)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %13)
ret void
}
declare i32 @getentropy(ptr noundef, i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @rand_range(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3rnoxqmc.c'
source_filename = "/tmp/tmp3rnoxqmc.c"
target datalayout = "e-m:e-p270: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/tmp3rnoxqmc.c"
target datalayout = "e-m:e-p270: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/tmphwxfdzbk.c'
source_filename = "/tmp/tmphwxfdzbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"pinentry-curses\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @pinentry_init(ptr noundef @.str)
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @pinentry_parse_opts(i32 noundef %7, ptr noundef %8)
%10 = call i64 (...) @pinentry_loop()
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @pinentry_init(ptr noundef) #1
declare i32 @pinentry_parse_opts(i32 noundef, ptr noundef) #1
declare i64 @pinentry_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphwxfdzbk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"pinentry-curses\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @pinentry_init(ptr noundef @.str)
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @pinentry_parse_opts(i32 noundef %7, ptr noundef %8)
%10 = call i64 (...) @pinentry_loop()
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @pinentry_init(ptr noundef) #1
declare i32 @pinentry_parse_opts(i32 noundef, ptr noundef) #1
declare i64 @pinentry_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpek3ndssv.c'
source_filename = "/tmp/tmpek3ndssv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Co ty wybrales?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call signext i8 (...) @menu()
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %11 [
i32 119, label %6
i32 87, label %6
i32 112, label %8
i32 80, label %8
i32 107, label %10
i32 75, label %10
]
6: ; preds = %0, %0
%7 = call i32 (...) @wypisanie()
br label %13
8: ; preds = %0, %0
%9 = call i32 (...) @przyklad()
br label %13
10: ; preds = %0, %0
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %10, %8, %6
ret i32 0
}
declare signext i8 @menu(...) #1
declare i32 @wypisanie(...) #1
declare i32 @przyklad(...) #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/tmpek3ndssv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Co ty wybrales?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call signext i8 (...) @menu()
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %11 [
i32 119, label %6
i32 87, label %6
i32 112, label %8
i32 80, label %8
i32 107, label %10
i32 75, label %10
]
6: ; preds = %0, %0
%7 = call i32 (...) @wypisanie()
br label %13
8: ; preds = %0, %0
%9 = call i32 (...) @przyklad()
br label %13
10: ; preds = %0, %0
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11, %10, %8, %6
ret i32 0
}
declare signext i8 @menu(...) #1
declare i32 @wypisanie(...) #1
declare i32 @przyklad(...) #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/tmpwiaq3ddp.c'
source_filename = "/tmp/tmpwiaq3ddp.c"
target datalayout = "e-m:e-p270: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/tmpwiaq3ddp.c"
target datalayout = "e-m:e-p270: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/tmp00f7_cbh.c'
source_filename = "/tmp/tmp00f7_cbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [100 x i8] c"Usage: %s -a <amount> -i <interest rate> -d <duration> [ -c number of times a year to capitalize] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @helptext(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp00f7_cbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [100 x i8] c"Usage: %s -a <amount> -i <interest rate> -d <duration> [ -c number of times a year to capitalize] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @helptext(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1_dorn7f.c'
source_filename = "/tmp/tmp1_dorn7f.c"
target datalayout = "e-m:e-p270: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/tmp1_dorn7f.c"
target datalayout = "e-m:e-p270: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/tmpl4bppgm7.c'
source_filename = "/tmp/tmpl4bppgm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_config_options_1_ok() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @my_realloc(ptr noundef %5, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @my_free(ptr noundef %7)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare ptr @my_realloc(ptr noundef, i32 noundef) #1
declare i32 @my_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/tmpl4bppgm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_config_options_1_ok() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @my_realloc(ptr noundef %5, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @my_free(ptr noundef %7)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare ptr @my_realloc(ptr noundef, i32 noundef) #1
declare i32 @my_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/tmpev93phn4.c'
source_filename = "/tmp/tmpev93phn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MI2_save_routine_name(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 @MI_save_routine_name(ptr noundef %3)
ret i32 %4
}
declare i32 @MI_save_routine_name(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpev93phn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MI2_save_routine_name(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 @MI_save_routine_name(ptr noundef %3)
ret i32 %4
}
declare i32 @MI_save_routine_name(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijfro_nj.c'
source_filename = "/tmp/tmpijfro_nj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getE(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 double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = call double @getEx(i32 noundef %11, i32 noundef %12, i32 noundef %13)
store double %14, ptr %8, align 8
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call double @getEy(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store double %18, ptr %9, align 8
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call double @getEz(i32 noundef %19, i32 noundef %20, i32 noundef %21)
store double %22, ptr %10, align 8
%23 = load double, ptr %8, align 8
%24 = load double, ptr %8, align 8
%25 = load double, ptr %9, align 8
%26 = load double, ptr %9, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
%29 = load double, ptr %10, align 8
%30 = load double, ptr %10, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @sqrt(double noundef %31) #4
store double %32, ptr %7, align 8
%33 = load double, ptr %7, align 8
ret double %33
}
declare double @getEx(i32 noundef, i32 noundef, i32 noundef) #1
declare double @getEy(i32 noundef, i32 noundef, i32 noundef) #1
declare double @getEz(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijfro_nj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getE(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 double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = call double @getEx(i32 noundef %11, i32 noundef %12, i32 noundef %13)
store double %14, ptr %8, align 8
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = call double @getEy(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store double %18, ptr %9, align 8
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call double @getEz(i32 noundef %19, i32 noundef %20, i32 noundef %21)
store double %22, ptr %10, align 8
%23 = load double, ptr %8, align 8
%24 = load double, ptr %8, align 8
%25 = load double, ptr %9, align 8
%26 = load double, ptr %9, align 8
%27 = fmul double %25, %26
%28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27)
%29 = load double, ptr %10, align 8
%30 = load double, ptr %10, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @sqrt(double noundef %31) #4
store double %32, ptr %7, align 8
%33 = load double, ptr %7, align 8
ret double %33
}
declare double @getEx(i32 noundef, i32 noundef, i32 noundef) #1
declare double @getEy(i32 noundef, i32 noundef, i32 noundef) #1
declare double @getEz(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp59kngq9o.c'
source_filename = "/tmp/tmp59kngq9o.c"
target datalayout = "e-m:e-p270: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/tmp59kngq9o.c"
target datalayout = "e-m:e-p270: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/tmpj31ghkba.c'
source_filename = "/tmp/tmpj31ghkba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_of_tournament_selection_winner(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %34, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = call i32 @arc4random_uniform(i32 noundef %15)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %31, label %19
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
%24 = load double, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = fcmp ogt double %24, %29
br i1 %30, label %31, label %33
31: ; preds = %19, %14
%32 = load i32, ptr %9, align 4
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %31, %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %10, !llvm.loop !6
37: ; preds = %10
%38 = load i32, ptr %7, align 4
ret i32 %38
}
declare i32 @arc4random_uniform(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpj31ghkba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_of_tournament_selection_winner(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %33
%14 = load i32, ptr %6, align 4
%15 = call i32 @arc4random_uniform(i32 noundef %14)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %30, label %18
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = fcmp ogt double %23, %28
br i1 %29, label %30, label %32
30: ; preds = %18, %13
%31 = load i32, ptr %9, align 4
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %30, %18
br label %33
33: ; preds = %32
%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 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %3
%40 = load i32, ptr %7, align 4
ret i32 %40
}
declare i32 @arc4random_uniform(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpouvfd9y0.c'
source_filename = "/tmp/tmpouvfd9y0.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"fastq_utils %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"0.25.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fastq_print_version() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(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/tmpouvfd9y0.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"fastq_utils %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"0.25.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fastq_print_version() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(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/tmpzncyc1zc.c'
source_filename = "/tmp/tmpzncyc1zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Programdan cikmak icin -1 giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Sifresi cozulecek sayiyi giriniz:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c"Sifreli sayiniz %d dir. Gonderilen sayiniz %d dir.\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Programdan Sonlandirilmistir.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
br label %12
12: ; preds = %15, %0
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %15, label %61
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 1000
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 3
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 10
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = sdiv i32 %22, 100
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 3
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = srem i32 %26, 10
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %3, align 4
%29 = sdiv i32 %28, 10
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 3
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = srem i32 %32, 10
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %3, align 4
%35 = srem i32 %34, 10
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 3
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = srem i32 %38, 10
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %5, align 4
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %8, align 4
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %6, align 4
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %4, align 4
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %8, align 4
store i32 %45, ptr %4, align 4
%46 = load i32, ptr %4, align 4
%47 = mul nsw i32 1000, %46
%48 = load i32, ptr %5, align 4
%49 = mul nsw i32 100, %48
%50 = add nsw i32 %47, %49
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 10, %51
%53 = add nsw i32 %50, %52
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %53, %54
store i32 %55, ptr %2, align 4
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %56, i32 noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%60 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
br label %12, !llvm.loop !6
61: ; preds = %12
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzncyc1zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Programdan cikmak icin -1 giriniz.\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Sifresi cozulecek sayiyi giriniz:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c"Sifreli sayiniz %d dir. Gonderilen sayiniz %d dir.\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Programdan Sonlandirilmistir.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %.lr.ph, label %62
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i32, ptr %3, align 4
%16 = sdiv i32 %15, 1000
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 3
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = srem i32 %19, 10
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = sdiv i32 %21, 100
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 3
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = srem i32 %25, 10
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = sdiv i32 %27, 10
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 3
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = srem i32 %31, 10
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %3, align 4
%34 = srem i32 %33, 10
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 3
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = srem i32 %37, 10
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %5, align 4
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %8, align 4
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %6, align 4
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %4, align 4
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 1000, %45
%47 = load i32, ptr %5, align 4
%48 = mul nsw i32 100, %47
%49 = add nsw i32 %46, %48
%50 = load i32, ptr %6, align 4
%51 = mul nsw i32 10, %50
%52 = add nsw i32 %49, %51
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %52, %53
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %2, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %55, i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%59 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%60 = load i32, ptr %3, align 4
%61 = icmp ne i32 %60, -1
br i1 %61, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %62
62: ; preds = %._crit_edge, %0
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpde07nut8.c'
source_filename = "/tmp/tmpde07nut8.c"
target datalayout = "e-m:e-p270: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/tmpde07nut8.c"
target datalayout = "e-m:e-p270: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/tmp2u0ojom_.c'
source_filename = "/tmp/tmp2u0ojom_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"ReadTags\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"pls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @plist_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = call i32 @options_get_int(ptr noundef @.str)
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %6, align 8
%14 = call ptr @ext_pos(ptr noundef %13)
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %4
%18 = load ptr, ptr %11, align 8
%19 = call i32 @strcasecmp(ptr noundef %18, ptr noundef @.str.1)
%20 = icmp ne i32 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %7, align 8
%25 = call i32 @plist_load_pls(ptr noundef %22, ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %9, align 4
br label %32
26: ; preds = %17, %4
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = call i32 @plist_load_m3u(ptr noundef %27, ptr noundef %28, ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %9, align 4
br label %32
32: ; preds = %26, %21
%33 = load i32, ptr %10, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = call i32 @switch_titles_tags(ptr noundef %36)
br label %41
38: ; preds = %32
%39 = load ptr, ptr %5, align 8
%40 = call i32 @switch_titles_file(ptr noundef %39)
br label %41
41: ; preds = %38, %35
%42 = load i32, ptr %9, align 4
ret i32 %42
}
declare i32 @options_get_int(ptr noundef) #1
declare ptr @ext_pos(ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare i32 @plist_load_pls(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @plist_load_m3u(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @switch_titles_tags(ptr noundef) #1
declare i32 @switch_titles_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2u0ojom_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"ReadTags\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"pls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @plist_load(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = call i32 @options_get_int(ptr noundef @.str)
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %6, align 8
%14 = call ptr @ext_pos(ptr noundef %13)
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %4
%18 = load ptr, ptr %11, align 8
%19 = call i32 @strcasecmp(ptr noundef %18, ptr noundef @.str.1)
%20 = icmp ne i32 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %7, align 8
%25 = call i32 @plist_load_pls(ptr noundef %22, ptr noundef %23, ptr noundef %24)
store i32 %25, ptr %9, align 4
br label %32
26: ; preds = %17, %4
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = call i32 @plist_load_m3u(ptr noundef %27, ptr noundef %28, ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %9, align 4
br label %32
32: ; preds = %26, %21
%33 = load i32, ptr %10, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = call i32 @switch_titles_tags(ptr noundef %36)
br label %41
38: ; preds = %32
%39 = load ptr, ptr %5, align 8
%40 = call i32 @switch_titles_file(ptr noundef %39)
br label %41
41: ; preds = %38, %35
%42 = load i32, ptr %9, align 4
ret i32 %42
}
declare i32 @options_get_int(ptr noundef) #1
declare ptr @ext_pos(ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare i32 @plist_load_pls(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @plist_load_m3u(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @switch_titles_tags(ptr noundef) #1
declare i32 @switch_titles_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptsiw4ixg.c'
source_filename = "/tmp/tmptsiw4ixg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_TYPE = dso_local global i32 0, align 4
@inkey = dso_local global i32 0, align 4
@EVP_PKEY_DSA = dso_local global i32 0, align 4
@EVP_PKEY_EC = dso_local global i32 0, align 4
@ASN1_TYPE_free = dso_local global i32 0, align 4
@ASN1_F_D2I_AUTOPRIVATEKEY = dso_local global i32 0, align 4
@ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE = dso_local global i32 0, align 4
@EVP_PKEY_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_AutoPrivateKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i32, ptr @ASN1_TYPE, align 4
%13 = call i32 @STACK_OF(i32 noundef %12)
%14 = load i32, ptr @inkey, align 4
%15 = mul nsw i32 %13, %14
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef null, ptr noundef %8, i64 noundef %18)
store i32 %19, ptr @inkey, align 4
%20 = load i32, ptr @inkey, align 4
%21 = call i32 @sk_ASN1_TYPE_num(i32 noundef %20)
%22 = icmp eq i32 %21, 6
br i1 %22, label %23, label %25
23: ; preds = %3
%24 = load i32, ptr @EVP_PKEY_DSA, align 4
store i32 %24, ptr %9, align 4
br label %64
25: ; preds = %3
%26 = load i32, ptr @inkey, align 4
%27 = call i32 @sk_ASN1_TYPE_num(i32 noundef %26)
%28 = icmp eq i32 %27, 4
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = load i32, ptr @EVP_PKEY_EC, align 4
store i32 %30, ptr %9, align 4
br label %63
31: ; preds = %25
%32 = load i32, ptr @inkey, align 4
%33 = call i32 @sk_ASN1_TYPE_num(i32 noundef %32)
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %60
35: ; preds = %31
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %7, align 8
%38 = call ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef null, ptr noundef %36, i64 noundef %37)
store ptr %38, ptr %10, align 8
%39 = load i32, ptr @inkey, align 4
%40 = load i32, ptr @ASN1_TYPE_free, align 4
%41 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %39, i32 noundef %40)
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %48, label %44
44: ; preds = %35
%45 = load i32, ptr @ASN1_F_D2I_AUTOPRIVATEKEY, align 4
%46 = load i32, ptr @ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE, align 4
%47 = call i32 @ASN1err(i32 noundef %45, i32 noundef %46)
store ptr null, ptr %4, align 8
br label %73
48: ; preds = %35
%49 = load ptr, ptr %10, align 8
%50 = call ptr @EVP_PKCS82PKEY(ptr noundef %49)
store ptr %50, ptr %11, align 8
%51 = load ptr, ptr %10, align 8
%52 = call i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %48
%56 = load ptr, ptr %11, align 8
%57 = load ptr, ptr %5, align 8
store ptr %56, ptr %57, align 8
br label %58
58: ; preds = %55, %48
%59 = load ptr, ptr %11, align 8
store ptr %59, ptr %4, align 8
br label %73
60: ; preds = %31
%61 = load i32, ptr @EVP_PKEY_RSA, align 4
store i32 %61, ptr %9, align 4
br label %62
62: ; preds = %60
br label %63
63: ; preds = %62, %29
br label %64
64: ; preds = %63, %23
%65 = load i32, ptr @inkey, align 4
%66 = load i32, ptr @ASN1_TYPE_free, align 4
%67 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %65, i32 noundef %66)
%68 = load i32, ptr %9, align 4
%69 = load ptr, ptr %5, align 8
%70 = load ptr, ptr %6, align 8
%71 = load i64, ptr %7, align 8
%72 = call ptr @d2i_PrivateKey(i32 noundef %68, ptr noundef %69, ptr noundef %70, i64 noundef %71)
store ptr %72, ptr %4, align 8
br label %73
73: ; preds = %64, %58, %44
%74 = load ptr, ptr %4, align 8
ret ptr %74
}
declare i32 @STACK_OF(i32 noundef) #1
declare i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_num(i32 noundef) #1
declare ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_pop_free(i32 noundef, i32 noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare ptr @EVP_PKCS82PKEY(ptr noundef) #1
declare i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef) #1
declare ptr @d2i_PrivateKey(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptsiw4ixg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_TYPE = dso_local global i32 0, align 4
@inkey = dso_local global i32 0, align 4
@EVP_PKEY_DSA = dso_local global i32 0, align 4
@EVP_PKEY_EC = dso_local global i32 0, align 4
@ASN1_TYPE_free = dso_local global i32 0, align 4
@ASN1_F_D2I_AUTOPRIVATEKEY = dso_local global i32 0, align 4
@ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE = dso_local global i32 0, align 4
@EVP_PKEY_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_AutoPrivateKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i32, ptr @ASN1_TYPE, align 4
%13 = call i32 @STACK_OF(i32 noundef %12)
%14 = load i32, ptr @inkey, align 4
%15 = mul nsw i32 %13, %14
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef null, ptr noundef %8, i64 noundef %18)
store i32 %19, ptr @inkey, align 4
%20 = load i32, ptr @inkey, align 4
%21 = call i32 @sk_ASN1_TYPE_num(i32 noundef %20)
%22 = icmp eq i32 %21, 6
br i1 %22, label %23, label %25
23: ; preds = %3
%24 = load i32, ptr @EVP_PKEY_DSA, align 4
store i32 %24, ptr %9, align 4
br label %64
25: ; preds = %3
%26 = load i32, ptr @inkey, align 4
%27 = call i32 @sk_ASN1_TYPE_num(i32 noundef %26)
%28 = icmp eq i32 %27, 4
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = load i32, ptr @EVP_PKEY_EC, align 4
store i32 %30, ptr %9, align 4
br label %63
31: ; preds = %25
%32 = load i32, ptr @inkey, align 4
%33 = call i32 @sk_ASN1_TYPE_num(i32 noundef %32)
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %60
35: ; preds = %31
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %7, align 8
%38 = call ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef null, ptr noundef %36, i64 noundef %37)
store ptr %38, ptr %10, align 8
%39 = load i32, ptr @inkey, align 4
%40 = load i32, ptr @ASN1_TYPE_free, align 4
%41 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %39, i32 noundef %40)
%42 = load ptr, ptr %10, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %48, label %44
44: ; preds = %35
%45 = load i32, ptr @ASN1_F_D2I_AUTOPRIVATEKEY, align 4
%46 = load i32, ptr @ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE, align 4
%47 = call i32 @ASN1err(i32 noundef %45, i32 noundef %46)
store ptr null, ptr %4, align 8
br label %73
48: ; preds = %35
%49 = load ptr, ptr %10, align 8
%50 = call ptr @EVP_PKCS82PKEY(ptr noundef %49)
store ptr %50, ptr %11, align 8
%51 = load ptr, ptr %10, align 8
%52 = call i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %48
%56 = load ptr, ptr %11, align 8
%57 = load ptr, ptr %5, align 8
store ptr %56, ptr %57, align 8
br label %58
58: ; preds = %55, %48
%59 = load ptr, ptr %11, align 8
store ptr %59, ptr %4, align 8
br label %73
60: ; preds = %31
%61 = load i32, ptr @EVP_PKEY_RSA, align 4
store i32 %61, ptr %9, align 4
br label %62
62: ; preds = %60
br label %63
63: ; preds = %62, %29
br label %64
64: ; preds = %63, %23
%65 = load i32, ptr @inkey, align 4
%66 = load i32, ptr @ASN1_TYPE_free, align 4
%67 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %65, i32 noundef %66)
%68 = load i32, ptr %9, align 4
%69 = load ptr, ptr %5, align 8
%70 = load ptr, ptr %6, align 8
%71 = load i64, ptr %7, align 8
%72 = call ptr @d2i_PrivateKey(i32 noundef %68, ptr noundef %69, ptr noundef %70, i64 noundef %71)
store ptr %72, ptr %4, align 8
br label %73
73: ; preds = %64, %58, %44
%74 = load ptr, ptr %4, align 8
ret ptr %74
}
declare i32 @STACK_OF(i32 noundef) #1
declare i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_num(i32 noundef) #1
declare ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_pop_free(i32 noundef, i32 noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare ptr @EVP_PKCS82PKEY(ptr noundef) #1
declare i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef) #1
declare ptr @d2i_PrivateKey(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe2fw1xum.c'
source_filename = "/tmp/tmpe2fw1xum.c"
target datalayout = "e-m:e-p270: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/tmpe2fw1xum.c"
target datalayout = "e-m:e-p270: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/tmp9srth1zm.c'
source_filename = "/tmp/tmp9srth1zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"usage: %s TrainFile D(dimension) B(number of bits) VQFile [error.txt file]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Error opening training database file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"dimension D=%d number of bits B=%d entries E=%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Error in malloc.\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"J=%d sparse vectors in training set, %d non-zero values\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"bits Iteration delta var std dev\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"---------------------------------------\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"%2d %2d %4.3f %6.3f %4.3f\0D\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Error opening VQ file: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"% 7.3f \00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"%f \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 ptr, align 8
%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 float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = 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
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %32, label %38
32: ; preds = %2
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 0
%35 = load ptr, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %35)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %2
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.1)
store ptr %42, ptr %18, align 8
%43 = load ptr, ptr %18, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %51
45: ; preds = %38
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %38
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 2
%54 = load ptr, ptr %53, align 8
%55 = call i32 @atoi(ptr noundef %54)
store i32 %55, ptr %6, align 4
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 3
%58 = load ptr, ptr %57, align 8
%59 = call i32 @atoi(ptr noundef %58)
store i32 %59, ptr %26, align 4
%60 = load i32, ptr %26, align 4
%61 = shl i32 1, %60
store i32 %61, ptr %7, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %26, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 4, %68
%70 = trunc i64 %69 to i32
%71 = call i64 @malloc(i32 noundef %70)
%72 = inttoptr i64 %71 to ptr
store ptr %72, ptr %8, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = mul i64 4, %74
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = mul i64 %75, %77
%79 = trunc i64 %78 to i32
%80 = call i64 @malloc(i32 noundef %79)
%81 = inttoptr i64 %80 to ptr
store ptr %81, ptr %9, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = mul i64 4, %83
%85 = load i32, ptr %7, align 4
%86 = sext i32 %85 to i64
%87 = mul i64 %84, %86
%88 = trunc i64 %87 to i32
%89 = call i64 @malloc(i32 noundef %88)
%90 = inttoptr i64 %89 to ptr
store ptr %90, ptr %10, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = mul i64 4, %92
%94 = load i32, ptr %7, align 4
%95 = sext i32 %94 to i64
%96 = mul i64 %93, %95
%97 = trunc i64 %96 to i32
%98 = call i64 @malloc(i32 noundef %97)
%99 = inttoptr i64 %98 to ptr
store ptr %99, ptr %11, align 8
%100 = load ptr, ptr %8, align 8
%101 = icmp eq ptr %100, null
br i1 %101, label %111, label %102
102: ; preds = %51
%103 = load ptr, ptr %9, align 8
%104 = icmp eq ptr %103, null
br i1 %104, label %111, label %105
105: ; preds = %102
%106 = load ptr, ptr %10, align 8
%107 = icmp eq ptr %106, null
br i1 %107, label %111, label %108
108: ; preds = %105
%109 = load ptr, ptr %11, align 8
%110 = icmp eq ptr %109, null
br i1 %110, label %111, label %114
111: ; preds = %108, %105, %102, %51
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%113 = call i32 @exit(i32 noundef 1) #3
unreachable
114: ; preds = %108
store i32 0, ptr %12, align 4
store i32 0, ptr %25, align 4
br label %115
115: ; preds = %143, %114
%116 = load ptr, ptr %8, align 8
%117 = load i32, ptr %6, align 4
%118 = load ptr, ptr %18, align 8
%119 = call i64 @fread(ptr noundef %116, i32 noundef 4, i32 noundef %117, ptr noundef %118)
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = icmp eq i64 %119, %121
br i1 %122, label %123, label %146
123: ; preds = %115
store i32 0, ptr %21, align 4
br label %124
124: ; preds = %140, %123
%125 = load i32, ptr %21, align 4
%126 = load i32, ptr %6, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %143
128: ; preds = %124
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %21, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds float, ptr %129, i64 %131
%133 = load float, ptr %132, align 4
%134 = fpext float %133 to double
%135 = fcmp une double %134, 0.000000e+00
br i1 %135, label %136, label %139
136: ; preds = %128
%137 = load i32, ptr %25, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %25, align 4
br label %139
139: ; preds = %136, %128
br label %140
140: ; preds = %139
%141 = load i32, ptr %21, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %21, align 4
br label %124, !llvm.loop !6
143: ; preds = %124
%144 = load i32, ptr %12, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %12, align 4
br label %115, !llvm.loop !8
146: ; preds = %115
%147 = load i32, ptr %12, align 4
%148 = load i32, ptr %25, align 4
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %147, i32 noundef %148)
%150 = load ptr, ptr %10, align 8
%151 = load i32, ptr %6, align 4
%152 = call i32 @zero(ptr noundef %150, i32 noundef %151)
store i32 0, ptr %21, align 4
br label %153
153: ; preds = %162, %146
%154 = load i32, ptr %21, align 4
%155 = load i32, ptr %6, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %157, label %165
157: ; preds = %153
%158 = load ptr, ptr %11, align 8
%159 = load i32, ptr %21, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, ptr %158, i64 %160
store i32 0, ptr %161, align 4
br label %162
162: ; preds = %157
%163 = load i32, ptr %21, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %21, align 4
br label %153, !llvm.loop !9
165: ; preds = %153
%166 = load ptr, ptr %18, align 8
%167 = call i32 @rewind(ptr noundef %166)
store i32 0, ptr %20, align 4
br label %168
168: ; preds = %205, %165
%169 = load i32, ptr %20, align 4
%170 = load i32, ptr %12, align 4
%171 = icmp slt i32 %169, %170
br i1 %171, label %172, label %208
172: ; preds = %168
%173 = load ptr, ptr %8, align 8
%174 = load i32, ptr %6, align 4
%175 = load ptr, ptr %18, align 8
%176 = call i64 @fread(ptr noundef %173, i32 noundef 4, i32 noundef %174, ptr noundef %175)
%177 = load ptr, ptr %10, align 8
%178 = load ptr, ptr %8, align 8
%179 = load i32, ptr %6, align 4
%180 = call i32 @acc(ptr noundef %177, ptr noundef %178, i32 noundef %179)
store i32 0, ptr %21, align 4
br label %181
181: ; preds = %201, %172
%182 = load i32, ptr %21, align 4
%183 = load i32, ptr %6, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %204
185: ; preds = %181
%186 = load ptr, ptr %8, align 8
%187 = load i32, ptr %21, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds float, ptr %186, i64 %188
%190 = load float, ptr %189, align 4
%191 = fpext float %190 to double
%192 = fcmp une double %191, 0.000000e+00
br i1 %192, label %193, label %200
193: ; preds = %185
%194 = load ptr, ptr %11, align 8
%195 = load i32, ptr %21, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %194, i64 %196
%198 = load i32, ptr %197, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %197, align 4
br label %200
200: ; preds = %193, %185
br label %201
201: ; preds = %200
%202 = load i32, ptr %21, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %21, align 4
br label %181, !llvm.loop !10
204: ; preds = %181
br label %205
205: ; preds = %204
%206 = load i32, ptr %20, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %20, align 4
br label %168, !llvm.loop !11
208: ; preds = %168
%209 = load ptr, ptr %10, align 8
%210 = load i32, ptr %6, align 4
%211 = load ptr, ptr %11, align 8
%212 = call i32 @norm(ptr noundef %209, i32 noundef %210, ptr noundef %211)
%213 = load ptr, ptr %9, align 8
%214 = load ptr, ptr %10, align 8
%215 = load i32, ptr %6, align 4
%216 = sext i32 %215 to i64
%217 = mul i64 %216, 4
%218 = trunc i64 %217 to i32
%219 = call i32 @memcpy(ptr noundef %213, ptr noundef %214, i32 noundef %218)
%220 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%221 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%222 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %28, align 4
store i32 1, ptr %27, align 4
br label %223
223: ; preds = %417, %208
%224 = load i32, ptr %27, align 4
%225 = load i32, ptr %26, align 4
%226 = icmp sle i32 %224, %225
br i1 %226, label %227, label %420
227: ; preds = %223
%228 = load i32, ptr %27, align 4
%229 = shl i32 1, %228
store i32 %229, ptr %28, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %22, align 4
store float 0.000000e+00, ptr %17, align 4
store float 0.000000e+00, ptr %16, align 4
%230 = load ptr, ptr %9, align 8
%231 = load i32, ptr %6, align 4
%232 = load i32, ptr %28, align 4
%233 = sdiv i32 %232, 2
%234 = call i32 @split(ptr noundef %230, i32 noundef %231, i32 noundef %233)
br label %235
235: ; preds = %411, %227
store i32 0, ptr %20, align 4
br label %236
236: ; preds = %266, %235
%237 = load i32, ptr %20, align 4
%238 = load i32, ptr %28, align 4
%239 = icmp slt i32 %237, %238
br i1 %239, label %240, label %269
240: ; preds = %236
%241 = load ptr, ptr %10, align 8
%242 = load i32, ptr %20, align 4
%243 = load i32, ptr %6, align 4
%244 = mul nsw i32 %242, %243
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds float, ptr %241, i64 %245
%247 = load i32, ptr %6, align 4
%248 = call i32 @zero(ptr noundef %246, i32 noundef %247)
store i32 0, ptr %21, align 4
br label %249
249: ; preds = %262, %240
%250 = load i32, ptr %21, align 4
%251 = load i32, ptr %6, align 4
%252 = icmp slt i32 %250, %251
br i1 %252, label %253, label %265
253: ; preds = %249
%254 = load ptr, ptr %11, align 8
%255 = load i32, ptr %20, align 4
%256 = load i32, ptr %6, align 4
%257 = mul nsw i32 %255, %256
%258 = load i32, ptr %21, align 4
%259 = add nsw i32 %257, %258
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i32, ptr %254, i64 %260
store i32 0, ptr %261, align 4
br label %262
262: ; preds = %253
%263 = load i32, ptr %21, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %21, align 4
br label %249, !llvm.loop !12
265: ; preds = %249
br label %266
266: ; preds = %265
%267 = load i32, ptr %20, align 4
%268 = add nsw i32 %267, 1
store i32 %268, ptr %20, align 4
br label %236, !llvm.loop !13
269: ; preds = %236
store float 0.000000e+00, ptr %14, align 4
%270 = load ptr, ptr %18, align 8
%271 = call i32 @rewind(ptr noundef %270)
store i32 0, ptr %20, align 4
br label %272
272: ; preds = %323, %269
%273 = load i32, ptr %20, align 4
%274 = load i32, ptr %12, align 4
%275 = icmp slt i32 %273, %274
br i1 %275, label %276, label %326
276: ; preds = %272
%277 = load ptr, ptr %8, align 8
%278 = load i32, ptr %6, align 4
%279 = load ptr, ptr %18, align 8
%280 = call i64 @fread(ptr noundef %277, i32 noundef 4, i32 noundef %278, ptr noundef %279)
%281 = load ptr, ptr %9, align 8
%282 = load ptr, ptr %8, align 8
%283 = load i32, ptr %6, align 4
%284 = load i32, ptr %28, align 4
%285 = call i32 @quantise(ptr noundef %281, ptr noundef %282, i32 noundef %283, i32 noundef %284, ptr noundef %14)
store i32 %285, ptr %13, align 4
%286 = load ptr, ptr %10, align 8
%287 = load i32, ptr %13, align 4
%288 = load i32, ptr %6, align 4
%289 = mul nsw i32 %287, %288
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds float, ptr %286, i64 %290
%292 = load ptr, ptr %8, align 8
%293 = load i32, ptr %6, align 4
%294 = call i32 @acc(ptr noundef %291, ptr noundef %292, i32 noundef %293)
store i32 0, ptr %21, align 4
br label %295
295: ; preds = %319, %276
%296 = load i32, ptr %21, align 4
%297 = load i32, ptr %6, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %299, label %322
299: ; preds = %295
%300 = load ptr, ptr %8, align 8
%301 = load i32, ptr %21, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds float, ptr %300, i64 %302
%304 = load float, ptr %303, align 4
%305 = fpext float %304 to double
%306 = fcmp une double %305, 0.000000e+00
br i1 %306, label %307, label %318
307: ; preds = %299
%308 = load ptr, ptr %11, align 8
%309 = load i32, ptr %13, align 4
%310 = load i32, ptr %6, align 4
%311 = mul nsw i32 %309, %310
%312 = load i32, ptr %21, align 4
%313 = add nsw i32 %311, %312
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds i32, ptr %308, i64 %314
%316 = load i32, ptr %315, align 4
%317 = add nsw i32 %316, 1
store i32 %317, ptr %315, align 4
br label %318
318: ; preds = %307, %299
br label %319
319: ; preds = %318
%320 = load i32, ptr %21, align 4
%321 = add nsw i32 %320, 1
store i32 %321, ptr %21, align 4
br label %295, !llvm.loop !14
322: ; preds = %295
br label %323
323: ; preds = %322
%324 = load i32, ptr %20, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %20, align 4
br label %272, !llvm.loop !15
326: ; preds = %272
%327 = load float, ptr %14, align 4
%328 = load i32, ptr %25, align 4
%329 = sitofp i32 %328 to float
%330 = fdiv float %327, %329
store float %330, ptr %15, align 4
%331 = load float, ptr %15, align 4
%332 = call float @sqrt(float noundef %331)
store float %332, ptr %24, align 4
%333 = load i32, ptr %23, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %23, align 4
%335 = load i32, ptr %23, align 4
%336 = icmp sgt i32 %335, 1
br i1 %336, label %337, label %354
337: ; preds = %326
%338 = load float, ptr %15, align 4
%339 = fpext float %338 to double
%340 = fcmp ogt double %339, 0.000000e+00
br i1 %340, label %341, label %347
341: ; preds = %337
%342 = load float, ptr %16, align 4
%343 = load float, ptr %15, align 4
%344 = fsub float %342, %343
%345 = load float, ptr %15, align 4
%346 = fdiv float %344, %345
store float %346, ptr %17, align 4
br label %348
347: ; preds = %337
store float 0.000000e+00, ptr %17, align 4
br label %348
348: ; preds = %347, %341
%349 = load float, ptr %17, align 4
%350 = fpext float %349 to double
%351 = fcmp olt double %350, 1.000000e-02
br i1 %351, label %352, label %353
352: ; preds = %348
store i32 1, ptr %22, align 4
br label %353
353: ; preds = %352, %348
br label %354
354: ; preds = %353, %326
%355 = load i32, ptr %22, align 4
%356 = icmp ne i32 %355, 0
br i1 %356, label %398, label %357
357: ; preds = %354
store i32 0, ptr %20, align 4
br label %358
358: ; preds = %394, %357
%359 = load i32, ptr %20, align 4
%360 = load i32, ptr %28, align 4
%361 = icmp slt i32 %359, %360
br i1 %361, label %362, label %397
362: ; preds = %358
%363 = load ptr, ptr %10, align 8
%364 = load i32, ptr %20, align 4
%365 = load i32, ptr %6, align 4
%366 = mul nsw i32 %364, %365
%367 = sext i32 %366 to i64
%368 = getelementptr inbounds float, ptr %363, i64 %367
%369 = load i32, ptr %6, align 4
%370 = load ptr, ptr %11, align 8
%371 = load i32, ptr %20, align 4
%372 = load i32, ptr %6, align 4
%373 = mul nsw i32 %371, %372
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds i32, ptr %370, i64 %374
%376 = call i32 @norm(ptr noundef %368, i32 noundef %369, ptr noundef %375)
%377 = load ptr, ptr %9, align 8
%378 = load i32, ptr %20, align 4
%379 = load i32, ptr %6, align 4
%380 = mul nsw i32 %378, %379
%381 = sext i32 %380 to i64
%382 = getelementptr inbounds float, ptr %377, i64 %381
%383 = load ptr, ptr %10, align 8
%384 = load i32, ptr %20, align 4
%385 = load i32, ptr %6, align 4
%386 = mul nsw i32 %384, %385
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds float, ptr %383, i64 %387
%389 = load i32, ptr %6, align 4
%390 = sext i32 %389 to i64
%391 = mul i64 %390, 4
%392 = trunc i64 %391 to i32
%393 = call i32 @memcpy(ptr noundef %382, ptr noundef %388, i32 noundef %392)
br label %394
394: ; preds = %362
%395 = load i32, ptr %20, align 4
%396 = add nsw i32 %395, 1
store i32 %396, ptr %20, align 4
br label %358, !llvm.loop !16
397: ; preds = %358
br label %398
398: ; preds = %397, %354
%399 = load i32, ptr %27, align 4
%400 = load i32, ptr %23, align 4
%401 = load float, ptr %17, align 4
%402 = fpext float %401 to double
%403 = load float, ptr %15, align 4
%404 = fpext float %403 to double
%405 = load float, ptr %24, align 4
%406 = fpext float %405 to double
%407 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %399, i32 noundef %400, double noundef %402, double noundef %404, double noundef %406)
%408 = load i32, ptr @stdout, align 4
%409 = call i32 @fflush(i32 noundef %408)
%410 = load float, ptr %15, align 4
store float %410, ptr %16, align 4
br label %411
411: ; preds = %398
%412 = load i32, ptr %22, align 4
%413 = icmp ne i32 %412, 0
%414 = xor i1 %413, true
br i1 %414, label %235, label %415, !llvm.loop !17
415: ; preds = %411
%416 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %417
417: ; preds = %415
%418 = load i32, ptr %27, align 4
%419 = add nsw i32 %418, 1
store i32 %419, ptr %27, align 4
br label %223, !llvm.loop !18
420: ; preds = %223
%421 = load ptr, ptr %5, align 8
%422 = getelementptr inbounds ptr, ptr %421, i64 4
%423 = load ptr, ptr %422, align 8
%424 = call ptr @fopen(ptr noundef %423, ptr noundef @.str.10)
store ptr %424, ptr %19, align 8
%425 = load ptr, ptr %19, align 8
%426 = icmp eq ptr %425, null
br i1 %426, label %427, label %433
427: ; preds = %420
%428 = load ptr, ptr %5, align 8
%429 = getelementptr inbounds ptr, ptr %428, i64 4
%430 = load ptr, ptr %429, align 8
%431 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %430)
%432 = call i32 @exit(i32 noundef 1) #3
unreachable
433: ; preds = %420
%434 = load ptr, ptr %19, align 8
%435 = load i32, ptr %6, align 4
%436 = load i32, ptr %7, align 4
%437 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %434, ptr noundef @.str.12, i32 noundef %435, i32 noundef %436)
store i32 0, ptr %21, align 4
br label %438
438: ; preds = %466, %433
%439 = load i32, ptr %21, align 4
%440 = load i32, ptr %7, align 4
%441 = icmp slt i32 %439, %440
br i1 %441, label %442, label %469
442: ; preds = %438
store i32 0, ptr %20, align 4
br label %443
443: ; preds = %460, %442
%444 = load i32, ptr %20, align 4
%445 = load i32, ptr %6, align 4
%446 = icmp slt i32 %444, %445
br i1 %446, label %447, label %463
447: ; preds = %443
%448 = load ptr, ptr %19, align 8
%449 = load ptr, ptr %9, align 8
%450 = load i32, ptr %21, align 4
%451 = load i32, ptr %6, align 4
%452 = mul nsw i32 %450, %451
%453 = load i32, ptr %20, align 4
%454 = add nsw i32 %452, %453
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds float, ptr %449, i64 %455
%457 = load float, ptr %456, align 4
%458 = fpext float %457 to double
%459 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %448, ptr noundef @.str.13, double noundef %458)
br label %460
460: ; preds = %447
%461 = load i32, ptr %20, align 4
%462 = add nsw i32 %461, 1
store i32 %462, ptr %20, align 4
br label %443, !llvm.loop !19
463: ; preds = %443
%464 = load ptr, ptr %19, align 8
%465 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %464, ptr noundef @.str.3)
br label %466
466: ; preds = %463
%467 = load i32, ptr %21, align 4
%468 = add nsw i32 %467, 1
store i32 %468, ptr %21, align 4
br label %438, !llvm.loop !20
469: ; preds = %438
%470 = load ptr, ptr %19, align 8
%471 = call i32 @fclose(ptr noundef %470)
%472 = load i32, ptr %4, align 4
%473 = icmp eq i32 %472, 6
br i1 %473, label %474, label %546
474: ; preds = %469
%475 = load ptr, ptr %5, align 8
%476 = getelementptr inbounds ptr, ptr %475, i64 5
%477 = load ptr, ptr %476, align 8
%478 = call ptr @fopen(ptr noundef %477, ptr noundef @.str.10)
store ptr %478, ptr %29, align 8
%479 = load ptr, ptr %29, align 8
%480 = icmp ne ptr %479, null
%481 = zext i1 %480 to i32
%482 = call i32 @assert(i32 noundef %481)
%483 = load ptr, ptr %18, align 8
%484 = call i32 @rewind(ptr noundef %483)
store i32 0, ptr %20, align 4
br label %485
485: ; preds = %542, %474
%486 = load i32, ptr %20, align 4
%487 = load i32, ptr %12, align 4
%488 = icmp slt i32 %486, %487
br i1 %488, label %489, label %545
489: ; preds = %485
%490 = load ptr, ptr %8, align 8
%491 = load i32, ptr %6, align 4
%492 = load ptr, ptr %18, align 8
%493 = call i64 @fread(ptr noundef %490, i32 noundef 4, i32 noundef %491, ptr noundef %492)
%494 = load ptr, ptr %9, align 8
%495 = load ptr, ptr %8, align 8
%496 = load i32, ptr %6, align 4
%497 = load i32, ptr %28, align 4
%498 = call i32 @quantise(ptr noundef %494, ptr noundef %495, i32 noundef %496, i32 noundef %497, ptr noundef %14)
store i32 %498, ptr %13, align 4
store i32 0, ptr %21, align 4
br label %499
499: ; preds = %536, %489
%500 = load i32, ptr %21, align 4
%501 = load i32, ptr %6, align 4
%502 = icmp slt i32 %500, %501
br i1 %502, label %503, label %539
503: ; preds = %499
%504 = load ptr, ptr %8, align 8
%505 = load i32, ptr %21, align 4
%506 = sext i32 %505 to i64
%507 = getelementptr inbounds float, ptr %504, i64 %506
%508 = load float, ptr %507, align 4
%509 = fpext float %508 to double
%510 = fcmp une double %509, 0.000000e+00
br i1 %510, label %511, label %527
511: ; preds = %503
%512 = load ptr, ptr %9, align 8
%513 = load i32, ptr %13, align 4
%514 = load i32, ptr %6, align 4
%515 = mul nsw i32 %513, %514
%516 = load i32, ptr %21, align 4
%517 = add nsw i32 %515, %516
%518 = sext i32 %517 to i64
%519 = getelementptr inbounds float, ptr %512, i64 %518
%520 = load float, ptr %519, align 4
%521 = load ptr, ptr %8, align 8
%522 = load i32, ptr %21, align 4
%523 = sext i32 %522 to i64
%524 = getelementptr inbounds float, ptr %521, i64 %523
%525 = load float, ptr %524, align 4
%526 = fsub float %525, %520
store float %526, ptr %524, align 4
br label %527
527: ; preds = %511, %503
%528 = load ptr, ptr %29, align 8
%529 = load ptr, ptr %8, align 8
%530 = load i32, ptr %21, align 4
%531 = sext i32 %530 to i64
%532 = getelementptr inbounds float, ptr %529, i64 %531
%533 = load float, ptr %532, align 4
%534 = fpext float %533 to double
%535 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %528, ptr noundef @.str.14, double noundef %534)
br label %536
536: ; preds = %527
%537 = load i32, ptr %21, align 4
%538 = add nsw i32 %537, 1
store i32 %538, ptr %21, align 4
br label %499, !llvm.loop !21
539: ; preds = %499
%540 = load ptr, ptr %29, align 8
%541 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %540, ptr noundef @.str.3)
br label %542
542: ; preds = %539
%543 = load i32, ptr %20, align 4
%544 = add nsw i32 %543, 1
store i32 %544, ptr %20, align 4
br label %485, !llvm.loop !22
545: ; preds = %485
br label %546
546: ; preds = %545, %469
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @zero(ptr noundef, i32 noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @acc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @norm(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @split(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @quantise(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare float @sqrt(float noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(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" }
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9srth1zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"usage: %s TrainFile D(dimension) B(number of bits) VQFile [error.txt file]\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"Error opening training database file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"dimension D=%d number of bits B=%d entries E=%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Error in malloc.\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"J=%d sparse vectors in training set, %d non-zero values\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"bits Iteration delta var std dev\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"---------------------------------------\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"%2d %2d %4.3f %6.3f %4.3f\0D\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"Error opening VQ file: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"% 7.3f \00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"%f \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 ptr, align 8
%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 float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = 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
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %32, label %38
32: ; preds = %2
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 0
%35 = load ptr, ptr %34, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %35)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %2
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.1)
store ptr %42, ptr %18, align 8
%43 = load ptr, ptr %18, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %51
45: ; preds = %38
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = load ptr, ptr %47, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %38
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 2
%54 = load ptr, ptr %53, align 8
%55 = call i32 @atoi(ptr noundef %54)
store i32 %55, ptr %6, align 4
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 3
%58 = load ptr, ptr %57, align 8
%59 = call i32 @atoi(ptr noundef %58)
store i32 %59, ptr %26, align 4
%60 = load i32, ptr %26, align 4
%61 = shl i32 1, %60
store i32 %61, ptr %7, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %26, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 4, %68
%70 = trunc i64 %69 to i32
%71 = call i64 @malloc(i32 noundef %70)
%72 = inttoptr i64 %71 to ptr
store ptr %72, ptr %8, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = mul i64 4, %74
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = mul i64 %75, %77
%79 = trunc i64 %78 to i32
%80 = call i64 @malloc(i32 noundef %79)
%81 = inttoptr i64 %80 to ptr
store ptr %81, ptr %9, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = mul i64 4, %83
%85 = load i32, ptr %7, align 4
%86 = sext i32 %85 to i64
%87 = mul i64 %84, %86
%88 = trunc i64 %87 to i32
%89 = call i64 @malloc(i32 noundef %88)
%90 = inttoptr i64 %89 to ptr
store ptr %90, ptr %10, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = mul i64 4, %92
%94 = load i32, ptr %7, align 4
%95 = sext i32 %94 to i64
%96 = mul i64 %93, %95
%97 = trunc i64 %96 to i32
%98 = call i64 @malloc(i32 noundef %97)
%99 = inttoptr i64 %98 to ptr
store ptr %99, ptr %11, align 8
%100 = load ptr, ptr %8, align 8
%101 = icmp eq ptr %100, null
br i1 %101, label %111, label %102
102: ; preds = %51
%103 = load ptr, ptr %9, align 8
%104 = icmp eq ptr %103, null
br i1 %104, label %111, label %105
105: ; preds = %102
%106 = load ptr, ptr %10, align 8
%107 = icmp eq ptr %106, null
br i1 %107, label %111, label %108
108: ; preds = %105
%109 = load ptr, ptr %11, align 8
%110 = icmp eq ptr %109, null
br i1 %110, label %111, label %114
111: ; preds = %108, %105, %102, %51
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%113 = call i32 @exit(i32 noundef 1) #3
unreachable
114: ; preds = %108
store i32 0, ptr %12, align 4
store i32 0, ptr %25, align 4
%115 = load ptr, ptr %8, align 8
%116 = load i32, ptr %6, align 4
%117 = load ptr, ptr %18, align 8
%118 = call i64 @fread(ptr noundef %115, i32 noundef 4, i32 noundef %116, ptr noundef %117)
%119 = load i32, ptr %6, align 4
%120 = sext i32 %119 to i64
%121 = icmp eq i64 %118, %120
br i1 %121, label %.lr.ph2, label %154
.lr.ph2: ; preds = %114
br label %122
122: ; preds = %.lr.ph2, %144
store i32 0, ptr %21, align 4
%123 = load i32, ptr %21, align 4
%124 = load i32, ptr %6, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %.lr.ph, label %144
.lr.ph: ; preds = %122
br label %126
126: ; preds = %.lr.ph, %138
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %21, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds float, ptr %127, i64 %129
%131 = load float, ptr %130, align 4
%132 = fpext float %131 to double
%133 = fcmp une double %132, 0.000000e+00
br i1 %133, label %134, label %137
134: ; preds = %126
%135 = load i32, ptr %25, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %25, align 4
br label %137
137: ; preds = %134, %126
br label %138
138: ; preds = %137
%139 = load i32, ptr %21, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %21, align 4
%141 = load i32, ptr %21, align 4
%142 = load i32, ptr %6, align 4
%143 = icmp slt i32 %141, %142
br i1 %143, label %126, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %138
br label %144
144: ; preds = %._crit_edge, %122
%145 = load i32, ptr %12, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %12, align 4
%147 = load ptr, ptr %8, align 8
%148 = load i32, ptr %6, align 4
%149 = load ptr, ptr %18, align 8
%150 = call i64 @fread(ptr noundef %147, i32 noundef 4, i32 noundef %148, ptr noundef %149)
%151 = load i32, ptr %6, align 4
%152 = sext i32 %151 to i64
%153 = icmp eq i64 %150, %152
br i1 %153, label %122, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %144
br label %154
154: ; preds = %._crit_edge3, %114
%155 = load i32, ptr %12, align 4
%156 = load i32, ptr %25, align 4
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %155, i32 noundef %156)
%158 = load ptr, ptr %10, align 8
%159 = load i32, ptr %6, align 4
%160 = call i32 @zero(ptr noundef %158, i32 noundef %159)
store i32 0, ptr %21, align 4
%161 = load i32, ptr %21, align 4
%162 = load i32, ptr %6, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %.lr.ph5, label %175
.lr.ph5: ; preds = %154
br label %164
164: ; preds = %.lr.ph5, %169
%165 = load ptr, ptr %11, align 8
%166 = load i32, ptr %21, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
store i32 0, ptr %168, align 4
br label %169
169: ; preds = %164
%170 = load i32, ptr %21, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %21, align 4
%172 = load i32, ptr %21, align 4
%173 = load i32, ptr %6, align 4
%174 = icmp slt i32 %172, %173
br i1 %174, label %164, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %169
br label %175
175: ; preds = %._crit_edge6, %154
%176 = load ptr, ptr %18, align 8
%177 = call i32 @rewind(ptr noundef %176)
store i32 0, ptr %20, align 4
%178 = load i32, ptr %20, align 4
%179 = load i32, ptr %12, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %.lr.ph11, label %222
.lr.ph11: ; preds = %175
br label %181
181: ; preds = %.lr.ph11, %216
%182 = load ptr, ptr %8, align 8
%183 = load i32, ptr %6, align 4
%184 = load ptr, ptr %18, align 8
%185 = call i64 @fread(ptr noundef %182, i32 noundef 4, i32 noundef %183, ptr noundef %184)
%186 = load ptr, ptr %10, align 8
%187 = load ptr, ptr %8, align 8
%188 = load i32, ptr %6, align 4
%189 = call i32 @acc(ptr noundef %186, ptr noundef %187, i32 noundef %188)
store i32 0, ptr %21, align 4
%190 = load i32, ptr %21, align 4
%191 = load i32, ptr %6, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %.lr.ph8, label %215
.lr.ph8: ; preds = %181
br label %193
193: ; preds = %.lr.ph8, %209
%194 = load ptr, ptr %8, align 8
%195 = load i32, ptr %21, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds float, ptr %194, i64 %196
%198 = load float, ptr %197, align 4
%199 = fpext float %198 to double
%200 = fcmp une double %199, 0.000000e+00
br i1 %200, label %201, label %208
201: ; preds = %193
%202 = load ptr, ptr %11, align 8
%203 = load i32, ptr %21, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i32, ptr %202, i64 %204
%206 = load i32, ptr %205, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %205, align 4
br label %208
208: ; preds = %201, %193
br label %209
209: ; preds = %208
%210 = load i32, ptr %21, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %21, align 4
%212 = load i32, ptr %21, align 4
%213 = load i32, ptr %6, align 4
%214 = icmp slt i32 %212, %213
br i1 %214, label %193, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %209
br label %215
215: ; preds = %._crit_edge9, %181
br label %216
216: ; preds = %215
%217 = load i32, ptr %20, align 4
%218 = add nsw i32 %217, 1
store i32 %218, ptr %20, align 4
%219 = load i32, ptr %20, align 4
%220 = load i32, ptr %12, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %181, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %216
br label %222
222: ; preds = %._crit_edge12, %175
%223 = load ptr, ptr %10, align 8
%224 = load i32, ptr %6, align 4
%225 = load ptr, ptr %11, align 8
%226 = call i32 @norm(ptr noundef %223, i32 noundef %224, ptr noundef %225)
%227 = load ptr, ptr %9, align 8
%228 = load ptr, ptr %10, align 8
%229 = load i32, ptr %6, align 4
%230 = sext i32 %229 to i64
%231 = mul i64 %230, 4
%232 = trunc i64 %231 to i32
%233 = call i32 @memcpy(ptr noundef %227, ptr noundef %228, i32 noundef %232)
%234 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%235 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%236 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %28, align 4
store i32 1, ptr %27, align 4
%237 = load i32, ptr %27, align 4
%238 = load i32, ptr %26, align 4
%239 = icmp sle i32 %237, %238
br i1 %239, label %.lr.ph29, label %446
.lr.ph29: ; preds = %222
br label %240
240: ; preds = %.lr.ph29, %440
%241 = load i32, ptr %27, align 4
%242 = shl i32 1, %241
store i32 %242, ptr %28, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %22, align 4
store float 0.000000e+00, ptr %17, align 4
store float 0.000000e+00, ptr %16, align 4
%243 = load ptr, ptr %9, align 8
%244 = load i32, ptr %6, align 4
%245 = load i32, ptr %28, align 4
%246 = sdiv i32 %245, 2
%247 = call i32 @split(ptr noundef %243, i32 noundef %244, i32 noundef %246)
br label %248
248: ; preds = %434, %240
store i32 0, ptr %20, align 4
%249 = load i32, ptr %20, align 4
%250 = load i32, ptr %28, align 4
%251 = icmp slt i32 %249, %250
br i1 %251, label %.lr.ph17, label %286
.lr.ph17: ; preds = %248
br label %252
252: ; preds = %.lr.ph17, %280
%253 = load ptr, ptr %10, align 8
%254 = load i32, ptr %20, align 4
%255 = load i32, ptr %6, align 4
%256 = mul nsw i32 %254, %255
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds float, ptr %253, i64 %257
%259 = load i32, ptr %6, align 4
%260 = call i32 @zero(ptr noundef %258, i32 noundef %259)
store i32 0, ptr %21, align 4
%261 = load i32, ptr %21, align 4
%262 = load i32, ptr %6, align 4
%263 = icmp slt i32 %261, %262
br i1 %263, label %.lr.ph14, label %279
.lr.ph14: ; preds = %252
br label %264
264: ; preds = %.lr.ph14, %273
%265 = load ptr, ptr %11, align 8
%266 = load i32, ptr %20, align 4
%267 = load i32, ptr %6, align 4
%268 = mul nsw i32 %266, %267
%269 = load i32, ptr %21, align 4
%270 = add nsw i32 %268, %269
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds i32, ptr %265, i64 %271
store i32 0, ptr %272, align 4
br label %273
273: ; preds = %264
%274 = load i32, ptr %21, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %21, align 4
%276 = load i32, ptr %21, align 4
%277 = load i32, ptr %6, align 4
%278 = icmp slt i32 %276, %277
br i1 %278, label %264, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %273
br label %279
279: ; preds = %._crit_edge15, %252
br label %280
280: ; preds = %279
%281 = load i32, ptr %20, align 4
%282 = add nsw i32 %281, 1
store i32 %282, ptr %20, align 4
%283 = load i32, ptr %20, align 4
%284 = load i32, ptr %28, align 4
%285 = icmp slt i32 %283, %284
br i1 %285, label %252, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %280
br label %286
286: ; preds = %._crit_edge18, %248
store float 0.000000e+00, ptr %14, align 4
%287 = load ptr, ptr %18, align 8
%288 = call i32 @rewind(ptr noundef %287)
store i32 0, ptr %20, align 4
%289 = load i32, ptr %20, align 4
%290 = load i32, ptr %12, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %.lr.ph23, label %347
.lr.ph23: ; preds = %286
br label %292
292: ; preds = %.lr.ph23, %341
%293 = load ptr, ptr %8, align 8
%294 = load i32, ptr %6, align 4
%295 = load ptr, ptr %18, align 8
%296 = call i64 @fread(ptr noundef %293, i32 noundef 4, i32 noundef %294, ptr noundef %295)
%297 = load ptr, ptr %9, align 8
%298 = load ptr, ptr %8, align 8
%299 = load i32, ptr %6, align 4
%300 = load i32, ptr %28, align 4
%301 = call i32 @quantise(ptr noundef %297, ptr noundef %298, i32 noundef %299, i32 noundef %300, ptr noundef %14)
store i32 %301, ptr %13, align 4
%302 = load ptr, ptr %10, align 8
%303 = load i32, ptr %13, align 4
%304 = load i32, ptr %6, align 4
%305 = mul nsw i32 %303, %304
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds float, ptr %302, i64 %306
%308 = load ptr, ptr %8, align 8
%309 = load i32, ptr %6, align 4
%310 = call i32 @acc(ptr noundef %307, ptr noundef %308, i32 noundef %309)
store i32 0, ptr %21, align 4
%311 = load i32, ptr %21, align 4
%312 = load i32, ptr %6, align 4
%313 = icmp slt i32 %311, %312
br i1 %313, label %.lr.ph20, label %340
.lr.ph20: ; preds = %292
br label %314
314: ; preds = %.lr.ph20, %334
%315 = load ptr, ptr %8, align 8
%316 = load i32, ptr %21, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds float, ptr %315, i64 %317
%319 = load float, ptr %318, align 4
%320 = fpext float %319 to double
%321 = fcmp une double %320, 0.000000e+00
br i1 %321, label %322, label %333
322: ; preds = %314
%323 = load ptr, ptr %11, align 8
%324 = load i32, ptr %13, align 4
%325 = load i32, ptr %6, align 4
%326 = mul nsw i32 %324, %325
%327 = load i32, ptr %21, align 4
%328 = add nsw i32 %326, %327
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds i32, ptr %323, i64 %329
%331 = load i32, ptr %330, align 4
%332 = add nsw i32 %331, 1
store i32 %332, ptr %330, align 4
br label %333
333: ; preds = %322, %314
br label %334
334: ; preds = %333
%335 = load i32, ptr %21, align 4
%336 = add nsw i32 %335, 1
store i32 %336, ptr %21, align 4
%337 = load i32, ptr %21, align 4
%338 = load i32, ptr %6, align 4
%339 = icmp slt i32 %337, %338
br i1 %339, label %314, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %334
br label %340
340: ; preds = %._crit_edge21, %292
br label %341
341: ; preds = %340
%342 = load i32, ptr %20, align 4
%343 = add nsw i32 %342, 1
store i32 %343, ptr %20, align 4
%344 = load i32, ptr %20, align 4
%345 = load i32, ptr %12, align 4
%346 = icmp slt i32 %344, %345
br i1 %346, label %292, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %341
br label %347
347: ; preds = %._crit_edge24, %286
%348 = load float, ptr %14, align 4
%349 = load i32, ptr %25, align 4
%350 = sitofp i32 %349 to float
%351 = fdiv float %348, %350
store float %351, ptr %15, align 4
%352 = load float, ptr %15, align 4
%353 = call float @sqrt(float noundef %352)
store float %353, ptr %24, align 4
%354 = load i32, ptr %23, align 4
%355 = add nsw i32 %354, 1
store i32 %355, ptr %23, align 4
%356 = load i32, ptr %23, align 4
%357 = icmp sgt i32 %356, 1
br i1 %357, label %358, label %375
358: ; preds = %347
%359 = load float, ptr %15, align 4
%360 = fpext float %359 to double
%361 = fcmp ogt double %360, 0.000000e+00
br i1 %361, label %362, label %368
362: ; preds = %358
%363 = load float, ptr %16, align 4
%364 = load float, ptr %15, align 4
%365 = fsub float %363, %364
%366 = load float, ptr %15, align 4
%367 = fdiv float %365, %366
store float %367, ptr %17, align 4
br label %369
368: ; preds = %358
store float 0.000000e+00, ptr %17, align 4
br label %369
369: ; preds = %368, %362
%370 = load float, ptr %17, align 4
%371 = fpext float %370 to double
%372 = fcmp olt double %371, 1.000000e-02
br i1 %372, label %373, label %374
373: ; preds = %369
store i32 1, ptr %22, align 4
br label %374
374: ; preds = %373, %369
br label %375
375: ; preds = %374, %347
%376 = load i32, ptr %22, align 4
%377 = icmp ne i32 %376, 0
br i1 %377, label %421, label %378
378: ; preds = %375
store i32 0, ptr %20, align 4
%379 = load i32, ptr %20, align 4
%380 = load i32, ptr %28, align 4
%381 = icmp slt i32 %379, %380
br i1 %381, label %.lr.ph26, label %420
.lr.ph26: ; preds = %378
br label %382
382: ; preds = %.lr.ph26, %414
%383 = load ptr, ptr %10, align 8
%384 = load i32, ptr %20, align 4
%385 = load i32, ptr %6, align 4
%386 = mul nsw i32 %384, %385
%387 = sext i32 %386 to i64
%388 = getelementptr inbounds float, ptr %383, i64 %387
%389 = load i32, ptr %6, align 4
%390 = load ptr, ptr %11, align 8
%391 = load i32, ptr %20, align 4
%392 = load i32, ptr %6, align 4
%393 = mul nsw i32 %391, %392
%394 = sext i32 %393 to i64
%395 = getelementptr inbounds i32, ptr %390, i64 %394
%396 = call i32 @norm(ptr noundef %388, i32 noundef %389, ptr noundef %395)
%397 = load ptr, ptr %9, align 8
%398 = load i32, ptr %20, align 4
%399 = load i32, ptr %6, align 4
%400 = mul nsw i32 %398, %399
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds float, ptr %397, i64 %401
%403 = load ptr, ptr %10, align 8
%404 = load i32, ptr %20, align 4
%405 = load i32, ptr %6, align 4
%406 = mul nsw i32 %404, %405
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds float, ptr %403, i64 %407
%409 = load i32, ptr %6, align 4
%410 = sext i32 %409 to i64
%411 = mul i64 %410, 4
%412 = trunc i64 %411 to i32
%413 = call i32 @memcpy(ptr noundef %402, ptr noundef %408, i32 noundef %412)
br label %414
414: ; preds = %382
%415 = load i32, ptr %20, align 4
%416 = add nsw i32 %415, 1
store i32 %416, ptr %20, align 4
%417 = load i32, ptr %20, align 4
%418 = load i32, ptr %28, align 4
%419 = icmp slt i32 %417, %418
br i1 %419, label %382, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %414
br label %420
420: ; preds = %._crit_edge27, %378
br label %421
421: ; preds = %420, %375
%422 = load i32, ptr %27, align 4
%423 = load i32, ptr %23, align 4
%424 = load float, ptr %17, align 4
%425 = fpext float %424 to double
%426 = load float, ptr %15, align 4
%427 = fpext float %426 to double
%428 = load float, ptr %24, align 4
%429 = fpext float %428 to double
%430 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %422, i32 noundef %423, double noundef %425, double noundef %427, double noundef %429)
%431 = load i32, ptr @stdout, align 4
%432 = call i32 @fflush(i32 noundef %431)
%433 = load float, ptr %15, align 4
store float %433, ptr %16, align 4
br label %434
434: ; preds = %421
%435 = load i32, ptr %22, align 4
%436 = icmp ne i32 %435, 0
%437 = xor i1 %436, true
br i1 %437, label %248, label %438, !llvm.loop !17
438: ; preds = %434
%439 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %440
440: ; preds = %438
%441 = load i32, ptr %27, align 4
%442 = add nsw i32 %441, 1
store i32 %442, ptr %27, align 4
%443 = load i32, ptr %27, align 4
%444 = load i32, ptr %26, align 4
%445 = icmp sle i32 %443, %444
br i1 %445, label %240, label %._crit_edge30, !llvm.loop !18
._crit_edge30: ; preds = %440
br label %446
446: ; preds = %._crit_edge30, %222
%447 = load ptr, ptr %5, align 8
%448 = getelementptr inbounds ptr, ptr %447, i64 4
%449 = load ptr, ptr %448, align 8
%450 = call ptr @fopen(ptr noundef %449, ptr noundef @.str.10)
store ptr %450, ptr %19, align 8
%451 = load ptr, ptr %19, align 8
%452 = icmp eq ptr %451, null
br i1 %452, label %453, label %459
453: ; preds = %446
%454 = load ptr, ptr %5, align 8
%455 = getelementptr inbounds ptr, ptr %454, i64 4
%456 = load ptr, ptr %455, align 8
%457 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %456)
%458 = call i32 @exit(i32 noundef 1) #3
unreachable
459: ; preds = %446
%460 = load ptr, ptr %19, align 8
%461 = load i32, ptr %6, align 4
%462 = load i32, ptr %7, align 4
%463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %460, ptr noundef @.str.12, i32 noundef %461, i32 noundef %462)
store i32 0, ptr %21, align 4
%464 = load i32, ptr %21, align 4
%465 = load i32, ptr %7, align 4
%466 = icmp slt i32 %464, %465
br i1 %466, label %.lr.ph35, label %499
.lr.ph35: ; preds = %459
br label %467
467: ; preds = %.lr.ph35, %493
store i32 0, ptr %20, align 4
%468 = load i32, ptr %20, align 4
%469 = load i32, ptr %6, align 4
%470 = icmp slt i32 %468, %469
br i1 %470, label %.lr.ph32, label %490
.lr.ph32: ; preds = %467
br label %471
471: ; preds = %.lr.ph32, %484
%472 = load ptr, ptr %19, align 8
%473 = load ptr, ptr %9, align 8
%474 = load i32, ptr %21, align 4
%475 = load i32, ptr %6, align 4
%476 = mul nsw i32 %474, %475
%477 = load i32, ptr %20, align 4
%478 = add nsw i32 %476, %477
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds float, ptr %473, i64 %479
%481 = load float, ptr %480, align 4
%482 = fpext float %481 to double
%483 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %472, ptr noundef @.str.13, double noundef %482)
br label %484
484: ; preds = %471
%485 = load i32, ptr %20, align 4
%486 = add nsw i32 %485, 1
store i32 %486, ptr %20, align 4
%487 = load i32, ptr %20, align 4
%488 = load i32, ptr %6, align 4
%489 = icmp slt i32 %487, %488
br i1 %489, label %471, label %._crit_edge33, !llvm.loop !19
._crit_edge33: ; preds = %484
br label %490
490: ; preds = %._crit_edge33, %467
%491 = load ptr, ptr %19, align 8
%492 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %491, ptr noundef @.str.3)
br label %493
493: ; preds = %490
%494 = load i32, ptr %21, align 4
%495 = add nsw i32 %494, 1
store i32 %495, ptr %21, align 4
%496 = load i32, ptr %21, align 4
%497 = load i32, ptr %7, align 4
%498 = icmp slt i32 %496, %497
br i1 %498, label %467, label %._crit_edge36, !llvm.loop !20
._crit_edge36: ; preds = %493
br label %499
499: ; preds = %._crit_edge36, %459
%500 = load ptr, ptr %19, align 8
%501 = call i32 @fclose(ptr noundef %500)
%502 = load i32, ptr %4, align 4
%503 = icmp eq i32 %502, 6
br i1 %503, label %504, label %580
504: ; preds = %499
%505 = load ptr, ptr %5, align 8
%506 = getelementptr inbounds ptr, ptr %505, i64 5
%507 = load ptr, ptr %506, align 8
%508 = call ptr @fopen(ptr noundef %507, ptr noundef @.str.10)
store ptr %508, ptr %29, align 8
%509 = load ptr, ptr %29, align 8
%510 = icmp ne ptr %509, null
%511 = zext i1 %510 to i32
%512 = call i32 @assert(i32 noundef %511)
%513 = load ptr, ptr %18, align 8
%514 = call i32 @rewind(ptr noundef %513)
store i32 0, ptr %20, align 4
%515 = load i32, ptr %20, align 4
%516 = load i32, ptr %12, align 4
%517 = icmp slt i32 %515, %516
br i1 %517, label %.lr.ph41, label %579
.lr.ph41: ; preds = %504
br label %518
518: ; preds = %.lr.ph41, %573
%519 = load ptr, ptr %8, align 8
%520 = load i32, ptr %6, align 4
%521 = load ptr, ptr %18, align 8
%522 = call i64 @fread(ptr noundef %519, i32 noundef 4, i32 noundef %520, ptr noundef %521)
%523 = load ptr, ptr %9, align 8
%524 = load ptr, ptr %8, align 8
%525 = load i32, ptr %6, align 4
%526 = load i32, ptr %28, align 4
%527 = call i32 @quantise(ptr noundef %523, ptr noundef %524, i32 noundef %525, i32 noundef %526, ptr noundef %14)
store i32 %527, ptr %13, align 4
store i32 0, ptr %21, align 4
%528 = load i32, ptr %21, align 4
%529 = load i32, ptr %6, align 4
%530 = icmp slt i32 %528, %529
br i1 %530, label %.lr.ph38, label %570
.lr.ph38: ; preds = %518
br label %531
531: ; preds = %.lr.ph38, %564
%532 = load ptr, ptr %8, align 8
%533 = load i32, ptr %21, align 4
%534 = sext i32 %533 to i64
%535 = getelementptr inbounds float, ptr %532, i64 %534
%536 = load float, ptr %535, align 4
%537 = fpext float %536 to double
%538 = fcmp une double %537, 0.000000e+00
br i1 %538, label %539, label %555
539: ; preds = %531
%540 = load ptr, ptr %9, align 8
%541 = load i32, ptr %13, align 4
%542 = load i32, ptr %6, align 4
%543 = mul nsw i32 %541, %542
%544 = load i32, ptr %21, align 4
%545 = add nsw i32 %543, %544
%546 = sext i32 %545 to i64
%547 = getelementptr inbounds float, ptr %540, i64 %546
%548 = load float, ptr %547, align 4
%549 = load ptr, ptr %8, align 8
%550 = load i32, ptr %21, align 4
%551 = sext i32 %550 to i64
%552 = getelementptr inbounds float, ptr %549, i64 %551
%553 = load float, ptr %552, align 4
%554 = fsub float %553, %548
store float %554, ptr %552, align 4
br label %555
555: ; preds = %539, %531
%556 = load ptr, ptr %29, align 8
%557 = load ptr, ptr %8, align 8
%558 = load i32, ptr %21, align 4
%559 = sext i32 %558 to i64
%560 = getelementptr inbounds float, ptr %557, i64 %559
%561 = load float, ptr %560, align 4
%562 = fpext float %561 to double
%563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %556, ptr noundef @.str.14, double noundef %562)
br label %564
564: ; preds = %555
%565 = load i32, ptr %21, align 4
%566 = add nsw i32 %565, 1
store i32 %566, ptr %21, align 4
%567 = load i32, ptr %21, align 4
%568 = load i32, ptr %6, align 4
%569 = icmp slt i32 %567, %568
br i1 %569, label %531, label %._crit_edge39, !llvm.loop !21
._crit_edge39: ; preds = %564
br label %570
570: ; preds = %._crit_edge39, %518
%571 = load ptr, ptr %29, align 8
%572 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %571, ptr noundef @.str.3)
br label %573
573: ; preds = %570
%574 = load i32, ptr %20, align 4
%575 = add nsw i32 %574, 1
store i32 %575, ptr %20, align 4
%576 = load i32, ptr %20, align 4
%577 = load i32, ptr %12, align 4
%578 = icmp slt i32 %576, %577
br i1 %578, label %518, label %._crit_edge42, !llvm.loop !22
._crit_edge42: ; preds = %573
br label %579
579: ; preds = %._crit_edge42, %504
br label %580
580: ; preds = %579, %499
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @zero(ptr noundef, i32 noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @acc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @norm(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @split(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @quantise(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare float @sqrt(float noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(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" }
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
|
; ModuleID = '/tmp/tmpr6uujolx.c'
source_filename = "/tmp/tmpr6uujolx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Demonstrate Input Redirection\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The sum is %2.2f and the average is %2.2f\0A\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 [10 x float], align 16
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x float], ptr %3, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %28, %17
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10 x float], ptr %3, i64 0, i64 %23
%25 = load float, ptr %24, align 4
%26 = load float, ptr %4, align 4
%27 = fadd float %26, %25
store float %27, ptr %4, align 4
br label %28
28: ; preds = %21
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
br label %18, !llvm.loop !8
31: ; preds = %18
%32 = load float, ptr %4, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %4, align 4
%35 = fdiv float %34, 1.000000e+01
%36 = fpext float %35 to double
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %33, double noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6uujolx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Demonstrate Input Redirection\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The sum is %2.2f and the average is %2.2f\0A\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 [10 x float], align 16
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x float], ptr %3, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %.lr.ph2, label %33
.lr.ph2: ; preds = %18
br label %21
21: ; preds = %.lr.ph2, %28
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10 x float], ptr %3, i64 0, i64 %23
%25 = load float, ptr %24, align 4
%26 = load float, ptr %4, align 4
%27 = fadd float %26, %25
store float %27, ptr %4, align 4
br label %28
28: ; preds = %21
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %31, 10
br i1 %32, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %18
%34 = load float, ptr %4, align 4
%35 = fpext float %34 to double
%36 = load float, ptr %4, align 4
%37 = fdiv float %36, 1.000000e+01
%38 = fpext float %37 to double
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35, double noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptb5nx4zr.c'
source_filename = "/tmp/tmptb5nx4zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bessk0.P = internal global [7 x double] [double 0xBFE2788CF9CE0CBE, double 0x3FDB0EE57610FE55, double 0x3FCD877F65BBC695, double 3.488590e-02, double 2.626980e-03, double 1.075000e-04, double 7.400000e-06], align 16
@bessk0.Q = internal global [7 x double] [double 0x3FF40D9320AEA13E, double 0xBFB40D039E9B0B34, double 0x3F966BD236183FE8, double 0xBF85C246E1E6BA5F, double 5.878720e-03, double -2.515400e-03, double 5.320800e-04], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bessk0(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ole double %5, 2.000000e+00
br i1 %6, label %7, label %38
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = load double, ptr %2, align 8
%10 = fmul double %8, %9
%11 = fdiv double %10, 4.000000e+00
store double %11, ptr %3, align 8
%12 = load double, ptr %2, align 8
%13 = fdiv double %12, 2.000000e+00
%14 = call double @log(double noundef %13) #4
%15 = fneg double %14
%16 = load double, ptr %2, align 8
%17 = call double @bessi0(double noundef %16)
%18 = load double, ptr @bessk0.P, align 16
%19 = load double, ptr %3, align 8
%20 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 1), align 8
%21 = load double, ptr %3, align 8
%22 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 2), align 16
%23 = load double, ptr %3, align 8
%24 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 3), align 8
%25 = load double, ptr %3, align 8
%26 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 4), align 16
%27 = load double, ptr %3, align 8
%28 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 5), align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 6), align 16
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @llvm.fmuladd.f64(double %27, double %31, double %26)
%33 = call double @llvm.fmuladd.f64(double %25, double %32, double %24)
%34 = call double @llvm.fmuladd.f64(double %23, double %33, double %22)
%35 = call double @llvm.fmuladd.f64(double %21, double %34, double %20)
%36 = call double @llvm.fmuladd.f64(double %19, double %35, double %18)
%37 = call double @llvm.fmuladd.f64(double %15, double %17, double %36)
store double %37, ptr %4, align 8
br label %67
38: ; preds = %1
%39 = load double, ptr %2, align 8
%40 = fdiv double 2.000000e+00, %39
store double %40, ptr %3, align 8
%41 = load double, ptr %2, align 8
%42 = fneg double %41
%43 = call double @exp(double noundef %42) #4
%44 = load double, ptr %2, align 8
%45 = call double @sqrt(double noundef %44) #4
%46 = fdiv double %43, %45
%47 = load double, ptr @bessk0.Q, align 16
%48 = load double, ptr %3, align 8
%49 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 1), align 8
%50 = load double, ptr %3, align 8
%51 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 2), align 16
%52 = load double, ptr %3, align 8
%53 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 3), align 8
%54 = load double, ptr %3, align 8
%55 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 4), align 16
%56 = load double, ptr %3, align 8
%57 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 5), align 8
%58 = load double, ptr %3, align 8
%59 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 6), align 16
%60 = call double @llvm.fmuladd.f64(double %58, double %59, double %57)
%61 = call double @llvm.fmuladd.f64(double %56, double %60, double %55)
%62 = call double @llvm.fmuladd.f64(double %54, double %61, double %53)
%63 = call double @llvm.fmuladd.f64(double %52, double %62, double %51)
%64 = call double @llvm.fmuladd.f64(double %50, double %63, double %49)
%65 = call double @llvm.fmuladd.f64(double %48, double %64, double %47)
%66 = fmul double %46, %65
store double %66, ptr %4, align 8
br label %67
67: ; preds = %38, %7
%68 = load double, ptr %4, align 8
ret double %68
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @bessi0(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptb5nx4zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@bessk0.P = internal global [7 x double] [double 0xBFE2788CF9CE0CBE, double 0x3FDB0EE57610FE55, double 0x3FCD877F65BBC695, double 3.488590e-02, double 2.626980e-03, double 1.075000e-04, double 7.400000e-06], align 16
@bessk0.Q = internal global [7 x double] [double 0x3FF40D9320AEA13E, double 0xBFB40D039E9B0B34, double 0x3F966BD236183FE8, double 0xBF85C246E1E6BA5F, double 5.878720e-03, double -2.515400e-03, double 5.320800e-04], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @bessk0(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ole double %5, 2.000000e+00
br i1 %6, label %7, label %38
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = load double, ptr %2, align 8
%10 = fmul double %8, %9
%11 = fdiv double %10, 4.000000e+00
store double %11, ptr %3, align 8
%12 = load double, ptr %2, align 8
%13 = fdiv double %12, 2.000000e+00
%14 = call double @log(double noundef %13) #4
%15 = fneg double %14
%16 = load double, ptr %2, align 8
%17 = call double @bessi0(double noundef %16)
%18 = load double, ptr @bessk0.P, align 16
%19 = load double, ptr %3, align 8
%20 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 1), align 8
%21 = load double, ptr %3, align 8
%22 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 2), align 16
%23 = load double, ptr %3, align 8
%24 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 3), align 8
%25 = load double, ptr %3, align 8
%26 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 4), align 16
%27 = load double, ptr %3, align 8
%28 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 5), align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.P, i64 0, i64 6), align 16
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %28)
%32 = call double @llvm.fmuladd.f64(double %27, double %31, double %26)
%33 = call double @llvm.fmuladd.f64(double %25, double %32, double %24)
%34 = call double @llvm.fmuladd.f64(double %23, double %33, double %22)
%35 = call double @llvm.fmuladd.f64(double %21, double %34, double %20)
%36 = call double @llvm.fmuladd.f64(double %19, double %35, double %18)
%37 = call double @llvm.fmuladd.f64(double %15, double %17, double %36)
store double %37, ptr %4, align 8
br label %67
38: ; preds = %1
%39 = load double, ptr %2, align 8
%40 = fdiv double 2.000000e+00, %39
store double %40, ptr %3, align 8
%41 = load double, ptr %2, align 8
%42 = fneg double %41
%43 = call double @exp(double noundef %42) #4
%44 = load double, ptr %2, align 8
%45 = call double @sqrt(double noundef %44) #4
%46 = fdiv double %43, %45
%47 = load double, ptr @bessk0.Q, align 16
%48 = load double, ptr %3, align 8
%49 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 1), align 8
%50 = load double, ptr %3, align 8
%51 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 2), align 16
%52 = load double, ptr %3, align 8
%53 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 3), align 8
%54 = load double, ptr %3, align 8
%55 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 4), align 16
%56 = load double, ptr %3, align 8
%57 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 5), align 8
%58 = load double, ptr %3, align 8
%59 = load double, ptr getelementptr inbounds ([7 x double], ptr @bessk0.Q, i64 0, i64 6), align 16
%60 = call double @llvm.fmuladd.f64(double %58, double %59, double %57)
%61 = call double @llvm.fmuladd.f64(double %56, double %60, double %55)
%62 = call double @llvm.fmuladd.f64(double %54, double %61, double %53)
%63 = call double @llvm.fmuladd.f64(double %52, double %62, double %51)
%64 = call double @llvm.fmuladd.f64(double %50, double %63, double %49)
%65 = call double @llvm.fmuladd.f64(double %48, double %64, double %47)
%66 = fmul double %46, %65
store double %66, ptr %4, align 8
br label %67
67: ; preds = %38, %7
%68 = load double, ptr %4, align 8
ret double %68
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @bessi0(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpimhnnnrn.c'
source_filename = "/tmp/tmpimhnnnrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"-l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @List(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 @DoList(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @DoList(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/tmpimhnnnrn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"-l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @List(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 @DoList(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @DoList(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/tmpv607xqed.c'
source_filename = "/tmp/tmpv607xqed.c"
target datalayout = "e-m:e-p270: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/tmpv607xqed.c"
target datalayout = "e-m:e-p270: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/tmpquydk82m.c'
source_filename = "/tmp/tmpquydk82m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"abc\0Athis is a test\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"this is another test\0Astill testing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test_lcol(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2)
%2 = call i32 @test_lcol(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2)
ret i32 0
}
declare i32 @test_lcol(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/tmpquydk82m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"abc\0Athis is a test\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"this is another test\0Astill testing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test_lcol(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2)
%2 = call i32 @test_lcol(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2)
ret i32 0
}
declare i32 @test_lcol(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/tmp67slradc.c'
source_filename = "/tmp/tmp67slradc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_056(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @log10(double noundef %3) #2
ret double %4
}
; Function Attrs: nounwind
declare double @log10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67slradc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_056(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @log10(double noundef %3) #2
ret double %4
}
; Function Attrs: nounwind
declare double @log10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvvq83f_6.c'
source_filename = "/tmp/tmpvvq83f_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"USAGE: netmanager [iface]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvq83f_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"USAGE: netmanager [iface]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdidc0d_a.c'
source_filename = "/tmp/tmpdidc0d_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMProgramNonBlocking(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%6 = and i32 %5, 1895759872
%7 = icmp eq i32 %6, 268763136
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%10 = and i32 %9, 65535
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = call i32 @_EEPROMSectorMaskSet(i32 noundef %13)
br label %15
15: ; preds = %12, %8, %2
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 6
store volatile i32 %17, ptr inttoptr (i64 1074458628 to ptr), align 4
%18 = load i32, ptr %4, align 4
%19 = ashr i32 %18, 2
%20 = and i32 %19, 15
store volatile i32 %20, ptr inttoptr (i64 1074458632 to ptr), align 4
%21 = load i32, ptr %3, align 4
store volatile i32 %21, ptr inttoptr (i64 1074458644 to ptr), align 4
%22 = load volatile i32, ptr inttoptr (i64 1074458648 to ptr), align 4
ret i32 %22
}
declare i32 @_EEPROMSectorMaskSet(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdidc0d_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMProgramNonBlocking(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%6 = and i32 %5, 1895759872
%7 = icmp eq i32 %6, 268763136
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%10 = and i32 %9, 65535
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = call i32 @_EEPROMSectorMaskSet(i32 noundef %13)
br label %15
15: ; preds = %12, %8, %2
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 6
store volatile i32 %17, ptr inttoptr (i64 1074458628 to ptr), align 4
%18 = load i32, ptr %4, align 4
%19 = ashr i32 %18, 2
%20 = and i32 %19, 15
store volatile i32 %20, ptr inttoptr (i64 1074458632 to ptr), align 4
%21 = load i32, ptr %3, align 4
store volatile i32 %21, ptr inttoptr (i64 1074458644 to ptr), align 4
%22 = load volatile i32, ptr inttoptr (i64 1074458648 to ptr), align 4
ret i32 %22
}
declare i32 @_EEPROMSectorMaskSet(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc88u6jzd.c'
source_filename = "/tmp/tmpc88u6jzd.c"
target datalayout = "e-m:e-p270: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/tmpc88u6jzd.c"
target datalayout = "e-m:e-p270: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/tmpjvpp_rcv.c'
source_filename = "/tmp/tmpjvpp_rcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ext4_sb_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ext4_block_readbytes(ptr noundef %5, i32 noundef 1024, ptr noundef %6, i32 noundef 1024)
ret i32 %7
}
declare i32 @ext4_block_readbytes(ptr noundef, 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/tmpjvpp_rcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ext4_sb_read(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @ext4_block_readbytes(ptr noundef %5, i32 noundef 1024, ptr noundef %6, i32 noundef 1024)
ret i32 %7
}
declare i32 @ext4_block_readbytes(ptr noundef, 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/tmp1o4k6wfc.c'
source_filename = "/tmp/tmp1o4k6wfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = call i32 @sum(i32 noundef %10)
store i32 %11, ptr %3, align 4
br label %12
12: ; preds = %9, %8
%13 = load i32, ptr %3, align 4
ret i32 %13
}
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/tmp1o4k6wfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %12
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = call i32 @sum(i32 noundef %10)
store i32 %11, ptr %3, align 4
br label %12
12: ; preds = %9, %8
%13 = load i32, ptr %3, align 4
ret i32 %13
}
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/tmplosgvwqf.c'
source_filename = "/tmp/tmplosgvwqf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func3(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 @printid(i32 noundef %3)
ret void
}
declare i32 @printid(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplosgvwqf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func3(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 @printid(i32 noundef %3)
ret void
}
declare i32 @printid(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_de3oqgh.c'
source_filename = "/tmp/tmp_de3oqgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTestStrHexdecimal(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %21, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @isxdigit(i8 noundef zeroext %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %11
store i32 1, ptr %3, align 4
br label %25
20: ; preds = %11
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %7, !llvm.loop !6
24: ; preds = %7
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %19
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @isxdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_de3oqgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTestStrHexdecimal(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @isxdigit(i8 noundef zeroext %15)
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %10
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %10
br label %20
20: ; preds = %19
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %18
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @isxdigit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwtrq3051.c'
source_filename = "/tmp/tmpwtrq3051.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multhread(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %16, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @makethread(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
ret void
}
declare i32 @makethread(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/tmpwtrq3051.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multhread(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %15
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @makethread(ptr noundef %12, ptr noundef %13)
br label %15
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %3
ret void
}
declare i32 @makethread(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/tmpgtyn9d08.c'
source_filename = "/tmp/tmpgtyn9d08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Hardware_Init()
ret i32 0
}
declare i32 @Hardware_Init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgtyn9d08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Hardware_Init()
ret i32 0
}
declare i32 @Hardware_Init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_9clp_7u.c'
source_filename = "/tmp/tmp_9clp_7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
store i64 0, ptr %7, align 8
br label %10
10: ; preds = %19, %3
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = trunc i32 %15 to i8
%17 = load ptr, ptr %8, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %8, align 8
store i8 %16, ptr %17, align 1
br label %19
19: ; preds = %14
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %7, align 8
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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_9clp_7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %8, align 8
store i64 0, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %5, align 4
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %8, align 8
store i8 %15, ptr %16, align 1
br label %18
18: ; preds = %13
%19 = load i64, ptr %7, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %3
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmphd2sqzhv.c'
source_filename = "/tmp/tmphd2sqzhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AFound value %d after %d searches\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"I didn't find this value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @b_search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %8, align 4
store i32 0, ptr %10, align 4
br label %13
13: ; preds = %54, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %17, label %57
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %22, %27
br i1 %28, label %29, label %32
29: ; preds = %17
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %53
32: ; preds = %17
%33 = load i32, ptr %5, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp slt i32 %33, %38
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %52
43: ; preds = %32
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %48, i32 noundef %50)
br label %59
52: ; preds = %40
br label %53
53: ; preds = %52, %29
br label %54
54: ; preds = %53
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
br label %13, !llvm.loop !6
57: ; preds = %13
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %59
59: ; preds = %57, %43
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphd2sqzhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AFound value %d after %d searches\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"I didn't find this value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @b_search(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %8, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %.lr.ph, label %59
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %53
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %17, %18
%20 = sdiv i32 %19, 2
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp sgt i32 %21, %26
br i1 %27, label %28, label %31
28: ; preds = %16
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %52
31: ; preds = %16
%32 = load i32, ptr %5, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %32, %37
br i1 %38, label %39, label %42
39: ; preds = %31
%40 = load i32, ptr %9, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %8, align 4
br label %51
42: ; preds = %31
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %10, align 4
%49 = add nsw i32 %48, 1
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %47, i32 noundef %49)
br label %61
51: ; preds = %39
br label %52
52: ; preds = %51, %28
br label %53
53: ; preds = %52
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp sge i32 %56, %57
br i1 %58, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %3
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %61
61: ; preds = %59, %42
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc5ik3og5.c'
source_filename = "/tmp/tmpc5ik3og5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
store i32 8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %8, align 8
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 4
%20 = load ptr, ptr %19, align 8
%21 = call i32 @potrf_tile(i32 noundef %17, ptr noundef %20)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @potrf_tile(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5ik3og5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
store i32 8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 8
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %8, align 8
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 4
%20 = load ptr, ptr %19, align 8
%21 = call i32 @potrf_tile(i32 noundef %17, ptr noundef %20)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @potrf_tile(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgutaru6p.c'
source_filename = "/tmp/tmpgutaru6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%03d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = srem i32 %5, 10
%7 = mul nsw i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 10
%10 = srem i32 %9, 10
%11 = mul nsw i32 %10, 10
%12 = add nsw i32 %7, %11
%13 = load i32, ptr %2, align 4
%14 = sdiv i32 %13, 100
%15 = add nsw i32 %12, %14
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgutaru6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%03d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = srem i32 %5, 10
%7 = mul nsw i32 %6, 100
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 10
%10 = srem i32 %9, 10
%11 = mul nsw i32 %10, 10
%12 = add nsw i32 %7, %11
%13 = load i32, ptr %2, align 4
%14 = sdiv i32 %13, 100
%15 = add nsw i32 %12, %14
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxoc2rp7d.c'
source_filename = "/tmp/tmpxoc2rp7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @sleep(i32 noundef 60)
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @sleep(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/tmpxoc2rp7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @sleep(i32 noundef 60)
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @sleep(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/tmp37j0jabo.c'
source_filename = "/tmp/tmp37j0jabo.c"
target datalayout = "e-m:e-p270: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/tmp37j0jabo.c"
target datalayout = "e-m:e-p270: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/tmp9ynjnv_r.c'
source_filename = "/tmp/tmp9ynjnv_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 3, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 2
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 6
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %2
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ynjnv_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 3, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 2
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 6
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %2
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5b2jijf.c'
source_filename = "/tmp/tmpr5b2jijf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Validate %s\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Beginning: %s Ending: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_chart_title_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
%12 = alloca [1024 x i8], align 16
%13 = alloca [512 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%15 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%16 = load ptr, ptr %8, align 8
%17 = call ptr @format_initial_capital(ptr noundef %15, ptr noundef %16)
%18 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %10, align 8
%22 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%24 = call ptr @strdup(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
store ptr %24, ptr %25, align 8
%26 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%27 = call ptr @strdup(ptr noundef %26)
%28 = load ptr, ptr %7, align 8
store ptr %27, ptr %28, align 8
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @format_initial_capital(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5b2jijf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Validate %s\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Beginning: %s Ending: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_chart_title_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [1024 x i8], align 16
%12 = alloca [1024 x i8], align 16
%13 = alloca [512 x i8], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%15 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
%16 = load ptr, ptr %8, align 8
%17 = call ptr @format_initial_capital(ptr noundef %15, ptr noundef %16)
%18 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %10, align 8
%22 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %21)
%23 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%24 = call ptr @strdup(ptr noundef %23)
%25 = load ptr, ptr %6, align 8
store ptr %24, ptr %25, align 8
%26 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%27 = call ptr @strdup(ptr noundef %26)
%28 = load ptr, ptr %7, align 8
store ptr %27, ptr %28, align 8
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @format_initial_capital(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp16a2hcll.c'
source_filename = "/tmp/tmp16a2hcll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@putString.color = internal global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putString(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 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %8
8: ; preds = %7, %2
br label %9
9: ; preds = %42, %8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %45
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 8
br i1 %17, label %18, label %19
18: ; preds = %13
store i32 1, ptr @putString.color, align 4
br label %42
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 13
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr @putString.color, align 4
br label %41
25: ; preds = %19
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 7
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 2, ptr @putString.color, align 4
br label %40
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = load i32, ptr @putString.color, align 4
%35 = load ptr, ptr %4, align 8
%36 = call i32 @putChar(i8 noundef signext %33, i32 noundef %34, ptr noundef %35)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %31
br label %45
39: ; preds = %31
br label %40
40: ; preds = %39, %30
br label %41
41: ; preds = %40, %24
br label %42
42: ; preds = %41, %18
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %3, align 8
br label %9, !llvm.loop !6
45: ; preds = %38, %9
ret void
}
declare i32 @putChar(i8 noundef signext, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16a2hcll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@putString.color = internal global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putString(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 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %8
8: ; preds = %7, %2
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %41
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 8
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 1, ptr @putString.color, align 4
br label %41
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 13
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr @putString.color, align 4
br label %40
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 7
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 2, ptr @putString.color, align 4
br label %39
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
%32 = load i8, ptr %31, align 1
%33 = load i32, ptr @putString.color, align 4
%34 = load ptr, ptr %4, align 8
%35 = call i32 @putChar(i8 noundef signext %32, i32 noundef %33, ptr noundef %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %30
br label %47
38: ; preds = %30
br label %39
39: ; preds = %38, %29
br label %40
40: ; preds = %39, %23
br label %41
41: ; preds = %40, %17
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %3, align 8
%44 = load ptr, ptr %3, align 8
%45 = load i8, ptr %44, align 1
%46 = icmp ne i8 %45, 0
br i1 %46, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %41
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %8
br label %47
47: ; preds = %.loopexit, %37
ret void
}
declare i32 @putChar(i8 noundef signext, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptvfn_i8c.c'
source_filename = "/tmp/tmptvfn_i8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%29s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s | %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @invertStr(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9, ptr noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @invertStr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptvfn_i8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%29s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s | %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @invertStr(ptr noundef %6, ptr noundef %7)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9, ptr noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @invertStr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkphr4vml.c'
source_filename = "/tmp/tmpkphr4vml.c"
target datalayout = "e-m:e-p270: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/tmpkphr4vml.c"
target datalayout = "e-m:e-p270: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/tmpd9ke6lxg.c'
source_filename = "/tmp/tmpd9ke6lxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unable to allocate memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Expand_2D(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i16 noundef signext %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i16, align 2
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i64 %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i64 %5, ptr %14, align 8
store i16 %6, ptr %15, align 2
%22 = load i64, ptr %10, align 8
%23 = icmp sle i64 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %7
store i64 1, ptr %20, align 8
br label %28
25: ; preds = %7
%26 = load i64, ptr %10, align 8
%27 = mul nsw i64 %26, 2
store i64 %27, ptr %20, align 8
br label %28
28: ; preds = %25, %24
%29 = load i64, ptr %11, align 8
%30 = icmp sle i64 %29, 1
br i1 %30, label %31, label %32
31: ; preds = %28
store i64 1, ptr %21, align 8
br label %35
32: ; preds = %28
%33 = load i64, ptr %11, align 8
%34 = mul nsw i64 %33, 2
store i64 %34, ptr %21, align 8
br label %35
35: ; preds = %32, %31
%36 = load i64, ptr %10, align 8
%37 = icmp sgt i64 %36, 1
br i1 %37, label %38, label %93
38: ; preds = %35
%39 = load i64, ptr %10, align 8
%40 = mul nsw i64 %39, 8
%41 = call i64 @malloc(i64 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %16, align 8
%43 = load ptr, ptr %16, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %160
47: ; preds = %38
%48 = load i64, ptr %20, align 8
%49 = mul nsw i64 %48, 8
%50 = call i64 @malloc(i64 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %17, align 8
%52 = load ptr, ptr %17, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %58
54: ; preds = %47
%55 = load ptr, ptr %16, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %160
58: ; preds = %47
store i64 0, ptr %19, align 8
br label %59
59: ; preds = %85, %58
%60 = load i64, ptr %19, align 8
%61 = load i64, ptr %11, align 8
%62 = icmp slt i64 %60, %61
br i1 %62, label %63, label %88
63: ; preds = %59
%64 = load ptr, ptr %9, align 8
%65 = load i64, ptr %10, align 8
%66 = load i64, ptr %11, align 8
%67 = load i64, ptr %19, align 8
%68 = load ptr, ptr %16, align 8
%69 = load i64, ptr %10, align 8
%70 = call i32 @GetRow(ptr noundef %64, i64 noundef %65, i64 noundef %66, i64 noundef %67, ptr noundef %68, i64 noundef %69)
%71 = load ptr, ptr %16, align 8
%72 = load i64, ptr %10, align 8
%73 = load ptr, ptr %17, align 8
%74 = load ptr, ptr %13, align 8
%75 = load i64, ptr %14, align 8
%76 = load i16, ptr %15, align 2
%77 = call i32 @Expand_1D(ptr noundef %71, i64 noundef %72, ptr noundef %73, ptr noundef %74, i64 noundef %75, i16 noundef signext %76)
%78 = load ptr, ptr %12, align 8
%79 = load i64, ptr %20, align 8
%80 = load i64, ptr %21, align 8
%81 = load i64, ptr %19, align 8
%82 = load ptr, ptr %17, align 8
%83 = load i64, ptr %20, align 8
%84 = call i32 @PutRow(ptr noundef %78, i64 noundef %79, i64 noundef %80, i64 noundef %81, ptr noundef %82, i64 noundef %83)
br label %85
85: ; preds = %63
%86 = load i64, ptr %19, align 8
%87 = add nsw i64 %86, 1
store i64 %87, ptr %19, align 8
br label %59, !llvm.loop !6
88: ; preds = %59
%89 = load ptr, ptr %16, align 8
%90 = call i32 @free(ptr noundef %89)
%91 = load ptr, ptr %17, align 8
%92 = call i32 @free(ptr noundef %91)
br label %101
93: ; preds = %35
%94 = load ptr, ptr %12, align 8
%95 = load ptr, ptr %9, align 8
%96 = load i64, ptr %10, align 8
%97 = load i64, ptr %11, align 8
%98 = mul nsw i64 %96, %97
%99 = mul nsw i64 %98, 4
%100 = call i32 @memcpy(ptr noundef %94, ptr noundef %95, i64 noundef %99)
br label %101
101: ; preds = %93, %88
%102 = load i64, ptr %11, align 8
%103 = icmp sgt i64 %102, 1
br i1 %103, label %104, label %159
104: ; preds = %101
%105 = load i64, ptr %11, align 8
%106 = mul nsw i64 %105, 8
%107 = call i64 @malloc(i64 noundef %106)
%108 = inttoptr i64 %107 to ptr
store ptr %108, ptr %16, align 8
%109 = load ptr, ptr %16, align 8
%110 = icmp eq ptr %109, null
br i1 %110, label %111, label %113
111: ; preds = %104
%112 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %160
113: ; preds = %104
%114 = load i64, ptr %21, align 8
%115 = mul nsw i64 %114, 8
%116 = call i64 @malloc(i64 noundef %115)
%117 = inttoptr i64 %116 to ptr
store ptr %117, ptr %17, align 8
%118 = load ptr, ptr %17, align 8
%119 = icmp eq ptr %118, null
br i1 %119, label %120, label %124
120: ; preds = %113
%121 = load ptr, ptr %16, align 8
%122 = call i32 @free(ptr noundef %121)
%123 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %160
124: ; preds = %113
store i64 0, ptr %18, align 8
br label %125
125: ; preds = %151, %124
%126 = load i64, ptr %18, align 8
%127 = load i64, ptr %20, align 8
%128 = icmp slt i64 %126, %127
br i1 %128, label %129, label %154
129: ; preds = %125
%130 = load ptr, ptr %12, align 8
%131 = load i64, ptr %20, align 8
%132 = load i64, ptr %21, align 8
%133 = load i64, ptr %18, align 8
%134 = load ptr, ptr %16, align 8
%135 = load i64, ptr %11, align 8
%136 = call i32 @GetColumn(ptr noundef %130, i64 noundef %131, i64 noundef %132, i64 noundef %133, ptr noundef %134, i64 noundef %135)
%137 = load ptr, ptr %16, align 8
%138 = load i64, ptr %11, align 8
%139 = load ptr, ptr %17, align 8
%140 = load ptr, ptr %13, align 8
%141 = load i64, ptr %14, align 8
%142 = load i16, ptr %15, align 2
%143 = call i32 @Expand_1D(ptr noundef %137, i64 noundef %138, ptr noundef %139, ptr noundef %140, i64 noundef %141, i16 noundef signext %142)
%144 = load ptr, ptr %12, align 8
%145 = load i64, ptr %20, align 8
%146 = load i64, ptr %21, align 8
%147 = load i64, ptr %18, align 8
%148 = load ptr, ptr %17, align 8
%149 = load i64, ptr %21, align 8
%150 = call i32 @PutColumn(ptr noundef %144, i64 noundef %145, i64 noundef %146, i64 noundef %147, ptr noundef %148, i64 noundef %149)
br label %151
151: ; preds = %129
%152 = load i64, ptr %18, align 8
%153 = add nsw i64 %152, 1
store i64 %153, ptr %18, align 8
br label %125, !llvm.loop !8
154: ; preds = %125
%155 = load ptr, ptr %16, align 8
%156 = call i32 @free(ptr noundef %155)
%157 = load ptr, ptr %17, align 8
%158 = call i32 @free(ptr noundef %157)
br label %159
159: ; preds = %154, %101
store i32 1, ptr %8, align 4
br label %160
160: ; preds = %159, %120, %111, %54, %45
%161 = load i32, ptr %8, align 4
ret i32 %161
}
declare i64 @malloc(i64 noundef) #1
declare i32 @MessageDisplay(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @GetRow(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @Expand_1D(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i16 noundef signext) #1
declare i32 @PutRow(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @GetColumn(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @PutColumn(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd9ke6lxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unable to allocate memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Expand_2D(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i16 noundef signext %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca i16, align 2
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i64 %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i64 %5, ptr %14, align 8
store i16 %6, ptr %15, align 2
%22 = load i64, ptr %10, align 8
%23 = icmp sle i64 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %7
store i64 1, ptr %20, align 8
br label %28
25: ; preds = %7
%26 = load i64, ptr %10, align 8
%27 = mul nsw i64 %26, 2
store i64 %27, ptr %20, align 8
br label %28
28: ; preds = %25, %24
%29 = load i64, ptr %11, align 8
%30 = icmp sle i64 %29, 1
br i1 %30, label %31, label %32
31: ; preds = %28
store i64 1, ptr %21, align 8
br label %35
32: ; preds = %28
%33 = load i64, ptr %11, align 8
%34 = mul nsw i64 %33, 2
store i64 %34, ptr %21, align 8
br label %35
35: ; preds = %32, %31
%36 = load i64, ptr %10, align 8
%37 = icmp sgt i64 %36, 1
br i1 %37, label %38, label %95
38: ; preds = %35
%39 = load i64, ptr %10, align 8
%40 = mul nsw i64 %39, 8
%41 = call i64 @malloc(i64 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %16, align 8
%43 = load ptr, ptr %16, align 8
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %164
47: ; preds = %38
%48 = load i64, ptr %20, align 8
%49 = mul nsw i64 %48, 8
%50 = call i64 @malloc(i64 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %17, align 8
%52 = load ptr, ptr %17, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %58
54: ; preds = %47
%55 = load ptr, ptr %16, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %164
58: ; preds = %47
store i64 0, ptr %19, align 8
%59 = load i64, ptr %19, align 8
%60 = load i64, ptr %11, align 8
%61 = icmp slt i64 %59, %60
br i1 %61, label %.lr.ph, label %90
.lr.ph: ; preds = %58
br label %62
62: ; preds = %.lr.ph, %84
%63 = load ptr, ptr %9, align 8
%64 = load i64, ptr %10, align 8
%65 = load i64, ptr %11, align 8
%66 = load i64, ptr %19, align 8
%67 = load ptr, ptr %16, align 8
%68 = load i64, ptr %10, align 8
%69 = call i32 @GetRow(ptr noundef %63, i64 noundef %64, i64 noundef %65, i64 noundef %66, ptr noundef %67, i64 noundef %68)
%70 = load ptr, ptr %16, align 8
%71 = load i64, ptr %10, align 8
%72 = load ptr, ptr %17, align 8
%73 = load ptr, ptr %13, align 8
%74 = load i64, ptr %14, align 8
%75 = load i16, ptr %15, align 2
%76 = call i32 @Expand_1D(ptr noundef %70, i64 noundef %71, ptr noundef %72, ptr noundef %73, i64 noundef %74, i16 noundef signext %75)
%77 = load ptr, ptr %12, align 8
%78 = load i64, ptr %20, align 8
%79 = load i64, ptr %21, align 8
%80 = load i64, ptr %19, align 8
%81 = load ptr, ptr %17, align 8
%82 = load i64, ptr %20, align 8
%83 = call i32 @PutRow(ptr noundef %77, i64 noundef %78, i64 noundef %79, i64 noundef %80, ptr noundef %81, i64 noundef %82)
br label %84
84: ; preds = %62
%85 = load i64, ptr %19, align 8
%86 = add nsw i64 %85, 1
store i64 %86, ptr %19, align 8
%87 = load i64, ptr %19, align 8
%88 = load i64, ptr %11, align 8
%89 = icmp slt i64 %87, %88
br i1 %89, label %62, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %90
90: ; preds = %._crit_edge, %58
%91 = load ptr, ptr %16, align 8
%92 = call i32 @free(ptr noundef %91)
%93 = load ptr, ptr %17, align 8
%94 = call i32 @free(ptr noundef %93)
br label %103
95: ; preds = %35
%96 = load ptr, ptr %12, align 8
%97 = load ptr, ptr %9, align 8
%98 = load i64, ptr %10, align 8
%99 = load i64, ptr %11, align 8
%100 = mul nsw i64 %98, %99
%101 = mul nsw i64 %100, 4
%102 = call i32 @memcpy(ptr noundef %96, ptr noundef %97, i64 noundef %101)
br label %103
103: ; preds = %95, %90
%104 = load i64, ptr %11, align 8
%105 = icmp sgt i64 %104, 1
br i1 %105, label %106, label %163
106: ; preds = %103
%107 = load i64, ptr %11, align 8
%108 = mul nsw i64 %107, 8
%109 = call i64 @malloc(i64 noundef %108)
%110 = inttoptr i64 %109 to ptr
store ptr %110, ptr %16, align 8
%111 = load ptr, ptr %16, align 8
%112 = icmp eq ptr %111, null
br i1 %112, label %113, label %115
113: ; preds = %106
%114 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %164
115: ; preds = %106
%116 = load i64, ptr %21, align 8
%117 = mul nsw i64 %116, 8
%118 = call i64 @malloc(i64 noundef %117)
%119 = inttoptr i64 %118 to ptr
store ptr %119, ptr %17, align 8
%120 = load ptr, ptr %17, align 8
%121 = icmp eq ptr %120, null
br i1 %121, label %122, label %126
122: ; preds = %115
%123 = load ptr, ptr %16, align 8
%124 = call i32 @free(ptr noundef %123)
%125 = call i32 @MessageDisplay(ptr noundef @.str)
store i32 1, ptr %8, align 4
br label %164
126: ; preds = %115
store i64 0, ptr %18, align 8
%127 = load i64, ptr %18, align 8
%128 = load i64, ptr %20, align 8
%129 = icmp slt i64 %127, %128
br i1 %129, label %.lr.ph2, label %158
.lr.ph2: ; preds = %126
br label %130
130: ; preds = %.lr.ph2, %152
%131 = load ptr, ptr %12, align 8
%132 = load i64, ptr %20, align 8
%133 = load i64, ptr %21, align 8
%134 = load i64, ptr %18, align 8
%135 = load ptr, ptr %16, align 8
%136 = load i64, ptr %11, align 8
%137 = call i32 @GetColumn(ptr noundef %131, i64 noundef %132, i64 noundef %133, i64 noundef %134, ptr noundef %135, i64 noundef %136)
%138 = load ptr, ptr %16, align 8
%139 = load i64, ptr %11, align 8
%140 = load ptr, ptr %17, align 8
%141 = load ptr, ptr %13, align 8
%142 = load i64, ptr %14, align 8
%143 = load i16, ptr %15, align 2
%144 = call i32 @Expand_1D(ptr noundef %138, i64 noundef %139, ptr noundef %140, ptr noundef %141, i64 noundef %142, i16 noundef signext %143)
%145 = load ptr, ptr %12, align 8
%146 = load i64, ptr %20, align 8
%147 = load i64, ptr %21, align 8
%148 = load i64, ptr %18, align 8
%149 = load ptr, ptr %17, align 8
%150 = load i64, ptr %21, align 8
%151 = call i32 @PutColumn(ptr noundef %145, i64 noundef %146, i64 noundef %147, i64 noundef %148, ptr noundef %149, i64 noundef %150)
br label %152
152: ; preds = %130
%153 = load i64, ptr %18, align 8
%154 = add nsw i64 %153, 1
store i64 %154, ptr %18, align 8
%155 = load i64, ptr %18, align 8
%156 = load i64, ptr %20, align 8
%157 = icmp slt i64 %155, %156
br i1 %157, label %130, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %152
br label %158
158: ; preds = %._crit_edge3, %126
%159 = load ptr, ptr %16, align 8
%160 = call i32 @free(ptr noundef %159)
%161 = load ptr, ptr %17, align 8
%162 = call i32 @free(ptr noundef %161)
br label %163
163: ; preds = %158, %103
store i32 1, ptr %8, align 4
br label %164
164: ; preds = %163, %122, %113, %54, %45
%165 = load i32, ptr %8, align 4
ret i32 %165
}
declare i64 @malloc(i64 noundef) #1
declare i32 @MessageDisplay(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @GetRow(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @Expand_1D(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i16 noundef signext) #1
declare i32 @PutRow(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @GetColumn(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @PutColumn(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjoh40js9.c'
source_filename = "/tmp/tmpjoh40js9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plot '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plot_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [250 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [250 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [250 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @gnuplot(ptr noundef %7)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gnuplot(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjoh40js9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plot '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plot_data(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [250 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [250 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [250 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @gnuplot(ptr noundef %7)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gnuplot(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3dgh2ysn.c'
source_filename = "/tmp/tmp3dgh2ysn.c"
target datalayout = "e-m:e-p270: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/tmp3dgh2ysn.c"
target datalayout = "e-m:e-p270: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/tmpkm05md3y.c'
source_filename = "/tmp/tmpkm05md3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt06() #0 {
%1 = call i32 @SendInterrupt(i32 noundef 86, i32 noundef 4, i32 noundef 32768, i32 noundef 4194304)
ret void
}
declare i32 @SendInterrupt(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/tmpkm05md3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt06() #0 {
%1 = call i32 @SendInterrupt(i32 noundef 86, i32 noundef 4, i32 noundef 32768, i32 noundef 4194304)
ret void
}
declare i32 @SendInterrupt(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/tmpcru4ww74.c'
source_filename = "/tmp/tmpcru4ww74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/bin/bash -i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @setuid(i32 noundef 0)
%2 = call i32 @setgid(i32 noundef 0)
%3 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @setuid(i32 noundef) #1
declare i32 @setgid(i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcru4ww74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/bin/bash -i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @setuid(i32 noundef 0)
%2 = call i32 @setgid(i32 noundef 0)
%3 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @setuid(i32 noundef) #1
declare i32 @setgid(i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppd9hnmlk.c'
source_filename = "/tmp/tmppd9hnmlk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RTM_GETLINK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @NetlinkSendGetLink(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @RTM_GETLINK, align 4
%8 = call i32 @SendRequest(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @SendRequest(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/tmppd9hnmlk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RTM_GETLINK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @NetlinkSendGetLink(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @RTM_GETLINK, align 4
%8 = call i32 @SendRequest(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @SendRequest(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/tmphbiyzspn.c'
source_filename = "/tmp/tmphbiyzspn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @patmat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %5, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 1, ptr %3, align 4
br label %106
17: ; preds = %11, %2
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %3, align 4
br label %106
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 42
br i1 %27, label %28, label %76
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
store i32 1, ptr %3, align 4
br label %106
35: ; preds = %28
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %72, %35
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %4, align 8
%39 = call i32 @strlen(ptr noundef %38)
%40 = icmp sle i32 %37, %39
br i1 %40, label %41, label %75
41: ; preds = %36
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %47, %51
br i1 %52, label %59, label %53
53: ; preds = %41
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 1
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 63
br i1 %58, label %59, label %71
59: ; preds = %53, %41
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = getelementptr inbounds i8, ptr %63, i64 1
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
%67 = call i32 @patmat(ptr noundef %64, ptr noundef %66)
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %70
69: ; preds = %59
store i32 1, ptr %3, align 4
br label %106
70: ; preds = %59
br label %71
71: ; preds = %70, %53
br label %72
72: ; preds = %71
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %36, !llvm.loop !6
75: ; preds = %36
br label %105
76: ; preds = %23
%77 = load ptr, ptr %4, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %76
store i32 0, ptr %3, align 4
br label %106
82: ; preds = %76
%83 = load ptr, ptr %5, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 63
br i1 %86, label %95, label %87
87: ; preds = %82
%88 = load ptr, ptr %5, align 8
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = load ptr, ptr %4, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %90, %93
br i1 %94, label %95, label %104
95: ; preds = %87, %82
%96 = load ptr, ptr %4, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 1
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 1
%100 = call i32 @patmat(ptr noundef %97, ptr noundef %99)
%101 = icmp eq i32 %100, 1
br i1 %101, label %102, label %103
102: ; preds = %95
store i32 1, ptr %3, align 4
br label %106
103: ; preds = %95
br label %104
104: ; preds = %103, %87
br label %105
105: ; preds = %104, %75
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %105, %102, %81, %69, %34, %22, %16
%107 = load i32, ptr %3, align 4
ret i32 %107
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbiyzspn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @patmat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %5, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 1, ptr %3, align 4
br label %109
17: ; preds = %11, %2
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %3, align 4
br label %109
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 42
br i1 %27, label %28, label %79
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
store i32 1, ptr %3, align 4
br label %109
35: ; preds = %28
store i32 0, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = icmp sle i32 %36, %38
br i1 %39, label %.lr.ph, label %78
.lr.ph: ; preds = %35
br label %40
40: ; preds = %.lr.ph, %71
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 1
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %46, %50
br i1 %51, label %58, label %52
52: ; preds = %40
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 63
br i1 %57, label %58, label %70
58: ; preds = %52, %40
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = getelementptr inbounds i8, ptr %62, i64 1
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
%66 = call i32 @patmat(ptr noundef %63, ptr noundef %65)
%67 = icmp eq i32 %66, 1
br i1 %67, label %68, label %69
68: ; preds = %58
store i32 1, ptr %3, align 4
br label %109
69: ; preds = %58
br label %70
70: ; preds = %69, %52
br label %71
71: ; preds = %70
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = load ptr, ptr %4, align 8
%76 = call i32 @strlen(ptr noundef %75)
%77 = icmp sle i32 %74, %76
br i1 %77, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %78
78: ; preds = %._crit_edge, %35
br label %108
79: ; preds = %23
%80 = load ptr, ptr %4, align 8
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %79
store i32 0, ptr %3, align 4
br label %109
85: ; preds = %79
%86 = load ptr, ptr %5, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 63
br i1 %89, label %98, label %90
90: ; preds = %85
%91 = load ptr, ptr %5, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = load ptr, ptr %4, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %93, %96
br i1 %97, label %98, label %107
98: ; preds = %90, %85
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds i8, ptr %99, i64 1
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 1
%103 = call i32 @patmat(ptr noundef %100, ptr noundef %102)
%104 = icmp eq i32 %103, 1
br i1 %104, label %105, label %106
105: ; preds = %98
store i32 1, ptr %3, align 4
br label %109
106: ; preds = %98
br label %107
107: ; preds = %106, %90
br label %108
108: ; preds = %107, %78
store i32 0, ptr %3, align 4
br label %109
109: ; preds = %108, %105, %84, %68, %34, %22, %16
%110 = load i32, ptr %3, align 4
ret i32 %110
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptpx989nz.c'
source_filename = "/tmp/tmptpx989nz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitpid(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 (...) @pthread_testcancel()
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @__libc_waitpid(i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @pthread_testcancel(...) #1
declare i32 @__libc_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/tmptpx989nz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitpid(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
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = call i32 (...) @pthread_testcancel()
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @__libc_waitpid(i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @pthread_testcancel(...) #1
declare i32 @__libc_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/tmpmfp0_5lu.c'
source_filename = "/tmp/tmpmfp0_5lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_string2(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 i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 1
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %38
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 44
br i1 %31, label %32, label %38
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %32, %23, %2
%39 = load ptr, ptr %5, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmfp0_5lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_string2(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 i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 1
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %38
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %4, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 44
br i1 %31, label %32, label %38
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
store i8 0, ptr %37, align 1
br label %38
38: ; preds = %32, %23, %2
%39 = load ptr, ptr %5, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphug9xalb.c'
source_filename = "/tmp/tmphug9xalb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %33, %2
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = call signext i8 @toupper(i8 noundef signext %10)
store i8 %11, ptr %6, align 1
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = call signext i8 @toupper(i8 noundef signext %13)
store i8 %14, ptr %7, align 1
%15 = load i8, ptr %6, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr %7, align 1
%18 = sext i8 %17 to i32
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %21
20: ; preds = %8
store i32 -1, ptr %3, align 4
br label %38
21: ; preds = %8
%22 = load i8, ptr %6, align 1
%23 = sext i8 %22 to i32
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp sgt i32 %23, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i32 1, ptr %3, align 4
br label %38
28: ; preds = %21
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %28
store i32 0, ptr %3, align 4
br label %38
33: ; preds = %28
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %5, align 8
br label %8
38: ; preds = %32, %27, %20
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphug9xalb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @toupper(i8 noundef signext %9)
store i8 %10, ptr %6, align 1
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = call signext i8 @toupper(i8 noundef signext %12)
store i8 %13, ptr %7, align 1
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %7, align 1
%17 = sext i8 %16 to i32
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %.lr.ph
.lr.ph: ; preds = %2
br label %20
._crit_edge: ; preds = %32
br label %19
19: ; preds = %._crit_edge, %2
store i32 -1, ptr %3, align 4
br label %48
20: ; preds = %.lr.ph, %32
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr %7, align 1
%24 = sext i8 %23 to i32
%25 = icmp sgt i32 %22, %24
br i1 %25, label %26, label %27
26: ; preds = %20
store i32 1, ptr %3, align 4
br label %48
27: ; preds = %20
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 0, ptr %3, align 4
br label %48
32: ; preds = %27
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i8, ptr %37, align 1
%39 = call signext i8 @toupper(i8 noundef signext %38)
store i8 %39, ptr %6, align 1
%40 = load ptr, ptr %5, align 8
%41 = load i8, ptr %40, align 1
%42 = call signext i8 @toupper(i8 noundef signext %41)
store i8 %42, ptr %7, align 1
%43 = load i8, ptr %6, align 1
%44 = sext i8 %43 to i32
%45 = load i8, ptr %7, align 1
%46 = sext i8 %45 to i32
%47 = icmp slt i32 %44, %46
br i1 %47, label %._crit_edge, label %20
48: ; preds = %31, %26, %19
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmr547exn.c'
source_filename = "/tmp/tmpmr547exn.c"
target datalayout = "e-m:e-p270: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/tmpmr547exn.c"
target datalayout = "e-m:e-p270: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/tmphqe3m4f3.c'
source_filename = "/tmp/tmphqe3m4f3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prec_calc(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %39
14: ; preds = %3
store i32 -1, ptr %8, align 4
br label %15
15: ; preds = %31, %14
%16 = load i32, ptr %8, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
%23 = icmp slt i32 %17, %22
br i1 %23, label %24, label %33
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @ft_putchar(i8 noundef signext 32)
br label %31
29: ; preds = %24
%30 = call i32 @ft_putchar(i8 noundef signext 48)
br label %31
31: ; preds = %29, %27
%32 = phi i32 [ %28, %27 ], [ %30, %29 ]
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 1
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %36, %37
store i32 %38, ptr %4, align 4
br label %40
39: ; preds = %3
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %39, %33
%41 = load i32, ptr %4, align 4
ret i32 %41
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphqe3m4f3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prec_calc(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %46
14: ; preds = %3
store i32 -1, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 1
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
%22 = icmp slt i32 %16, %21
br i1 %22, label %.lr.ph, label %40
.lr.ph: ; preds = %14
br label %23
23: ; preds = %.lr.ph, %30
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @ft_putchar(i8 noundef signext 32)
br label %30
28: ; preds = %23
%29 = call i32 @ft_putchar(i8 noundef signext 48)
br label %30
30: ; preds = %28, %26
%31 = phi i32 [ %27, %26 ], [ %29, %28 ]
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 1
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %36, %37
%39 = icmp slt i32 %33, %38
br i1 %39, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %14
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 1
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %5, align 4
%45 = sub nsw i32 %43, %44
store i32 %45, ptr %4, align 4
br label %47
46: ; preds = %3
store i32 0, ptr %4, align 4
br label %47
47: ; preds = %46, %40
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwgtj9xtg.c'
source_filename = "/tmp/tmpwgtj9xtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_vi(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 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwgtj9xtg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_vi(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 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpljpqgh46.c'
source_filename = "/tmp/tmpljpqgh46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_map(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load double, ptr %7, align 8
%12 = fadd double %11, 5.000000e-01
%13 = load double, ptr %5, align 8
%14 = load double, ptr %6, align 8
%15 = fdiv double %13, %14
%16 = call double @llvm.fmuladd.f64(double %12, double %15, double -5.000000e-01)
store double %16, ptr %9, align 8
%17 = load double, ptr %9, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %20
19: ; preds = %4
br label %22
20: ; preds = %4
%21 = load double, ptr %9, align 8
br label %22
22: ; preds = %20, %19
%23 = phi double [ -1.000000e+00, %19 ], [ %21, %20 ]
store double %23, ptr %10, align 8
%24 = load double, ptr %9, align 8
%25 = load double, ptr %10, align 8
%26 = fsub double %24, %25
%27 = fptrunc double %26 to float
%28 = load ptr, ptr %8, align 8
store float %27, ptr %28, align 4
%29 = load double, ptr %10, align 8
ret double %29
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljpqgh46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_map(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load double, ptr %7, align 8
%12 = fadd double %11, 5.000000e-01
%13 = load double, ptr %5, align 8
%14 = load double, ptr %6, align 8
%15 = fdiv double %13, %14
%16 = call double @llvm.fmuladd.f64(double %12, double %15, double -5.000000e-01)
store double %16, ptr %9, align 8
%17 = load double, ptr %9, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %20
19: ; preds = %4
br label %22
20: ; preds = %4
%21 = load double, ptr %9, align 8
br label %22
22: ; preds = %20, %19
%23 = phi double [ -1.000000e+00, %19 ], [ %21, %20 ]
store double %23, ptr %10, align 8
%24 = load double, ptr %9, align 8
%25 = load double, ptr %10, align 8
%26 = fsub double %24, %25
%27 = fptrunc double %26 to float
%28 = load ptr, ptr %8, align 8
store float %27, ptr %28, align 4
%29 = load double, ptr %10, align 8
ret double %29
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjycttnco.c'
source_filename = "/tmp/tmpjycttnco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %37, %0
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %40
12: ; preds = %8
store i32 1, ptr %5, align 4
br label %13
13: ; preds = %32, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %35
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %18, %19
%21 = icmp eq i32 %20, 6
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %31
24: ; preds = %17
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %26, %27
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %24, %22
br label %32
32: ; preds = %31
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %13, !llvm.loop !6
35: ; preds = %13
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %8, !llvm.loop !8
40: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjycttnco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph2, label %44
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %38
store i32 1, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %36
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %30
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
%19 = icmp eq i32 %18, 6
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %29
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %22, %20
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %11
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %38
38: ; preds = %36
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sle i32 %41, %42
br i1 %43, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7fmtecou.c'
source_filename = "/tmp/tmp7fmtecou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"original\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"pointer++\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"*pointer++\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"(*pointer)++\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
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @display(ptr noundef %7, i32 noundef 1, ptr noundef @.str)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @display(ptr noundef %11, i32 noundef 2, ptr noundef @.str.1)
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load i32, ptr %13, align 4
%16 = load ptr, ptr %3, align 8
%17 = call i32 @display(ptr noundef %16, i32 noundef 3, ptr noundef @.str.2)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %18, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 4
%21 = load ptr, ptr %3, align 8
%22 = call i32 @display(ptr noundef %21, i32 noundef 3, ptr noundef @.str.3)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @display(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fmtecou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"original\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"pointer++\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"*pointer++\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"(*pointer)++\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
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @display(ptr noundef %7, i32 noundef 1, ptr noundef @.str)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @display(ptr noundef %11, i32 noundef 2, ptr noundef @.str.1)
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load i32, ptr %13, align 4
%16 = load ptr, ptr %3, align 8
%17 = call i32 @display(ptr noundef %16, i32 noundef 3, ptr noundef @.str.2)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %18, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 4
%21 = load ptr, ptr %3, align 8
%22 = call i32 @display(ptr noundef %21, i32 noundef 3, ptr noundef @.str.3)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @display(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcnthqe76.c'
source_filename = "/tmp/tmpcnthqe76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slate_CreateFSNode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @mknod(ptr noundef %7, i32 noundef %8, i32 noundef %9)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
%13 = zext i1 %12 to i32
ret i32 %13
}
declare i32 @mknod(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/tmpcnthqe76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slate_CreateFSNode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @mknod(ptr noundef %7, i32 noundef %8, i32 noundef %9)
%11 = icmp ne i32 %10, 0
%12 = xor i1 %11, true
%13 = zext i1 %12 to i32
ret i32 %13
}
declare i32 @mknod(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/tmpyikfa46v.c'
source_filename = "/tmp/tmpyikfa46v.c"
target datalayout = "e-m:e-p270: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/tmpyikfa46v.c"
target datalayout = "e-m:e-p270: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/tmp72xwode_.c'
source_filename = "/tmp/tmp72xwode_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @in_cksum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i64, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %6, align 8
br label %8
8: ; preds = %11, %2
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i16, ptr %12, i32 1
store ptr %13, ptr %3, align 8
%14 = load i16, ptr %12, align 2
%15 = zext i16 %14 to i64
%16 = load i64, ptr %6, align 8
%17 = add nsw i64 %16, %15
store i64 %17, ptr %6, align 8
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 2
store i32 %19, ptr %4, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = load i32, ptr %4, align 4
%22 = xor i32 %21, 1
%23 = icmp ne i32 %22, 0
br i1 %23, label %31, label %24
24: ; preds = %20
store i16 0, ptr %7, align 2
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %7, align 2
%27 = load i16, ptr %7, align 2
%28 = zext i16 %27 to i64
%29 = load i64, ptr %6, align 8
%30 = add nsw i64 %29, %28
store i64 %30, ptr %6, align 8
br label %31
31: ; preds = %24, %20
%32 = load i64, ptr %6, align 8
%33 = ashr i64 %32, 16
%34 = load i64, ptr %6, align 8
%35 = and i64 %34, 65535
%36 = add nsw i64 %33, %35
store i64 %36, ptr %6, align 8
%37 = load i64, ptr %6, align 8
%38 = ashr i64 %37, 16
%39 = load i64, ptr %6, align 8
%40 = add nsw i64 %39, %38
store i64 %40, ptr %6, align 8
%41 = load i64, ptr %6, align 8
%42 = xor i64 %41, -1
%43 = trunc i64 %42 to i16
store i16 %43, ptr %5, align 2
%44 = load i16, ptr %5, align 2
ret i16 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp72xwode_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @in_cksum(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i16, align 2
%6 = alloca i64, align 8
%7 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 1
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i16, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load i16, ptr %11, align 2
%14 = zext i16 %13 to i64
%15 = load i64, ptr %6, align 8
%16 = add nsw i64 %15, %14
store i64 %16, ptr %6, align 8
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 2
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp sgt i32 %19, 1
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %4, align 4
%23 = xor i32 %22, 1
%24 = icmp ne i32 %23, 0
br i1 %24, label %32, label %25
25: ; preds = %21
store i16 0, ptr %7, align 2
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %7, align 2
%28 = load i16, ptr %7, align 2
%29 = zext i16 %28 to i64
%30 = load i64, ptr %6, align 8
%31 = add nsw i64 %30, %29
store i64 %31, ptr %6, align 8
br label %32
32: ; preds = %25, %21
%33 = load i64, ptr %6, align 8
%34 = ashr i64 %33, 16
%35 = load i64, ptr %6, align 8
%36 = and i64 %35, 65535
%37 = add nsw i64 %34, %36
store i64 %37, ptr %6, align 8
%38 = load i64, ptr %6, align 8
%39 = ashr i64 %38, 16
%40 = load i64, ptr %6, align 8
%41 = add nsw i64 %40, %39
store i64 %41, ptr %6, align 8
%42 = load i64, ptr %6, align 8
%43 = xor i64 %42, -1
%44 = trunc i64 %43 to i16
store i16 %44, ptr %5, align 2
%45 = load i16, ptr %5, align 2
ret i16 %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpvxzxvkgp.c'
source_filename = "/tmp/tmpvxzxvkgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ubicacionUnicaEnFila(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 i32, align 4
%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
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %42, %3
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 9
br i1 %13, label %14, label %45
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [9 x i32], ptr %15, i64 %17
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [9 x i32], ptr %18, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %41
24: ; preds = %14
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = call i64 @candidatoCabeEnColumna(ptr noundef %25, i32 noundef %26, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %24
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = call i64 @candidatoCabeEnCaja(ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %30
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %8, align 4
store i32 %40, ptr %10, align 4
br label %41
41: ; preds = %37, %30, %24, %14
br label %42
42: ; preds = %41
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %11, !llvm.loop !6
45: ; preds = %11
%46 = load i32, ptr %9, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %48, label %57
48: ; preds = %45
%49 = load i32, ptr %7, align 4
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [9 x i32], ptr %50, i64 %52
%54 = load i32, ptr %10, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [9 x i32], ptr %53, i64 0, i64 %55
store i32 %49, ptr %56, align 4
store i32 1, ptr %4, align 4
br label %58
57: ; preds = %45
store i32 0, ptr %4, align 4
br label %58
58: ; preds = %57, %48
%59 = load i32, ptr %4, align 4
ret i32 %59
}
declare i64 @candidatoCabeEnColumna(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @candidatoCabeEnCaja(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvxzxvkgp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ubicacionUnicaEnFila(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 i32, align 4
%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
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 9
br i1 %12, label %.lr.ph, label %46
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %41
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [9 x i32], ptr %14, i64 %16
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %17, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = call i64 @candidatoCabeEnColumna(ptr noundef %24, i32 noundef %25, i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %23
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = call i64 @candidatoCabeEnCaja(ptr noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %36, %29, %23, %13
br label %41
41: ; preds = %40
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 9
br i1 %45, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %3
%47 = load i32, ptr %9, align 4
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %58
49: ; preds = %46
%50 = load i32, ptr %7, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [9 x i32], ptr %51, i64 %53
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [9 x i32], ptr %54, i64 0, i64 %56
store i32 %50, ptr %57, align 4
store i32 1, ptr %4, align 4
br label %59
58: ; preds = %46
store i32 0, ptr %4, align 4
br label %59
59: ; preds = %58, %49
%60 = load i32, ptr %4, align 4
ret i32 %60
}
declare i64 @candidatoCabeEnColumna(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @candidatoCabeEnCaja(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi19k8uqy.c'
source_filename = "/tmp/tmpi19k8uqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @msim_printEmptyBox() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi19k8uqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @msim_printEmptyBox() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0c73em79.c'
source_filename = "/tmp/tmp0c73em79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @grab_file(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 16384, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @STDIN_FILENO, align 4
%16 = call i32 @dup(i32 noundef %15)
store i32 %16, ptr %8, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @O_RDONLY, align 4
%20 = call i32 @open(ptr noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %17, %14
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %21
store ptr null, ptr %3, align 8
br label %89
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = add i32 %26, 1
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %9, align 8
%29 = load ptr, ptr %9, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %32, label %31
31: ; preds = %25
br label %84
32: ; preds = %25
%33 = load ptr, ptr %5, align 8
store i64 0, ptr %33, align 8
br label %34
34: ; preds = %71, %32
%35 = load i32, ptr %8, align 4
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr %37, align 8
%39 = getelementptr i8, ptr %36, i64 %38
%40 = load i32, ptr %6, align 4
%41 = zext i32 %40 to i64
%42 = load ptr, ptr %5, align 8
%43 = load i64, ptr %42, align 8
%44 = sub i64 %41, %43
%45 = trunc i64 %44 to i32
%46 = call i32 @read(i32 noundef %35, ptr noundef %39, i32 noundef %45)
store i32 %46, ptr %7, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %72
48: ; preds = %34
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = load ptr, ptr %5, align 8
%52 = load i64, ptr %51, align 8
%53 = add i64 %52, %50
store i64 %53, ptr %51, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i64, ptr %54, align 8
%56 = load i32, ptr %6, align 4
%57 = zext i32 %56 to i64
%58 = icmp eq i64 %55, %57
br i1 %58, label %59, label %71
59: ; preds = %48
%60 = load i32, ptr %6, align 4
%61 = mul i32 %60, 2
store i32 %61, ptr %6, align 4
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %6, align 4
%64 = add i32 %63, 1
%65 = call ptr @realloc(ptr noundef %62, i32 noundef %64)
store ptr %65, ptr %10, align 8
%66 = load ptr, ptr %10, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %69, label %68
68: ; preds = %59
br label %84
69: ; preds = %59
%70 = load ptr, ptr %10, align 8
store ptr %70, ptr %9, align 8
br label %71
71: ; preds = %69, %48
br label %34, !llvm.loop !6
72: ; preds = %34
%73 = load i32, ptr %7, align 4
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %72
br label %84
76: ; preds = %72
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %5, align 8
%79 = load i64, ptr %78, align 8
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 0, ptr %80, align 1
%81 = load i32, ptr %8, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = load ptr, ptr %9, align 8
store ptr %83, ptr %3, align 8
br label %89
84: ; preds = %75, %68, %31
%85 = load ptr, ptr %9, align 8
%86 = call i32 @free(ptr noundef %85)
%87 = load i32, ptr %8, align 4
%88 = call i32 @close(i32 noundef %87)
store ptr null, ptr %3, align 8
br label %89
89: ; preds = %84, %76, %24
%90 = load ptr, ptr %3, align 8
ret ptr %90
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0c73em79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @grab_file(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 16384, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @STDIN_FILENO, align 4
%16 = call i32 @dup(i32 noundef %15)
store i32 %16, ptr %8, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr @O_RDONLY, align 4
%20 = call i32 @open(ptr noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %8, align 4
br label %21
21: ; preds = %17, %14
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %21
store ptr null, ptr %3, align 8
br label %101
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = add i32 %26, 1
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %9, align 8
%29 = load ptr, ptr %9, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %32, label %31
31: ; preds = %25
br label %96
32: ; preds = %25
%33 = load ptr, ptr %5, align 8
store i64 0, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %9, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %36, align 8
%38 = getelementptr i8, ptr %35, i64 %37
%39 = load i32, ptr %6, align 4
%40 = zext i32 %39 to i64
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %41, align 8
%43 = sub i64 %40, %42
%44 = trunc i64 %43 to i32
%45 = call i32 @read(i32 noundef %34, ptr noundef %38, i32 noundef %44)
store i32 %45, ptr %7, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %.lr.ph, label %84
.lr.ph: ; preds = %32
br label %47
47: ; preds = %.lr.ph, %70
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr %50, align 8
%52 = add i64 %51, %49
store i64 %52, ptr %50, align 8
%53 = load ptr, ptr %5, align 8
%54 = load i64, ptr %53, align 8
%55 = load i32, ptr %6, align 4
%56 = zext i32 %55 to i64
%57 = icmp eq i64 %54, %56
br i1 %57, label %58, label %70
58: ; preds = %47
%59 = load i32, ptr %6, align 4
%60 = mul i32 %59, 2
store i32 %60, ptr %6, align 4
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %6, align 4
%63 = add i32 %62, 1
%64 = call ptr @realloc(ptr noundef %61, i32 noundef %63)
store ptr %64, ptr %10, align 8
%65 = load ptr, ptr %10, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %68, label %67
67: ; preds = %58
br label %96
68: ; preds = %58
%69 = load ptr, ptr %10, align 8
store ptr %69, ptr %9, align 8
br label %70
70: ; preds = %68, %47
%71 = load i32, ptr %8, align 4
%72 = load ptr, ptr %9, align 8
%73 = load ptr, ptr %5, align 8
%74 = load i64, ptr %73, align 8
%75 = getelementptr i8, ptr %72, i64 %74
%76 = load i32, ptr %6, align 4
%77 = zext i32 %76 to i64
%78 = load ptr, ptr %5, align 8
%79 = load i64, ptr %78, align 8
%80 = sub i64 %77, %79
%81 = trunc i64 %80 to i32
%82 = call i32 @read(i32 noundef %71, ptr noundef %75, i32 noundef %81)
store i32 %82, ptr %7, align 4
%83 = icmp sgt i32 %82, 0
br i1 %83, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %84
84: ; preds = %._crit_edge, %32
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %84
br label %96
88: ; preds = %84
%89 = load ptr, ptr %9, align 8
%90 = load ptr, ptr %5, align 8
%91 = load i64, ptr %90, align 8
%92 = getelementptr inbounds i8, ptr %89, i64 %91
store i8 0, ptr %92, align 1
%93 = load i32, ptr %8, align 4
%94 = call i32 @close(i32 noundef %93)
%95 = load ptr, ptr %9, align 8
store ptr %95, ptr %3, align 8
br label %101
96: ; preds = %87, %67, %31
%97 = load ptr, ptr %9, align 8
%98 = call i32 @free(ptr noundef %97)
%99 = load i32, ptr %8, align 4
%100 = call i32 @close(i32 noundef %99)
store ptr null, ptr %3, align 8
br label %101
101: ; preds = %96, %88, %24
%102 = load ptr, ptr %3, align 8
ret ptr %102
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe3b6qlrh.c'
source_filename = "/tmp/tmpe3b6qlrh.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr }
@.str = private unnamed_addr constant [11 x i8] c"Solaris %s\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"unknown Solaris\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_os(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca %struct.utsname, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = call i32 @uname(ptr noundef %5)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds %struct.utsname, ptr %5, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %15, ptr noundef @.str.1, i64 noundef %16)
br label %18
18: ; preds = %14, %8
ret void
}
declare i32 @uname(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe3b6qlrh.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr }
@.str = private unnamed_addr constant [11 x i8] c"Solaris %s\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"unknown Solaris\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_os(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca %struct.utsname, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = call i32 @uname(ptr noundef %5)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds %struct.utsname, ptr %5, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @snprintf(ptr noundef %9, i64 noundef %10, ptr noundef @.str, ptr noundef %12)
br label %18
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %4, align 8
%17 = call i32 @strncpy(ptr noundef %15, ptr noundef @.str.1, i64 noundef %16)
br label %18
18: ; preds = %14, %8
ret void
}
declare i32 @uname(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphracw5ru.c'
source_filename = "/tmp/tmphracw5ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %10, %2
store i8 0, ptr %3, align 1
br label %36
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
store i64 %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %14
store i8 0, ptr %3, align 1
br label %36
23: ; preds = %14
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i64, ptr %7, align 8
%28 = sub i64 0, %27
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %7, align 8
%32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i64 noundef %31)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = trunc i32 %34 to i8
store i8 %35, ptr %3, align 1
br label %36
36: ; preds = %23, %22, %13
%37 = load i8, ptr %3, align 1
ret i8 %37
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphracw5ru.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @ends_with(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %10, %2
store i8 0, ptr %3, align 1
br label %36
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
store i64 %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %14
store i8 0, ptr %3, align 1
br label %36
23: ; preds = %14
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i64, ptr %7, align 8
%28 = sub i64 0, %27
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %7, align 8
%32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i64 noundef %31)
%33 = icmp eq i64 %32, 0
%34 = zext i1 %33 to i32
%35 = trunc i32 %34 to i8
store i8 %35, ptr %3, align 1
br label %36
36: ; preds = %23, %22, %13
%37 = load i8, ptr %3, align 1
ret i8 %37
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdhg3k92z.c'
source_filename = "/tmp/tmpdhg3k92z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hex_decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sdiv i32 %9, 2
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 1
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %21)
store i32 0, ptr %4, align 4
br label %23
23: ; preds = %39, %1
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %42
28: ; preds = %23
%29 = load ptr, ptr %2, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %5)
%31 = load i32, ptr %5, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 2
store ptr %38, ptr %2, align 8
br label %39
39: ; preds = %28
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %23, !llvm.loop !6
42: ; preds = %23
%43 = load ptr, ptr %3, align 8
ret ptr %43
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdhg3k92z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hex_decode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sdiv i32 %9, 2
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 1
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 1
%21 = trunc i64 %20 to i32
%22 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %21)
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 1
%26 = icmp slt i32 %23, %25
br i1 %26, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %27
27: ; preds = %.lr.ph, %38
%28 = load ptr, ptr %2, align 8
%29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str, ptr noundef %5)
%30 = load i32, ptr %5, align 4
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
store i8 %31, ptr %35, align 1
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 2
store ptr %37, ptr %2, align 8
br label %38
38: ; preds = %27
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %42, 1
%44 = icmp slt i32 %41, %43
br i1 %44, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %1
%46 = load ptr, ptr %3, align 8
ret ptr %46
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxrzuqfwb.c'
source_filename = "/tmp/tmpxrzuqfwb.c"
target datalayout = "e-m:e-p270: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/tmpxrzuqfwb.c"
target datalayout = "e-m:e-p270: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/tmp1ijrnyun.c'
source_filename = "/tmp/tmp1ijrnyun.c"
target datalayout = "e-m:e-p270: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/tmp1ijrnyun.c"
target datalayout = "e-m:e-p270: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/tmpo5ta6lky.c'
source_filename = "/tmp/tmpo5ta6lky.c"
target datalayout = "e-m:e-p270: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/tmpo5ta6lky.c"
target datalayout = "e-m:e-p270: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/tmpkif4v2uw.c'
source_filename = "/tmp/tmpkif4v2uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_Item(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/tmpkif4v2uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_Item(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/tmpvp1orygl.c'
source_filename = "/tmp/tmpvp1orygl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [98 x i8] c"Hello from child, will be zombie soon... NEED BRAINS!, MUST EAT BRAINS!... UH I MEAN CPU CYCLES!\0A\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"Error when creating chiled process, good riddance, heard the last one was a zombie\0A\00", align 1
@.str.2 = private unnamed_addr constant [89 x i8] c"Hello from parent, my child PID is %i, it has been asking for a lot of brains lately...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @makeZombie() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fork()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @_exit(i32 noundef 0) #3
unreachable
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %11
br label %21
21: ; preds = %20
ret void
}
declare i32 @fork(...) #1
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/tmpvp1orygl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [98 x i8] c"Hello from child, will be zombie soon... NEED BRAINS!, MUST EAT BRAINS!... UH I MEAN CPU CYCLES!\0A\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"Error when creating chiled process, good riddance, heard the last one was a zombie\0A\00", align 1
@.str.2 = private unnamed_addr constant [89 x i8] c"Hello from parent, my child PID is %i, it has been asking for a lot of brains lately...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @makeZombie() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fork()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @_exit(i32 noundef 0) #3
unreachable
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
13: ; preds = %8
%14 = load i32, ptr %1, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %11
br label %21
21: ; preds = %20
ret void
}
declare i32 @fork(...) #1
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/tmpgf_sjf00.c'
source_filename = "/tmp/tmpgf_sjf00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d2i_ECPKParameters = dso_local global i64 0, align 8
@PEM_STRING_ECPARAMETERS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_ECPKParameters(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr @d2i_ECPKParameters, align 8
%10 = inttoptr i64 %9 to ptr
%11 = load i32, ptr @PEM_STRING_ECPARAMETERS, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @PEM_ASN1_read(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret ptr %16
}
declare ptr @PEM_ASN1_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgf_sjf00.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d2i_ECPKParameters = dso_local global i64 0, align 8
@PEM_STRING_ECPARAMETERS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_ECPKParameters(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr @d2i_ECPKParameters, align 8
%10 = inttoptr i64 %9 to ptr
%11 = load i32, ptr @PEM_STRING_ECPARAMETERS, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @PEM_ASN1_read(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret ptr %16
}
declare ptr @PEM_ASN1_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptfa7o6oh.c'
source_filename = "/tmp/tmptfa7o6oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"[TEST] calloc_01 ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"passed\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_02 ...\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_03 ...\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_04 ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_05 ...\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_06 ...\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_07 ...\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_08 ...\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_09 ...\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_10 ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_calloc() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
br label %3
3: ; preds = %0
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
br label %8
8: ; preds = %3
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %19, %8
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 16
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = load ptr, ptr %1, align 8
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 122, ptr %18, align 1
br label %19
19: ; preds = %14
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %11, !llvm.loop !6
22: ; preds = %11
%23 = load ptr, ptr %1, align 8
%24 = call i32 @free(ptr noundef %23)
%25 = call i32 (...) @ofc_getCount()
%26 = icmp eq i32 %25, 8
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = load i32, ptr @stdout, align 4
%33 = call i32 @fflush(i32 noundef %32)
br label %34
34: ; preds = %29
br label %35
35: ; preds = %34
%36 = load i32, ptr @stdout, align 4
%37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.2)
%38 = load i32, ptr @stdout, align 4
%39 = call i32 @fflush(i32 noundef %38)
br label %40
40: ; preds = %35
%41 = call i64 @calloc(i32 noundef 2, i32 noundef 4)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %43
43: ; preds = %51, %40
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %44, 16
br i1 %45, label %46, label %54
46: ; preds = %43
%47 = load ptr, ptr %1, align 8
%48 = load i32, ptr %2, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 122, ptr %50, align 1
br label %51
51: ; preds = %46
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
br label %43, !llvm.loop !8
54: ; preds = %43
%55 = load ptr, ptr %1, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = call i32 (...) @ofc_getCount()
%58 = icmp eq i32 %57, 8
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
br label %61
61: ; preds = %54
%62 = load i32, ptr @stdout, align 4
%63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.1)
%64 = load i32, ptr @stdout, align 4
%65 = call i32 @fflush(i32 noundef %64)
br label %66
66: ; preds = %61
br label %67
67: ; preds = %66
%68 = load i32, ptr @stdout, align 4
%69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.3)
%70 = load i32, ptr @stdout, align 4
%71 = call i32 @fflush(i32 noundef %70)
br label %72
72: ; preds = %67
%73 = call i64 @calloc(i32 noundef 1, i32 noundef 5)
%74 = inttoptr i64 %73 to ptr
store ptr %74, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %75
75: ; preds = %83, %72
%76 = load i32, ptr %2, align 4
%77 = icmp slt i32 %76, 16
br i1 %77, label %78, label %86
78: ; preds = %75
%79 = load ptr, ptr %1, align 8
%80 = load i32, ptr %2, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 122, ptr %82, align 1
br label %83
83: ; preds = %78
%84 = load i32, ptr %2, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %2, align 4
br label %75, !llvm.loop !9
86: ; preds = %75
%87 = load ptr, ptr %1, align 8
%88 = call i32 @free(ptr noundef %87)
%89 = call i32 (...) @ofc_getCount()
%90 = icmp eq i32 %89, 11
%91 = zext i1 %90 to i32
%92 = call i32 @assert(i32 noundef %91)
br label %93
93: ; preds = %86
%94 = load i32, ptr @stdout, align 4
%95 = call i32 @fprintf(i32 noundef %94, ptr noundef @.str.1)
%96 = load i32, ptr @stdout, align 4
%97 = call i32 @fflush(i32 noundef %96)
br label %98
98: ; preds = %93
br label %99
99: ; preds = %98
%100 = load i32, ptr @stdout, align 4
%101 = call i32 @fprintf(i32 noundef %100, ptr noundef @.str.3)
%102 = load i32, ptr @stdout, align 4
%103 = call i32 @fflush(i32 noundef %102)
br label %104
104: ; preds = %99
%105 = call i64 @calloc(i32 noundef 5, i32 noundef 1)
%106 = inttoptr i64 %105 to ptr
store ptr %106, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %107
107: ; preds = %115, %104
%108 = load i32, ptr %2, align 4
%109 = icmp slt i32 %108, 16
br i1 %109, label %110, label %118
110: ; preds = %107
%111 = load ptr, ptr %1, align 8
%112 = load i32, ptr %2, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store i8 122, ptr %114, align 1
br label %115
115: ; preds = %110
%116 = load i32, ptr %2, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %2, align 4
br label %107, !llvm.loop !10
118: ; preds = %107
%119 = load ptr, ptr %1, align 8
%120 = call i32 @free(ptr noundef %119)
%121 = call i32 (...) @ofc_getCount()
%122 = icmp eq i32 %121, 8
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 noundef %123)
br label %125
125: ; preds = %118
%126 = load i32, ptr @stdout, align 4
%127 = call i32 @fprintf(i32 noundef %126, ptr noundef @.str.1)
%128 = load i32, ptr @stdout, align 4
%129 = call i32 @fflush(i32 noundef %128)
br label %130
130: ; preds = %125
br label %131
131: ; preds = %130
%132 = load i32, ptr @stdout, align 4
%133 = call i32 @fprintf(i32 noundef %132, ptr noundef @.str.4)
%134 = load i32, ptr @stdout, align 4
%135 = call i32 @fflush(i32 noundef %134)
br label %136
136: ; preds = %131
%137 = call i64 @calloc(i32 noundef 1, i32 noundef 1024)
%138 = inttoptr i64 %137 to ptr
store ptr %138, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %139
139: ; preds = %147, %136
%140 = load i32, ptr %2, align 4
%141 = icmp slt i32 %140, 1032
br i1 %141, label %142, label %150
142: ; preds = %139
%143 = load ptr, ptr %1, align 8
%144 = load i32, ptr %2, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, ptr %143, i64 %145
store i8 122, ptr %146, align 1
br label %147
147: ; preds = %142
%148 = load i32, ptr %2, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %2, align 4
br label %139, !llvm.loop !11
150: ; preds = %139
%151 = load ptr, ptr %1, align 8
%152 = call i32 @free(ptr noundef %151)
%153 = call i32 (...) @ofc_getCount()
%154 = icmp eq i32 %153, 8
%155 = zext i1 %154 to i32
%156 = call i32 @assert(i32 noundef %155)
br label %157
157: ; preds = %150
%158 = load i32, ptr @stdout, align 4
%159 = call i32 @fprintf(i32 noundef %158, ptr noundef @.str.1)
%160 = load i32, ptr @stdout, align 4
%161 = call i32 @fflush(i32 noundef %160)
br label %162
162: ; preds = %157
br label %163
163: ; preds = %162
%164 = load i32, ptr @stdout, align 4
%165 = call i32 @fprintf(i32 noundef %164, ptr noundef @.str.5)
%166 = load i32, ptr @stdout, align 4
%167 = call i32 @fflush(i32 noundef %166)
br label %168
168: ; preds = %163
%169 = call i64 @calloc(i32 noundef 1, i32 noundef 262144)
%170 = inttoptr i64 %169 to ptr
store ptr %170, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %171
171: ; preds = %179, %168
%172 = load i32, ptr %2, align 4
%173 = icmp slt i32 %172, 262152
br i1 %173, label %174, label %182
174: ; preds = %171
%175 = load ptr, ptr %1, align 8
%176 = load i32, ptr %2, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %175, i64 %177
store i8 122, ptr %178, align 1
br label %179
179: ; preds = %174
%180 = load i32, ptr %2, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %2, align 4
br label %171, !llvm.loop !12
182: ; preds = %171
%183 = load ptr, ptr %1, align 8
%184 = call i32 @free(ptr noundef %183)
%185 = call i32 (...) @ofc_getCount()
%186 = icmp eq i32 %185, 8
%187 = zext i1 %186 to i32
%188 = call i32 @assert(i32 noundef %187)
br label %189
189: ; preds = %182
%190 = load i32, ptr @stdout, align 4
%191 = call i32 @fprintf(i32 noundef %190, ptr noundef @.str.1)
%192 = load i32, ptr @stdout, align 4
%193 = call i32 @fflush(i32 noundef %192)
br label %194
194: ; preds = %189
br label %195
195: ; preds = %194
%196 = load i32, ptr @stdout, align 4
%197 = call i32 @fprintf(i32 noundef %196, ptr noundef @.str.6)
%198 = load i32, ptr @stdout, align 4
%199 = call i32 @fflush(i32 noundef %198)
br label %200
200: ; preds = %195
%201 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%202 = inttoptr i64 %201 to ptr
store ptr %202, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %203
203: ; preds = %211, %200
%204 = load i32, ptr %2, align 4
%205 = icmp slt i32 %204, 8
br i1 %205, label %206, label %214
206: ; preds = %203
%207 = load ptr, ptr %1, align 8
%208 = load i32, ptr %2, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %207, i64 %209
store i8 122, ptr %210, align 1
br label %211
211: ; preds = %206
%212 = load i32, ptr %2, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %2, align 4
br label %203, !llvm.loop !13
214: ; preds = %203
%215 = load ptr, ptr %1, align 8
%216 = call i32 @free(ptr noundef %215)
%217 = call i32 (...) @ofc_getCount()
%218 = icmp eq i32 %217, 0
%219 = zext i1 %218 to i32
%220 = call i32 @assert(i32 noundef %219)
br label %221
221: ; preds = %214
%222 = load i32, ptr @stdout, align 4
%223 = call i32 @fprintf(i32 noundef %222, ptr noundef @.str.1)
%224 = load i32, ptr @stdout, align 4
%225 = call i32 @fflush(i32 noundef %224)
br label %226
226: ; preds = %221
br label %227
227: ; preds = %226
%228 = load i32, ptr @stdout, align 4
%229 = call i32 @fprintf(i32 noundef %228, ptr noundef @.str.7)
%230 = load i32, ptr @stdout, align 4
%231 = call i32 @fflush(i32 noundef %230)
br label %232
232: ; preds = %227
%233 = call i64 @calloc(i32 noundef 1, i32 noundef 1024)
%234 = inttoptr i64 %233 to ptr
store ptr %234, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %235
235: ; preds = %243, %232
%236 = load i32, ptr %2, align 4
%237 = icmp slt i32 %236, 1024
br i1 %237, label %238, label %246
238: ; preds = %235
%239 = load ptr, ptr %1, align 8
%240 = load i32, ptr %2, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds i8, ptr %239, i64 %241
store i8 122, ptr %242, align 1
br label %243
243: ; preds = %238
%244 = load i32, ptr %2, align 4
%245 = add nsw i32 %244, 1
store i32 %245, ptr %2, align 4
br label %235, !llvm.loop !14
246: ; preds = %235
%247 = load ptr, ptr %1, align 8
%248 = call i32 @free(ptr noundef %247)
%249 = call i32 (...) @ofc_getCount()
%250 = icmp eq i32 %249, 0
%251 = zext i1 %250 to i32
%252 = call i32 @assert(i32 noundef %251)
br label %253
253: ; preds = %246
%254 = load i32, ptr @stdout, align 4
%255 = call i32 @fprintf(i32 noundef %254, ptr noundef @.str.1)
%256 = load i32, ptr @stdout, align 4
%257 = call i32 @fflush(i32 noundef %256)
br label %258
258: ; preds = %253
br label %259
259: ; preds = %258
%260 = load i32, ptr @stdout, align 4
%261 = call i32 @fprintf(i32 noundef %260, ptr noundef @.str.8)
%262 = load i32, ptr @stdout, align 4
%263 = call i32 @fflush(i32 noundef %262)
br label %264
264: ; preds = %259
%265 = call i64 @calloc(i32 noundef 1, i32 noundef 262144)
%266 = inttoptr i64 %265 to ptr
store ptr %266, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %267
267: ; preds = %275, %264
%268 = load i32, ptr %2, align 4
%269 = icmp slt i32 %268, 262144
br i1 %269, label %270, label %278
270: ; preds = %267
%271 = load ptr, ptr %1, align 8
%272 = load i32, ptr %2, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds i8, ptr %271, i64 %273
store i8 122, ptr %274, align 1
br label %275
275: ; preds = %270
%276 = load i32, ptr %2, align 4
%277 = add nsw i32 %276, 1
store i32 %277, ptr %2, align 4
br label %267, !llvm.loop !15
278: ; preds = %267
%279 = load ptr, ptr %1, align 8
%280 = call i32 @free(ptr noundef %279)
%281 = call i32 (...) @ofc_getCount()
%282 = icmp eq i32 %281, 0
%283 = zext i1 %282 to i32
%284 = call i32 @assert(i32 noundef %283)
br label %285
285: ; preds = %278
%286 = load i32, ptr @stdout, align 4
%287 = call i32 @fprintf(i32 noundef %286, ptr noundef @.str.1)
%288 = load i32, ptr @stdout, align 4
%289 = call i32 @fflush(i32 noundef %288)
br label %290
290: ; preds = %285
br label %291
291: ; preds = %290
%292 = load i32, ptr @stdout, align 4
%293 = call i32 @fprintf(i32 noundef %292, ptr noundef @.str.9)
%294 = load i32, ptr @stdout, align 4
%295 = call i32 @fflush(i32 noundef %294)
br label %296
296: ; preds = %291
%297 = call i64 @calloc(i32 noundef 6, i32 noundef 0)
%298 = inttoptr i64 %297 to ptr
store ptr %298, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %299
299: ; preds = %307, %296
%300 = load i32, ptr %2, align 4
%301 = icmp slt i32 %300, 8
br i1 %301, label %302, label %310
302: ; preds = %299
%303 = load ptr, ptr %1, align 8
%304 = load i32, ptr %2, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds i8, ptr %303, i64 %305
store i8 98, ptr %306, align 1
br label %307
307: ; preds = %302
%308 = load i32, ptr %2, align 4
%309 = add nsw i32 %308, 1
store i32 %309, ptr %2, align 4
br label %299, !llvm.loop !16
310: ; preds = %299
%311 = load ptr, ptr %1, align 8
%312 = call i32 @free(ptr noundef %311)
%313 = call i32 (...) @ofc_getCount()
%314 = icmp eq i32 %313, 8
%315 = zext i1 %314 to i32
%316 = call i32 @assert(i32 noundef %315)
br label %317
317: ; preds = %310
%318 = load i32, ptr @stdout, align 4
%319 = call i32 @fprintf(i32 noundef %318, ptr noundef @.str.1)
%320 = load i32, ptr @stdout, align 4
%321 = call i32 @fflush(i32 noundef %320)
br label %322
322: ; preds = %317
br label %323
323: ; preds = %322
%324 = load i32, ptr @stdout, align 4
%325 = call i32 @fprintf(i32 noundef %324, ptr noundef @.str.10)
%326 = load i32, ptr @stdout, align 4
%327 = call i32 @fflush(i32 noundef %326)
br label %328
328: ; preds = %323
%329 = call i64 @calloc(i32 noundef 0, i32 noundef 6)
%330 = inttoptr i64 %329 to ptr
store ptr %330, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %331
331: ; preds = %339, %328
%332 = load i32, ptr %2, align 4
%333 = icmp slt i32 %332, 8
br i1 %333, label %334, label %342
334: ; preds = %331
%335 = load ptr, ptr %1, align 8
%336 = load i32, ptr %2, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds i8, ptr %335, i64 %337
store i8 98, ptr %338, align 1
br label %339
339: ; preds = %334
%340 = load i32, ptr %2, align 4
%341 = add nsw i32 %340, 1
store i32 %341, ptr %2, align 4
br label %331, !llvm.loop !17
342: ; preds = %331
%343 = load ptr, ptr %1, align 8
%344 = call i32 @free(ptr noundef %343)
%345 = call i32 (...) @ofc_getCount()
%346 = icmp eq i32 %345, 8
%347 = zext i1 %346 to i32
%348 = call i32 @assert(i32 noundef %347)
br label %349
349: ; preds = %342
%350 = load i32, ptr @stdout, align 4
%351 = call i32 @fprintf(i32 noundef %350, ptr noundef @.str.1)
%352 = load i32, ptr @stdout, align 4
%353 = call i32 @fflush(i32 noundef %352)
br label %354
354: ; preds = %349
br label %355
355: ; preds = %354
%356 = load i32, ptr @stdout, align 4
%357 = call i32 @fprintf(i32 noundef %356, ptr noundef @.str.10)
%358 = load i32, ptr @stdout, align 4
%359 = call i32 @fflush(i32 noundef %358)
br label %360
360: ; preds = %355
%361 = call i64 @calloc(i32 noundef 0, i32 noundef 0)
%362 = inttoptr i64 %361 to ptr
store ptr %362, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %363
363: ; preds = %371, %360
%364 = load i32, ptr %2, align 4
%365 = icmp slt i32 %364, 8
br i1 %365, label %366, label %374
366: ; preds = %363
%367 = load ptr, ptr %1, align 8
%368 = load i32, ptr %2, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds i8, ptr %367, i64 %369
store i8 98, ptr %370, align 1
br label %371
371: ; preds = %366
%372 = load i32, ptr %2, align 4
%373 = add nsw i32 %372, 1
store i32 %373, ptr %2, align 4
br label %363, !llvm.loop !18
374: ; preds = %363
%375 = load ptr, ptr %1, align 8
%376 = call i32 @free(ptr noundef %375)
%377 = call i32 (...) @ofc_getCount()
%378 = icmp eq i32 %377, 8
%379 = zext i1 %378 to i32
%380 = call i32 @assert(i32 noundef %379)
br label %381
381: ; preds = %374
%382 = load i32, ptr @stdout, align 4
%383 = call i32 @fprintf(i32 noundef %382, ptr noundef @.str.1)
%384 = load i32, ptr @stdout, align 4
%385 = call i32 @fflush(i32 noundef %384)
br label %386
386: ; preds = %381
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @ofc_getCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptfa7o6oh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"[TEST] calloc_01 ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"passed\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_02 ...\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_03 ...\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_04 ...\0A\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_05 ...\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_06 ...\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_07 ...\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_08 ...\0A\00", align 1
@.str.9 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_09 ...\0A\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"[TEST] calloc_10 ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_calloc() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
br label %3
3: ; preds = %0
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str)
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
br label %8
8: ; preds = %3
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %1, align 8
store i32 0, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 16
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %18
%14 = load ptr, ptr %1, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 122, ptr %17, align 1
br label %18
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 16
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %8
%24 = load ptr, ptr %1, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = call i32 (...) @ofc_getCount()
%27 = icmp eq i32 %26, 8
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
br label %30
30: ; preds = %23
%31 = load i32, ptr @stdout, align 4
%32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1)
%33 = load i32, ptr @stdout, align 4
%34 = call i32 @fflush(i32 noundef %33)
br label %35
35: ; preds = %30
br label %36
36: ; preds = %35
%37 = load i32, ptr @stdout, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.2)
%39 = load i32, ptr @stdout, align 4
%40 = call i32 @fflush(i32 noundef %39)
br label %41
41: ; preds = %36
%42 = call i64 @calloc(i32 noundef 2, i32 noundef 4)
%43 = inttoptr i64 %42 to ptr
store ptr %43, ptr %1, align 8
store i32 0, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp slt i32 %44, 16
br i1 %45, label %.lr.ph2, label %56
.lr.ph2: ; preds = %41
br label %46
46: ; preds = %.lr.ph2, %51
%47 = load ptr, ptr %1, align 8
%48 = load i32, ptr %2, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 122, ptr %50, align 1
br label %51
51: ; preds = %46
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %2, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp slt i32 %54, 16
br i1 %55, label %46, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %56
56: ; preds = %._crit_edge3, %41
%57 = load ptr, ptr %1, align 8
%58 = call i32 @free(ptr noundef %57)
%59 = call i32 (...) @ofc_getCount()
%60 = icmp eq i32 %59, 8
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 noundef %61)
br label %63
63: ; preds = %56
%64 = load i32, ptr @stdout, align 4
%65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.1)
%66 = load i32, ptr @stdout, align 4
%67 = call i32 @fflush(i32 noundef %66)
br label %68
68: ; preds = %63
br label %69
69: ; preds = %68
%70 = load i32, ptr @stdout, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str.3)
%72 = load i32, ptr @stdout, align 4
%73 = call i32 @fflush(i32 noundef %72)
br label %74
74: ; preds = %69
%75 = call i64 @calloc(i32 noundef 1, i32 noundef 5)
%76 = inttoptr i64 %75 to ptr
store ptr %76, ptr %1, align 8
store i32 0, ptr %2, align 4
%77 = load i32, ptr %2, align 4
%78 = icmp slt i32 %77, 16
br i1 %78, label %.lr.ph5, label %89
.lr.ph5: ; preds = %74
br label %79
79: ; preds = %.lr.ph5, %84
%80 = load ptr, ptr %1, align 8
%81 = load i32, ptr %2, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 122, ptr %83, align 1
br label %84
84: ; preds = %79
%85 = load i32, ptr %2, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %2, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp slt i32 %87, 16
br i1 %88, label %79, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %84
br label %89
89: ; preds = %._crit_edge6, %74
%90 = load ptr, ptr %1, align 8
%91 = call i32 @free(ptr noundef %90)
%92 = call i32 (...) @ofc_getCount()
%93 = icmp eq i32 %92, 11
%94 = zext i1 %93 to i32
%95 = call i32 @assert(i32 noundef %94)
br label %96
96: ; preds = %89
%97 = load i32, ptr @stdout, align 4
%98 = call i32 @fprintf(i32 noundef %97, ptr noundef @.str.1)
%99 = load i32, ptr @stdout, align 4
%100 = call i32 @fflush(i32 noundef %99)
br label %101
101: ; preds = %96
br label %102
102: ; preds = %101
%103 = load i32, ptr @stdout, align 4
%104 = call i32 @fprintf(i32 noundef %103, ptr noundef @.str.3)
%105 = load i32, ptr @stdout, align 4
%106 = call i32 @fflush(i32 noundef %105)
br label %107
107: ; preds = %102
%108 = call i64 @calloc(i32 noundef 5, i32 noundef 1)
%109 = inttoptr i64 %108 to ptr
store ptr %109, ptr %1, align 8
store i32 0, ptr %2, align 4
%110 = load i32, ptr %2, align 4
%111 = icmp slt i32 %110, 16
br i1 %111, label %.lr.ph8, label %122
.lr.ph8: ; preds = %107
br label %112
112: ; preds = %.lr.ph8, %117
%113 = load ptr, ptr %1, align 8
%114 = load i32, ptr %2, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
store i8 122, ptr %116, align 1
br label %117
117: ; preds = %112
%118 = load i32, ptr %2, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %2, align 4
%120 = load i32, ptr %2, align 4
%121 = icmp slt i32 %120, 16
br i1 %121, label %112, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %117
br label %122
122: ; preds = %._crit_edge9, %107
%123 = load ptr, ptr %1, align 8
%124 = call i32 @free(ptr noundef %123)
%125 = call i32 (...) @ofc_getCount()
%126 = icmp eq i32 %125, 8
%127 = zext i1 %126 to i32
%128 = call i32 @assert(i32 noundef %127)
br label %129
129: ; preds = %122
%130 = load i32, ptr @stdout, align 4
%131 = call i32 @fprintf(i32 noundef %130, ptr noundef @.str.1)
%132 = load i32, ptr @stdout, align 4
%133 = call i32 @fflush(i32 noundef %132)
br label %134
134: ; preds = %129
br label %135
135: ; preds = %134
%136 = load i32, ptr @stdout, align 4
%137 = call i32 @fprintf(i32 noundef %136, ptr noundef @.str.4)
%138 = load i32, ptr @stdout, align 4
%139 = call i32 @fflush(i32 noundef %138)
br label %140
140: ; preds = %135
%141 = call i64 @calloc(i32 noundef 1, i32 noundef 1024)
%142 = inttoptr i64 %141 to ptr
store ptr %142, ptr %1, align 8
store i32 0, ptr %2, align 4
%143 = load i32, ptr %2, align 4
%144 = icmp slt i32 %143, 1032
br i1 %144, label %.lr.ph11, label %155
.lr.ph11: ; preds = %140
br label %145
145: ; preds = %.lr.ph11, %150
%146 = load ptr, ptr %1, align 8
%147 = load i32, ptr %2, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i8, ptr %146, i64 %148
store i8 122, ptr %149, align 1
br label %150
150: ; preds = %145
%151 = load i32, ptr %2, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %2, align 4
%153 = load i32, ptr %2, align 4
%154 = icmp slt i32 %153, 1032
br i1 %154, label %145, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %150
br label %155
155: ; preds = %._crit_edge12, %140
%156 = load ptr, ptr %1, align 8
%157 = call i32 @free(ptr noundef %156)
%158 = call i32 (...) @ofc_getCount()
%159 = icmp eq i32 %158, 8
%160 = zext i1 %159 to i32
%161 = call i32 @assert(i32 noundef %160)
br label %162
162: ; preds = %155
%163 = load i32, ptr @stdout, align 4
%164 = call i32 @fprintf(i32 noundef %163, ptr noundef @.str.1)
%165 = load i32, ptr @stdout, align 4
%166 = call i32 @fflush(i32 noundef %165)
br label %167
167: ; preds = %162
br label %168
168: ; preds = %167
%169 = load i32, ptr @stdout, align 4
%170 = call i32 @fprintf(i32 noundef %169, ptr noundef @.str.5)
%171 = load i32, ptr @stdout, align 4
%172 = call i32 @fflush(i32 noundef %171)
br label %173
173: ; preds = %168
%174 = call i64 @calloc(i32 noundef 1, i32 noundef 262144)
%175 = inttoptr i64 %174 to ptr
store ptr %175, ptr %1, align 8
store i32 0, ptr %2, align 4
%176 = load i32, ptr %2, align 4
%177 = icmp slt i32 %176, 262152
br i1 %177, label %.lr.ph14, label %188
.lr.ph14: ; preds = %173
br label %178
178: ; preds = %.lr.ph14, %183
%179 = load ptr, ptr %1, align 8
%180 = load i32, ptr %2, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i8, ptr %179, i64 %181
store i8 122, ptr %182, align 1
br label %183
183: ; preds = %178
%184 = load i32, ptr %2, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %2, align 4
%186 = load i32, ptr %2, align 4
%187 = icmp slt i32 %186, 262152
br i1 %187, label %178, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %183
br label %188
188: ; preds = %._crit_edge15, %173
%189 = load ptr, ptr %1, align 8
%190 = call i32 @free(ptr noundef %189)
%191 = call i32 (...) @ofc_getCount()
%192 = icmp eq i32 %191, 8
%193 = zext i1 %192 to i32
%194 = call i32 @assert(i32 noundef %193)
br label %195
195: ; preds = %188
%196 = load i32, ptr @stdout, align 4
%197 = call i32 @fprintf(i32 noundef %196, ptr noundef @.str.1)
%198 = load i32, ptr @stdout, align 4
%199 = call i32 @fflush(i32 noundef %198)
br label %200
200: ; preds = %195
br label %201
201: ; preds = %200
%202 = load i32, ptr @stdout, align 4
%203 = call i32 @fprintf(i32 noundef %202, ptr noundef @.str.6)
%204 = load i32, ptr @stdout, align 4
%205 = call i32 @fflush(i32 noundef %204)
br label %206
206: ; preds = %201
%207 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%208 = inttoptr i64 %207 to ptr
store ptr %208, ptr %1, align 8
store i32 0, ptr %2, align 4
%209 = load i32, ptr %2, align 4
%210 = icmp slt i32 %209, 8
br i1 %210, label %.lr.ph17, label %221
.lr.ph17: ; preds = %206
br label %211
211: ; preds = %.lr.ph17, %216
%212 = load ptr, ptr %1, align 8
%213 = load i32, ptr %2, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i8, ptr %212, i64 %214
store i8 122, ptr %215, align 1
br label %216
216: ; preds = %211
%217 = load i32, ptr %2, align 4
%218 = add nsw i32 %217, 1
store i32 %218, ptr %2, align 4
%219 = load i32, ptr %2, align 4
%220 = icmp slt i32 %219, 8
br i1 %220, label %211, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %216
br label %221
221: ; preds = %._crit_edge18, %206
%222 = load ptr, ptr %1, align 8
%223 = call i32 @free(ptr noundef %222)
%224 = call i32 (...) @ofc_getCount()
%225 = icmp eq i32 %224, 0
%226 = zext i1 %225 to i32
%227 = call i32 @assert(i32 noundef %226)
br label %228
228: ; preds = %221
%229 = load i32, ptr @stdout, align 4
%230 = call i32 @fprintf(i32 noundef %229, ptr noundef @.str.1)
%231 = load i32, ptr @stdout, align 4
%232 = call i32 @fflush(i32 noundef %231)
br label %233
233: ; preds = %228
br label %234
234: ; preds = %233
%235 = load i32, ptr @stdout, align 4
%236 = call i32 @fprintf(i32 noundef %235, ptr noundef @.str.7)
%237 = load i32, ptr @stdout, align 4
%238 = call i32 @fflush(i32 noundef %237)
br label %239
239: ; preds = %234
%240 = call i64 @calloc(i32 noundef 1, i32 noundef 1024)
%241 = inttoptr i64 %240 to ptr
store ptr %241, ptr %1, align 8
store i32 0, ptr %2, align 4
%242 = load i32, ptr %2, align 4
%243 = icmp slt i32 %242, 1024
br i1 %243, label %.lr.ph20, label %254
.lr.ph20: ; preds = %239
br label %244
244: ; preds = %.lr.ph20, %249
%245 = load ptr, ptr %1, align 8
%246 = load i32, ptr %2, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i8, ptr %245, i64 %247
store i8 122, ptr %248, align 1
br label %249
249: ; preds = %244
%250 = load i32, ptr %2, align 4
%251 = add nsw i32 %250, 1
store i32 %251, ptr %2, align 4
%252 = load i32, ptr %2, align 4
%253 = icmp slt i32 %252, 1024
br i1 %253, label %244, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %249
br label %254
254: ; preds = %._crit_edge21, %239
%255 = load ptr, ptr %1, align 8
%256 = call i32 @free(ptr noundef %255)
%257 = call i32 (...) @ofc_getCount()
%258 = icmp eq i32 %257, 0
%259 = zext i1 %258 to i32
%260 = call i32 @assert(i32 noundef %259)
br label %261
261: ; preds = %254
%262 = load i32, ptr @stdout, align 4
%263 = call i32 @fprintf(i32 noundef %262, ptr noundef @.str.1)
%264 = load i32, ptr @stdout, align 4
%265 = call i32 @fflush(i32 noundef %264)
br label %266
266: ; preds = %261
br label %267
267: ; preds = %266
%268 = load i32, ptr @stdout, align 4
%269 = call i32 @fprintf(i32 noundef %268, ptr noundef @.str.8)
%270 = load i32, ptr @stdout, align 4
%271 = call i32 @fflush(i32 noundef %270)
br label %272
272: ; preds = %267
%273 = call i64 @calloc(i32 noundef 1, i32 noundef 262144)
%274 = inttoptr i64 %273 to ptr
store ptr %274, ptr %1, align 8
store i32 0, ptr %2, align 4
%275 = load i32, ptr %2, align 4
%276 = icmp slt i32 %275, 262144
br i1 %276, label %.lr.ph23, label %287
.lr.ph23: ; preds = %272
br label %277
277: ; preds = %.lr.ph23, %282
%278 = load ptr, ptr %1, align 8
%279 = load i32, ptr %2, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds i8, ptr %278, i64 %280
store i8 122, ptr %281, align 1
br label %282
282: ; preds = %277
%283 = load i32, ptr %2, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %2, align 4
%285 = load i32, ptr %2, align 4
%286 = icmp slt i32 %285, 262144
br i1 %286, label %277, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %282
br label %287
287: ; preds = %._crit_edge24, %272
%288 = load ptr, ptr %1, align 8
%289 = call i32 @free(ptr noundef %288)
%290 = call i32 (...) @ofc_getCount()
%291 = icmp eq i32 %290, 0
%292 = zext i1 %291 to i32
%293 = call i32 @assert(i32 noundef %292)
br label %294
294: ; preds = %287
%295 = load i32, ptr @stdout, align 4
%296 = call i32 @fprintf(i32 noundef %295, ptr noundef @.str.1)
%297 = load i32, ptr @stdout, align 4
%298 = call i32 @fflush(i32 noundef %297)
br label %299
299: ; preds = %294
br label %300
300: ; preds = %299
%301 = load i32, ptr @stdout, align 4
%302 = call i32 @fprintf(i32 noundef %301, ptr noundef @.str.9)
%303 = load i32, ptr @stdout, align 4
%304 = call i32 @fflush(i32 noundef %303)
br label %305
305: ; preds = %300
%306 = call i64 @calloc(i32 noundef 6, i32 noundef 0)
%307 = inttoptr i64 %306 to ptr
store ptr %307, ptr %1, align 8
store i32 0, ptr %2, align 4
%308 = load i32, ptr %2, align 4
%309 = icmp slt i32 %308, 8
br i1 %309, label %.lr.ph26, label %320
.lr.ph26: ; preds = %305
br label %310
310: ; preds = %.lr.ph26, %315
%311 = load ptr, ptr %1, align 8
%312 = load i32, ptr %2, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i8, ptr %311, i64 %313
store i8 98, ptr %314, align 1
br label %315
315: ; preds = %310
%316 = load i32, ptr %2, align 4
%317 = add nsw i32 %316, 1
store i32 %317, ptr %2, align 4
%318 = load i32, ptr %2, align 4
%319 = icmp slt i32 %318, 8
br i1 %319, label %310, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %315
br label %320
320: ; preds = %._crit_edge27, %305
%321 = load ptr, ptr %1, align 8
%322 = call i32 @free(ptr noundef %321)
%323 = call i32 (...) @ofc_getCount()
%324 = icmp eq i32 %323, 8
%325 = zext i1 %324 to i32
%326 = call i32 @assert(i32 noundef %325)
br label %327
327: ; preds = %320
%328 = load i32, ptr @stdout, align 4
%329 = call i32 @fprintf(i32 noundef %328, ptr noundef @.str.1)
%330 = load i32, ptr @stdout, align 4
%331 = call i32 @fflush(i32 noundef %330)
br label %332
332: ; preds = %327
br label %333
333: ; preds = %332
%334 = load i32, ptr @stdout, align 4
%335 = call i32 @fprintf(i32 noundef %334, ptr noundef @.str.10)
%336 = load i32, ptr @stdout, align 4
%337 = call i32 @fflush(i32 noundef %336)
br label %338
338: ; preds = %333
%339 = call i64 @calloc(i32 noundef 0, i32 noundef 6)
%340 = inttoptr i64 %339 to ptr
store ptr %340, ptr %1, align 8
store i32 0, ptr %2, align 4
%341 = load i32, ptr %2, align 4
%342 = icmp slt i32 %341, 8
br i1 %342, label %.lr.ph29, label %353
.lr.ph29: ; preds = %338
br label %343
343: ; preds = %.lr.ph29, %348
%344 = load ptr, ptr %1, align 8
%345 = load i32, ptr %2, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds i8, ptr %344, i64 %346
store i8 98, ptr %347, align 1
br label %348
348: ; preds = %343
%349 = load i32, ptr %2, align 4
%350 = add nsw i32 %349, 1
store i32 %350, ptr %2, align 4
%351 = load i32, ptr %2, align 4
%352 = icmp slt i32 %351, 8
br i1 %352, label %343, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %348
br label %353
353: ; preds = %._crit_edge30, %338
%354 = load ptr, ptr %1, align 8
%355 = call i32 @free(ptr noundef %354)
%356 = call i32 (...) @ofc_getCount()
%357 = icmp eq i32 %356, 8
%358 = zext i1 %357 to i32
%359 = call i32 @assert(i32 noundef %358)
br label %360
360: ; preds = %353
%361 = load i32, ptr @stdout, align 4
%362 = call i32 @fprintf(i32 noundef %361, ptr noundef @.str.1)
%363 = load i32, ptr @stdout, align 4
%364 = call i32 @fflush(i32 noundef %363)
br label %365
365: ; preds = %360
br label %366
366: ; preds = %365
%367 = load i32, ptr @stdout, align 4
%368 = call i32 @fprintf(i32 noundef %367, ptr noundef @.str.10)
%369 = load i32, ptr @stdout, align 4
%370 = call i32 @fflush(i32 noundef %369)
br label %371
371: ; preds = %366
%372 = call i64 @calloc(i32 noundef 0, i32 noundef 0)
%373 = inttoptr i64 %372 to ptr
store ptr %373, ptr %1, align 8
store i32 0, ptr %2, align 4
%374 = load i32, ptr %2, align 4
%375 = icmp slt i32 %374, 8
br i1 %375, label %.lr.ph32, label %386
.lr.ph32: ; preds = %371
br label %376
376: ; preds = %.lr.ph32, %381
%377 = load ptr, ptr %1, align 8
%378 = load i32, ptr %2, align 4
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds i8, ptr %377, i64 %379
store i8 98, ptr %380, align 1
br label %381
381: ; preds = %376
%382 = load i32, ptr %2, align 4
%383 = add nsw i32 %382, 1
store i32 %383, ptr %2, align 4
%384 = load i32, ptr %2, align 4
%385 = icmp slt i32 %384, 8
br i1 %385, label %376, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %381
br label %386
386: ; preds = %._crit_edge33, %371
%387 = load ptr, ptr %1, align 8
%388 = call i32 @free(ptr noundef %387)
%389 = call i32 (...) @ofc_getCount()
%390 = icmp eq i32 %389, 8
%391 = zext i1 %390 to i32
%392 = call i32 @assert(i32 noundef %391)
br label %393
393: ; preds = %386
%394 = load i32, ptr @stdout, align 4
%395 = call i32 @fprintf(i32 noundef %394, ptr noundef @.str.1)
%396 = load i32, ptr @stdout, align 4
%397 = call i32 @fflush(i32 noundef %396)
br label %398
398: ; preds = %393
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @ofc_getCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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}
|
; ModuleID = '/tmp/tmpu4kn70im.c'
source_filename = "/tmp/tmpu4kn70im.c"
target datalayout = "e-m:e-p270: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 { ptr, i32 }
%struct.sockaddr = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"\00x-accept-nonblock\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOCK_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_un, align 8
%4 = alloca %struct.sockaddr, align 4
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0
store ptr @.str, ptr %6, align 8
%7 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 1
%8 = load i32, ptr @AF_UNIX, align 4
store i32 %8, ptr %7, align 8
store i64 4, ptr %5, align 8
%9 = load i32, ptr @AF_UNIX, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = load i32, ptr @SOCK_NONBLOCK, align 4
%12 = or i32 %10, %11
%13 = call i32 @socket(i32 noundef %9, i32 noundef %12, i32 noundef 0)
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @A(i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = call i32 @bind(i32 noundef %18, ptr noundef %3, i32 noundef 16)
%20 = call i32 @T(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = call i64 @accept(i32 noundef %21, ptr noundef %4, ptr noundef %5)
%23 = icmp slt i64 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @A(i32 noundef %24)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @A(i32 noundef) #1
declare i32 @T(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @accept(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/tmpu4kn70im.c"
target datalayout = "e-m:e-p270: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 { ptr, i32 }
%struct.sockaddr = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"\00x-accept-nonblock\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOCK_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_un, align 8
%4 = alloca %struct.sockaddr, align 4
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0
store ptr @.str, ptr %6, align 8
%7 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 1
%8 = load i32, ptr @AF_UNIX, align 4
store i32 %8, ptr %7, align 8
store i64 4, ptr %5, align 8
%9 = load i32, ptr @AF_UNIX, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = load i32, ptr @SOCK_NONBLOCK, align 4
%12 = or i32 %10, %11
%13 = call i32 @socket(i32 noundef %9, i32 noundef %12, i32 noundef 0)
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
%16 = zext i1 %15 to i32
%17 = call i32 @A(i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = call i32 @bind(i32 noundef %18, ptr noundef %3, i32 noundef 16)
%20 = call i32 @T(i32 noundef %19)
%21 = load i32, ptr %2, align 4
%22 = call i64 @accept(i32 noundef %21, ptr noundef %4, ptr noundef %5)
%23 = icmp slt i64 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @A(i32 noundef %24)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @A(i32 noundef) #1
declare i32 @T(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @accept(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/tmpq6hrn4l2.c'
source_filename = "/tmp/tmpq6hrn4l2.c"
target datalayout = "e-m:e-p270: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/tmpq6hrn4l2.c"
target datalayout = "e-m:e-p270: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/tmpgml370mr.c'
source_filename = "/tmp/tmpgml370mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdoTextL(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i64 @gdoTextWidth(ptr noundef %9, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = zext i32 %12 to i64
%14 = sub nsw i64 %13, %11
%15 = trunc i64 %14 to i32
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @INT_MAX, align 4
%18 = icmp ule i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @INT_MAX, align 4
%22 = icmp ule i32 %20, %21
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = load ptr, ptr %8, align 8
%28 = call i32 @gdoTextR(ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27)
br label %29
29: ; preds = %23, %19, %4
ret void
}
declare i64 @gdoTextWidth(ptr noundef, ptr noundef) #1
declare i32 @gdoTextR(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgml370mr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdoTextL(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i64 @gdoTextWidth(ptr noundef %9, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = zext i32 %12 to i64
%14 = sub nsw i64 %13, %11
%15 = trunc i64 %14 to i32
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr @INT_MAX, align 4
%18 = icmp ule i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr @INT_MAX, align 4
%22 = icmp ule i32 %20, %21
br i1 %22, label %23, label %29
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = load ptr, ptr %8, align 8
%28 = call i32 @gdoTextR(ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27)
br label %29
29: ; preds = %23, %19, %4
ret void
}
declare i64 @gdoTextWidth(ptr noundef, ptr noundef) #1
declare i32 @gdoTextR(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmeol2oa9.c'
source_filename = "/tmp/tmpmeol2oa9.c"
target datalayout = "e-m:e-p270: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/tmpmeol2oa9.c"
target datalayout = "e-m:e-p270: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.