llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpmjxdqiuj.c'
source_filename = "/tmp/tmpmjxdqiuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_split_nulstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %25, %1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %7
%16 = phi i1 [ false, %7 ], [ %14, %10 ]
br i1 %16, label %17, label %29
17: ; preds = %15
%18 = load ptr, ptr %4, align 8
%19 = call i64 @strv_extend(ptr noundef %5, ptr noundef %18)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strv_free(ptr noundef %22)
store ptr null, ptr %2, align 8
br label %36
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = call ptr @strchr(ptr noundef %26, i32 noundef 0)
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %4, align 8
br label %7, !llvm.loop !6
29: ; preds = %15
%30 = load ptr, ptr %5, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call ptr @strv_new(ptr noundef null, ptr noundef null)
store ptr %33, ptr %2, align 8
br label %36
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %34, %32, %21
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare i64 @strv_extend(ptr noundef, ptr noundef) #1
declare i32 @strv_free(ptr noundef) #1
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare ptr @strv_new(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/tmpmjxdqiuj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_split_nulstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %25, %1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %7
%16 = phi i1 [ false, %7 ], [ %14, %10 ]
br i1 %16, label %17, label %29
17: ; preds = %15
%18 = load ptr, ptr %4, align 8
%19 = call i64 @strv_extend(ptr noundef %5, ptr noundef %18)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strv_free(ptr noundef %22)
store ptr null, ptr %2, align 8
br label %36
24: ; preds = %17
br label %25
25: ; preds = %24
%26 = load ptr, ptr %4, align 8
%27 = call ptr @strchr(ptr noundef %26, i32 noundef 0)
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %4, align 8
br label %7, !llvm.loop !6
29: ; preds = %15
%30 = load ptr, ptr %5, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %34, label %32
32: ; preds = %29
%33 = call ptr @strv_new(ptr noundef null, ptr noundef null)
store ptr %33, ptr %2, align 8
br label %36
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %34, %32, %21
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare i64 @strv_extend(ptr noundef, ptr noundef) #1
declare i32 @strv_free(ptr noundef) #1
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare ptr @strv_new(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/tmpazisoxa3.c'
source_filename = "/tmp/tmpazisoxa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valid_id(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @check_year(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @check_number(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %12, %8
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %7
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
declare i64 @check_year(ptr noundef) #1
declare i64 @check_number(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpazisoxa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valid_id(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp ne i32 %5, 10
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %18
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @check_year(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = call i64 @check_number(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 1, ptr %2, align 4
br label %18
17: ; preds = %12, %8
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %16, %7
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @strlen(ptr noundef) #1
declare i64 @check_year(ptr noundef) #1
declare i64 @check_number(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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__mte5r.c'
source_filename = "/tmp/tmp1__mte5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGPIPE = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i64 0, align 8
@SIG_IGN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1__mte5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGPIPE = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i64 0, align 8
@SIG_IGN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaenhwuob.c'
source_filename = "/tmp/tmpaenhwuob.c"
target datalayout = "e-m:e-p270: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/tmpaenhwuob.c"
target datalayout = "e-m:e-p270: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/tmpjj780fdf.c'
source_filename = "/tmp/tmpjj780fdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @run(ptr noundef %8)
ret i32 %9
}
declare i32 @run(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjj780fdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call i32 @run(ptr noundef %8)
ret i32 %9
}
declare i32 @run(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxv9263cx.c'
source_filename = "/tmp/tmpxv9263cx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %22, label %14
14: ; preds = %10, %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %18, %10
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
br label %48
25: ; preds = %18, %14
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %41, label %33
33: ; preds = %29, %25
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37, %29
%42 = load i32, ptr %3, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42)
br label %47
44: ; preds = %37, %33
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
br label %47
47: ; preds = %44, %41
br label %48
48: ; preds = %47, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpxv9263cx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %22, label %14
14: ; preds = %10, %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %25
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %18, %10
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
br label %48
25: ; preds = %18, %14
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %41, label %33
33: ; preds = %29, %25
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37, %29
%42 = load i32, ptr %3, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42)
br label %47
44: ; preds = %37, %33
%45 = load i32, ptr %4, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45)
br label %47
47: ; preds = %44, %41
br label %48
48: ; preds = %47, %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpgl6n_tau.c'
source_filename = "/tmp/tmpgl6n_tau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AInput the %d element of array:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Press n to exit\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"\0A\0AInput the element to be searched:\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c"\0ANumber %d is found at position %d of the array (0 is the starting position)\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0ANumber not Found\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %16, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 50
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %14
store i32 0, ptr %15, align 4
br label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %38, %19
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 50
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i8, ptr %8, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 110
br label %27
27: ; preds = %23, %20
%28 = phi i1 [ false, %20 ], [ %26, %23 ]
br i1 %28, label %29, label %41
29: ; preds = %27
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %33
%35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8)
br label %38
38: ; preds = %29
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
br label %20, !llvm.loop !8
41: ; preds = %27
%42 = load i32, ptr %4, align 4
store i32 %42, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %43
43: ; preds = %85, %41
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %88
47: ; preds = %43
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %81, %47
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %84
54: ; preds = %50
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp sgt i32 %58, %62
br i1 %63, label %64, label %80
64: ; preds = %54
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
store i32 %68, ptr %6, align 4
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %74
store i32 %72, ptr %75, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %4, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %78
store i32 %76, ptr %79, align 4
br label %80
80: ; preds = %64, %54
br label %81
81: ; preds = %80
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %5, align 4
br label %50, !llvm.loop !9
84: ; preds = %50
br label %85
85: ; preds = %84
%86 = load i32, ptr %4, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %4, align 4
br label %43, !llvm.loop !10
88: ; preds = %43
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%90 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1)
%91 = load i32, ptr %1, align 4
%92 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
%93 = load i32, ptr %3, align 4
%94 = call i32 @BinarySearch(i32 noundef %91, ptr noundef %92, i32 noundef %93)
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp ne i32 %95, -1
br i1 %96, label %97, label %105
97: ; preds = %88
%98 = load i32, ptr %7, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load i32, ptr %7, align 4
%103 = sub nsw i32 %102, 1
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %101, i32 noundef %103)
br label %107
105: ; preds = %88
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %107
107: ; preds = %105, %97
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @BinarySearch(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgl6n_tau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AInput the %d element of array:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Press n to exit\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"\0A\0AInput the element to be searched:\00", align 1
@.str.5 = private unnamed_addr constant [79 x i8] c"\0ANumber %d is found at position %d of the array (0 is the starting position)\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0ANumber not Found\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 50
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %13
store i32 0, ptr %14, align 4
br label %15
15: ; preds = %11
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 50
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %39, %20
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %22, 50
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = load i8, ptr %8, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 110
br label %28
28: ; preds = %24, %21
%29 = phi i1 [ false, %21 ], [ %27, %24 ]
br i1 %29, label %30, label %42
30: ; preds = %28
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %34
%36 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8)
br label %39
39: ; preds = %30
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
br label %21, !llvm.loop !8
42: ; preds = %28
%43 = load i32, ptr %4, align 4
store i32 %43, ptr %3, align 4
store i32 0, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph5, label %93
.lr.ph5: ; preds = %42
br label %47
47: ; preds = %.lr.ph5, %87
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %86
.lr.ph2: ; preds = %47
br label %53
53: ; preds = %.lr.ph2, %80
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp sgt i32 %57, %61
br i1 %62, label %63, label %79
63: ; preds = %53
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
store i32 %67, ptr %6, align 4
%68 = load i32, ptr %4, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %73
store i32 %71, ptr %74, align 4
%75 = load i32, ptr %6, align 4
%76 = load i32, ptr %4, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %77
store i32 %75, ptr %78, align 4
br label %79
79: ; preds = %63, %53
br label %80
80: ; preds = %79
%81 = load i32, ptr %5, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %5, align 4
%83 = load i32, ptr %5, align 4
%84 = load i32, ptr %3, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %53, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %80
br label %86
86: ; preds = %._crit_edge3, %47
br label %87
87: ; preds = %86
%88 = load i32, ptr %4, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %4, align 4
%90 = load i32, ptr %4, align 4
%91 = load i32, ptr %3, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %47, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %87
br label %93
93: ; preds = %._crit_edge6, %42
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%95 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1)
%96 = load i32, ptr %1, align 4
%97 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0
%98 = load i32, ptr %3, align 4
%99 = call i32 @BinarySearch(i32 noundef %96, ptr noundef %97, i32 noundef %98)
store i32 %99, ptr %7, align 4
%100 = load i32, ptr %7, align 4
%101 = icmp ne i32 %100, -1
br i1 %101, label %102, label %110
102: ; preds = %93
%103 = load i32, ptr %7, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %104
%106 = load i32, ptr %105, align 4
%107 = load i32, ptr %7, align 4
%108 = sub nsw i32 %107, 1
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %106, i32 noundef %108)
br label %112
110: ; preds = %93
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %112
112: ; preds = %110, %102
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @BinarySearch(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp12juktjh.c'
source_filename = "/tmp/tmp12juktjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 1.593750e+00, float 1.750000e+00, float 1.031250e+00, float 3.125000e-01], align 16
@__const.main.b = private unnamed_addr constant [5 x float] [float 3.125000e-02, float -9.375000e-02, float 1.562500e-01, float -9.375000e-02, float 3.125000e-02], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 20, i1 false)
%4 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%6 = call i32 @__ESBMC_check_stability(ptr noundef %4, ptr noundef %5)
%7 = call i32 @assert(i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(i32 noundef) #2
declare i32 @__ESBMC_check_stability(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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12juktjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 1.593750e+00, float 1.750000e+00, float 1.031250e+00, float 3.125000e-01], align 16
@__const.main.b = private unnamed_addr constant [5 x float] [float 3.125000e-02, float -9.375000e-02, float 1.562500e-01, float -9.375000e-02, float 3.125000e-02], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.b, i64 20, i1 false)
%4 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%6 = call i32 @__ESBMC_check_stability(ptr noundef %4, ptr noundef %5)
%7 = call i32 @assert(i32 noundef %6)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(i32 noundef) #2
declare i32 @__ESBMC_check_stability(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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8fe8ldy7.c'
source_filename = "/tmp/tmp8fe8ldy7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basicRemover(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 @free(ptr noundef %3)
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/tmp8fe8ldy7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basicRemover(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 @free(ptr noundef %3)
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/tmp__no826s.c'
source_filename = "/tmp/tmp__no826s.c"
target datalayout = "e-m:e-p270: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/tmp__no826s.c"
target datalayout = "e-m:e-p270: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/tmp05q75qbq.c'
source_filename = "/tmp/tmp05q75qbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_separator_draw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call zeroext i8 @strlen(ptr noundef %4)
store i8 %5, ptr %3, align 1
br label %6
6: ; preds = %10, %1
%7 = call i32 @putchar(i8 noundef signext 61)
%8 = load i8, ptr %3, align 1
%9 = add i8 %8, -1
store i8 %9, ptr %3, align 1
br label %10
10: ; preds = %6
%11 = load i8, ptr %3, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %6, label %13, !llvm.loop !6
13: ; preds = %10
%14 = call i32 @puts(ptr noundef @.str)
ret void
}
declare zeroext i8 @strlen(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp05q75qbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_separator_draw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call zeroext i8 @strlen(ptr noundef %4)
store i8 %5, ptr %3, align 1
br label %6
6: ; preds = %10, %1
%7 = call i32 @putchar(i8 noundef signext 61)
%8 = load i8, ptr %3, align 1
%9 = add i8 %8, -1
store i8 %9, ptr %3, align 1
br label %10
10: ; preds = %6
%11 = load i8, ptr %3, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %6, label %13, !llvm.loop !6
13: ; preds = %10
%14 = call i32 @puts(ptr noundef @.str)
ret void
}
declare zeroext i8 @strlen(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxfb1iwf_.c'
source_filename = "/tmp/tmpxfb1iwf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xf2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xf2() #0 {
%1 = call i64 @isalpha(i32 noundef 242)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1215, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpxfb1iwf_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xf2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xf2() #0 {
%1 = call i64 @isalpha(i32 noundef 242)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1215, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpuue7ipwu.c'
source_filename = "/tmp/tmpuue7ipwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LDBL_EPSILON = dso_local global x86_fp80 0xK00000000000000000000, align 16
@NAN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuue7ipwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LDBL_EPSILON = dso_local global x86_fp80 0xK00000000000000000000, align 16
@NAN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps7jg448g.c'
source_filename = "/tmp/tmps7jg448g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 96
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps7jg448g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDIntEnable(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 96
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpluisqnpb.c'
source_filename = "/tmp/tmpluisqnpb.c"
target datalayout = "e-m:e-p270: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/tmpluisqnpb.c"
target datalayout = "e-m:e-p270: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/tmp18r3_sm4.c'
source_filename = "/tmp/tmp18r3_sm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"AA READY!\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"unknown action: %x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @adminFunctions(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
br label %7
7: ; preds = %2, %40
%8 = load i32, ptr %4, align 4
%9 = call i32 @writeSock(i32 noundef %8, ptr noundef @.str, i32 noundef 10)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 1024)
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = call i64 @readSock(i32 noundef %12, ptr noundef %13, i32 noundef 1024)
store i64 %14, ptr %6, align 8
%15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%16 = load i8, ptr %15, align 16
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 38
br i1 %18, label %19, label %24
19: ; preds = %7
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @addUser(ptr noundef %20, i32 noundef %21, ptr noundef %22)
br label %40
24: ; preds = %7
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = load i8, ptr %25, align 16
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 37
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %4, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @command(ptr noundef %30, i32 noundef %31, ptr noundef %32)
br label %39
34: ; preds = %24
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = call i32 @logData(ptr noundef %35, ptr noundef @.str.1, i8 noundef signext %37)
br label %39
39: ; preds = %34, %29
br label %40
40: ; preds = %39, %19
br label %7
}
declare i32 @writeSock(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @readSock(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @addUser(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @command(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @logData(ptr noundef, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp18r3_sm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"AA READY!\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"unknown action: %x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @adminFunctions(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
br label %7
7: ; preds = %40, %2
%8 = load i32, ptr %4, align 4
%9 = call i32 @writeSock(i32 noundef %8, ptr noundef @.str, i32 noundef 10)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 1024)
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = call i64 @readSock(i32 noundef %12, ptr noundef %13, i32 noundef 1024)
store i64 %14, ptr %6, align 8
%15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%16 = load i8, ptr %15, align 16
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 38
br i1 %18, label %19, label %24
19: ; preds = %7
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @addUser(ptr noundef %20, i32 noundef %21, ptr noundef %22)
br label %40
24: ; preds = %7
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = load i8, ptr %25, align 16
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 37
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %4, align 4
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = call i32 @command(ptr noundef %30, i32 noundef %31, ptr noundef %32)
br label %39
34: ; preds = %24
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = call i32 @logData(ptr noundef %35, ptr noundef @.str.1, i8 noundef signext %37)
br label %39
39: ; preds = %34, %29
br label %40
40: ; preds = %39, %19
br label %7
}
declare i32 @writeSock(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @readSock(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @addUser(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @command(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @logData(ptr noundef, ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp99cb1_be.c'
source_filename = "/tmp/tmp99cb1_be.c"
target datalayout = "e-m:e-p270: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/tmp99cb1_be.c"
target datalayout = "e-m:e-p270: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/tmpkxwtt0o7.c'
source_filename = "/tmp/tmpkxwtt0o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
%8 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %47, %1
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %16, label %50
16: ; preds = %9
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 1, %24
%26 = srem i32 %25, 32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %16
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
30: ; preds = %16
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 1, %31
%33 = srem i32 %32, 8
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %45
37: ; preds = %30
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 1, %38
%40 = srem i32 %39, 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %37
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %44
44: ; preds = %42, %37
br label %45
45: ; preds = %44, %35
br label %46
46: ; preds = %45, %28
br label %47
47: ; preds = %46
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %9, !llvm.loop !6
50: ; preds = %9
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%52 = load ptr, ptr %4, align 8
%53 = load ptr, ptr %2, align 8
%54 = call i32 @strcpy(ptr noundef %52, ptr noundef %53)
store i32 0, ptr %5, align 4
br label %55
55: ; preds = %91, %50
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = icmp ne i8 %59, 0
br i1 %60, label %61, label %94
61: ; preds = %55
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = zext i8 %65 to i32
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66)
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 1, %68
%70 = srem i32 %69, 32
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %61
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %90
74: ; preds = %61
%75 = load i32, ptr %5, align 4
%76 = add nsw i32 1, %75
%77 = srem i32 %76, 8
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %81
79: ; preds = %74
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %89
81: ; preds = %74
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 1, %82
%84 = srem i32 %83, 4
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %81
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %88
88: ; preds = %86, %81
br label %89
89: ; preds = %88, %79
br label %90
90: ; preds = %89, %72
br label %91
91: ; preds = %90
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
br label %55, !llvm.loop !8
94: ; preds = %55
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @strcpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkxwtt0o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fn32(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [32 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
%8 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %.lr.ph, label %55
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %46
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 1, %23
%25 = srem i32 %24, 32
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %15
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %45
29: ; preds = %15
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 1, %30
%32 = srem i32 %31, 8
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %44
36: ; preds = %29
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 1, %37
%39 = srem i32 %38, 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %36
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %43
43: ; preds = %41, %36
br label %44
44: ; preds = %43, %34
br label %45
45: ; preds = %44, %27
br label %46
46: ; preds = %45
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = icmp ne i8 %53, 0
br i1 %54, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %55
55: ; preds = %._crit_edge, %1
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%57 = load ptr, ptr %4, align 8
%58 = load ptr, ptr %2, align 8
%59 = call i32 @strcpy(ptr noundef %57, ptr noundef %58)
store i32 0, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = icmp ne i8 %63, 0
br i1 %64, label %.lr.ph2, label %103
.lr.ph2: ; preds = %55
br label %65
65: ; preds = %.lr.ph2, %95
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %67
%69 = load i8, ptr %68, align 1
%70 = zext i8 %69 to i32
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %70)
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 1, %72
%74 = srem i32 %73, 32
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %65
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %94
78: ; preds = %65
%79 = load i32, ptr %5, align 4
%80 = add nsw i32 1, %79
%81 = srem i32 %80, 8
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %78
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %93
85: ; preds = %78
%86 = load i32, ptr %5, align 4
%87 = add nsw i32 1, %86
%88 = srem i32 %87, 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %85
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %92
92: ; preds = %90, %85
br label %93
93: ; preds = %92, %83
br label %94
94: ; preds = %93, %76
br label %95
95: ; preds = %94
%96 = load i32, ptr %5, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %5, align 4
%98 = load i32, ptr %5, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = icmp ne i8 %101, 0
br i1 %102, label %65, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %103
103: ; preds = %._crit_edge3, %55
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @strcpy(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwychsdku.c'
source_filename = "/tmp/tmpwychsdku.c"
target datalayout = "e-m:e-p270: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/tmpwychsdku.c"
target datalayout = "e-m:e-p270: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/tmphbdx5dbh.c'
source_filename = "/tmp/tmphbdx5dbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeDuplicateLetters(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i32], align 16
%4 = alloca [128 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 97, ptr %5, align 4
br label %11
11: ; preds = %21, %1
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 128
br i1 %13, label %14, label %24
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %16
store i32 0, ptr %17, align 4
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %19
store i32 0, ptr %20, align 4
br label %21
21: ; preds = %14
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %11, !llvm.loop !6
24: ; preds = %11
%25 = load ptr, ptr %2, align 8
%26 = call i32 @strlen(ptr noundef %25)
store i32 %26, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %41, %24
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %44
31: ; preds = %27
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i64
%38 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %38, align 4
br label %41
41: ; preds = %31
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %27, !llvm.loop !8
44: ; preds = %27
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 1, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %50
50: ; preds = %148, %44
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %151
54: ; preds = %50
br label %55
55: ; preds = %95, %54
%56 = load i32, ptr %9, align 4
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %108
58: ; preds = %55
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr %9, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp slt i32 %65, %71
br i1 %72, label %94, label %73
73: ; preds = %58
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %9, align 4
%76 = sub nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i64
%81 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = icmp eq i32 %82, 0
br i1 %83, label %94, label %84
84: ; preds = %73
%85 = load ptr, ptr %2, align 8
%86 = load i32, ptr %10, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i64
%91 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %84, %73, %58
br label %108
95: ; preds = %84
%96 = load ptr, ptr %8, align 8
%97 = load i32, ptr %9, align 4
%98 = sub nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %96, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i64
%103 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = add nsw i32 %104, -1
store i32 %105, ptr %103, align 4
%106 = load i32, ptr %9, align 4
%107 = add nsw i32 %106, -1
store i32 %107, ptr %9, align 4
br label %55, !llvm.loop !9
108: ; preds = %94, %55
%109 = load ptr, ptr %2, align 8
%110 = load i32, ptr %10, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %109, i64 %111
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i64
%115 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %114
%116 = load i32, ptr %115, align 4
%117 = icmp ne i32 %116, 0
br i1 %117, label %138, label %118
118: ; preds = %108
%119 = load ptr, ptr %2, align 8
%120 = load i32, ptr %10, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
%123 = load i8, ptr %122, align 1
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %9, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %9, align 4
%127 = sext i32 %125 to i64
%128 = getelementptr inbounds i8, ptr %124, i64 %127
store i8 %123, ptr %128, align 1
%129 = load ptr, ptr %2, align 8
%130 = load i32, ptr %10, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %129, i64 %131
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i64
%135 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %134
%136 = load i32, ptr %135, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %135, align 4
br label %138
138: ; preds = %118, %108
%139 = load ptr, ptr %2, align 8
%140 = load i32, ptr %10, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %139, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i64
%145 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = add nsw i32 %146, -1
store i32 %147, ptr %145, align 4
br label %148
148: ; preds = %138
%149 = load i32, ptr %10, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %10, align 4
br label %50, !llvm.loop !10
151: ; preds = %50
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %9, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i8, ptr %152, i64 %154
store i8 0, ptr %155, align 1
%156 = load ptr, ptr %8, align 8
ret ptr %156
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphbdx5dbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeDuplicateLetters(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i32], align 16
%4 = alloca [128 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 97, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 128
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %20
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %15
store i32 0, ptr %16, align 4
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %13
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 128
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %1
%26 = load ptr, ptr %2, align 8
%27 = call i32 @strlen(ptr noundef %26)
store i32 %27, ptr %6, align 4
store i32 0, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %47
.lr.ph2: ; preds = %25
br label %31
31: ; preds = %.lr.ph2, %41
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i64
%38 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %38, align 4
br label %41
41: ; preds = %31
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %25
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = mul i64 1, %49
%51 = trunc i64 %50 to i32
%52 = call ptr @malloc(i32 noundef %51)
store ptr %52, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph7, label %157
.lr.ph7: ; preds = %47
br label %56
56: ; preds = %.lr.ph7, %151
%57 = load i32, ptr %9, align 4
%58 = icmp sgt i32 %57, 0
br i1 %58, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %56
br label %59
59: ; preds = %.lr.ph5, %96
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %9, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %60, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp slt i32 %66, %72
br i1 %73, label %95, label %74
74: ; preds = %59
%75 = load ptr, ptr %8, align 8
%76 = load i32, ptr %9, align 4
%77 = sub nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i64
%82 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label %95, label %85
85: ; preds = %74
%86 = load ptr, ptr %2, align 8
%87 = load i32, ptr %10, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i64
%92 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %91
%93 = load i32, ptr %92, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %85, %74, %59
br label %111
96: ; preds = %85
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %9, align 4
%99 = sub nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %97, i64 %100
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i64
%104 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %103
%105 = load i32, ptr %104, align 4
%106 = add nsw i32 %105, -1
store i32 %106, ptr %104, align 4
%107 = load i32, ptr %9, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %9, align 4
%109 = load i32, ptr %9, align 4
%110 = icmp sgt i32 %109, 0
br i1 %110, label %59, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %96
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %56
br label %111
111: ; preds = %.loopexit, %95
%112 = load ptr, ptr %2, align 8
%113 = load i32, ptr %10, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i64
%118 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %117
%119 = load i32, ptr %118, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %141, label %121
121: ; preds = %111
%122 = load ptr, ptr %2, align 8
%123 = load i32, ptr %10, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i8, ptr %122, i64 %124
%126 = load i8, ptr %125, align 1
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %9, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %9, align 4
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds i8, ptr %127, i64 %130
store i8 %126, ptr %131, align 1
%132 = load ptr, ptr %2, align 8
%133 = load i32, ptr %10, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i64
%138 = getelementptr inbounds [128 x i32], ptr %4, i64 0, i64 %137
%139 = load i32, ptr %138, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %138, align 4
br label %141
141: ; preds = %121, %111
%142 = load ptr, ptr %2, align 8
%143 = load i32, ptr %10, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i64
%148 = getelementptr inbounds [128 x i32], ptr %3, i64 0, i64 %147
%149 = load i32, ptr %148, align 4
%150 = add nsw i32 %149, -1
store i32 %150, ptr %148, align 4
br label %151
151: ; preds = %141
%152 = load i32, ptr %10, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %10, align 4
%154 = load i32, ptr %10, align 4
%155 = load i32, ptr %6, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %56, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %151
br label %157
157: ; preds = %._crit_edge8, %47
%158 = load ptr, ptr %8, align 8
%159 = load i32, ptr %9, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %158, i64 %160
store i8 0, ptr %161, align 1
%162 = load ptr, ptr %8, align 8
ret ptr %162
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpljppp5bu.c'
source_filename = "/tmp/tmpljppp5bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @path_get_dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %56
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %54
14: ; preds = %9
br label %15
15: ; preds = %26, %14
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp ugt ptr %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 47
br label %24
24: ; preds = %19, %15
%25 = phi i1 [ false, %15 ], [ %23, %19 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %5, align 8
br label %15, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %3, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = add nsw i64 %34, 1
%36 = trunc i64 %35 to i32
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
%39 = call i64 @mhs_malloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %44, label %43
43: ; preds = %29
store ptr null, ptr %2, align 8
br label %56
44: ; preds = %29
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %4, align 4
%48 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %5, align 8
store ptr %53, ptr %2, align 8
br label %56
54: ; preds = %9
%55 = call ptr @mhs_strdup(ptr noundef @.str)
store ptr %55, ptr %2, align 8
br label %56
56: ; preds = %54, %44, %43, %8
%57 = load ptr, ptr %2, align 8
ret ptr %57
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @mhs_malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @mhs_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljppp5bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @path_get_dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %56
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %54
14: ; preds = %9
br label %15
15: ; preds = %26, %14
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = icmp ugt ptr %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 47
br label %24
24: ; preds = %19, %15
%25 = phi i1 [ false, %15 ], [ %23, %19 ]
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %5, align 8
br label %15, !llvm.loop !6
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %3, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = add nsw i64 %34, 1
%36 = trunc i64 %35 to i32
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
%39 = call i64 @mhs_malloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %44, label %43
43: ; preds = %29
store ptr null, ptr %2, align 8
br label %56
44: ; preds = %29
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %4, align 4
%48 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %5, align 8
store ptr %53, ptr %2, align 8
br label %56
54: ; preds = %9
%55 = call ptr @mhs_strdup(ptr noundef @.str)
store ptr %55, ptr %2, align 8
br label %56
56: ; preds = %54, %44, %43, %8
%57 = load ptr, ptr %2, align 8
ret ptr %57
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @mhs_malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @mhs_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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjae999fs.c'
source_filename = "/tmp/tmpjae999fs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpjae999fs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpl0cx7lf1.c'
source_filename = "/tmp/tmpl0cx7lf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ReadEepromWord(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i64 0, ptr %3, align 8
br label %6
6: ; preds = %19, %1
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = call i32 @ReadEeprom(i32 noundef %10)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = mul nsw i32 %13, 8
%15 = shl i32 %12, %14
%16 = sext i32 %15 to i64
%17 = load i64, ptr %3, align 8
%18 = or i64 %17, %16
store i64 %18, ptr %3, align 8
br label %19
19: ; preds = %9
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %6, !llvm.loop !6
22: ; preds = %6
%23 = load i64, ptr %3, align 8
ret i64 %23
}
declare i32 @ReadEeprom(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/tmpl0cx7lf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ReadEepromWord(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i64 0, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %18
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = call i32 @ReadEeprom(i32 noundef %9)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = mul nsw i32 %12, 8
%14 = shl i32 %11, %13
%15 = sext i32 %14 to i64
%16 = load i64, ptr %3, align 8
%17 = or i64 %16, %15
store i64 %17, ptr %3, align 8
br label %18
18: ; preds = %8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 2
br i1 %22, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %1
%24 = load i64, ptr %3, align 8
ret i64 %24
}
declare i32 @ReadEeprom(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/tmpcqseod03.c'
source_filename = "/tmp/tmpcqseod03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"dba.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"File could not be opened\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"VELIVOLO\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%lg\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"LOCATION\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"Cm\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"CXP\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"CYA\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"CZP\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"ClA\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"CmP\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"CnA\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"CYda\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"Cnda\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"Cmom\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readDba(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i8, align 1
%40 = alloca [300 x i8], align 16
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
call void @llvm.memset.p0.i64(ptr align 16 %40, i8 0, i64 300, i1 false)
store i32 0, ptr %41, align 4
%44 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %44, ptr %43, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %11
%47 = call i32 @printf(ptr noundef @.str.2)
br label %391
48: ; preds = %11
%49 = load ptr, ptr %43, align 8
%50 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %49, ptr noundef @.str.3, ptr noundef %39)
br label %51
51: ; preds = %337, %48
%52 = load ptr, ptr %43, align 8
%53 = call i32 @feof(ptr noundef %52)
%54 = icmp ne i32 %53, 0
%55 = xor i1 %54, true
br i1 %55, label %56, label %340
56: ; preds = %51
%57 = load i8, ptr %39, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 32
br i1 %59, label %60, label %75
60: ; preds = %56
%61 = load i8, ptr %39, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 9
br i1 %63, label %64, label %75
64: ; preds = %60
%65 = load i8, ptr %39, align 1
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 10
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = load i8, ptr %39, align 1
%70 = load i32, ptr %41, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 %71
store i8 %69, ptr %72, align 1
%73 = load i32, ptr %41, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %41, align 4
br label %337
75: ; preds = %64, %60, %56
%76 = load i32, ptr %41, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %336
78: ; preds = %75
%79 = load i32, ptr %41, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 %80
store i8 0, ptr %81, align 1
store i32 0, ptr %41, align 4
%82 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.4)
%84 = icmp eq i64 %83, 0
br i1 %84, label %85, label %123
85: ; preds = %78
%86 = load ptr, ptr %43, align 8
%87 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%88 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %86, ptr noundef @.str.5, ptr noundef %87)
%89 = load ptr, ptr %43, align 8
%90 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%91 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %89, ptr noundef @.str.5, ptr noundef %90)
%92 = load ptr, ptr %43, align 8
%93 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%94 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %92, ptr noundef @.str.5, ptr noundef %93)
%95 = load ptr, ptr %43, align 8
%96 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %95, ptr noundef @.str.6, ptr noundef %23)
%97 = load ptr, ptr %43, align 8
%98 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%99 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %97, ptr noundef @.str.5, ptr noundef %98)
%100 = load ptr, ptr %43, align 8
%101 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %100, ptr noundef @.str.6, ptr noundef %24)
%102 = load ptr, ptr %43, align 8
%103 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%104 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %102, ptr noundef @.str.5, ptr noundef %103)
%105 = load ptr, ptr %43, align 8
%106 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%107 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %105, ptr noundef @.str.5, ptr noundef %106)
%108 = load ptr, ptr %43, align 8
%109 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %108, ptr noundef @.str.6, ptr noundef %25)
%110 = load ptr, ptr %43, align 8
%111 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%112 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %110, ptr noundef @.str.5, ptr noundef %111)
%113 = load ptr, ptr %43, align 8
%114 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%115 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %113, ptr noundef @.str.5, ptr noundef %114)
%116 = load ptr, ptr %43, align 8
%117 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %116, ptr noundef @.str.6, ptr noundef %26)
%118 = load ptr, ptr %43, align 8
%119 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%120 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %118, ptr noundef @.str.5, ptr noundef %119)
%121 = load ptr, ptr %43, align 8
%122 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %121, ptr noundef @.str.6, ptr noundef %27)
br label %335
123: ; preds = %78
%124 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%125 = call i64 @strcmp(ptr noundef %124, ptr noundef @.str.7)
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %214
127: ; preds = %123
%128 = load ptr, ptr %43, align 8
%129 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %128, ptr noundef @.str.6, ptr noundef %28)
%130 = load ptr, ptr %43, align 8
%131 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%132 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %130, ptr noundef @.str.5, ptr noundef %131)
%133 = load ptr, ptr %43, align 8
%134 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %133, ptr noundef @.str.6, ptr noundef %29)
%135 = load ptr, ptr %43, align 8
%136 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%137 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %135, ptr noundef @.str.5, ptr noundef %136)
%138 = load ptr, ptr %43, align 8
%139 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %138, ptr noundef @.str.6, ptr noundef %30)
%140 = load ptr, ptr %43, align 8
%141 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%142 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %140, ptr noundef @.str.5, ptr noundef %141)
%143 = load ptr, ptr %43, align 8
%144 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %143, ptr noundef @.str.6, ptr noundef %31)
store i32 0, ptr %42, align 4
br label %145
145: ; preds = %152, %127
%146 = load i32, ptr %42, align 4
%147 = icmp slt i32 %146, 39
br i1 %147, label %148, label %155
148: ; preds = %145
%149 = load ptr, ptr %43, align 8
%150 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%151 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %149, ptr noundef @.str.5, ptr noundef %150)
br label %152
152: ; preds = %148
%153 = load i32, ptr %42, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %42, align 4
br label %145, !llvm.loop !6
155: ; preds = %145
%156 = load ptr, ptr %43, align 8
%157 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %156, ptr noundef @.str.6, ptr noundef %33)
%158 = load ptr, ptr %43, align 8
%159 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%160 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %158, ptr noundef @.str.5, ptr noundef %159)
%161 = load ptr, ptr %43, align 8
%162 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%163 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %161, ptr noundef @.str.5, ptr noundef %162)
%164 = load ptr, ptr %43, align 8
%165 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %164, ptr noundef @.str.6, ptr noundef %32)
%166 = load ptr, ptr %43, align 8
%167 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%168 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %166, ptr noundef @.str.5, ptr noundef %167)
%169 = load ptr, ptr %43, align 8
%170 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%171 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %169, ptr noundef @.str.5, ptr noundef %170)
%172 = load ptr, ptr %43, align 8
%173 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %172, ptr noundef @.str.6, ptr noundef %34)
%174 = load ptr, ptr %43, align 8
%175 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%176 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %174, ptr noundef @.str.5, ptr noundef %175)
%177 = load ptr, ptr %43, align 8
%178 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%179 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %177, ptr noundef @.str.5, ptr noundef %178)
%180 = load ptr, ptr %43, align 8
%181 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %180, ptr noundef @.str.6, ptr noundef %35)
%182 = load ptr, ptr %43, align 8
%183 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%184 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %182, ptr noundef @.str.5, ptr noundef %183)
%185 = load ptr, ptr %43, align 8
%186 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%187 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %185, ptr noundef @.str.5, ptr noundef %186)
%188 = load ptr, ptr %43, align 8
%189 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %188, ptr noundef @.str.6, ptr noundef %36)
%190 = load ptr, ptr %43, align 8
%191 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%192 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %190, ptr noundef @.str.5, ptr noundef %191)
%193 = load ptr, ptr %43, align 8
%194 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%195 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %193, ptr noundef @.str.5, ptr noundef %194)
%196 = load ptr, ptr %43, align 8
%197 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%198 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %196, ptr noundef @.str.5, ptr noundef %197)
%199 = load ptr, ptr %43, align 8
%200 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %199, ptr noundef @.str.6, ptr noundef %37)
store i32 0, ptr %42, align 4
br label %201
201: ; preds = %208, %155
%202 = load i32, ptr %42, align 4
%203 = icmp slt i32 %202, 13
br i1 %203, label %204, label %211
204: ; preds = %201
%205 = load ptr, ptr %43, align 8
%206 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%207 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %205, ptr noundef @.str.5, ptr noundef %206)
br label %208
208: ; preds = %204
%209 = load i32, ptr %42, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %42, align 4
br label %201, !llvm.loop !8
211: ; preds = %201
%212 = load ptr, ptr %43, align 8
%213 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %212, ptr noundef @.str.6, ptr noundef %38)
br label %334
214: ; preds = %123
%215 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%216 = call i64 @strcmp(ptr noundef %215, ptr noundef @.str.8)
%217 = icmp eq i64 %216, 0
br i1 %217, label %218, label %225
218: ; preds = %214
%219 = load ptr, ptr %43, align 8
%220 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%221 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %219, ptr noundef @.str.5, ptr noundef %220)
%222 = load ptr, ptr %13, align 8
%223 = load ptr, ptr %43, align 8
%224 = call i32 @readMatrix(ptr noundef %222, ptr noundef %223)
br label %333
225: ; preds = %214
%226 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%227 = call i64 @strcmp(ptr noundef %226, ptr noundef @.str.9)
%228 = icmp eq i64 %227, 0
br i1 %228, label %229, label %236
229: ; preds = %225
%230 = load ptr, ptr %43, align 8
%231 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%232 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %230, ptr noundef @.str.5, ptr noundef %231)
%233 = load ptr, ptr %14, align 8
%234 = load ptr, ptr %43, align 8
%235 = call i32 @readMatrix2(ptr noundef %233, ptr noundef %234)
br label %332
236: ; preds = %225
%237 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%238 = call i64 @strcmp(ptr noundef %237, ptr noundef @.str.10)
%239 = icmp eq i64 %238, 0
br i1 %239, label %240, label %247
240: ; preds = %236
%241 = load ptr, ptr %43, align 8
%242 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%243 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %241, ptr noundef @.str.5, ptr noundef %242)
%244 = load ptr, ptr %15, align 8
%245 = load ptr, ptr %43, align 8
%246 = call i32 @readMatrix(ptr noundef %244, ptr noundef %245)
br label %331
247: ; preds = %236
%248 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%249 = call i64 @strcmp(ptr noundef %248, ptr noundef @.str.11)
%250 = icmp eq i64 %249, 0
br i1 %250, label %251, label %258
251: ; preds = %247
%252 = load ptr, ptr %43, align 8
%253 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%254 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %252, ptr noundef @.str.5, ptr noundef %253)
%255 = load ptr, ptr %16, align 8
%256 = load ptr, ptr %43, align 8
%257 = call i32 @readMatrix2(ptr noundef %255, ptr noundef %256)
br label %330
258: ; preds = %247
%259 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%260 = call i64 @strcmp(ptr noundef %259, ptr noundef @.str.12)
%261 = icmp eq i64 %260, 0
br i1 %261, label %262, label %269
262: ; preds = %258
%263 = load ptr, ptr %43, align 8
%264 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%265 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %263, ptr noundef @.str.5, ptr noundef %264)
%266 = load ptr, ptr %17, align 8
%267 = load ptr, ptr %43, align 8
%268 = call i32 @readMatrix(ptr noundef %266, ptr noundef %267)
br label %329
269: ; preds = %258
%270 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%271 = call i64 @strcmp(ptr noundef %270, ptr noundef @.str.13)
%272 = icmp eq i64 %271, 0
br i1 %272, label %273, label %280
273: ; preds = %269
%274 = load ptr, ptr %43, align 8
%275 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%276 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %274, ptr noundef @.str.5, ptr noundef %275)
%277 = load ptr, ptr %18, align 8
%278 = load ptr, ptr %43, align 8
%279 = call i32 @readMatrix2(ptr noundef %277, ptr noundef %278)
br label %328
280: ; preds = %269
%281 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%282 = call i64 @strcmp(ptr noundef %281, ptr noundef @.str.14)
%283 = icmp eq i64 %282, 0
br i1 %283, label %284, label %291
284: ; preds = %280
%285 = load ptr, ptr %43, align 8
%286 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%287 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %285, ptr noundef @.str.5, ptr noundef %286)
%288 = load ptr, ptr %19, align 8
%289 = load ptr, ptr %43, align 8
%290 = call i32 @readMatrix(ptr noundef %288, ptr noundef %289)
br label %327
291: ; preds = %280
%292 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%293 = call i64 @strcmp(ptr noundef %292, ptr noundef @.str.15)
%294 = icmp eq i64 %293, 0
br i1 %294, label %295, label %302
295: ; preds = %291
%296 = load ptr, ptr %43, align 8
%297 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%298 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %296, ptr noundef @.str.5, ptr noundef %297)
%299 = load ptr, ptr %20, align 8
%300 = load ptr, ptr %43, align 8
%301 = call i32 @readMatrix(ptr noundef %299, ptr noundef %300)
br label %326
302: ; preds = %291
%303 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%304 = call i64 @strcmp(ptr noundef %303, ptr noundef @.str.16)
%305 = icmp eq i64 %304, 0
br i1 %305, label %306, label %313
306: ; preds = %302
%307 = load ptr, ptr %43, align 8
%308 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%309 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %307, ptr noundef @.str.5, ptr noundef %308)
%310 = load ptr, ptr %21, align 8
%311 = load ptr, ptr %43, align 8
%312 = call i32 @readMatrix(ptr noundef %310, ptr noundef %311)
br label %325
313: ; preds = %302
%314 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%315 = call i64 @strcmp(ptr noundef %314, ptr noundef @.str.17)
%316 = icmp eq i64 %315, 0
br i1 %316, label %317, label %324
317: ; preds = %313
%318 = load ptr, ptr %43, align 8
%319 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%320 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %318, ptr noundef @.str.5, ptr noundef %319)
%321 = load ptr, ptr %22, align 8
%322 = load ptr, ptr %43, align 8
%323 = call i32 @readMatrix(ptr noundef %321, ptr noundef %322)
br label %324
324: ; preds = %317, %313
br label %325
325: ; preds = %324, %306
br label %326
326: ; preds = %325, %295
br label %327
327: ; preds = %326, %284
br label %328
328: ; preds = %327, %273
br label %329
329: ; preds = %328, %262
br label %330
330: ; preds = %329, %251
br label %331
331: ; preds = %330, %240
br label %332
332: ; preds = %331, %229
br label %333
333: ; preds = %332, %218
br label %334
334: ; preds = %333, %211
br label %335
335: ; preds = %334, %85
br label %336
336: ; preds = %335, %75
br label %337
337: ; preds = %336, %68
%338 = load ptr, ptr %43, align 8
%339 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %338, ptr noundef @.str.3, ptr noundef %39)
br label %51, !llvm.loop !9
340: ; preds = %51
%341 = load ptr, ptr %43, align 8
%342 = call i32 @fclose(ptr noundef %341)
%343 = load double, ptr %23, align 8
%344 = load ptr, ptr %12, align 8
%345 = getelementptr inbounds double, ptr %344, i64 0
store double %343, ptr %345, align 8
%346 = load double, ptr %24, align 8
%347 = load ptr, ptr %12, align 8
%348 = getelementptr inbounds double, ptr %347, i64 1
store double %346, ptr %348, align 8
%349 = load double, ptr %25, align 8
%350 = load ptr, ptr %12, align 8
%351 = getelementptr inbounds double, ptr %350, i64 2
store double %349, ptr %351, align 8
%352 = load double, ptr %26, align 8
%353 = load ptr, ptr %12, align 8
%354 = getelementptr inbounds double, ptr %353, i64 3
store double %352, ptr %354, align 8
%355 = load double, ptr %27, align 8
%356 = load ptr, ptr %12, align 8
%357 = getelementptr inbounds double, ptr %356, i64 4
store double %355, ptr %357, align 8
%358 = load double, ptr %28, align 8
%359 = load ptr, ptr %12, align 8
%360 = getelementptr inbounds double, ptr %359, i64 5
store double %358, ptr %360, align 8
%361 = load double, ptr %29, align 8
%362 = load ptr, ptr %12, align 8
%363 = getelementptr inbounds double, ptr %362, i64 6
store double %361, ptr %363, align 8
%364 = load double, ptr %30, align 8
%365 = load ptr, ptr %12, align 8
%366 = getelementptr inbounds double, ptr %365, i64 7
store double %364, ptr %366, align 8
%367 = load double, ptr %31, align 8
%368 = load ptr, ptr %12, align 8
%369 = getelementptr inbounds double, ptr %368, i64 8
store double %367, ptr %369, align 8
%370 = load double, ptr %32, align 8
%371 = load ptr, ptr %12, align 8
%372 = getelementptr inbounds double, ptr %371, i64 9
store double %370, ptr %372, align 8
%373 = load double, ptr %33, align 8
%374 = load ptr, ptr %12, align 8
%375 = getelementptr inbounds double, ptr %374, i64 10
store double %373, ptr %375, align 8
%376 = load double, ptr %34, align 8
%377 = load ptr, ptr %12, align 8
%378 = getelementptr inbounds double, ptr %377, i64 11
store double %376, ptr %378, align 8
%379 = load double, ptr %35, align 8
%380 = load ptr, ptr %12, align 8
%381 = getelementptr inbounds double, ptr %380, i64 12
store double %379, ptr %381, align 8
%382 = load double, ptr %36, align 8
%383 = load ptr, ptr %12, align 8
%384 = getelementptr inbounds double, ptr %383, i64 13
store double %382, ptr %384, align 8
%385 = load double, ptr %37, align 8
%386 = load ptr, ptr %12, align 8
%387 = getelementptr inbounds double, ptr %386, i64 14
store double %385, ptr %387, align 8
%388 = load double, ptr %38, align 8
%389 = load ptr, ptr %12, align 8
%390 = getelementptr inbounds double, ptr %389, i64 15
store double %388, ptr %390, align 8
br label %391
391: ; preds = %340, %46
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #2
declare i32 @feof(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @readMatrix(ptr noundef, ptr noundef) #2
declare i32 @readMatrix2(ptr noundef, ptr noundef) #2
declare i32 @fclose(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcqseod03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"dba.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"File could not be opened\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"VELIVOLO\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%lg\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"LOCATION\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"Cm\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"CXP\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"CYA\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"CZP\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"ClA\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"CmP\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"CnA\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"CYda\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"Cnda\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"Cmom\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @readDba(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
%34 = alloca double, align 8
%35 = alloca double, align 8
%36 = alloca double, align 8
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i8, align 1
%40 = alloca [300 x i8], align 16
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
call void @llvm.memset.p0.i64(ptr align 16 %40, i8 0, i64 300, i1 false)
store i32 0, ptr %41, align 4
%44 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %44, ptr %43, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %11
%47 = call i32 @printf(ptr noundef @.str.2)
br label %396
48: ; preds = %11
%49 = load ptr, ptr %43, align 8
%50 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %49, ptr noundef @.str.3, ptr noundef %39)
%51 = load ptr, ptr %43, align 8
%52 = call i32 @feof(ptr noundef %51)
%53 = icmp ne i32 %52, 0
%54 = xor i1 %53, true
br i1 %54, label %.lr.ph5, label %345
.lr.ph5: ; preds = %48
br label %55
55: ; preds = %.lr.ph5, %338
%56 = load i8, ptr %39, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 32
br i1 %58, label %59, label %74
59: ; preds = %55
%60 = load i8, ptr %39, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 9
br i1 %62, label %63, label %74
63: ; preds = %59
%64 = load i8, ptr %39, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 10
br i1 %66, label %67, label %74
67: ; preds = %63
%68 = load i8, ptr %39, align 1
%69 = load i32, ptr %41, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 %70
store i8 %68, ptr %71, align 1
%72 = load i32, ptr %41, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %41, align 4
br label %338
74: ; preds = %63, %59, %55
%75 = load i32, ptr %41, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %337
77: ; preds = %74
%78 = load i32, ptr %41, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 %79
store i8 0, ptr %80, align 1
store i32 0, ptr %41, align 4
%81 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%82 = call i64 @strcmp(ptr noundef %81, ptr noundef @.str.4)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %122
84: ; preds = %77
%85 = load ptr, ptr %43, align 8
%86 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%87 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %85, ptr noundef @.str.5, ptr noundef %86)
%88 = load ptr, ptr %43, align 8
%89 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%90 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %88, ptr noundef @.str.5, ptr noundef %89)
%91 = load ptr, ptr %43, align 8
%92 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%93 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %91, ptr noundef @.str.5, ptr noundef %92)
%94 = load ptr, ptr %43, align 8
%95 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %94, ptr noundef @.str.6, ptr noundef %23)
%96 = load ptr, ptr %43, align 8
%97 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%98 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %96, ptr noundef @.str.5, ptr noundef %97)
%99 = load ptr, ptr %43, align 8
%100 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %99, ptr noundef @.str.6, ptr noundef %24)
%101 = load ptr, ptr %43, align 8
%102 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%103 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %101, ptr noundef @.str.5, ptr noundef %102)
%104 = load ptr, ptr %43, align 8
%105 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%106 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %104, ptr noundef @.str.5, ptr noundef %105)
%107 = load ptr, ptr %43, align 8
%108 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %107, ptr noundef @.str.6, ptr noundef %25)
%109 = load ptr, ptr %43, align 8
%110 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%111 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %109, ptr noundef @.str.5, ptr noundef %110)
%112 = load ptr, ptr %43, align 8
%113 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%114 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %112, ptr noundef @.str.5, ptr noundef %113)
%115 = load ptr, ptr %43, align 8
%116 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %115, ptr noundef @.str.6, ptr noundef %26)
%117 = load ptr, ptr %43, align 8
%118 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%119 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %117, ptr noundef @.str.5, ptr noundef %118)
%120 = load ptr, ptr %43, align 8
%121 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %120, ptr noundef @.str.6, ptr noundef %27)
br label %336
122: ; preds = %77
%123 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%124 = call i64 @strcmp(ptr noundef %123, ptr noundef @.str.7)
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %215
126: ; preds = %122
%127 = load ptr, ptr %43, align 8
%128 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %127, ptr noundef @.str.6, ptr noundef %28)
%129 = load ptr, ptr %43, align 8
%130 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%131 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %129, ptr noundef @.str.5, ptr noundef %130)
%132 = load ptr, ptr %43, align 8
%133 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %132, ptr noundef @.str.6, ptr noundef %29)
%134 = load ptr, ptr %43, align 8
%135 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%136 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %134, ptr noundef @.str.5, ptr noundef %135)
%137 = load ptr, ptr %43, align 8
%138 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %137, ptr noundef @.str.6, ptr noundef %30)
%139 = load ptr, ptr %43, align 8
%140 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%141 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %139, ptr noundef @.str.5, ptr noundef %140)
%142 = load ptr, ptr %43, align 8
%143 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %142, ptr noundef @.str.6, ptr noundef %31)
store i32 0, ptr %42, align 4
%144 = load i32, ptr %42, align 4
%145 = icmp slt i32 %144, 39
br i1 %145, label %.lr.ph, label %155
.lr.ph: ; preds = %126
br label %146
146: ; preds = %.lr.ph, %150
%147 = load ptr, ptr %43, align 8
%148 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%149 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %147, ptr noundef @.str.5, ptr noundef %148)
br label %150
150: ; preds = %146
%151 = load i32, ptr %42, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %42, align 4
%153 = load i32, ptr %42, align 4
%154 = icmp slt i32 %153, 39
br i1 %154, label %146, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %150
br label %155
155: ; preds = %._crit_edge, %126
%156 = load ptr, ptr %43, align 8
%157 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %156, ptr noundef @.str.6, ptr noundef %33)
%158 = load ptr, ptr %43, align 8
%159 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%160 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %158, ptr noundef @.str.5, ptr noundef %159)
%161 = load ptr, ptr %43, align 8
%162 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%163 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %161, ptr noundef @.str.5, ptr noundef %162)
%164 = load ptr, ptr %43, align 8
%165 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %164, ptr noundef @.str.6, ptr noundef %32)
%166 = load ptr, ptr %43, align 8
%167 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%168 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %166, ptr noundef @.str.5, ptr noundef %167)
%169 = load ptr, ptr %43, align 8
%170 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%171 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %169, ptr noundef @.str.5, ptr noundef %170)
%172 = load ptr, ptr %43, align 8
%173 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %172, ptr noundef @.str.6, ptr noundef %34)
%174 = load ptr, ptr %43, align 8
%175 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%176 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %174, ptr noundef @.str.5, ptr noundef %175)
%177 = load ptr, ptr %43, align 8
%178 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%179 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %177, ptr noundef @.str.5, ptr noundef %178)
%180 = load ptr, ptr %43, align 8
%181 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %180, ptr noundef @.str.6, ptr noundef %35)
%182 = load ptr, ptr %43, align 8
%183 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%184 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %182, ptr noundef @.str.5, ptr noundef %183)
%185 = load ptr, ptr %43, align 8
%186 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%187 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %185, ptr noundef @.str.5, ptr noundef %186)
%188 = load ptr, ptr %43, align 8
%189 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %188, ptr noundef @.str.6, ptr noundef %36)
%190 = load ptr, ptr %43, align 8
%191 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%192 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %190, ptr noundef @.str.5, ptr noundef %191)
%193 = load ptr, ptr %43, align 8
%194 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%195 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %193, ptr noundef @.str.5, ptr noundef %194)
%196 = load ptr, ptr %43, align 8
%197 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%198 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %196, ptr noundef @.str.5, ptr noundef %197)
%199 = load ptr, ptr %43, align 8
%200 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %199, ptr noundef @.str.6, ptr noundef %37)
store i32 0, ptr %42, align 4
%201 = load i32, ptr %42, align 4
%202 = icmp slt i32 %201, 13
br i1 %202, label %.lr.ph2, label %212
.lr.ph2: ; preds = %155
br label %203
203: ; preds = %.lr.ph2, %207
%204 = load ptr, ptr %43, align 8
%205 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%206 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %204, ptr noundef @.str.5, ptr noundef %205)
br label %207
207: ; preds = %203
%208 = load i32, ptr %42, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %42, align 4
%210 = load i32, ptr %42, align 4
%211 = icmp slt i32 %210, 13
br i1 %211, label %203, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %207
br label %212
212: ; preds = %._crit_edge3, %155
%213 = load ptr, ptr %43, align 8
%214 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %213, ptr noundef @.str.6, ptr noundef %38)
br label %335
215: ; preds = %122
%216 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%217 = call i64 @strcmp(ptr noundef %216, ptr noundef @.str.8)
%218 = icmp eq i64 %217, 0
br i1 %218, label %219, label %226
219: ; preds = %215
%220 = load ptr, ptr %43, align 8
%221 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%222 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %220, ptr noundef @.str.5, ptr noundef %221)
%223 = load ptr, ptr %13, align 8
%224 = load ptr, ptr %43, align 8
%225 = call i32 @readMatrix(ptr noundef %223, ptr noundef %224)
br label %334
226: ; preds = %215
%227 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%228 = call i64 @strcmp(ptr noundef %227, ptr noundef @.str.9)
%229 = icmp eq i64 %228, 0
br i1 %229, label %230, label %237
230: ; preds = %226
%231 = load ptr, ptr %43, align 8
%232 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%233 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %231, ptr noundef @.str.5, ptr noundef %232)
%234 = load ptr, ptr %14, align 8
%235 = load ptr, ptr %43, align 8
%236 = call i32 @readMatrix2(ptr noundef %234, ptr noundef %235)
br label %333
237: ; preds = %226
%238 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%239 = call i64 @strcmp(ptr noundef %238, ptr noundef @.str.10)
%240 = icmp eq i64 %239, 0
br i1 %240, label %241, label %248
241: ; preds = %237
%242 = load ptr, ptr %43, align 8
%243 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%244 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %242, ptr noundef @.str.5, ptr noundef %243)
%245 = load ptr, ptr %15, align 8
%246 = load ptr, ptr %43, align 8
%247 = call i32 @readMatrix(ptr noundef %245, ptr noundef %246)
br label %332
248: ; preds = %237
%249 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%250 = call i64 @strcmp(ptr noundef %249, ptr noundef @.str.11)
%251 = icmp eq i64 %250, 0
br i1 %251, label %252, label %259
252: ; preds = %248
%253 = load ptr, ptr %43, align 8
%254 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%255 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %253, ptr noundef @.str.5, ptr noundef %254)
%256 = load ptr, ptr %16, align 8
%257 = load ptr, ptr %43, align 8
%258 = call i32 @readMatrix2(ptr noundef %256, ptr noundef %257)
br label %331
259: ; preds = %248
%260 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%261 = call i64 @strcmp(ptr noundef %260, ptr noundef @.str.12)
%262 = icmp eq i64 %261, 0
br i1 %262, label %263, label %270
263: ; preds = %259
%264 = load ptr, ptr %43, align 8
%265 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%266 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %264, ptr noundef @.str.5, ptr noundef %265)
%267 = load ptr, ptr %17, align 8
%268 = load ptr, ptr %43, align 8
%269 = call i32 @readMatrix(ptr noundef %267, ptr noundef %268)
br label %330
270: ; preds = %259
%271 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%272 = call i64 @strcmp(ptr noundef %271, ptr noundef @.str.13)
%273 = icmp eq i64 %272, 0
br i1 %273, label %274, label %281
274: ; preds = %270
%275 = load ptr, ptr %43, align 8
%276 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%277 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %275, ptr noundef @.str.5, ptr noundef %276)
%278 = load ptr, ptr %18, align 8
%279 = load ptr, ptr %43, align 8
%280 = call i32 @readMatrix2(ptr noundef %278, ptr noundef %279)
br label %329
281: ; preds = %270
%282 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%283 = call i64 @strcmp(ptr noundef %282, ptr noundef @.str.14)
%284 = icmp eq i64 %283, 0
br i1 %284, label %285, label %292
285: ; preds = %281
%286 = load ptr, ptr %43, align 8
%287 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%288 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %286, ptr noundef @.str.5, ptr noundef %287)
%289 = load ptr, ptr %19, align 8
%290 = load ptr, ptr %43, align 8
%291 = call i32 @readMatrix(ptr noundef %289, ptr noundef %290)
br label %328
292: ; preds = %281
%293 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%294 = call i64 @strcmp(ptr noundef %293, ptr noundef @.str.15)
%295 = icmp eq i64 %294, 0
br i1 %295, label %296, label %303
296: ; preds = %292
%297 = load ptr, ptr %43, align 8
%298 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%299 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %297, ptr noundef @.str.5, ptr noundef %298)
%300 = load ptr, ptr %20, align 8
%301 = load ptr, ptr %43, align 8
%302 = call i32 @readMatrix(ptr noundef %300, ptr noundef %301)
br label %327
303: ; preds = %292
%304 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%305 = call i64 @strcmp(ptr noundef %304, ptr noundef @.str.16)
%306 = icmp eq i64 %305, 0
br i1 %306, label %307, label %314
307: ; preds = %303
%308 = load ptr, ptr %43, align 8
%309 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%310 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %308, ptr noundef @.str.5, ptr noundef %309)
%311 = load ptr, ptr %21, align 8
%312 = load ptr, ptr %43, align 8
%313 = call i32 @readMatrix(ptr noundef %311, ptr noundef %312)
br label %326
314: ; preds = %303
%315 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%316 = call i64 @strcmp(ptr noundef %315, ptr noundef @.str.17)
%317 = icmp eq i64 %316, 0
br i1 %317, label %318, label %325
318: ; preds = %314
%319 = load ptr, ptr %43, align 8
%320 = getelementptr inbounds [300 x i8], ptr %40, i64 0, i64 0
%321 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %319, ptr noundef @.str.5, ptr noundef %320)
%322 = load ptr, ptr %22, align 8
%323 = load ptr, ptr %43, align 8
%324 = call i32 @readMatrix(ptr noundef %322, ptr noundef %323)
br label %325
325: ; preds = %318, %314
br label %326
326: ; preds = %325, %307
br label %327
327: ; preds = %326, %296
br label %328
328: ; preds = %327, %285
br label %329
329: ; preds = %328, %274
br label %330
330: ; preds = %329, %263
br label %331
331: ; preds = %330, %252
br label %332
332: ; preds = %331, %241
br label %333
333: ; preds = %332, %230
br label %334
334: ; preds = %333, %219
br label %335
335: ; preds = %334, %212
br label %336
336: ; preds = %335, %84
br label %337
337: ; preds = %336, %74
br label %338
338: ; preds = %337, %67
%339 = load ptr, ptr %43, align 8
%340 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %339, ptr noundef @.str.3, ptr noundef %39)
%341 = load ptr, ptr %43, align 8
%342 = call i32 @feof(ptr noundef %341)
%343 = icmp ne i32 %342, 0
%344 = xor i1 %343, true
br i1 %344, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %338
br label %345
345: ; preds = %._crit_edge6, %48
%346 = load ptr, ptr %43, align 8
%347 = call i32 @fclose(ptr noundef %346)
%348 = load double, ptr %23, align 8
%349 = load ptr, ptr %12, align 8
%350 = getelementptr inbounds double, ptr %349, i64 0
store double %348, ptr %350, align 8
%351 = load double, ptr %24, align 8
%352 = load ptr, ptr %12, align 8
%353 = getelementptr inbounds double, ptr %352, i64 1
store double %351, ptr %353, align 8
%354 = load double, ptr %25, align 8
%355 = load ptr, ptr %12, align 8
%356 = getelementptr inbounds double, ptr %355, i64 2
store double %354, ptr %356, align 8
%357 = load double, ptr %26, align 8
%358 = load ptr, ptr %12, align 8
%359 = getelementptr inbounds double, ptr %358, i64 3
store double %357, ptr %359, align 8
%360 = load double, ptr %27, align 8
%361 = load ptr, ptr %12, align 8
%362 = getelementptr inbounds double, ptr %361, i64 4
store double %360, ptr %362, align 8
%363 = load double, ptr %28, align 8
%364 = load ptr, ptr %12, align 8
%365 = getelementptr inbounds double, ptr %364, i64 5
store double %363, ptr %365, align 8
%366 = load double, ptr %29, align 8
%367 = load ptr, ptr %12, align 8
%368 = getelementptr inbounds double, ptr %367, i64 6
store double %366, ptr %368, align 8
%369 = load double, ptr %30, align 8
%370 = load ptr, ptr %12, align 8
%371 = getelementptr inbounds double, ptr %370, i64 7
store double %369, ptr %371, align 8
%372 = load double, ptr %31, align 8
%373 = load ptr, ptr %12, align 8
%374 = getelementptr inbounds double, ptr %373, i64 8
store double %372, ptr %374, align 8
%375 = load double, ptr %32, align 8
%376 = load ptr, ptr %12, align 8
%377 = getelementptr inbounds double, ptr %376, i64 9
store double %375, ptr %377, align 8
%378 = load double, ptr %33, align 8
%379 = load ptr, ptr %12, align 8
%380 = getelementptr inbounds double, ptr %379, i64 10
store double %378, ptr %380, align 8
%381 = load double, ptr %34, align 8
%382 = load ptr, ptr %12, align 8
%383 = getelementptr inbounds double, ptr %382, i64 11
store double %381, ptr %383, align 8
%384 = load double, ptr %35, align 8
%385 = load ptr, ptr %12, align 8
%386 = getelementptr inbounds double, ptr %385, i64 12
store double %384, ptr %386, align 8
%387 = load double, ptr %36, align 8
%388 = load ptr, ptr %12, align 8
%389 = getelementptr inbounds double, ptr %388, i64 13
store double %387, ptr %389, align 8
%390 = load double, ptr %37, align 8
%391 = load ptr, ptr %12, align 8
%392 = getelementptr inbounds double, ptr %391, i64 14
store double %390, ptr %392, align 8
%393 = load double, ptr %38, align 8
%394 = load ptr, ptr %12, align 8
%395 = getelementptr inbounds double, ptr %394, i64 15
store double %393, ptr %395, align 8
br label %396
396: ; preds = %345, %46
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ...) #2
declare i32 @feof(ptr noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @readMatrix(ptr noundef, ptr noundef) #2
declare i32 @readMatrix2(ptr noundef, ptr noundef) #2
declare i32 @fclose(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpteeb7y98.c'
source_filename = "/tmp/tmpteeb7y98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranchi(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sitofp i32 %4 to double
%6 = fmul double 5.000000e-01, %5
%7 = call double @rangam(double noundef %6)
%8 = fmul double 2.000000e+00, %7
store double %8, ptr %3, align 8
%9 = load double, ptr %3, align 8
ret double %9
}
declare double @rangam(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpteeb7y98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranchi(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sitofp i32 %4 to double
%6 = fmul double 5.000000e-01, %5
%7 = call double @rangam(double noundef %6)
%8 = fmul double 2.000000e+00, %7
store double %8, ptr %3, align 8
%9 = load double, ptr %3, align 8
ret double %9
}
declare double @rangam(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptcln7bzf.c'
source_filename = "/tmp/tmptcln7bzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2C_ReadWordRegisterRS(i8 noundef zeroext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca [1 x i8], align 1
%6 = alloca [2 x i8], align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = load i8, ptr %3, align 1
%8 = call i32 @bcm2835_i2c_setSlaveAddress(i8 noundef zeroext %7)
%9 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%10 = load i8, ptr %4, align 1
store i8 %10, ptr %9, align 1
call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 2, i1 false)
%11 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @bcm2835_i2c_write_read_rs(ptr noundef %11, i32 noundef 1, ptr noundef %12, i32 noundef 2)
%14 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = shl i32 %16, 8
%18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = or i32 %17, %20
ret i32 %21
}
declare i32 @bcm2835_i2c_setSlaveAddress(i8 noundef zeroext) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @bcm2835_i2c_write_read_rs(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcln7bzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2C_ReadWordRegisterRS(i8 noundef zeroext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca [1 x i8], align 1
%6 = alloca [2 x i8], align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = load i8, ptr %3, align 1
%8 = call i32 @bcm2835_i2c_setSlaveAddress(i8 noundef zeroext %7)
%9 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%10 = load i8, ptr %4, align 1
store i8 %10, ptr %9, align 1
call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 2, i1 false)
%11 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @bcm2835_i2c_write_read_rs(ptr noundef %11, i32 noundef 1, ptr noundef %12, i32 noundef 2)
%14 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = shl i32 %16, 8
%18 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = or i32 %17, %20
ret i32 %21
}
declare i32 @bcm2835_i2c_setSlaveAddress(i8 noundef zeroext) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @bcm2835_i2c_write_read_rs(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzb3rm881.c'
source_filename = "/tmp/tmpzb3rm881.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baz(i32 noundef 2)
ret i32 0
}
declare i32 @baz(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/tmpzb3rm881.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baz(i32 noundef 2)
ret i32 0
}
declare i32 @baz(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/tmprj23ij7m.c'
source_filename = "/tmp/tmprj23ij7m.c"
target datalayout = "e-m:e-p270: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/tmprj23ij7m.c"
target datalayout = "e-m:e-p270: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/tmpy9hjul9f.c'
source_filename = "/tmp/tmpy9hjul9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpu_fcos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @cos(double noundef %4) #2
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
ret double %6
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpy9hjul9f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fpu_fcos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @cos(double noundef %4) #2
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
ret double %6
}
; Function Attrs: nounwind
declare double @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpp489mwo2.c'
source_filename = "/tmp/tmpp489mwo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_rndBuf(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 1284865837, ptr %5, align 4
store i32 -144211633, ptr %6, align 4
%9 = call i32 @util_rndGet(i32 noundef 0, i64 noundef 1152921504606846976)
store i32 %9, ptr %7, align 4
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %27, %2
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %4, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %7, align 4
%17 = mul nsw i32 %15, %16
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %17, %18
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = ashr i32 %20, 32
%22 = and i32 %21, 255
%23 = sext i32 %22 to i64
%24 = load ptr, ptr %3, align 8
%25 = load i64, ptr %8, align 8
%26 = getelementptr inbounds i64, ptr %24, i64 %25
store i64 %23, ptr %26, align 8
br label %27
27: ; preds = %14
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %8, align 8
br label %10, !llvm.loop !6
30: ; preds = %10
ret void
}
declare i32 @util_rndGet(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp489mwo2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_rndBuf(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 1284865837, ptr %5, align 4
store i32 -144211633, ptr %6, align 4
%9 = call i32 @util_rndGet(i32 noundef 0, i64 noundef 1152921504606846976)
store i32 %9, ptr %7, align 4
store i64 0, ptr %8, align 8
%10 = load i64, ptr %8, align 8
%11 = load i64, ptr %4, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %26
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %7, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = ashr i32 %19, 32
%21 = and i32 %20, 255
%22 = sext i32 %21 to i64
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i64, ptr %23, i64 %24
store i64 %22, ptr %25, align 8
br label %26
26: ; preds = %13
%27 = load i64, ptr %8, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %8, align 8
%29 = load i64, ptr %8, align 8
%30 = load i64, ptr %4, align 8
%31 = icmp ult i64 %29, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
ret void
}
declare i32 @util_rndGet(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9milko0l.c'
source_filename = "/tmp/tmp9milko0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@O_RDWR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"the number of unsigned char 0 : %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @stat(ptr noundef %13, ptr noundef %10)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr @O_RDWR, align 4
%19 = call i32 @open(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @PROT_READ, align 4
%23 = load i32, ptr @PROT_WRITE, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @MAP_SHARED, align 4
%26 = load i32, ptr %6, align 4
%27 = call i64 @mmap(i32 noundef 0, i32 noundef %21, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 0)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %8, align 8
store i32 0, ptr %7, align 4
br label %29
29: ; preds = %46, %2
%30 = load i32, ptr %7, align 4
%31 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = icmp slt i32 %30, %32
br i1 %33, label %34, label %49
34: ; preds = %29
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = load i64, ptr %9, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %9, align 8
br label %45
45: ; preds = %42, %34
br label %46
46: ; preds = %45
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %29, !llvm.loop !6
49: ; preds = %29
%50 = load i64, ptr %9, align 8
%51 = call i32 @printf(ptr noundef @.str, i64 noundef %50)
ret i32 0
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9milko0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@O_RDWR = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"the number of unsigned char 0 : %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @stat(ptr noundef %13, ptr noundef %10)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr @O_RDWR, align 4
%19 = call i32 @open(ptr noundef %17, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr @PROT_READ, align 4
%23 = load i32, ptr @PROT_WRITE, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @MAP_SHARED, align 4
%26 = load i32, ptr %6, align 4
%27 = call i64 @mmap(i32 noundef 0, i32 noundef %21, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef 0)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %8, align 8
store i32 0, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = icmp slt i32 %29, %31
br i1 %32, label %.lr.ph, label %51
.lr.ph: ; preds = %2
br label %33
33: ; preds = %.lr.ph, %45
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %33
%42 = load i64, ptr %9, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %9, align 8
br label %44
44: ; preds = %41, %33
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %30, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %2
%52 = load i64, ptr %9, align 8
%53 = call i32 @printf(ptr noundef @.str, i64 noundef %52)
ret i32 0
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc8e3d553.c'
source_filename = "/tmp/tmpc8e3d553.c"
target datalayout = "e-m:e-p270: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/tmpc8e3d553.c"
target datalayout = "e-m:e-p270: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/tmpbndcjen5.c'
source_filename = "/tmp/tmpbndcjen5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %8
8: ; preds = %11, %2
%9 = call i32 (...) @getchar()
store i32 %9, ptr %7, align 4
%10 = icmp ne i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i64, ptr %6, align 8
%13 = add nsw i64 %12, 1
store i64 %13, ptr %6, align 8
br label %8, !llvm.loop !6
14: ; preds = %8
%15 = load i64, ptr %6, align 8
%16 = call i32 @printf(ptr noundef @.str, i64 noundef %15)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbndcjen5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%8 = call i32 (...) @getchar()
store i32 %8, ptr %7, align 4
%9 = icmp ne i32 %8, 10
br i1 %9, label %.lr.ph, label %15
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i64, ptr %6, align 8
%12 = add nsw i64 %11, 1
store i64 %12, ptr %6, align 8
%13 = call i32 (...) @getchar()
store i32 %13, ptr %7, align 4
%14 = icmp ne i32 %13, 10
br i1 %14, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %2
%16 = load i64, ptr %6, align 8
%17 = call i32 @printf(ptr noundef @.str, i64 noundef %16)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphjcbycbr.c'
source_filename = "/tmp/tmphjcbycbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"error: putchar\0A\00", align 1
@stdout = 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
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %27, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %28
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i64 @isupper(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = call i32 @tolower(i32 noundef %12) #4
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %11, %7
%15 = load i32, ptr %2, align 4
%16 = call i32 @putchar(i32 noundef %15)
%17 = load i32, ptr @EOF, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %19, %14
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fflush(i32 noundef %25)
br label %27
27: ; preds = %24, %21
br label %3, !llvm.loop !6
28: ; preds = %3
%29 = call i32 @exit(i32 noundef 0) #5
unreachable
}
declare i32 @getchar(...) #1
declare i64 @isupper(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #2
declare i32 @putchar(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(read) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjcbycbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"error: putchar\0A\00", align 1
@stdout = 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
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %26
%7 = load i32, ptr %2, align 4
%8 = call i64 @isupper(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i32 @tolower(i32 noundef %11) #4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr %2, align 4
%15 = call i32 @putchar(i32 noundef %14)
%16 = load i32, ptr @EOF, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = call i32 @printf(ptr noundef @.str)
br label %20
20: ; preds = %18, %13
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @stdout, align 4
%25 = call i32 @fflush(i32 noundef %24)
br label %26
26: ; preds = %23, %20
%27 = call i32 (...) @getchar()
store i32 %27, ptr %2, align 4
%28 = load i32, ptr @EOF, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %30
30: ; preds = %._crit_edge, %0
%31 = call i32 @exit(i32 noundef 0) #5
unreachable
}
declare i32 @getchar(...) #1
declare i64 @isupper(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #2
declare i32 @putchar(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(read) }
attributes #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy6msuupk.c'
source_filename = "/tmp/tmpy6msuupk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"usage: %s <gaborfile> <patch_basename> <output_weights_name> <sphering_name> <training: 0 or 1>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 5
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 3
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 4
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 5
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
%31 = call i32 @weight_patches(ptr noundef %17, ptr noundef %20, ptr noundef %23, ptr noundef %26, i32 noundef %30)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @weight_patches(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpy6msuupk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"usage: %s <gaborfile> <patch_basename> <output_weights_name> <sphering_name> <training: 0 or 1>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 5
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 3
%23 = load ptr, ptr %22, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 4
%26 = load ptr, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 5
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
%31 = call i32 @weight_patches(ptr noundef %17, ptr noundef %20, ptr noundef %23, ptr noundef %26, i32 noundef %30)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @weight_patches(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpt7bjy1_5.c'
source_filename = "/tmp/tmpt7bjy1_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"gallon price $%.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"tank capacity : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Total: $%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @second(float noundef %0, i32 noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, float noundef %7)
%9 = load i32, ptr %5, align 4
%10 = sitofp i32 %9 to float
%11 = call i32 @printf(ptr noundef @.str.1, float noundef %10)
%12 = load float, ptr %6, align 4
%13 = call i32 @printf(ptr noundef @.str.2, float noundef %12)
ret void
}
declare i32 @printf(ptr noundef, 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/tmpt7bjy1_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"gallon price $%.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"tank capacity : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Total: $%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @second(float noundef %0, i32 noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, float noundef %7)
%9 = load i32, ptr %5, align 4
%10 = sitofp i32 %9 to float
%11 = call i32 @printf(ptr noundef @.str.1, float noundef %10)
%12 = load float, ptr %6, align 4
%13 = call i32 @printf(ptr noundef @.str.2, float noundef %12)
ret void
}
declare i32 @printf(ptr noundef, 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/tmp7hpfs5ak.c'
source_filename = "/tmp/tmp7hpfs5ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @rng_get_bytes(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i64 @rng_nix(ptr noundef %9, i64 noundef %10, ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load i64, ptr %8, align 8
store i64 %16, ptr %4, align 8
br label %18
17: ; preds = %3
store i64 0, ptr %4, align 8
br label %18
18: ; preds = %17, %15
%19 = load i64, ptr %4, align 8
ret i64 %19
}
declare i64 @rng_nix(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7hpfs5ak.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @rng_get_bytes(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = call i64 @rng_nix(ptr noundef %9, i64 noundef %10, ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = load i64, ptr %8, align 8
store i64 %16, ptr %4, align 8
br label %18
17: ; preds = %3
store i64 0, ptr %4, align 8
br label %18
18: ; preds = %17, %15
%19 = load i64, ptr %4, align 8
ret i64 %19
}
declare i64 @rng_nix(ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmw3fe0v4.c'
source_filename = "/tmp/tmpmw3fe0v4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setacl %s %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_setacl(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4
%11 = alloca [1024 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 i32 %4, ptr %10, align 4
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%14 = call i32 @url_encode(ptr noundef %12, ptr noundef %13, i32 noundef 1024)
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %10, align 4
%17 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @simple_command(ptr noundef %15, i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(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/tmpmw3fe0v4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"setacl %s %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_setacl(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 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 i32, align 4
%11 = alloca [1024 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 i32 %4, ptr %10, align 4
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%14 = call i32 @url_encode(ptr noundef %12, ptr noundef %13, i32 noundef 1024)
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %10, align 4
%17 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @simple_command(ptr noundef %15, i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(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/tmpppy7sy8p.c'
source_filename = "/tmp/tmpppy7sy8p.c"
target datalayout = "e-m:e-p270: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/tmpppy7sy8p.c"
target datalayout = "e-m:e-p270: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/tmp5ws0mmt_.c'
source_filename = "/tmp/tmp5ws0mmt_.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INET_ADDRSTRLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"inet_pton()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_ip_src_addr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @AF_INET, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 0
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr @INET_ADDRSTRLEN, align 4
%10 = call i64 @inet_ntop(i32 noundef %5, ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %2
ret void
}
declare i64 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ws0mmt_.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@INET_ADDRSTRLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"inet_pton()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_ip_src_addr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @AF_INET, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 0
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr @INET_ADDRSTRLEN, align 4
%10 = call i64 @inet_ntop(i32 noundef %5, ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %2
ret void
}
declare i64 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyp8gaa62.c'
source_filename = "/tmp/tmpyp8gaa62.c"
target datalayout = "e-m:e-p270: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/tmpyp8gaa62.c"
target datalayout = "e-m:e-p270: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/tmp36xgp2a9.c'
source_filename = "/tmp/tmp36xgp2a9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"\0AUsage:\0A %s <input directory> <output file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(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/tmp36xgp2a9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"\0AUsage:\0A %s <input directory> <output file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(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/tmpsq_q2gpx.c'
source_filename = "/tmp/tmpsq_q2gpx.c"
target datalayout = "e-m:e-p270: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/tmpsq_q2gpx.c"
target datalayout = "e-m:e-p270: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/tmpefp5k750.c'
source_filename = "/tmp/tmpefp5k750.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simpsonsRule(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
%14 = load ptr, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double %14(double noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load double, ptr %7, align 8
%19 = call double %17(double noundef %18)
%20 = fadd double %16, %19
%21 = fdiv double %20, 3.000000e+00
store double %21, ptr %10, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %6, align 8
%24 = fsub double %22, %23
%25 = load i32, ptr %8, align 4
%26 = sitofp i32 %25 to double
%27 = fdiv double %24, %26
store double %27, ptr %11, align 8
store i32 1, ptr %9, align 4
br label %28
28: ; preds = %54, %4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %57
32: ; preds = %28
%33 = load double, ptr %6, align 8
%34 = load i32, ptr %9, align 4
%35 = sitofp i32 %34 to double
%36 = load double, ptr %11, align 8
%37 = call double @llvm.fmuladd.f64(double %35, double %36, double %33)
store double %37, ptr %13, align 8
%38 = load i32, ptr %9, align 4
%39 = call i64 @pow(double noundef -1.000000e+00, i32 noundef %38)
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %47
41: ; preds = %32
%42 = load ptr, ptr %5, align 8
%43 = load double, ptr %13, align 8
%44 = call double %42(double noundef %43)
%45 = load double, ptr %10, align 8
%46 = call double @llvm.fmuladd.f64(double %44, double 0x3FF5555555555555, double %45)
store double %46, ptr %10, align 8
br label %53
47: ; preds = %32
%48 = load ptr, ptr %5, align 8
%49 = load double, ptr %13, align 8
%50 = call double %48(double noundef %49)
%51 = load double, ptr %10, align 8
%52 = call double @llvm.fmuladd.f64(double %50, double 0x3FE5555555555555, double %51)
store double %52, ptr %10, align 8
br label %53
53: ; preds = %47, %41
br label %54
54: ; preds = %53
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %9, align 4
br label %28, !llvm.loop !6
57: ; preds = %28
%58 = load double, ptr %11, align 8
%59 = load double, ptr %10, align 8
%60 = fmul double %58, %59
store double %60, ptr %12, align 8
%61 = load double, ptr %12, align 8
ret double %61
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i64 @pow(double noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpefp5k750.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simpsonsRule(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %10, align 8
%14 = load ptr, ptr %5, align 8
%15 = load double, ptr %6, align 8
%16 = call double %14(double noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load double, ptr %7, align 8
%19 = call double %17(double noundef %18)
%20 = fadd double %16, %19
%21 = fdiv double %20, 3.000000e+00
store double %21, ptr %10, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %6, align 8
%24 = fsub double %22, %23
%25 = load i32, ptr %8, align 4
%26 = sitofp i32 %25 to double
%27 = fdiv double %24, %26
store double %27, ptr %11, align 8
store i32 1, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %59
.lr.ph: ; preds = %4
br label %31
31: ; preds = %.lr.ph, %53
%32 = load double, ptr %6, align 8
%33 = load i32, ptr %9, align 4
%34 = sitofp i32 %33 to double
%35 = load double, ptr %11, align 8
%36 = call double @llvm.fmuladd.f64(double %34, double %35, double %32)
store double %36, ptr %13, align 8
%37 = load i32, ptr %9, align 4
%38 = call i64 @pow(double noundef -1.000000e+00, i32 noundef %37)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %31
%41 = load ptr, ptr %5, align 8
%42 = load double, ptr %13, align 8
%43 = call double %41(double noundef %42)
%44 = load double, ptr %10, align 8
%45 = call double @llvm.fmuladd.f64(double %43, double 0x3FF5555555555555, double %44)
store double %45, ptr %10, align 8
br label %52
46: ; preds = %31
%47 = load ptr, ptr %5, align 8
%48 = load double, ptr %13, align 8
%49 = call double %47(double noundef %48)
%50 = load double, ptr %10, align 8
%51 = call double @llvm.fmuladd.f64(double %49, double 0x3FE5555555555555, double %50)
store double %51, ptr %10, align 8
br label %52
52: ; preds = %46, %40
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %4
%60 = load double, ptr %11, align 8
%61 = load double, ptr %10, align 8
%62 = fmul double %60, %61
store double %62, ptr %12, align 8
%63 = load double, ptr %12, align 8
ret double %63
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i64 @pow(double noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0axd6357.c'
source_filename = "/tmp/tmp0axd6357.c"
target datalayout = "e-m:e-p270: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/tmp0axd6357.c"
target datalayout = "e-m:e-p270: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/tmp9bp4hm20.c'
source_filename = "/tmp/tmp9bp4hm20.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @crypto_stream_chacha20_tinynacl_xor(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @int_crypto_stream_xor(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @int_crypto_stream_xor(ptr noundef, ptr noundef, i64 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/tmp9bp4hm20.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @crypto_stream_chacha20_tinynacl_xor(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @int_crypto_stream_xor(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @int_crypto_stream_xor(ptr noundef, ptr noundef, i64 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/tmpyud896tv.c'
source_filename = "/tmp/tmpyud896tv.c"
target datalayout = "e-m:e-p270: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/tmpyud896tv.c"
target datalayout = "e-m:e-p270: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/tmpuxpgoyl4.c'
source_filename = "/tmp/tmpuxpgoyl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(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/tmpuxpgoyl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(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/tmpylt74ar1.c'
source_filename = "/tmp/tmpylt74ar1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"orig.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"ERROR opening input file orig.txt\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"ERROR: You need 100 datum instead of %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c"run 'make run' longer to get enough information\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"%s %s %lf %lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"opt.txt\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"ERROR opening input file opt.txt\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"append() %lf %lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c"findName() %lf %lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 0, ptr %1, align 4
%15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %15, ptr %2, align 8
%16 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %0
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %4, align 4
br label %23
23: ; preds = %46, %22
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 100
br i1 %25, label %26, label %49
26: ; preds = %23
%27 = load ptr, ptr %2, align 8
%28 = call i64 @feof(ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%34 = call i32 @exit(i32 noundef 0) #3
unreachable
35: ; preds = %26
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%38 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @fscanf(ptr noundef %36, ptr noundef @.str.7, ptr noundef %37, ptr noundef %38, ptr noundef %9, ptr noundef %10)
%40 = load double, ptr %9, align 8
%41 = load double, ptr %7, align 8
%42 = fadd double %41, %40
store double %42, ptr %7, align 8
%43 = load double, ptr %10, align 8
%44 = load double, ptr %8, align 8
%45 = fadd double %44, %43
store double %45, ptr %8, align 8
br label %46
46: ; preds = %35
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
br label %23, !llvm.loop !6
49: ; preds = %23
%50 = load ptr, ptr %2, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.1)
store ptr %52, ptr %2, align 8
%53 = load ptr, ptr %2, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %63, label %55
55: ; preds = %49
%56 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %56, ptr %2, align 8
%57 = load ptr, ptr %2, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %62, label %59
59: ; preds = %55
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
62: ; preds = %55
br label %63
63: ; preds = %62, %49
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %4, align 4
br label %64
64: ; preds = %87, %63
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %65, 100
br i1 %66, label %67, label %90
67: ; preds = %64
%68 = load ptr, ptr %2, align 8
%69 = call i64 @feof(ptr noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = load i32, ptr %4, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%75 = call i32 @exit(i32 noundef 0) #3
unreachable
76: ; preds = %67
%77 = load ptr, ptr %2, align 8
%78 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%79 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%80 = call i32 @fscanf(ptr noundef %77, ptr noundef @.str.7, ptr noundef %78, ptr noundef %79, ptr noundef %13, ptr noundef %14)
%81 = load double, ptr %13, align 8
%82 = load double, ptr %11, align 8
%83 = fadd double %82, %81
store double %83, ptr %11, align 8
%84 = load double, ptr %14, align 8
%85 = load double, ptr %12, align 8
%86 = fadd double %85, %84
store double %86, ptr %12, align 8
br label %87
87: ; preds = %76
%88 = load i32, ptr %4, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %4, align 4
br label %64, !llvm.loop !8
90: ; preds = %64
%91 = load ptr, ptr %3, align 8
%92 = load double, ptr %7, align 8
%93 = fdiv double %92, 1.000000e+02
%94 = load double, ptr %11, align 8
%95 = fdiv double %94, 1.000000e+02
%96 = call i32 @fprintf(ptr noundef %91, ptr noundef @.str.10, double noundef %93, double noundef %95)
%97 = load ptr, ptr %3, align 8
%98 = load double, ptr %8, align 8
%99 = fdiv double %98, 1.000000e+02
%100 = load double, ptr %12, align 8
%101 = fdiv double %100, 1.000000e+02
%102 = call i32 @fprintf(ptr noundef %97, ptr noundef @.str.11, double noundef %99, double noundef %101)
%103 = load ptr, ptr %3, align 8
%104 = call i32 @fclose(ptr noundef %103)
%105 = load ptr, ptr %2, align 8
%106 = call i32 @fclose(ptr noundef %105)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylt74ar1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"orig.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"output.txt\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"ERROR opening input file orig.txt\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"ERROR: You need 100 datum instead of %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [50 x i8] c"run 'make run' longer to get enough information\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"%s %s %lf %lf\0A\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"opt.txt\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"ERROR opening input file opt.txt\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"append() %lf %lf\0A\00", align 1
@.str.11 = private unnamed_addr constant [19 x i8] c"findName() %lf %lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
%6 = alloca [50 x i8], align 16
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 0, ptr %1, align 4
%15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %15, ptr %2, align 8
%16 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %0
store i32 0, ptr %4, align 4
store double 0.000000e+00, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 100
br i1 %24, label %.lr.ph, label %50
.lr.ph: ; preds = %22
br label %25
25: ; preds = %.lr.ph, %45
%26 = load ptr, ptr %2, align 8
%27 = call i64 @feof(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%33 = call i32 @exit(i32 noundef 0) #3
unreachable
34: ; preds = %25
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%37 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @fscanf(ptr noundef %35, ptr noundef @.str.7, ptr noundef %36, ptr noundef %37, ptr noundef %9, ptr noundef %10)
%39 = load double, ptr %9, align 8
%40 = load double, ptr %7, align 8
%41 = fadd double %40, %39
store double %41, ptr %7, align 8
%42 = load double, ptr %10, align 8
%43 = load double, ptr %8, align 8
%44 = fadd double %43, %42
store double %44, ptr %8, align 8
br label %45
45: ; preds = %34
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp slt i32 %48, 100
br i1 %49, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %50
50: ; preds = %._crit_edge, %22
%51 = load ptr, ptr %2, align 8
%52 = call i32 @fclose(ptr noundef %51)
%53 = call ptr @fopen(ptr noundef @.str.8, ptr noundef @.str.1)
store ptr %53, ptr %2, align 8
%54 = load ptr, ptr %2, align 8
%55 = icmp ne ptr %54, null
br i1 %55, label %64, label %56
56: ; preds = %50
%57 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %57, ptr %2, align 8
%58 = load ptr, ptr %2, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %63, label %60
60: ; preds = %56
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%62 = call i32 @exit(i32 noundef 0) #3
unreachable
63: ; preds = %56
br label %64
64: ; preds = %63, %50
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %65, 100
br i1 %66, label %.lr.ph2, label %92
.lr.ph2: ; preds = %64
br label %67
67: ; preds = %.lr.ph2, %87
%68 = load ptr, ptr %2, align 8
%69 = call i64 @feof(ptr noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = load i32, ptr %4, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%75 = call i32 @exit(i32 noundef 0) #3
unreachable
76: ; preds = %67
%77 = load ptr, ptr %2, align 8
%78 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%79 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%80 = call i32 @fscanf(ptr noundef %77, ptr noundef @.str.7, ptr noundef %78, ptr noundef %79, ptr noundef %13, ptr noundef %14)
%81 = load double, ptr %13, align 8
%82 = load double, ptr %11, align 8
%83 = fadd double %82, %81
store double %83, ptr %11, align 8
%84 = load double, ptr %14, align 8
%85 = load double, ptr %12, align 8
%86 = fadd double %85, %84
store double %86, ptr %12, align 8
br label %87
87: ; preds = %76
%88 = load i32, ptr %4, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %4, align 4
%90 = load i32, ptr %4, align 4
%91 = icmp slt i32 %90, 100
br i1 %91, label %67, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %87
br label %92
92: ; preds = %._crit_edge3, %64
%93 = load ptr, ptr %3, align 8
%94 = load double, ptr %7, align 8
%95 = fdiv double %94, 1.000000e+02
%96 = load double, ptr %11, align 8
%97 = fdiv double %96, 1.000000e+02
%98 = call i32 @fprintf(ptr noundef %93, ptr noundef @.str.10, double noundef %95, double noundef %97)
%99 = load ptr, ptr %3, align 8
%100 = load double, ptr %8, align 8
%101 = fdiv double %100, 1.000000e+02
%102 = load double, ptr %12, align 8
%103 = fdiv double %102, 1.000000e+02
%104 = call i32 @fprintf(ptr noundef %99, ptr noundef @.str.11, double noundef %101, double noundef %103)
%105 = load ptr, ptr %3, align 8
%106 = call i32 @fclose(ptr noundef %105)
%107 = load ptr, ptr %2, align 8
%108 = call i32 @fclose(ptr noundef %107)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @feof(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe_rj5d2u.c'
source_filename = "/tmp/tmpe_rj5d2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = load i32, ptr %1, align 4
%4 = load float, ptr %2, align 4
%5 = call i32 @foo(i32 noundef %3, float noundef %4)
ret void
}
declare i32 @foo(i32 noundef, 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/tmpe_rj5d2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = load i32, ptr %1, align 4
%4 = load float, ptr %2, align 4
%5 = call i32 @foo(i32 noundef %3, float noundef %4)
ret void
}
declare i32 @foo(i32 noundef, 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/tmpj3uzchpy.c'
source_filename = "/tmp/tmpj3uzchpy.c"
target datalayout = "e-m:e-p270: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/tmpj3uzchpy.c"
target datalayout = "e-m:e-p270: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/tmphhguern3.c'
source_filename = "/tmp/tmphhguern3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0APrinting Squares \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayLoops() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 2
store i32 %11, ptr %1, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
store i32 100, ptr %1, align 4
br label %13
13: ; preds = %19, %12
%14 = load i32, ptr %1, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %1, align 4
%21 = sub nsw i32 %20, 7
store i32 %21, ptr %1, align 4
br label %13, !llvm.loop !8
22: ; preds = %13
store i32 1, ptr %1, align 4
br label %23
23: ; preds = %29, %22
%24 = load i32, ptr %1, align 4
%25 = icmp sle i32 %24, 10
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr %1, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %26
%30 = load i32, ptr %1, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %1, align 4
br label %23, !llvm.loop !9
32: ; preds = %23
store i32 2, ptr %1, align 4
br label %33
33: ; preds = %39, %32
%34 = load i32, ptr %1, align 4
%35 = icmp slt i32 %34, 100
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, ptr %1, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = mul nsw i32 %40, 2
store i32 %41, ptr %1, align 4
br label %33, !llvm.loop !10
42: ; preds = %33
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphhguern3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"\0APrinting Squares \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayLoops() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 2
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
store i32 100, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %.lr.ph2, label %24
.lr.ph2: ; preds = %13
br label %16
16: ; preds = %.lr.ph2, %19
%17 = load i32, ptr %1, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %1, align 4
%21 = sub nsw i32 %20, 7
store i32 %21, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %19
br label %24
24: ; preds = %._crit_edge3, %13
store i32 1, ptr %1, align 4
%25 = load i32, ptr %1, align 4
%26 = icmp sle i32 %25, 10
br i1 %26, label %.lr.ph5, label %35
.lr.ph5: ; preds = %24
br label %27
27: ; preds = %.lr.ph5, %30
%28 = load i32, ptr %1, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %27
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp sle i32 %33, 10
br i1 %34, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %30
br label %35
35: ; preds = %._crit_edge6, %24
store i32 2, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 100
br i1 %37, label %.lr.ph8, label %46
.lr.ph8: ; preds = %35
br label %38
38: ; preds = %.lr.ph8, %41
%39 = load i32, ptr %1, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39)
br label %41
41: ; preds = %38
%42 = load i32, ptr %1, align 4
%43 = mul nsw i32 %42, 2
store i32 %43, ptr %1, align 4
%44 = load i32, ptr %1, align 4
%45 = icmp slt i32 %44, 100
br i1 %45, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %41
br label %46
46: ; preds = %._crit_edge9, %35
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpwccrz7o4.c'
source_filename = "/tmp/tmpwccrz7o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_o(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ugt i32 %3, 7
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = udiv i32 %6, 8
call void @ft_putnbr_o(i32 noundef %7)
br label %8
8: ; preds = %5, %1
%9 = load i32, ptr %2, align 4
%10 = urem i32 %9, 8
%11 = add i32 %10, 48
%12 = call i32 @ft_putchar(i32 noundef %11)
ret void
}
declare i32 @ft_putchar(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/tmpwccrz7o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_o(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ugt i32 %3, 7
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = udiv i32 %6, 8
call void @ft_putnbr_o(i32 noundef %7)
br label %8
8: ; preds = %5, %1
%9 = load i32, ptr %2, align 4
%10 = urem i32 %9, 8
%11 = add i32 %10, 48
%12 = call i32 @ft_putchar(i32 noundef %11)
ret void
}
declare i32 @ft_putchar(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/tmpa2d0vjtf.c'
source_filename = "/tmp/tmpa2d0vjtf.c"
target datalayout = "e-m:e-p270: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/tmpa2d0vjtf.c"
target datalayout = "e-m:e-p270: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/tmpt9_8_f4y.c'
source_filename = "/tmp/tmpt9_8_f4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Le charact\C3\A8re %c est saisi sont code est %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"c=200 ==>c=%c d=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 (...) @getchar()
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = load i8, ptr %1, align 1
%5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3, i8 noundef zeroext %4)
store i8 -56, ptr %1, align 1
%6 = load i8, ptr %1, align 1
%7 = load i8, ptr %1, align 1
%8 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %6, i8 noundef zeroext %7)
ret i32 0
}
declare zeroext i8 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt9_8_f4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Le charact\C3\A8re %c est saisi sont code est %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"c=200 ==>c=%c d=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 (...) @getchar()
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = load i8, ptr %1, align 1
%5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %3, i8 noundef zeroext %4)
store i8 -56, ptr %1, align 1
%6 = load i8, ptr %1, align 1
%7 = load i8, ptr %1, align 1
%8 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %6, i8 noundef zeroext %7)
ret i32 0
}
declare zeroext i8 @getchar(...) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, 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"}
|
; ModuleID = '/tmp/tmpo5kk1hlc.c'
source_filename = "/tmp/tmpo5kk1hlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"NOT IMPLEMENTED:pa_flist_pop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_flist_pop() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5kk1hlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"NOT IMPLEMENTED:pa_flist_pop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_flist_pop() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_vr77lkx.c'
source_filename = "/tmp/tmp_vr77lkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_zfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @tree_set_parent(ptr noundef %8, ptr noundef null)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 -3
%12 = load ptr, ptr %11, align 8
%13 = call i32 @__zfree(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 -3
%16 = call i32 @free(ptr noundef %15)
store ptr null, ptr %2, align 8
br label %17
17: ; preds = %7, %6
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @tree_set_parent(ptr noundef, ptr noundef) #1
declare i32 @__zfree(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vr77lkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_zfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @tree_set_parent(ptr noundef %8, ptr noundef null)
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 -3
%12 = load ptr, ptr %11, align 8
%13 = call i32 @__zfree(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 -3
%16 = call i32 @free(ptr noundef %15)
store ptr null, ptr %2, align 8
br label %17
17: ; preds = %7, %6
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @tree_set_parent(ptr noundef, ptr noundef) #1
declare i32 @__zfree(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxikwdswc.c'
source_filename = "/tmp/tmpxikwdswc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test1()
%3 = call i32 (...) @test2()
%4 = call i32 (...) @test3()
%5 = call i32 (...) @test4()
%6 = call i32 (...) @test5()
%7 = call i32 (...) @test6()
%8 = call i32 (...) @test7()
%9 = call i32 (...) @test8()
ret i32 0
}
declare i32 @test1(...) #1
declare i32 @test2(...) #1
declare i32 @test3(...) #1
declare i32 @test4(...) #1
declare i32 @test5(...) #1
declare i32 @test6(...) #1
declare i32 @test7(...) #1
declare i32 @test8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxikwdswc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test1()
%3 = call i32 (...) @test2()
%4 = call i32 (...) @test3()
%5 = call i32 (...) @test4()
%6 = call i32 (...) @test5()
%7 = call i32 (...) @test6()
%8 = call i32 (...) @test7()
%9 = call i32 (...) @test8()
ret i32 0
}
declare i32 @test1(...) #1
declare i32 @test2(...) #1
declare i32 @test3(...) #1
declare i32 @test4(...) #1
declare i32 @test5(...) #1
declare i32 @test6(...) #1
declare i32 @test7(...) #1
declare i32 @test8(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph3qyg94n.c'
source_filename = "/tmp/tmph3qyg94n.c"
target datalayout = "e-m:e-p270: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/tmph3qyg94n.c"
target datalayout = "e-m:e-p270: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/tmp4v95j98e.c'
source_filename = "/tmp/tmp4v95j98e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @LPCStatusGet(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 1074266112
%10 = zext i1 %9 to i32
%11 = call i32 @DEBUG_ASSERT(i32 noundef %10)
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 4
%14 = inttoptr i64 %13 to ptr
%15 = load volatile i64, ptr %14, align 8
store i64 %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %3
%19 = load i64, ptr %7, align 8
%20 = and i64 %19, 7340032
%21 = lshr i64 %20, 20
%22 = add i64 %21, 1
%23 = load ptr, ptr %5, align 8
store i64 %22, ptr %23, align 8
br label %24
24: ; preds = %18, %3
%25 = load ptr, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i64, ptr %7, align 8
%29 = and i64 %28, 458752
%30 = lshr i64 %29, 16
%31 = mul i64 %30, 256
%32 = load ptr, ptr %6, align 8
store i64 %31, ptr %32, align 8
br label %33
33: ; preds = %27, %24
%34 = load i64, ptr %7, align 8
ret i64 %34
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4v95j98e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @LPCStatusGet(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 1074266112
%10 = zext i1 %9 to i32
%11 = call i32 @DEBUG_ASSERT(i32 noundef %10)
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 4
%14 = inttoptr i64 %13 to ptr
%15 = load volatile i64, ptr %14, align 8
store i64 %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %24
18: ; preds = %3
%19 = load i64, ptr %7, align 8
%20 = and i64 %19, 7340032
%21 = lshr i64 %20, 20
%22 = add i64 %21, 1
%23 = load ptr, ptr %5, align 8
store i64 %22, ptr %23, align 8
br label %24
24: ; preds = %18, %3
%25 = load ptr, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i64, ptr %7, align 8
%29 = and i64 %28, 458752
%30 = lshr i64 %29, 16
%31 = mul i64 %30, 256
%32 = load ptr, ptr %6, align 8
store i64 %31, ptr %32, align 8
br label %33
33: ; preds = %27, %24
%34 = load i64, ptr %7, align 8
ret i64 %34
}
declare i32 @DEBUG_ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpza94pesc.c'
source_filename = "/tmp/tmpza94pesc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_contains_i(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %30, %2
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %15, %16
%18 = icmp slt i32 %14, %17
br i1 %18, label %19, label %33
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i64 @strncasecmp(ptr noundef %20, ptr noundef %21, i32 noundef %23)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %19
store i32 1, ptr %3, align 4
br label %34
27: ; preds = %19
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %27
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %13, !llvm.loop !6
33: ; preds = %13
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %33, %26
%35 = load i32, ptr %3, align 4
ret i32 %35
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpza94pesc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_contains_i(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %14, %15
%17 = icmp slt i32 %13, %16
br i1 %17, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %29
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = call i64 @strncasecmp(ptr noundef %19, ptr noundef %20, i32 noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %18
store i32 1, ptr %3, align 4
br label %38
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
br label %29
29: ; preds = %26
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %33, %34
%36 = icmp slt i32 %32, %35
br i1 %36, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %37
37: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %38
38: ; preds = %37, %25
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptzkm7iu9.c'
source_filename = "/tmp/tmptzkm7iu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyadup_2D_feed_even(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %15, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @matrix_tran(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 8
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %16, align 8
store i32 0, ptr %13, align 4
br label %39
39: ; preds = %81, %6
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %84
43: ; preds = %39
store i32 0, ptr %14, align 4
br label %44
44: ; preds = %77, %43
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %80
48: ; preds = %44
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %13, align 4
%52 = load i32, ptr %9, align 4
%53 = mul nsw i32 %51, %52
%54 = add nsw i32 %50, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %49, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %16, align 8
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %13, align 4
%61 = mul nsw i32 2, %60
%62 = add nsw i32 %61, 1
%63 = load i32, ptr %9, align 4
%64 = mul nsw i32 %62, %63
%65 = add nsw i32 %59, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %58, i64 %66
store double %57, ptr %67, align 8
%68 = load ptr, ptr %16, align 8
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %13, align 4
%71 = mul nsw i32 2, %70
%72 = load i32, ptr %9, align 4
%73 = mul nsw i32 %71, %72
%74 = add nsw i32 %69, %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %68, i64 %75
store double 0.000000e+00, ptr %76, align 8
br label %77
77: ; preds = %48
%78 = load i32, ptr %14, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %14, align 4
br label %44, !llvm.loop !6
80: ; preds = %44
br label %81
81: ; preds = %80
%82 = load i32, ptr %13, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %13, align 4
br label %39, !llvm.loop !8
84: ; preds = %39
store i32 0, ptr %14, align 4
br label %85
85: ; preds = %99, %84
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %102
89: ; preds = %85
%90 = load ptr, ptr %16, align 8
%91 = load i32, ptr %14, align 4
%92 = load i32, ptr %11, align 4
%93 = sub nsw i32 %92, 1
%94 = load i32, ptr %9, align 4
%95 = mul nsw i32 %93, %94
%96 = add nsw i32 %91, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %90, i64 %97
store double 0.000000e+00, ptr %98, align 8
br label %99
99: ; preds = %89
%100 = load i32, ptr %14, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %14, align 4
br label %85, !llvm.loop !9
102: ; preds = %85
%103 = load ptr, ptr %15, align 8
%104 = call i32 @free(ptr noundef %103)
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %9, align 4
%107 = mul nsw i32 %105, %106
%108 = sext i32 %107 to i64
%109 = mul i64 %108, 8
%110 = trunc i64 %109 to i32
%111 = call ptr @malloc(i32 noundef %110)
store ptr %111, ptr %17, align 8
%112 = load ptr, ptr %16, align 8
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %9, align 4
%115 = load ptr, ptr %17, align 8
%116 = load i32, ptr %8, align 4
%117 = load i32, ptr %12, align 4
%118 = call i32 @matrix_tran(ptr noundef %112, i32 noundef %113, i32 noundef %114, ptr noundef %115, i32 noundef %116, i32 noundef %117)
%119 = load ptr, ptr %16, align 8
%120 = call i32 @free(ptr noundef %119)
store i32 0, ptr %14, align 4
br label %121
121: ; preds = %163, %102
%122 = load i32, ptr %14, align 4
%123 = load i32, ptr %9, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %125, label %166
125: ; preds = %121
store i32 0, ptr %13, align 4
br label %126
126: ; preds = %159, %125
%127 = load i32, ptr %13, align 4
%128 = load i32, ptr %11, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %162
130: ; preds = %126
%131 = load ptr, ptr %17, align 8
%132 = load i32, ptr %13, align 4
%133 = load i32, ptr %14, align 4
%134 = load i32, ptr %11, align 4
%135 = mul nsw i32 %133, %134
%136 = add nsw i32 %132, %135
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %131, i64 %137
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %10, align 8
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %14, align 4
%143 = mul nsw i32 2, %142
%144 = add nsw i32 %143, 1
%145 = load i32, ptr %11, align 4
%146 = mul nsw i32 %144, %145
%147 = add nsw i32 %141, %146
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %140, i64 %148
store double %139, ptr %149, align 8
%150 = load ptr, ptr %10, align 8
%151 = load i32, ptr %13, align 4
%152 = load i32, ptr %14, align 4
%153 = mul nsw i32 2, %152
%154 = load i32, ptr %11, align 4
%155 = mul nsw i32 %153, %154
%156 = add nsw i32 %151, %155
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %150, i64 %157
store double 0.000000e+00, ptr %158, align 8
br label %159
159: ; preds = %130
%160 = load i32, ptr %13, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %13, align 4
br label %126, !llvm.loop !10
162: ; preds = %126
br label %163
163: ; preds = %162
%164 = load i32, ptr %14, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %14, align 4
br label %121, !llvm.loop !11
166: ; preds = %121
store i32 0, ptr %13, align 4
br label %167
167: ; preds = %181, %166
%168 = load i32, ptr %13, align 4
%169 = load i32, ptr %11, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %171, label %184
171: ; preds = %167
%172 = load ptr, ptr %10, align 8
%173 = load i32, ptr %13, align 4
%174 = load i32, ptr %12, align 4
%175 = sub nsw i32 %174, 1
%176 = load i32, ptr %11, align 4
%177 = mul nsw i32 %175, %176
%178 = add nsw i32 %173, %177
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, ptr %172, i64 %179
store double 0.000000e+00, ptr %180, align 8
br label %181
181: ; preds = %171
%182 = load i32, ptr %13, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %13, align 4
br label %167, !llvm.loop !12
184: ; preds = %167
%185 = load ptr, ptr %17, align 8
%186 = call i32 @free(ptr noundef %185)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptzkm7iu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyadup_2D_feed_even(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %15, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @matrix_tran(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 8
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %16, align 8
store i32 0, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph2, label %88
.lr.ph2: ; preds = %6
br label %42
42: ; preds = %.lr.ph2, %82
store i32 0, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph, label %81
.lr.ph: ; preds = %42
br label %46
46: ; preds = %.lr.ph, %75
%47 = load ptr, ptr %15, align 8
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %9, align 4
%51 = mul nsw i32 %49, %50
%52 = add nsw i32 %48, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %47, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %16, align 8
%57 = load i32, ptr %14, align 4
%58 = load i32, ptr %13, align 4
%59 = mul nsw i32 2, %58
%60 = add nsw i32 %59, 1
%61 = load i32, ptr %9, align 4
%62 = mul nsw i32 %60, %61
%63 = add nsw i32 %57, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %56, i64 %64
store double %55, ptr %65, align 8
%66 = load ptr, ptr %16, align 8
%67 = load i32, ptr %14, align 4
%68 = load i32, ptr %13, align 4
%69 = mul nsw i32 2, %68
%70 = load i32, ptr %9, align 4
%71 = mul nsw i32 %69, %70
%72 = add nsw i32 %67, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %66, i64 %73
store double 0.000000e+00, ptr %74, align 8
br label %75
75: ; preds = %46
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %42
br label %82
82: ; preds = %81
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
%85 = load i32, ptr %13, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %88
88: ; preds = %._crit_edge3, %6
store i32 0, ptr %14, align 4
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %9, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %108
.lr.ph5: ; preds = %88
br label %92
92: ; preds = %.lr.ph5, %102
%93 = load ptr, ptr %16, align 8
%94 = load i32, ptr %14, align 4
%95 = load i32, ptr %11, align 4
%96 = sub nsw i32 %95, 1
%97 = load i32, ptr %9, align 4
%98 = mul nsw i32 %96, %97
%99 = add nsw i32 %94, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %93, i64 %100
store double 0.000000e+00, ptr %101, align 8
br label %102
102: ; preds = %92
%103 = load i32, ptr %14, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %14, align 4
%105 = load i32, ptr %14, align 4
%106 = load i32, ptr %9, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %108
108: ; preds = %._crit_edge6, %88
%109 = load ptr, ptr %15, align 8
%110 = call i32 @free(ptr noundef %109)
%111 = load i32, ptr %11, align 4
%112 = load i32, ptr %9, align 4
%113 = mul nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = mul i64 %114, 8
%116 = trunc i64 %115 to i32
%117 = call ptr @malloc(i32 noundef %116)
store ptr %117, ptr %17, align 8
%118 = load ptr, ptr %16, align 8
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %9, align 4
%121 = load ptr, ptr %17, align 8
%122 = load i32, ptr %8, align 4
%123 = load i32, ptr %12, align 4
%124 = call i32 @matrix_tran(ptr noundef %118, i32 noundef %119, i32 noundef %120, ptr noundef %121, i32 noundef %122, i32 noundef %123)
%125 = load ptr, ptr %16, align 8
%126 = call i32 @free(ptr noundef %125)
store i32 0, ptr %14, align 4
%127 = load i32, ptr %14, align 4
%128 = load i32, ptr %9, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %.lr.ph11, label %176
.lr.ph11: ; preds = %108
br label %130
130: ; preds = %.lr.ph11, %170
store i32 0, ptr %13, align 4
%131 = load i32, ptr %13, align 4
%132 = load i32, ptr %11, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %.lr.ph8, label %169
.lr.ph8: ; preds = %130
br label %134
134: ; preds = %.lr.ph8, %163
%135 = load ptr, ptr %17, align 8
%136 = load i32, ptr %13, align 4
%137 = load i32, ptr %14, align 4
%138 = load i32, ptr %11, align 4
%139 = mul nsw i32 %137, %138
%140 = add nsw i32 %136, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %135, i64 %141
%143 = load double, ptr %142, align 8
%144 = load ptr, ptr %10, align 8
%145 = load i32, ptr %13, align 4
%146 = load i32, ptr %14, align 4
%147 = mul nsw i32 2, %146
%148 = add nsw i32 %147, 1
%149 = load i32, ptr %11, align 4
%150 = mul nsw i32 %148, %149
%151 = add nsw i32 %145, %150
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %144, i64 %152
store double %143, ptr %153, align 8
%154 = load ptr, ptr %10, align 8
%155 = load i32, ptr %13, align 4
%156 = load i32, ptr %14, align 4
%157 = mul nsw i32 2, %156
%158 = load i32, ptr %11, align 4
%159 = mul nsw i32 %157, %158
%160 = add nsw i32 %155, %159
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, ptr %154, i64 %161
store double 0.000000e+00, ptr %162, align 8
br label %163
163: ; preds = %134
%164 = load i32, ptr %13, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %13, align 4
%166 = load i32, ptr %13, align 4
%167 = load i32, ptr %11, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %134, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %163
br label %169
169: ; preds = %._crit_edge9, %130
br label %170
170: ; preds = %169
%171 = load i32, ptr %14, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %14, align 4
%173 = load i32, ptr %14, align 4
%174 = load i32, ptr %9, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %130, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %170
br label %176
176: ; preds = %._crit_edge12, %108
store i32 0, ptr %13, align 4
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %11, align 4
%179 = icmp slt i32 %177, %178
br i1 %179, label %.lr.ph14, label %196
.lr.ph14: ; preds = %176
br label %180
180: ; preds = %.lr.ph14, %190
%181 = load ptr, ptr %10, align 8
%182 = load i32, ptr %13, align 4
%183 = load i32, ptr %12, align 4
%184 = sub nsw i32 %183, 1
%185 = load i32, ptr %11, align 4
%186 = mul nsw i32 %184, %185
%187 = add nsw i32 %182, %186
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %181, i64 %188
store double 0.000000e+00, ptr %189, align 8
br label %190
190: ; preds = %180
%191 = load i32, ptr %13, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %13, align 4
%193 = load i32, ptr %13, align 4
%194 = load i32, ptr %11, align 4
%195 = icmp slt i32 %193, %194
br i1 %195, label %180, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %190
br label %196
196: ; preds = %._crit_edge15, %176
%197 = load ptr, ptr %17, align 8
%198 = call i32 @free(ptr noundef %197)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp14_sztw2.c'
source_filename = "/tmp/tmp14_sztw2.c"
target datalayout = "e-m:e-p270: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/tmp14_sztw2.c"
target datalayout = "e-m:e-p270: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/tmp2v8ln783.c'
source_filename = "/tmp/tmp2v8ln783.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glWindowPos3iv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = call i32 @glWindowPos4f(i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef 1)
ret void
}
declare i32 @glWindowPos4f(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/tmp2v8ln783.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glWindowPos3iv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 2
%11 = load i32, ptr %10, align 4
%12 = call i32 @glWindowPos4f(i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef 1)
ret void
}
declare i32 @glWindowPos4f(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/tmp6jwahkte.c'
source_filename = "/tmp/tmp6jwahkte.c"
target datalayout = "e-m:e-p270: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/tmp6jwahkte.c"
target datalayout = "e-m:e-p270: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/tmpjtmwnudn.c'
source_filename = "/tmp/tmpjtmwnudn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"map\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"unmap\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"remove\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"delete\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"del\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"rm\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"resize\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 0
%10 = load ptr, ptr %9, align 8
%11 = call ptr @strdup(ptr noundef %10)
store ptr %11, ptr %6, align 8
%12 = call i32 (...) @strerr_init()
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = call i32 @usage(ptr noundef %16)
store i32 1, ptr %7, align 4
br label %133
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @nbd_start_daemon(ptr noundef %25, i32 noundef %26, ptr noundef %27)
store i32 %28, ptr %7, align 4
br label %132
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 %37, 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = call i32 @nbd_stop_daemon(ptr noundef %36, i32 noundef %38, ptr noundef %40)
store i32 %41, ptr %7, align 4
br label %131
42: ; preds = %29
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.2)
%47 = icmp eq i64 %46, 0
br i1 %47, label %54, label %48
48: ; preds = %42
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 1
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.3)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %48, %42
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = call i32 @nbd_add_mapping(ptr noundef %55, i32 noundef %57, ptr noundef %59)
store i32 %60, ptr %7, align 4
br label %130
61: ; preds = %48
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 1
%64 = load ptr, ptr %63, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.4)
%66 = icmp eq i64 %65, 0
br i1 %66, label %91, label %67
67: ; preds = %61
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 1
%70 = load ptr, ptr %69, align 8
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.5)
%72 = icmp eq i64 %71, 0
br i1 %72, label %91, label %73
73: ; preds = %67
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 1
%76 = load ptr, ptr %75, align 8
%77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.6)
%78 = icmp eq i64 %77, 0
br i1 %78, label %91, label %79
79: ; preds = %73
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 1
%82 = load ptr, ptr %81, align 8
%83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.7)
%84 = icmp eq i64 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 1
%88 = load ptr, ptr %87, align 8
%89 = call i64 @strcmp(ptr noundef %88, ptr noundef @.str.8)
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %85, %79, %73, %67, %61
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %4, align 4
%94 = sub nsw i32 %93, 1
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 1
%97 = call i32 @nbd_remove_mapping(ptr noundef %92, i32 noundef %94, ptr noundef %96)
store i32 %97, ptr %7, align 4
br label %129
98: ; preds = %85
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds ptr, ptr %99, i64 1
%101 = load ptr, ptr %100, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.9)
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %111
104: ; preds = %98
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %4, align 4
%107 = sub nsw i32 %106, 1
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds ptr, ptr %108, i64 1
%110 = call i32 @nbd_resize_bdev(ptr noundef %105, i32 noundef %107, ptr noundef %109)
store i32 %110, ptr %7, align 4
br label %128
111: ; preds = %98
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds ptr, ptr %112, i64 1
%114 = load ptr, ptr %113, align 8
%115 = call i64 @strcmp(ptr noundef %114, ptr noundef @.str.10)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %124
117: ; preds = %111
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %4, align 4
%120 = sub nsw i32 %119, 1
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds ptr, ptr %121, i64 1
%123 = call i32 @nbd_list_mappings(ptr noundef %118, i32 noundef %120, ptr noundef %122)
store i32 %123, ptr %7, align 4
br label %127
124: ; preds = %111
%125 = load ptr, ptr %6, align 8
%126 = call i32 @usage(ptr noundef %125)
store i32 1, ptr %7, align 4
br label %127
127: ; preds = %124, %117
br label %128
128: ; preds = %127, %104
br label %129
129: ; preds = %128, %91
br label %130
130: ; preds = %129, %54
br label %131
131: ; preds = %130, %35
br label %132
132: ; preds = %131, %24
br label %133
133: ; preds = %132, %15
%134 = load ptr, ptr %6, align 8
%135 = call i32 @free(ptr noundef %134)
%136 = load i32, ptr %7, align 4
ret i32 %136
}
declare ptr @strdup(ptr noundef) #1
declare i32 @strerr_init(...) #1
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @nbd_start_daemon(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_stop_daemon(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_add_mapping(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_remove_mapping(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_resize_bdev(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_list_mappings(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjtmwnudn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"start\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"stop\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"map\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"unmap\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"remove\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"delete\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"del\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"rm\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"resize\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 0
%10 = load ptr, ptr %9, align 8
%11 = call ptr @strdup(ptr noundef %10)
store ptr %11, ptr %6, align 8
%12 = call i32 (...) @strerr_init()
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = call i32 @usage(ptr noundef %16)
store i32 1, ptr %7, align 4
br label %133
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %4, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @nbd_start_daemon(ptr noundef %25, i32 noundef %26, ptr noundef %27)
store i32 %28, ptr %7, align 4
br label %132
29: ; preds = %18
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %29
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 %37, 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = call i32 @nbd_stop_daemon(ptr noundef %36, i32 noundef %38, ptr noundef %40)
store i32 %41, ptr %7, align 4
br label %131
42: ; preds = %29
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.2)
%47 = icmp eq i64 %46, 0
br i1 %47, label %54, label %48
48: ; preds = %42
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 1
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.3)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %48, %42
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %4, align 4
%57 = sub nsw i32 %56, 1
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = call i32 @nbd_add_mapping(ptr noundef %55, i32 noundef %57, ptr noundef %59)
store i32 %60, ptr %7, align 4
br label %130
61: ; preds = %48
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 1
%64 = load ptr, ptr %63, align 8
%65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.4)
%66 = icmp eq i64 %65, 0
br i1 %66, label %91, label %67
67: ; preds = %61
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 1
%70 = load ptr, ptr %69, align 8
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.5)
%72 = icmp eq i64 %71, 0
br i1 %72, label %91, label %73
73: ; preds = %67
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 1
%76 = load ptr, ptr %75, align 8
%77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.6)
%78 = icmp eq i64 %77, 0
br i1 %78, label %91, label %79
79: ; preds = %73
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 1
%82 = load ptr, ptr %81, align 8
%83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.7)
%84 = icmp eq i64 %83, 0
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 1
%88 = load ptr, ptr %87, align 8
%89 = call i64 @strcmp(ptr noundef %88, ptr noundef @.str.8)
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %85, %79, %73, %67, %61
%92 = load ptr, ptr %6, align 8
%93 = load i32, ptr %4, align 4
%94 = sub nsw i32 %93, 1
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 1
%97 = call i32 @nbd_remove_mapping(ptr noundef %92, i32 noundef %94, ptr noundef %96)
store i32 %97, ptr %7, align 4
br label %129
98: ; preds = %85
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds ptr, ptr %99, i64 1
%101 = load ptr, ptr %100, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.9)
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %111
104: ; preds = %98
%105 = load ptr, ptr %6, align 8
%106 = load i32, ptr %4, align 4
%107 = sub nsw i32 %106, 1
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds ptr, ptr %108, i64 1
%110 = call i32 @nbd_resize_bdev(ptr noundef %105, i32 noundef %107, ptr noundef %109)
store i32 %110, ptr %7, align 4
br label %128
111: ; preds = %98
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds ptr, ptr %112, i64 1
%114 = load ptr, ptr %113, align 8
%115 = call i64 @strcmp(ptr noundef %114, ptr noundef @.str.10)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %124
117: ; preds = %111
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %4, align 4
%120 = sub nsw i32 %119, 1
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds ptr, ptr %121, i64 1
%123 = call i32 @nbd_list_mappings(ptr noundef %118, i32 noundef %120, ptr noundef %122)
store i32 %123, ptr %7, align 4
br label %127
124: ; preds = %111
%125 = load ptr, ptr %6, align 8
%126 = call i32 @usage(ptr noundef %125)
store i32 1, ptr %7, align 4
br label %127
127: ; preds = %124, %117
br label %128
128: ; preds = %127, %104
br label %129
129: ; preds = %128, %91
br label %130
130: ; preds = %129, %54
br label %131
131: ; preds = %130, %35
br label %132
132: ; preds = %131, %24
br label %133
133: ; preds = %132, %15
%134 = load ptr, ptr %6, align 8
%135 = call i32 @free(ptr noundef %134)
%136 = load i32, ptr %7, align 4
ret i32 %136
}
declare ptr @strdup(ptr noundef) #1
declare i32 @strerr_init(...) #1
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @nbd_start_daemon(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_stop_daemon(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_add_mapping(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_remove_mapping(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_resize_bdev(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @nbd_list_mappings(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6plp58d.c'
source_filename = "/tmp/tmp_6plp58d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f37(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 @f36(ptr noundef %3)
ret i32 %4
}
declare i32 @f36(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_6plp58d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f37(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 @f36(ptr noundef %3)
ret i32 %4
}
declare i32 @f36(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_fd2z5_0.c'
source_filename = "/tmp/tmp_fd2z5_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dln1mx.dln1mx = internal global double 0.000000e+00, align 8
@dln1mx.T1 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dln1mx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load double, ptr %3, align 8
%5 = fneg double %4
store double %5, ptr @dln1mx.T1, align 8
%6 = call double @dln1px(ptr noundef @dln1mx.T1)
store double %6, ptr @dln1mx.dln1mx, align 8
%7 = load double, ptr @dln1mx.dln1mx, align 8
ret double %7
}
declare double @dln1px(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_fd2z5_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dln1mx.dln1mx = internal global double 0.000000e+00, align 8
@dln1mx.T1 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dln1mx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load double, ptr %3, align 8
%5 = fneg double %4
store double %5, ptr @dln1mx.T1, align 8
%6 = call double @dln1px(ptr noundef @dln1mx.T1)
store double %6, ptr @dln1mx.dln1mx, align 8
%7 = load double, ptr @dln1mx.dln1mx, align 8
ret double %7
}
declare double @dln1px(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3dmww46r.c'
source_filename = "/tmp/tmp3dmww46r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 2, ptr %4, align 4
br label %5
5: ; preds = %18, %1
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @sqrt(i32 noundef %7)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %6, %9
br i1 %10, label %11, label %21
11: ; preds = %5
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %2, align 4
br label %22
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %5, !llvm.loop !6
21: ; preds = %5
store i32 1, ptr %2, align 4
br label %22
22: ; preds = %21, %16
%23 = load i32, ptr %2, align 4
ret i32 %23
}
declare i64 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3dmww46r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 2, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i64 @sqrt(i32 noundef %6)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %5, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %17
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = srem i32 %11, %12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
store i32 0, ptr %2, align 4
br label %26
16: ; preds = %10
br label %17
17: ; preds = %16
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %3, align 4
%22 = call i64 @sqrt(i32 noundef %21)
%23 = trunc i64 %22 to i32
%24 = icmp slt i32 %20, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %25
25: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %26
26: ; preds = %25, %15
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i64 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp201kot4k.c'
source_filename = "/tmp/tmp201kot4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @machineInit() #0 {
%1 = call i32 (...) @platformInit()
%2 = call i32 (...) @deviceInit()
ret void
}
declare i32 @platformInit(...) #1
declare i32 @deviceInit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp201kot4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @machineInit() #0 {
%1 = call i32 (...) @platformInit()
%2 = call i32 (...) @deviceInit()
ret void
}
declare i32 @platformInit(...) #1
declare i32 @deviceInit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4wa69420.c'
source_filename = "/tmp/tmp4wa69420.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sleep(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 @int80(i32 noundef 10, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @int80(i32 noundef, i32 noundef, i32 noundef, 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/tmp4wa69420.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sleep(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 @int80(i32 noundef 10, i32 noundef %3, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @int80(i32 noundef, i32 noundef, i32 noundef, 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/tmpbzzzho8r.c'
source_filename = "/tmp/tmpbzzzho8r.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"fftw: %s:%d: assertion failed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fftwf_assertion_failed(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %12)
%14 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpbzzzho8r.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"fftw: %s:%d: assertion failed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fftwf_assertion_failed(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %11, ptr noundef %12)
%14 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fflush(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpu482e1em.c'
source_filename = "/tmp/tmpu482e1em.c"
target datalayout = "e-m:e-p270: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/tmpu482e1em.c"
target datalayout = "e-m:e-p270: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/tmpambuxexo.c'
source_filename = "/tmp/tmpambuxexo.c"
target datalayout = "e-m:e-p270: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.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEvent_xfocus_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpambuxexo.c"
target datalayout = "e-m:e-p270: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.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEvent_xfocus_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0zl9clqt.c'
source_filename = "/tmp/tmp0zl9clqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_free_ok() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0zl9clqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_free_ok() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 4)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp29fc1936.c'
source_filename = "/tmp/tmp29fc1936.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@translate.buf = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @translate(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 = call ptr @dict_lookup(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcpy(ptr noundef @translate.buf, ptr noundef %10)
store ptr @translate.buf, ptr %2, align 8
br label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
13: ; preds = %12, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @dict_lookup(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp29fc1936.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@translate.buf = internal global [1024 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @translate(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 = call ptr @dict_lookup(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcpy(ptr noundef @translate.buf, ptr noundef %10)
store ptr @translate.buf, ptr %2, align 8
br label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
13: ; preds = %12, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @dict_lookup(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8n_tp852.c'
source_filename = "/tmp/tmp8n_tp852.c"
target datalayout = "e-m:e-p270: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.ip_mreq = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32 }
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wfaSetSockMcastRecvOpt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.ip_mreq, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @inet_addr(ptr noundef %7)
%9 = getelementptr inbounds %struct.ip_mreq, ptr %5, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.ip_mreq, ptr %5, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr @IPPROTO_IP, align 4
%17 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
%18 = call i32 @setsockopt(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %5, i32 noundef 8)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
ret i32 %19
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 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/tmp8n_tp852.c"
target datalayout = "e-m:e-p270: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.ip_mreq = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32 }
@INADDR_ANY = dso_local global i32 0, align 4
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wfaSetSockMcastRecvOpt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.ip_mreq, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @inet_addr(ptr noundef %7)
%9 = getelementptr inbounds %struct.ip_mreq, ptr %5, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @INADDR_ANY, align 4
%12 = call i32 @htonl(i32 noundef %11)
%13 = getelementptr inbounds %struct.ip_mreq, ptr %5, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i32 0, i32 0
store i32 %12, ptr %14, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr @IPPROTO_IP, align 4
%17 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
%18 = call i32 @setsockopt(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %5, i32 noundef 8)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
ret i32 %19
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 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/tmprp5vb1q_.c'
source_filename = "/tmp/tmprp5vb1q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Entre com um numero inteiro:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"O valor de %i!=%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %16, %0
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @fatorial(i32 noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %14)
br label %16
16: ; preds = %11, %6
%17 = call i32 (...) @getchar()
br label %3, !llvm.loop !6
18: ; preds = %3
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fatorial(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprp5vb1q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Entre com um numero inteiro:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"O valor de %i!=%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %15
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @fatorial(i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %13)
br label %15
15: ; preds = %10, %5
%16 = call i32 (...) @getchar()
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fatorial(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb4__5s83.c'
source_filename = "/tmp/tmpb4__5s83.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdb_init_fasta(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @db_open(ptr noundef %4)
%6 = call i64 (...) @sdb_has_errors()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
9: ; preds = %1
%10 = call i32 (...) @db_read()
%11 = call i64 (...) @sdb_has_errors()
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %9
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %8
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @db_open(ptr noundef) #1
declare i64 @sdb_has_errors(...) #1
declare i32 @db_read(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4__5s83.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdb_init_fasta(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @db_open(ptr noundef %4)
%6 = call i64 (...) @sdb_has_errors()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
9: ; preds = %1
%10 = call i32 (...) @db_read()
%11 = call i64 (...) @sdb_has_errors()
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %2, align 4
br label %15
14: ; preds = %9
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %8
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @db_open(ptr noundef) #1
declare i64 @sdb_has_errors(...) #1
declare i32 @db_read(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_vrsy6y1.c'
source_filename = "/tmp/tmp_vrsy6y1.c"
target datalayout = "e-m:e-p270: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/tmp_vrsy6y1.c"
target datalayout = "e-m:e-p270: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/tmpvzt9fcol.c'
source_filename = "/tmp/tmpvzt9fcol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %28, %2
%8 = load i32, ptr %6, 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 %19
12: ; preds = %7
%13 = call i32 (...) @getchar()
store i32 %13, ptr %5, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %16, %12, %7
%20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ]
br i1 %20, label %21, label %31
21: ; preds = %19
%22 = load i32, ptr %5, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %21
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %7, !llvm.loop !6
31: ; preds = %19
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 %36, ptr %40, align 1
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %34, %31
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load i32, ptr %6, align 4
ret i32 %48
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvzt9fcol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readline(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %28, %2
%8 = load i32, ptr %6, 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 %19
12: ; preds = %7
%13 = call i32 (...) @getchar()
store i32 %13, ptr %5, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %17, 10
br label %19
19: ; preds = %16, %12, %7
%20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ]
br i1 %20, label %21, label %31
21: ; preds = %19
%22 = load i32, ptr %5, align 4
%23 = trunc i32 %22 to i8
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %21
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %7, !llvm.loop !6
31: ; preds = %19
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 %36, ptr %40, align 1
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %34, %31
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 0, ptr %47, align 1
%48 = load i32, ptr %6, align 4
ret i32 %48
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpufeesyoz.c'
source_filename = "/tmp/tmpufeesyoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_CHARTEXT = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkInput(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = load i8, ptr %5, align 1
%10 = sext i8 %9 to i32
switch i32 %10, label %25 [
i32 119, label %11
i32 97, label %14
i32 115, label %17
i32 100, label %20
i32 104, label %23
i32 114, label %24
]
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %6, align 4
br label %25
14: ; preds = %3
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %7, align 4
br label %25
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %25
20: ; preds = %3
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %25
23: ; preds = %3
store i32 2, ptr %4, align 4
br label %39
24: ; preds = %3
store i32 3, ptr %4, align 4
br label %39
25: ; preds = %3, %20, %17, %14, %11
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = call signext i8 @mvinch(i32 noundef %26, i32 noundef %27)
%29 = sext i8 %28 to i32
%30 = load i8, ptr @A_CHARTEXT, align 1
%31 = sext i8 %30 to i32
%32 = and i32 %29, %31
%33 = trunc i32 %32 to i8
store i8 %33, ptr %8, align 1
%34 = load i8, ptr %8, align 1
%35 = sext i8 %34 to i32
switch i32 %35, label %38 [
i32 35, label %36
i32 46, label %37
]
36: ; preds = %25
store i32 0, ptr %4, align 4
br label %39
37: ; preds = %25
store i32 1, ptr %4, align 4
br label %39
38: ; preds = %25
store i32 0, ptr %4, align 4
br label %39
39: ; preds = %38, %37, %36, %24, %23
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare signext i8 @mvinch(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/tmpufeesyoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_CHARTEXT = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkInput(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%9 = load i8, ptr %5, align 1
%10 = sext i8 %9 to i32
switch i32 %10, label %25 [
i32 119, label %11
i32 97, label %14
i32 115, label %17
i32 100, label %20
i32 104, label %23
i32 114, label %24
]
11: ; preds = %3
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %6, align 4
br label %25
14: ; preds = %3
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %7, align 4
br label %25
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %25
20: ; preds = %3
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %25
23: ; preds = %3
store i32 2, ptr %4, align 4
br label %39
24: ; preds = %3
store i32 3, ptr %4, align 4
br label %39
25: ; preds = %20, %17, %14, %11, %3
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = call signext i8 @mvinch(i32 noundef %26, i32 noundef %27)
%29 = sext i8 %28 to i32
%30 = load i8, ptr @A_CHARTEXT, align 1
%31 = sext i8 %30 to i32
%32 = and i32 %29, %31
%33 = trunc i32 %32 to i8
store i8 %33, ptr %8, align 1
%34 = load i8, ptr %8, align 1
%35 = sext i8 %34 to i32
switch i32 %35, label %38 [
i32 35, label %36
i32 46, label %37
]
36: ; preds = %25
store i32 0, ptr %4, align 4
br label %39
37: ; preds = %25
store i32 1, ptr %4, align 4
br label %39
38: ; preds = %25
store i32 0, ptr %4, align 4
br label %39
39: ; preds = %38, %37, %36, %24, %23
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare signext i8 @mvinch(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/tmpi7bih91a.c'
source_filename = "/tmp/tmpi7bih91a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astrright(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp uge i64 %6, %8
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call ptr @astrcpy(ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %21
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = load i64, ptr %5, align 8
%18 = sub i64 %16, %17
%19 = getelementptr inbounds i8, ptr %14, i64 %18
%20 = call ptr @astrcpy(ptr noundef %19)
store ptr %20, ptr %3, align 8
br label %21
21: ; preds = %13, %10
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @strlen(ptr noundef) #1
declare ptr @astrcpy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi7bih91a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astrright(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp uge i64 %6, %8
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call ptr @astrcpy(ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %21
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = load i64, ptr %5, align 8
%18 = sub i64 %16, %17
%19 = getelementptr inbounds i8, ptr %14, i64 %18
%20 = call ptr @astrcpy(ptr noundef %19)
store ptr %20, ptr %3, align 8
br label %21
21: ; preds = %13, %10
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @strlen(ptr noundef) #1
declare ptr @astrcpy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnb5ylavx.c'
source_filename = "/tmp/tmpnb5ylavx.c"
target datalayout = "e-m:e-p270: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/tmpnb5ylavx.c"
target datalayout = "e-m:e-p270: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/tmpiu7sy6ip.c'
source_filename = "/tmp/tmpiu7sy6ip.c"
target datalayout = "e-m:e-p270: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/tmpiu7sy6ip.c"
target datalayout = "e-m:e-p270: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/tmpfdpb7wxd.c'
source_filename = "/tmp/tmpfdpb7wxd.c"
target datalayout = "e-m:e-p270: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/tmpfdpb7wxd.c"
target datalayout = "e-m:e-p270: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/tmpxun0un5r.c'
source_filename = "/tmp/tmpxun0un5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"talk> \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrompt() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmpxun0un5r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"talk> \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrompt() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fflush(i32 noundef %2)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmp8auy1ovq.c'
source_filename = "/tmp/tmp8auy1ovq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.TestCase05_3.a = private unnamed_addr constant [26 x i32] [i32 7, i32 6, i32 0, i32 9, i32 3, i32 4, i32 0, i32 1, i32 9, i32 2, i32 0, i32 8, i32 6, i32 7, i32 8, i32 3, i32 1, i32 0, i32 3, i32 6, i32 9, i32 2, i32 0, i32 1, i32 6, i32 8], align 16
@__const.TestCase05_3.b = private unnamed_addr constant [18 x i32] [i32 4, i32 8, i32 6, i32 3, i32 0, i32 2, i32 7, i32 9, i32 3, i32 1, i32 0, i32 4, i32 2, i32 1, i32 3, i32 5, i32 2, i32 6], align 16
@__const.TestCase05_3.c = private unnamed_addr constant [26 x i32] [i32 7, i32 6, i32 0, i32 9, i32 3, i32 4, i32 0, i32 2, i32 4, i32 0, i32 7, i32 1, i32 7, i32 0, i32 6, i32 2, i32 4, i32 1, i32 4, i32 1, i32 1, i32 3, i32 3, i32 6, i32 9, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestCase05_3() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [26 x i32], align 16
%5 = alloca [18 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca [26 x i32], align 16
%8 = alloca [26 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.TestCase05_3.a, i64 104, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.TestCase05_3.b, i64 72, i1 false)
store i32 0, ptr %6, align 4
%9 = call i32 @create(ptr noundef %1, i32 noundef 0)
%10 = call i32 @create(ptr noundef %2, i32 noundef 0)
%11 = call i32 @create(ptr noundef %3, i32 noundef 0)
%12 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 0
%13 = call i32 @readtolnode(ptr noundef %2, ptr noundef %12, i32 noundef 26)
%14 = getelementptr inbounds [18 x i32], ptr %5, i64 0, i64 0
%15 = call i32 @readtolnode(ptr noundef %3, ptr noundef %14, i32 noundef 18)
%16 = call i32 @bignumberplus(ptr noundef %1, ptr noundef %2, ptr noundef %3)
%17 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %1, align 8
%19 = call i32 @writetosqlist(ptr noundef %17, ptr noundef %18)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.TestCase05_3.c, i64 104, i1 false)
store i32 0, ptr %6, align 4
br label %20
20: ; preds = %35, %0
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 26
br i1 %22, label %23, label %38
23: ; preds = %20
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %27, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
br label %35
35: ; preds = %23
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %20, !llvm.loop !6
38: ; preds = %20
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @create(ptr noundef, i32 noundef) #2
declare i32 @readtolnode(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @bignumberplus(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @writetosqlist(ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8auy1ovq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.TestCase05_3.a = private unnamed_addr constant [26 x i32] [i32 7, i32 6, i32 0, i32 9, i32 3, i32 4, i32 0, i32 1, i32 9, i32 2, i32 0, i32 8, i32 6, i32 7, i32 8, i32 3, i32 1, i32 0, i32 3, i32 6, i32 9, i32 2, i32 0, i32 1, i32 6, i32 8], align 16
@__const.TestCase05_3.b = private unnamed_addr constant [18 x i32] [i32 4, i32 8, i32 6, i32 3, i32 0, i32 2, i32 7, i32 9, i32 3, i32 1, i32 0, i32 4, i32 2, i32 1, i32 3, i32 5, i32 2, i32 6], align 16
@__const.TestCase05_3.c = private unnamed_addr constant [26 x i32] [i32 7, i32 6, i32 0, i32 9, i32 3, i32 4, i32 0, i32 2, i32 4, i32 0, i32 7, i32 1, i32 7, i32 0, i32 6, i32 2, i32 4, i32 1, i32 4, i32 1, i32 1, i32 3, i32 3, i32 6, i32 9, i32 4], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestCase05_3() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [26 x i32], align 16
%5 = alloca [18 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca [26 x i32], align 16
%8 = alloca [26 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.TestCase05_3.a, i64 104, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.TestCase05_3.b, i64 72, i1 false)
store i32 0, ptr %6, align 4
%9 = call i32 @create(ptr noundef %1, i32 noundef 0)
%10 = call i32 @create(ptr noundef %2, i32 noundef 0)
%11 = call i32 @create(ptr noundef %3, i32 noundef 0)
%12 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 0
%13 = call i32 @readtolnode(ptr noundef %2, ptr noundef %12, i32 noundef 26)
%14 = getelementptr inbounds [18 x i32], ptr %5, i64 0, i64 0
%15 = call i32 @readtolnode(ptr noundef %3, ptr noundef %14, i32 noundef 18)
%16 = call i32 @bignumberplus(ptr noundef %1, ptr noundef %2, ptr noundef %3)
%17 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %1, align 8
%19 = call i32 @writetosqlist(ptr noundef %17, ptr noundef %18)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.TestCase05_3.c, i64 104, i1 false)
store i32 0, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %20, 26
br i1 %21, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %22
22: ; preds = %.lr.ph, %34
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp eq i32 %26, %30
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
br label %34
34: ; preds = %22
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 26
br i1 %38, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %0
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @create(ptr noundef, i32 noundef) #2
declare i32 @readtolnode(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @bignumberplus(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @writetosqlist(ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzquxg7yo.c'
source_filename = "/tmp/tmpzquxg7yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 x %d = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @getch()
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %21, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %8, label %25
8: ; preds = %5
br label %9
9: ; preds = %12, %8
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 10
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %15, %16
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %17)
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %5, !llvm.loop !8
25: ; preds = %5
%26 = call i32 (...) @getch()
ret i32 0
}
declare i32 @getch(...) #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/tmpzquxg7yo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 x %d = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @getch()
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %.lr.ph2, label %27
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %21
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 10
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = mul nsw i32 %13, %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 10
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %21
21: ; preds = %._crit_edge, %7
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %25, 10
br i1 %26, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %27
27: ; preds = %._crit_edge3, %0
%28 = call i32 (...) @getch()
ret i32 0
}
declare i32 @getch(...) #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/tmpd99_r6z8.c'
source_filename = "/tmp/tmpd99_r6z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u64_b2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 16711680
%5 = ashr i32 %4, 16
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd99_r6z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u64_b2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 16711680
%5 = ashr i32 %4, 16
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgrxjslkp.c'
source_filename = "/tmp/tmpgrxjslkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [256 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false)
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %24, %1
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i64
%21 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %21, align 4
br label %24
24: ; preds = %14
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %10, !llvm.loop !6
27: ; preds = %10
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %53, %27
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %56
32: ; preds = %28
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i64
%39 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %52
43: ; preds = %32
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i64
%50 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %6, align 4
br label %52
52: ; preds = %43, %32
br label %53
53: ; preds = %52
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
br label %28, !llvm.loop !8
56: ; preds = %28
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %6, align 4
%59 = sub nsw i32 %57, %58
ret i32 %59
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgrxjslkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [256 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false)
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %23
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i64
%20 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %20, align 4
br label %23
23: ; preds = %13
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %1
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %60
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %54
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i64
%40 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp sgt i32 %41, %42
br i1 %43, label %44, label %53
44: ; preds = %33
%45 = load ptr, ptr %2, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i64
%51 = getelementptr inbounds [256 x i32], ptr %4, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %44, %33
br label %54
54: ; preds = %53
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %29
%61 = load i32, ptr %3, align 4
%62 = load i32, ptr %6, align 4
%63 = sub nsw i32 %61, %62
ret i32 %63
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpypk_l9m4.c'
source_filename = "/tmp/tmpypk_l9m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @failure() #0 {
%1 = call i32 (...) @__VERIFIER_error()
ret i32 1
}
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpypk_l9m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @failure() #0 {
%1 = call i32 (...) @__VERIFIER_error()
ret i32 1
}
declare i32 @__VERIFIER_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp4uuhk4s.c'
source_filename = "/tmp/tmpp4uuhk4s.c"
target datalayout = "e-m:e-p270: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/tmpp4uuhk4s.c"
target datalayout = "e-m:e-p270: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/tmp64bdaoam.c'
source_filename = "/tmp/tmp64bdaoam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %0, %18, %77
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
br label %81
15: ; preds = %11, %7
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %7
20: ; preds = %15
store double 1.000000e+00, ptr %4, align 8
store i32 1, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %52, %20
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %30, %31
br label %33
33: ; preds = %29, %25
%34 = phi i1 [ false, %25 ], [ %32, %29 ]
br i1 %34, label %35, label %53
35: ; preds = %33
%36 = load double, ptr %4, align 8
%37 = fcmp oge double %36, 1.000000e+00
br i1 %37, label %38, label %45
38: ; preds = %35
%39 = load double, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sitofp i32 %40 to double
%42 = fdiv double %39, %41
store double %42, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %52
45: ; preds = %35
%46 = load double, ptr %4, align 8
%47 = load i32, ptr %6, align 4
%48 = sitofp i32 %47 to double
%49 = fmul double %46, %48
store double %49, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %52
52: ; preds = %45, %38
br label %25, !llvm.loop !6
53: ; preds = %33
br label %54
54: ; preds = %58, %53
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %3, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %58, label %65
58: ; preds = %54
%59 = load double, ptr %4, align 8
%60 = load i32, ptr %5, align 4
%61 = sitofp i32 %60 to double
%62 = fdiv double %59, %61
store double %62, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
br label %54, !llvm.loop !8
65: ; preds = %54
br label %66
66: ; preds = %70, %65
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %70, label %77
70: ; preds = %66
%71 = load double, ptr %4, align 8
%72 = load i32, ptr %6, align 4
%73 = sitofp i32 %72 to double
%74 = fmul double %71, %73
store double %74, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
br label %66, !llvm.loop !9
77: ; preds = %66
%78 = load double, ptr %4, align 8
%79 = fptosi double %78 to i32
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %79)
br label %7
81: ; preds = %14
%82 = load i32, ptr %1, align 4
ret i32 %82
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp64bdaoam.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %.backedge, %0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
br label %85
15: ; preds = %11, %7
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %.backedge
.backedge: ; preds = %18, %81
br label %7
20: ; preds = %15
store double 1.000000e+00, ptr %4, align 8
store i32 1, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %52, %20
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sle i32 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %30, %31
br label %33
33: ; preds = %29, %25
%34 = phi i1 [ false, %25 ], [ %32, %29 ]
br i1 %34, label %35, label %53
35: ; preds = %33
%36 = load double, ptr %4, align 8
%37 = fcmp oge double %36, 1.000000e+00
br i1 %37, label %38, label %45
38: ; preds = %35
%39 = load double, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sitofp i32 %40 to double
%42 = fdiv double %39, %41
store double %42, ptr %4, align 8
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %52
45: ; preds = %35
%46 = load double, ptr %4, align 8
%47 = load i32, ptr %6, align 4
%48 = sitofp i32 %47 to double
%49 = fmul double %46, %48
store double %49, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %52
52: ; preds = %45, %38
br label %25, !llvm.loop !6
53: ; preds = %33
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %.lr.ph, label %67
.lr.ph: ; preds = %53
br label %57
57: ; preds = %.lr.ph, %57
%58 = load double, ptr %4, align 8
%59 = load i32, ptr %5, align 4
%60 = sitofp i32 %59 to double
%61 = fdiv double %58, %60
store double %61, ptr %4, align 8
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp sle i32 %64, %65
br i1 %66, label %57, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %57
br label %67
67: ; preds = %._crit_edge, %53
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr %2, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %.lr.ph2, label %81
.lr.ph2: ; preds = %67
br label %71
71: ; preds = %.lr.ph2, %71
%72 = load double, ptr %4, align 8
%73 = load i32, ptr %6, align 4
%74 = sitofp i32 %73 to double
%75 = fmul double %72, %74
store double %75, ptr %4, align 8
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %71, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %71
br label %81
81: ; preds = %._crit_edge3, %67
%82 = load double, ptr %4, align 8
%83 = fptosi double %82 to i32
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %83)
br label %.backedge
85: ; preds = %14
%86 = load i32, ptr %1, align 4
ret i32 %86
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpv9d7vcoh.c'
source_filename = "/tmp/tmpv9d7vcoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xf9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0xf9() #0 {
%1 = call i64 @isprint(i32 noundef 249)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1250, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpv9d7vcoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xf9\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0xf9() #0 {
%1 = call i64 @isprint(i32 noundef 249)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1250, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpw1it_7b2.c'
source_filename = "/tmp/tmpw1it_7b2.c"
target datalayout = "e-m:e-p270: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 [178 x i8] c"Usage: rpjtag [options]\0A -h Print help\0A\09-D\09 Debug info\0A\09-b\09\09use BDSL file(s) use , as between multiple files\0A\09\09\09only needed if program doesn't know IDCODE->BDSL file\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1it_7b2.c"
target datalayout = "e-m:e-p270: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 [178 x i8] c"Usage: rpjtag [options]\0A -h Print help\0A\09-D\09 Debug info\0A\09-b\09\09use BDSL file(s) use , as between multiple files\0A\09\09\09only needed if program doesn't know IDCODE->BDSL file\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl9ddk0v6.c'
source_filename = "/tmp/tmpl9ddk0v6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [82 x i8] c" -------------------------------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_dashed_line() #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/tmpl9ddk0v6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [82 x i8] c" -------------------------------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_dashed_line() #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/tmp62zbeqoc.c'
source_filename = "/tmp/tmp62zbeqoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Nombre de param\8Atres insuffisant\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Division sur des entiers naturels uniquement\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Division par zero impossible\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"%d n'est pas divisible par %d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d=%d*%d\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"%d=%d*%d+%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 3, %12
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %90
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
%21 = icmp slt i32 %20, 0
br i1 %21, label %28, label %22
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22, %16
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %90
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call i32 @atoi(ptr noundef %33)
%35 = icmp eq i32 0, %34
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %90
38: ; preds = %30
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i32 @atoi(ptr noundef %41)
store i32 %42, ptr %6, align 4
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @atoi(ptr noundef %45)
store i32 %46, ptr %7, align 4
%47 = icmp slt i32 %42, %46
br i1 %47, label %48, label %52
48: ; preds = %38
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49, i32 noundef %50)
store i32 1, ptr %3, align 4
br label %90
52: ; preds = %38
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
br label %55
55: ; preds = %54
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 2
%58 = load ptr, ptr %57, align 8
%59 = call i32 @atoi(ptr noundef %58)
store i32 %59, ptr %8, align 4
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 1
%62 = load ptr, ptr %61, align 8
%63 = call i32 @atoi(ptr noundef %62)
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
store i32 %64, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %6, align 4
br label %65
65: ; preds = %70, %55
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %10, align 4
%68 = sub nsw i32 %67, %66
store i32 %68, ptr %10, align 4
%69 = icmp sge i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %65
%71 = load i32, ptr %11, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %11, align 4
br label %65, !llvm.loop !6
73: ; preds = %65
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %10, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %73
%79 = load i32, ptr %9, align 4
%80 = load i32, ptr %11, align 4
%81 = load i32, ptr %8, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %79, i32 noundef %80, i32 noundef %81)
br label %89
83: ; preds = %73
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %8, align 4
%87 = load i32, ptr %10, align 4
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87)
br label %89
89: ; preds = %83, %78
store i32 0, ptr %3, align 4
br label %90
90: ; preds = %89, %48, %36, %28, %14
%91 = load i32, ptr %3, align 4
ret i32 %91
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp62zbeqoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Nombre de param\8Atres insuffisant\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"Division sur des entiers naturels uniquement\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Division par zero impossible\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"%d n'est pas divisible par %d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%d=%d*%d\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"%d=%d*%d+%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 3, %12
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %93
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
%21 = icmp slt i32 %20, 0
br i1 %21, label %28, label %22
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22, %16
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %93
30: ; preds = %22
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 2
%33 = load ptr, ptr %32, align 8
%34 = call i32 @atoi(ptr noundef %33)
%35 = icmp eq i32 0, %34
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %93
38: ; preds = %30
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 1
%41 = load ptr, ptr %40, align 8
%42 = call i32 @atoi(ptr noundef %41)
store i32 %42, ptr %6, align 4
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = call i32 @atoi(ptr noundef %45)
store i32 %46, ptr %7, align 4
%47 = icmp slt i32 %42, %46
br i1 %47, label %48, label %52
48: ; preds = %38
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %7, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %49, i32 noundef %50)
store i32 1, ptr %3, align 4
br label %93
52: ; preds = %38
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
br label %55
55: ; preds = %54
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 2
%58 = load ptr, ptr %57, align 8
%59 = call i32 @atoi(ptr noundef %58)
store i32 %59, ptr %8, align 4
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 1
%62 = load ptr, ptr %61, align 8
%63 = call i32 @atoi(ptr noundef %62)
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
store i32 %64, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %6, align 4
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %10, align 4
%67 = sub nsw i32 %66, %65
store i32 %67, ptr %10, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %.lr.ph, label %76
.lr.ph: ; preds = %55
br label %69
69: ; preds = %.lr.ph, %69
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %8, align 4
%73 = load i32, ptr %10, align 4
%74 = sub nsw i32 %73, %72
store i32 %74, ptr %10, align 4
%75 = icmp sge i32 %74, 0
br i1 %75, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %76
76: ; preds = %._crit_edge, %55
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %10, align 4
%80 = icmp eq i32 %79, 0
br i1 %80, label %81, label %86
81: ; preds = %76
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %11, align 4
%84 = load i32, ptr %8, align 4
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %82, i32 noundef %83, i32 noundef %84)
br label %92
86: ; preds = %76
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %11, align 4
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %10, align 4
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90)
br label %92
92: ; preds = %86, %81
store i32 0, ptr %3, align 4
br label %93
93: ; preds = %92, %48, %36, %28, %14
%94 = load i32, ptr %3, align 4
ret i32 %94
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0ge1tfc7.c'
source_filename = "/tmp/tmp0ge1tfc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@POLLPRI = dso_local global i32 0, align 4
@POLLRDBAND = dso_local global i32 0, align 4
@POLLRDNORM = dso_local global i32 0, align 4
@POLLWRBAND = dso_local global i32 0, align 4
@POLLWRNORM = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGUSR2 = 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/tmp0ge1tfc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@POLLPRI = dso_local global i32 0, align 4
@POLLRDBAND = dso_local global i32 0, align 4
@POLLRDNORM = dso_local global i32 0, align 4
@POLLWRBAND = dso_local global i32 0, align 4
@POLLWRNORM = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
@SIGUSR2 = 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/tmppra9pfbx.c'
source_filename = "/tmp/tmppra9pfbx.c"
target datalayout = "e-m:e-p270: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/tmppra9pfbx.c"
target datalayout = "e-m:e-p270: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.