llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmps99a_ytj.c'
source_filename = "/tmp/tmps99a_ytj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"Not digit!\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"Must be grater from 0.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_intInput(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 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.1)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.2)
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %11
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps99a_ytj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"Not digit!\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"Must be grater from 0.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_intInput(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 @scanf(ptr noundef @.str, ptr noundef %3)
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.1)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp sle i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.2)
%18 = load i32, ptr @EXIT_FAILURE, align 4
%19 = call i32 @exit(i32 noundef %18) #3
unreachable
20: ; preds = %11
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplc469ekk.c'
source_filename = "/tmp/tmplc469ekk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glColorTableParameterfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 134, label %5
i32 128, label %5
i32 130, label %5
i32 133, label %5
i32 135, label %5
i32 137, label %5
i32 131, label %5
i32 132, label %5
i32 129, label %6
i32 136, label %6
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1, %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplc469ekk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glColorTableParameterfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 134, label %5
i32 128, label %5
i32 130, label %5
i32 133, label %5
i32 135, label %5
i32 137, label %5
i32 131, label %5
i32 132, label %5
i32 129, label %6
i32 136, label %6
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1, %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9vdc4d6.c'
source_filename = "/tmp/tmpp9vdc4d6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sext i32 %11 to i64
%13 = sub i64 %9, %12
%14 = sub i64 %13, 1
store i64 %14, ptr %7, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sext i32 %16 to i64
%18 = load i64, ptr %7, align 8
%19 = icmp ugt i64 %17, %18
br i1 %19, label %20, label %33
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = add nsw i32 %22, %24
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = load ptr, ptr %5, align 8
store i64 %27, ptr %28, align 8
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %30, align 8
%32 = call i32 @xrealloc(ptr noundef %29, i64 noundef %31)
br label %33
33: ; preds = %20, %3
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %6, align 8
%36 = call ptr @strcat(ptr noundef %34, ptr noundef %35)
ret ptr %36
}
declare i32 @strlen(ptr noundef) #1
declare i32 @xrealloc(ptr noundef, i64 noundef) #1
declare ptr @strcat(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/tmpp9vdc4d6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @append(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sext i32 %11 to i64
%13 = sub i64 %9, %12
%14 = sub i64 %13, 1
store i64 %14, ptr %7, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sext i32 %16 to i64
%18 = load i64, ptr %7, align 8
%19 = icmp ugt i64 %17, %18
br i1 %19, label %20, label %33
20: ; preds = %3
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = add nsw i32 %22, %24
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = load ptr, ptr %5, align 8
store i64 %27, ptr %28, align 8
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %30, align 8
%32 = call i32 @xrealloc(ptr noundef %29, i64 noundef %31)
br label %33
33: ; preds = %20, %3
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %6, align 8
%36 = call ptr @strcat(ptr noundef %34, ptr noundef %35)
ret ptr %36
}
declare i32 @strlen(ptr noundef) #1
declare i32 @xrealloc(ptr noundef, i64 noundef) #1
declare ptr @strcat(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/tmptfjyvl7o.c'
source_filename = "/tmp/tmptfjyvl7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_dark(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
br label %8
8: ; preds = %23, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
switch i32 %17, label %19 [
i32 32, label %18
i32 9, label %18
i32 13, label %18
i32 10, label %18
]
18: ; preds = %12, %12, %12, %12
br label %22
19: ; preds = %12
%20 = load i64, ptr %7, align 8
%21 = trunc i64 %20 to i32
store i32 %21, ptr %4, align 4
br label %29
22: ; preds = %18
br label %23
23: ; preds = %22
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %7, align 8
br label %8, !llvm.loop !6
26: ; preds = %8
%27 = load i64, ptr %6, align 8
%28 = trunc i64 %27 to i32
store i32 %28, ptr %4, align 4
br label %29
29: ; preds = %26, %19
%30 = load i32, ptr %4, align 4
ret i32 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptfjyvl7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_dark(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %18 [
i32 32, label %17
i32 9, label %17
i32 13, label %17
i32 10, label %17
]
17: ; preds = %11, %11, %11, %11
br label %21
18: ; preds = %11
%19 = load i64, ptr %7, align 8
%20 = trunc i64 %19 to i32
store i32 %20, ptr %4, align 4
br label %31
21: ; preds = %17
br label %22
22: ; preds = %21
%23 = load i64, ptr %7, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
%29 = load i64, ptr %6, align 8
%30 = trunc i64 %29 to i32
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %28, %18
%32 = load i32, ptr %4, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy4j5cboe.c'
source_filename = "/tmp/tmpy4j5cboe.c"
target datalayout = "e-m:e-p270: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/tmpy4j5cboe.c"
target datalayout = "e-m:e-p270: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/tmpxhe4gv9s.c'
source_filename = "/tmp/tmpxhe4gv9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_float(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
br label %14
14: ; preds = %19, %3
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
br label %14, !llvm.loop !6
22: ; preds = %14
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %30
27: ; preds = %22
store i32 1, ptr %8, align 4
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
br label %31
30: ; preds = %22
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %30, %27
store i32 0, ptr %10, align 4
%32 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %32, align 8
br label %33
33: ; preds = %38, %31
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @isdigit(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %5, align 8
%43 = load i8, ptr %41, align 1
%44 = sext i8 %43 to i32
%45 = sub nsw i32 %44, 48
%46 = sitofp i32 %45 to double
%47 = call double @llvm.fmuladd.f64(double %40, double 1.000000e+01, double %46)
%48 = load ptr, ptr %6, align 8
store double %47, ptr %48, align 8
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %33, !llvm.loop !8
51: ; preds = %33
%52 = load ptr, ptr %5, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 46
br i1 %55, label %56, label %84
56: ; preds = %51
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %5, align 8
store ptr %58, ptr %13, align 8
br label %59
59: ; preds = %64, %56
%60 = load ptr, ptr %5, align 8
%61 = load i8, ptr %60, align 1
%62 = call i64 @isdigit(i8 noundef signext %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %59
%65 = load ptr, ptr %6, align 8
%66 = load double, ptr %65, align 8
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %5, align 8
%69 = load i8, ptr %67, align 1
%70 = sext i8 %69 to i32
%71 = sub nsw i32 %70, 48
%72 = sitofp i32 %71 to double
%73 = call double @llvm.fmuladd.f64(double %66, double 1.000000e+01, double %72)
%74 = load ptr, ptr %6, align 8
store double %73, ptr %74, align 8
%75 = load i32, ptr %10, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %10, align 4
br label %59, !llvm.loop !9
77: ; preds = %59
%78 = load ptr, ptr %13, align 8
%79 = load ptr, ptr %5, align 8
%80 = ptrtoint ptr %78 to i64
%81 = ptrtoint ptr %79 to i64
%82 = sub i64 %80, %81
%83 = trunc i64 %82 to i32
store i32 %83, ptr %11, align 4
br label %85
84: ; preds = %51
store i32 0, ptr %11, align 4
br label %85
85: ; preds = %84, %77
%86 = load i32, ptr %10, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 1, ptr %4, align 4
br label %174
89: ; preds = %85
store i32 0, ptr %12, align 4
%90 = load ptr, ptr %5, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 101
br i1 %93, label %109, label %94
94: ; preds = %89
%95 = load ptr, ptr %5, align 8
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 69
br i1 %98, label %109, label %99
99: ; preds = %94
%100 = load ptr, ptr %5, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 100
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %5, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 68
br i1 %108, label %109, label %150
109: ; preds = %104, %99, %94, %89
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %5, align 8
%112 = load ptr, ptr %5, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %116, label %119
116: ; preds = %109
store i32 1, ptr %9, align 4
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %5, align 8
br label %128
119: ; preds = %109
store i32 0, ptr %9, align 4
%120 = load ptr, ptr %5, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 43
br i1 %123, label %124, label %127
124: ; preds = %119
%125 = load ptr, ptr %5, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %5, align 8
br label %127
127: ; preds = %124, %119
br label %128
128: ; preds = %127, %116
br label %129
129: ; preds = %134, %128
%130 = load ptr, ptr %5, align 8
%131 = load i8, ptr %130, align 1
%132 = call i64 @isdigit(i8 noundef signext %131)
%133 = icmp ne i64 %132, 0
br i1 %133, label %134, label %143
134: ; preds = %129
%135 = load i32, ptr %12, align 4
%136 = mul nsw i32 %135, 10
%137 = load ptr, ptr %5, align 8
%138 = getelementptr inbounds i8, ptr %137, i32 1
store ptr %138, ptr %5, align 8
%139 = load i8, ptr %137, align 1
%140 = sext i8 %139 to i32
%141 = sub nsw i32 %140, 48
%142 = add nsw i32 %136, %141
store i32 %142, ptr %12, align 4
br label %129, !llvm.loop !10
143: ; preds = %129
%144 = load i32, ptr %9, align 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %143
%147 = load i32, ptr %12, align 4
%148 = sub nsw i32 0, %147
store i32 %148, ptr %12, align 4
br label %149
149: ; preds = %146, %143
br label %150
150: ; preds = %149, %104
%151 = load i32, ptr %8, align 4
%152 = icmp ne i32 %151, 0
br i1 %152, label %153, label %157
153: ; preds = %150
%154 = load ptr, ptr %6, align 8
%155 = load double, ptr %154, align 8
%156 = fneg double %155
br label %160
157: ; preds = %150
%158 = load ptr, ptr %6, align 8
%159 = load double, ptr %158, align 8
br label %160
160: ; preds = %157, %153
%161 = phi double [ %156, %153 ], [ %159, %157 ]
%162 = load i32, ptr %11, align 4
%163 = load i32, ptr %12, align 4
%164 = add nsw i32 %162, %163
%165 = call double @pow(double noundef 1.000000e+01, i32 noundef %164)
%166 = fmul double %161, %165
%167 = load ptr, ptr %6, align 8
store double %166, ptr %167, align 8
%168 = load ptr, ptr %7, align 8
%169 = icmp ne ptr %168, null
br i1 %169, label %170, label %173
170: ; preds = %160
%171 = load ptr, ptr %5, align 8
%172 = load ptr, ptr %7, align 8
store ptr %171, ptr %172, align 8
br label %173
173: ; preds = %170, %160
store i32 0, ptr %4, align 4
br label %174
174: ; preds = %173, %88
%175 = load i32, ptr %4, align 4
ret i32 %175
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxhe4gv9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_float(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = call i64 @isspace(i8 noundef signext %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @isspace(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %3
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 45
br i1 %29, label %30, label %33
30: ; preds = %25
store i32 1, ptr %8, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
br label %34
33: ; preds = %25
store i32 0, ptr %8, align 4
br label %34
34: ; preds = %33, %30
store i32 0, ptr %10, align 4
%35 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %35, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i8, ptr %36, align 1
%38 = call i64 @isdigit(i8 noundef signext %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %.lr.ph2, label %57
.lr.ph2: ; preds = %34
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load ptr, ptr %6, align 8
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load i8, ptr %43, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %46, 48
%48 = sitofp i32 %47 to double
%49 = call double @llvm.fmuladd.f64(double %42, double 1.000000e+01, double %48)
%50 = load ptr, ptr %6, align 8
store double %49, ptr %50, align 8
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i8, ptr %53, align 1
%55 = call i64 @isdigit(i8 noundef signext %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %57
57: ; preds = %._crit_edge3, %34
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 46
br i1 %61, label %62, label %93
62: ; preds = %57
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %5, align 8
store ptr %64, ptr %13, align 8
%65 = load ptr, ptr %5, align 8
%66 = load i8, ptr %65, align 1
%67 = call i64 @isdigit(i8 noundef signext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %.lr.ph5, label %86
.lr.ph5: ; preds = %62
br label %69
69: ; preds = %.lr.ph5, %69
%70 = load ptr, ptr %6, align 8
%71 = load double, ptr %70, align 8
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %5, align 8
%74 = load i8, ptr %72, align 1
%75 = sext i8 %74 to i32
%76 = sub nsw i32 %75, 48
%77 = sitofp i32 %76 to double
%78 = call double @llvm.fmuladd.f64(double %71, double 1.000000e+01, double %77)
%79 = load ptr, ptr %6, align 8
store double %78, ptr %79, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %10, align 4
%82 = load ptr, ptr %5, align 8
%83 = load i8, ptr %82, align 1
%84 = call i64 @isdigit(i8 noundef signext %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %69, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %69
br label %86
86: ; preds = %._crit_edge6, %62
%87 = load ptr, ptr %13, align 8
%88 = load ptr, ptr %5, align 8
%89 = ptrtoint ptr %87 to i64
%90 = ptrtoint ptr %88 to i64
%91 = sub i64 %89, %90
%92 = trunc i64 %91 to i32
store i32 %92, ptr %11, align 4
br label %94
93: ; preds = %57
store i32 0, ptr %11, align 4
br label %94
94: ; preds = %93, %86
%95 = load i32, ptr %10, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %94
store i32 1, ptr %4, align 4
br label %186
98: ; preds = %94
store i32 0, ptr %12, align 4
%99 = load ptr, ptr %5, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 101
br i1 %102, label %118, label %103
103: ; preds = %98
%104 = load ptr, ptr %5, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 69
br i1 %107, label %118, label %108
108: ; preds = %103
%109 = load ptr, ptr %5, align 8
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = icmp eq i32 %111, 100
br i1 %112, label %118, label %113
113: ; preds = %108
%114 = load ptr, ptr %5, align 8
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 68
br i1 %117, label %118, label %162
118: ; preds = %113, %108, %103, %98
%119 = load ptr, ptr %5, align 8
%120 = getelementptr inbounds i8, ptr %119, i32 1
store ptr %120, ptr %5, align 8
%121 = load ptr, ptr %5, align 8
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = icmp eq i32 %123, 45
br i1 %124, label %125, label %128
125: ; preds = %118
store i32 1, ptr %9, align 4
%126 = load ptr, ptr %5, align 8
%127 = getelementptr inbounds i8, ptr %126, i32 1
store ptr %127, ptr %5, align 8
br label %137
128: ; preds = %118
store i32 0, ptr %9, align 4
%129 = load ptr, ptr %5, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 43
br i1 %132, label %133, label %136
133: ; preds = %128
%134 = load ptr, ptr %5, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %5, align 8
br label %136
136: ; preds = %133, %128
br label %137
137: ; preds = %136, %125
%138 = load ptr, ptr %5, align 8
%139 = load i8, ptr %138, align 1
%140 = call i64 @isdigit(i8 noundef signext %139)
%141 = icmp ne i64 %140, 0
br i1 %141, label %.lr.ph8, label %155
.lr.ph8: ; preds = %137
br label %142
142: ; preds = %.lr.ph8, %142
%143 = load i32, ptr %12, align 4
%144 = mul nsw i32 %143, 10
%145 = load ptr, ptr %5, align 8
%146 = getelementptr inbounds i8, ptr %145, i32 1
store ptr %146, ptr %5, align 8
%147 = load i8, ptr %145, align 1
%148 = sext i8 %147 to i32
%149 = sub nsw i32 %148, 48
%150 = add nsw i32 %144, %149
store i32 %150, ptr %12, align 4
%151 = load ptr, ptr %5, align 8
%152 = load i8, ptr %151, align 1
%153 = call i64 @isdigit(i8 noundef signext %152)
%154 = icmp ne i64 %153, 0
br i1 %154, label %142, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %142
br label %155
155: ; preds = %._crit_edge9, %137
%156 = load i32, ptr %9, align 4
%157 = icmp ne i32 %156, 0
br i1 %157, label %158, label %161
158: ; preds = %155
%159 = load i32, ptr %12, align 4
%160 = sub nsw i32 0, %159
store i32 %160, ptr %12, align 4
br label %161
161: ; preds = %158, %155
br label %162
162: ; preds = %161, %113
%163 = load i32, ptr %8, align 4
%164 = icmp ne i32 %163, 0
br i1 %164, label %165, label %169
165: ; preds = %162
%166 = load ptr, ptr %6, align 8
%167 = load double, ptr %166, align 8
%168 = fneg double %167
br label %172
169: ; preds = %162
%170 = load ptr, ptr %6, align 8
%171 = load double, ptr %170, align 8
br label %172
172: ; preds = %169, %165
%173 = phi double [ %168, %165 ], [ %171, %169 ]
%174 = load i32, ptr %11, align 4
%175 = load i32, ptr %12, align 4
%176 = add nsw i32 %174, %175
%177 = call double @pow(double noundef 1.000000e+01, i32 noundef %176)
%178 = fmul double %173, %177
%179 = load ptr, ptr %6, align 8
store double %178, ptr %179, align 8
%180 = load ptr, ptr %7, align 8
%181 = icmp ne ptr %180, null
br i1 %181, label %182, label %185
182: ; preds = %172
%183 = load ptr, ptr %5, align 8
%184 = load ptr, ptr %7, align 8
store ptr %183, ptr %184, align 8
br label %185
185: ; preds = %182, %172
store i32 0, ptr %4, align 4
br label %186
186: ; preds = %185, %97
%187 = load i32, ptr %4, align 4
ret i32 %187
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpsyeyli2h.c'
source_filename = "/tmp/tmpsyeyli2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_char()
%3 = call i32 (...) @test_short()
ret i32 0
}
declare i32 @test_char(...) #1
declare i32 @test_short(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsyeyli2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_char()
%3 = call i32 (...) @test_short()
ret i32 0
}
declare i32 @test_char(...) #1
declare i32 @test_short(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4y8zxpnl.c'
source_filename = "/tmp/tmp4y8zxpnl.c"
target datalayout = "e-m:e-p270: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/tmp4y8zxpnl.c"
target datalayout = "e-m:e-p270: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/tmp4wpl_7qc.c'
source_filename = "/tmp/tmp4wpl_7qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"munmap error %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @unmapmem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @munmap(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wpl_7qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"munmap error %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @unmapmem(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @munmap(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = call i32 @exit(i32 noundef -1) #3
unreachable
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu24i8y78.c'
source_filename = "/tmp/tmpu24i8y78.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL: Allocation failure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = mul i64 %9, %10
store i64 %11, ptr %8, align 8
%12 = load i64, ptr %6, align 8
%13 = uitofp i64 %12 to double
%14 = load i64, ptr %5, align 8
%15 = and i64 %14, 9223372036854775807
%16 = trunc i64 %15 to i32
%17 = sitofp i32 %16 to double
%18 = fmul double %13, %17
%19 = load i64, ptr %8, align 8
%20 = uitofp i64 %19 to double
%21 = fcmp une double %18, %20
br i1 %21, label %35, label %22
22: ; preds = %3
%23 = load ptr, ptr %4, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i64, ptr %8, align 8
%27 = call ptr @malloc(i64 noundef %26) #5
br label %32
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %8, align 8
%31 = call ptr @realloc(ptr noundef %29, i64 noundef %30) #6
br label %32
32: ; preds = %28, %25
%33 = phi ptr [ %27, %25 ], [ %31, %28 ]
store ptr %33, ptr %7, align 8
%34 = icmp eq ptr null, %33
br i1 %34, label %35, label %39
35: ; preds = %32, %3
%36 = load i32, ptr @stderr, align 4
%37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str)
%38 = call i32 @exit(i32 noundef -1) #7
unreachable
39: ; preds = %32
%40 = load ptr, ptr %7, align 8
ret ptr %40
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { allocsize(0) }
attributes #6 = { allocsize(1) }
attributes #7 = { 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/tmpu24i8y78.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"FATAL: Allocation failure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = mul i64 %9, %10
store i64 %11, ptr %8, align 8
%12 = load i64, ptr %6, align 8
%13 = uitofp i64 %12 to double
%14 = load i64, ptr %5, align 8
%15 = and i64 %14, 9223372036854775807
%16 = trunc i64 %15 to i32
%17 = sitofp i32 %16 to double
%18 = fmul double %13, %17
%19 = load i64, ptr %8, align 8
%20 = uitofp i64 %19 to double
%21 = fcmp une double %18, %20
br i1 %21, label %35, label %22
22: ; preds = %3
%23 = load ptr, ptr %4, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i64, ptr %8, align 8
%27 = call ptr @malloc(i64 noundef %26) #5
br label %32
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %8, align 8
%31 = call ptr @realloc(ptr noundef %29, i64 noundef %30) #6
br label %32
32: ; preds = %28, %25
%33 = phi ptr [ %27, %25 ], [ %31, %28 ]
store ptr %33, ptr %7, align 8
%34 = icmp eq ptr null, %33
br i1 %34, label %35, label %39
35: ; preds = %32, %3
%36 = load i32, ptr @stderr, align 4
%37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str)
%38 = call i32 @exit(i32 noundef -1) #7
unreachable
39: ; preds = %32
%40 = load ptr, ptr %7, align 8
ret ptr %40
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { allocsize(0) }
attributes #6 = { allocsize(1) }
attributes #7 = { 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/tmpmru8rmvd.c'
source_filename = "/tmp/tmpmru8rmvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countnonalpha(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %16, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %8, label %19
8: ; preds = %4
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = call i32 @isalpha(i8 noundef signext %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %8
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 1
store i64 %15, ptr %3, align 8
br label %16
16: ; preds = %13, %8
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
br label %4, !llvm.loop !6
19: ; preds = %4
%20 = load i64, ptr %3, align 8
ret i64 %20
}
declare i32 @isalpha(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmru8rmvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countnonalpha(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %15
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call i32 @isalpha(i8 noundef signext %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %7
%13 = load i64, ptr %3, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %3, align 8
br label %15
15: ; preds = %12, %7
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %2, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %1
%22 = load i64, ptr %3, align 8
ret i64 %22
}
declare i32 @isalpha(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjc0c_bm1.c'
source_filename = "/tmp/tmpjc0c_bm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = call i32 @srandom(i32 noundef %9)
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %33, %0
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %34
17: ; preds = %12
%18 = call i32 @nrand(i32 noundef 10000)
%19 = sub nsw i32 5000, %18
store i32 %19, ptr %5, align 4
%20 = call i32 @nrand(i32 noundef 10000)
%21 = sub nsw i32 5000, %20
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = mul i32 %22, %23
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = mul i32 %25, %26
%28 = add i32 %24, %27
%29 = icmp ult i32 %28, 25000000
br i1 %29, label %30, label %33
30: ; preds = %17
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %33
33: ; preds = %30, %17
br label %12, !llvm.loop !6
34: ; preds = %12
%35 = load i32, ptr %7, align 4
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @srandom(i32 noundef) #1
declare i32 @nrand(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjc0c_bm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = call i32 @srandom(i32 noundef %9)
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %32
%17 = call i32 @nrand(i32 noundef 10000)
%18 = sub nsw i32 5000, %17
store i32 %18, ptr %5, align 4
%19 = call i32 @nrand(i32 noundef 10000)
%20 = sub nsw i32 5000, %19
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = mul i32 %21, %22
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = mul i32 %24, %25
%27 = add i32 %23, %26
%28 = icmp ult i32 %27, 25000000
br i1 %28, label %29, label %32
29: ; preds = %16
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %29, %16
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %33, %35
br i1 %36, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %0
%38 = load i32, ptr %7, align 4
%39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @srandom(i32 noundef) #1
declare i32 @nrand(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqx5q4h0a.c'
source_filename = "/tmp/tmpqx5q4h0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@LOG_INFO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"setup listen socket...\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"done![%d]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setupListenSocket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @LOG_INFO, align 4
%7 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @LOG_ERR, align 4
%15 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %1
%19 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 4)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %2, align 4
%23 = call i32 @htons(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @INADDR_ANY, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0
store i32 %25, ptr %27, align 4
%28 = load i32, ptr %3, align 4
%29 = call i32 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 4)
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %37
32: ; preds = %18
%33 = load i32, ptr @LOG_ERR, align 4
%34 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %18
%38 = load i32, ptr %3, align 4
%39 = call i32 @listen(i32 noundef %38, i32 noundef 50)
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %47
42: ; preds = %37
%43 = load i32, ptr @LOG_ERR, align 4
%44 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %43, ptr noundef @.str.3)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %37
%48 = load i32, ptr @LOG_INFO, align 4
%49 = load i32, ptr %3, align 4
%50 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %48, ptr noundef @.str.4, i32 noundef %49)
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @fs_log(i32 noundef, ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpqx5q4h0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@LOG_INFO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"setup listen socket...\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"done![%d]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setupListenSocket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sockaddr_in, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr @LOG_INFO, align 4
%7 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %6, ptr noundef @.str)
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @LOG_ERR, align 4
%15 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %14, ptr noundef @.str.1)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %1
%19 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 4)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %2, align 4
%23 = call i32 @htons(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @INADDR_ANY, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0
store i32 %25, ptr %27, align 4
%28 = load i32, ptr %3, align 4
%29 = call i32 @bind(i32 noundef %28, ptr noundef %5, i32 noundef 4)
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %37
32: ; preds = %18
%33 = load i32, ptr @LOG_ERR, align 4
%34 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %33, ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %18
%38 = load i32, ptr %3, align 4
%39 = call i32 @listen(i32 noundef %38, i32 noundef 50)
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %47
42: ; preds = %37
%43 = load i32, ptr @LOG_ERR, align 4
%44 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %43, ptr noundef @.str.3)
%45 = load i32, ptr @EXIT_FAILURE, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
47: ; preds = %37
%48 = load i32, ptr @LOG_INFO, align 4
%49 = load i32, ptr %3, align 4
%50 = call i32 (i32, ptr, ...) @fs_log(i32 noundef %48, ptr noundef @.str.4, i32 noundef %49)
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @fs_log(i32 noundef, ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpyywiq34f.c'
source_filename = "/tmp/tmpyywiq34f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d == %d = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%d != %d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d < %d = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%d <= %d = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"%d >= %d = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%d > %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @expr_cmp_test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 123, ptr %1, align 4
store i32 456, ptr %2, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i32
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp ne i32 %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
%23 = zext i1 %22 to i32
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19, i32 noundef %23)
%25 = load i32, ptr %1, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %1, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @printf(ptr noundef @.str.3, i32 noundef %25, i32 noundef %26, i32 noundef %30)
%32 = load i32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = load i32, ptr %1, align 4
%36 = icmp sle i32 %34, %35
%37 = zext i1 %36 to i32
%38 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32, i32 noundef %33, i32 noundef %37)
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %1, align 4
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp sge i32 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @printf(ptr noundef @.str.4, i32 noundef %39, i32 noundef %40, i32 noundef %44)
%46 = load i32, ptr %1, align 4
%47 = load i32, ptr %1, align 4
%48 = load i32, ptr %1, align 4
%49 = load i32, ptr %1, align 4
%50 = icmp sge i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @printf(ptr noundef @.str.4, i32 noundef %46, i32 noundef %47, i32 noundef %51)
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %1, align 4
%55 = load i32, ptr %2, align 4
%56 = load i32, ptr %1, align 4
%57 = icmp sgt i32 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 @printf(ptr noundef @.str.5, i32 noundef %53, i32 noundef %54, i32 noundef %58)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyywiq34f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"%d == %d = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%d != %d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"%d < %d = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"%d <= %d = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"%d >= %d = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%d > %d = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @expr_cmp_test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 123, ptr %1, align 4
store i32 456, ptr %2, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i32
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = icmp ne i32 %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
%23 = zext i1 %22 to i32
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19, i32 noundef %23)
%25 = load i32, ptr %1, align 4
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %1, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @printf(ptr noundef @.str.3, i32 noundef %25, i32 noundef %26, i32 noundef %30)
%32 = load i32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = load i32, ptr %1, align 4
%36 = icmp sle i32 %34, %35
%37 = zext i1 %36 to i32
%38 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32, i32 noundef %33, i32 noundef %37)
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %1, align 4
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp sge i32 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @printf(ptr noundef @.str.4, i32 noundef %39, i32 noundef %40, i32 noundef %44)
%46 = load i32, ptr %1, align 4
%47 = load i32, ptr %1, align 4
%48 = load i32, ptr %1, align 4
%49 = load i32, ptr %1, align 4
%50 = icmp sge i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @printf(ptr noundef @.str.4, i32 noundef %46, i32 noundef %47, i32 noundef %51)
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %1, align 4
%55 = load i32, ptr %2, align 4
%56 = load i32, ptr %1, align 4
%57 = icmp sgt i32 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 @printf(ptr noundef @.str.5, i32 noundef %53, i32 noundef %54, i32 noundef %58)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmploqdwcmy.c'
source_filename = "/tmp/tmploqdwcmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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":%~+-^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_udprelay(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca [512 x i8], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 1, ptr %11, align 4
store ptr @.str, ptr %14, align 8
store i32 65535, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %28
19: ; preds = %5
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i64, ptr %9, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load ptr, ptr %10, align 8
%27 = icmp ne ptr %26, null
br label %28
28: ; preds = %25, %22, %19, %5
%29 = phi i1 [ false, %22 ], [ false, %19 ], [ false, %5 ], [ %27, %25 ]
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%33 = load ptr, ptr %6, align 8
%34 = call i32 @strncpy(ptr noundef %32, ptr noundef %33, i64 noundef 512)
%35 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 511
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %28
%37 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%38 = load ptr, ptr %14, align 8
%39 = call i64 @strcspn(ptr noundef %37, ptr noundef %38)
store i64 %39, ptr %12, align 8
%40 = load i64, ptr %12, align 8
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %36
%43 = load i64, ptr %12, align 8
%44 = load i64, ptr %7, align 8
%45 = icmp uge i64 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %42, %36
br label %75
47: ; preds = %42
%48 = load i64, ptr %12, align 8
%49 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%52 = load i64, ptr %9, align 8
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i64 noundef %52)
%54 = load ptr, ptr %8, align 8
%55 = load i64, ptr %9, align 8
%56 = sub i64 %55, 1
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load i64, ptr %12, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %12, align 8
%60 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%61 = load i64, ptr %12, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
%63 = call i32 @atoi(ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %47
%67 = load i32, ptr %13, align 4
%68 = icmp slt i32 %67, 65535
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = load ptr, ptr %10, align 8
store i64 %71, ptr %72, align 8
br label %74
73: ; preds = %66, %47
store i32 3, ptr %11, align 4
br label %75
74: ; preds = %69
store i32 0, ptr %11, align 4
br label %75
75: ; preds = %74, %73, %46
%76 = load i32, ptr %11, align 4
ret i32 %76
}
declare i32 @assert(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strcspn(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmploqdwcmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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":%~+-^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_udprelay(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca [512 x i8], align 16
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 1, ptr %11, align 4
store ptr @.str, ptr %14, align 8
store i32 65535, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %28
19: ; preds = %5
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %28
22: ; preds = %19
%23 = load i64, ptr %9, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load ptr, ptr %10, align 8
%27 = icmp ne ptr %26, null
br label %28
28: ; preds = %25, %22, %19, %5
%29 = phi i1 [ false, %22 ], [ false, %19 ], [ false, %5 ], [ %27, %25 ]
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%33 = load ptr, ptr %6, align 8
%34 = call i32 @strncpy(ptr noundef %32, ptr noundef %33, i64 noundef 512)
%35 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 511
store i8 0, ptr %35, align 1
br label %36
36: ; preds = %28
%37 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%38 = load ptr, ptr %14, align 8
%39 = call i64 @strcspn(ptr noundef %37, ptr noundef %38)
store i64 %39, ptr %12, align 8
%40 = load i64, ptr %12, align 8
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %36
%43 = load i64, ptr %12, align 8
%44 = load i64, ptr %7, align 8
%45 = icmp uge i64 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %42, %36
br label %75
47: ; preds = %42
%48 = load i64, ptr %12, align 8
%49 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%52 = load i64, ptr %9, align 8
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i64 noundef %52)
%54 = load ptr, ptr %8, align 8
%55 = load i64, ptr %9, align 8
%56 = sub i64 %55, 1
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load i64, ptr %12, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %12, align 8
%60 = getelementptr inbounds [512 x i8], ptr %16, i64 0, i64 0
%61 = load i64, ptr %12, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
%63 = call i32 @atoi(ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp sgt i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %47
%67 = load i32, ptr %13, align 4
%68 = icmp slt i32 %67, 65535
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = load ptr, ptr %10, align 8
store i64 %71, ptr %72, align 8
br label %74
73: ; preds = %66, %47
store i32 3, ptr %11, align 4
br label %75
74: ; preds = %69
store i32 0, ptr %11, align 4
br label %75
75: ; preds = %74, %73, %46
%76 = load i32, ptr %11, align 4
ret i32 %76
}
declare i32 @assert(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strcspn(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpffvb1epj.c'
source_filename = "/tmp/tmpffvb1epj.c"
target datalayout = "e-m:e-p270: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/tmpffvb1epj.c"
target datalayout = "e-m:e-p270: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/tmp5zcdu8ez.c'
source_filename = "/tmp/tmp5zcdu8ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_delim(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %14
13: ; preds = %4
store i32 -1, ptr %5, align 4
br label %55
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %17)
store i32 0, ptr %10, align 4
br label %19
19: ; preds = %28, %14
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = call signext i8 (...) @randchar()
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %10, 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 = %22
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
br label %19, !llvm.loop !6
31: ; preds = %19
br label %32
32: ; preds = %51, %31
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %54
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %10, align 4
%41 = call i32 @string_contains(ptr noundef %37, i32 noundef %38, ptr noundef %39, i32 noundef %40)
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %36
%44 = load i32, ptr %10, align 4
store i32 %44, ptr %5, align 4
br label %55
45: ; preds = %36
%46 = call signext i8 (...) @randchar()
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %45
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
br label %32, !llvm.loop !8
54: ; preds = %32
store i32 -1, ptr %5, align 4
br label %55
55: ; preds = %54, %43, %13
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @randchar(...) #1
declare i32 @string_contains(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5zcdu8ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_delim(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %14
13: ; preds = %4
store i32 -1, ptr %5, align 4
br label %58
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %17)
store i32 0, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %19, 3
br i1 %20, label %.lr.ph, label %32
.lr.ph: ; preds = %14
br label %21
21: ; preds = %.lr.ph, %27
%22 = call signext i8 (...) @randchar()
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 %22, ptr %26, align 1
br label %27
27: ; preds = %21
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp slt i32 %30, 3
br i1 %31, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %14
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %57
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %51
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %10, align 4
%41 = call i32 @string_contains(ptr noundef %37, i32 noundef %38, ptr noundef %39, i32 noundef %40)
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %36
%44 = load i32, ptr %10, align 4
store i32 %44, ptr %5, align 4
br label %58
45: ; preds = %36
%46 = call signext i8 (...) @randchar()
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %45
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %57
57: ; preds = %._crit_edge3, %32
store i32 -1, ptr %5, align 4
br label %58
58: ; preds = %57, %43, %13
%59 = load i32, ptr %5, align 4
ret i32 %59
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare signext i8 @randchar(...) #1
declare i32 @string_contains(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9093zrmd.c'
source_filename = "/tmp/tmp9093zrmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @south_span_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @south_span(i32 noundef 0)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 16843009)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @south_span(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/tmp9093zrmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @south_span_test(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @south_span(i32 noundef 0)
%4 = call i32 @assert_int_equal(i32 noundef %3, i32 noundef 16843009)
ret void
}
declare i32 @assert_int_equal(i32 noundef, i32 noundef) #1
declare i32 @south_span(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/tmpcsa0e1se.c'
source_filename = "/tmp/tmpcsa0e1se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_bulkwrite(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3, i16 noundef zeroext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i16 %1, ptr %7, align 2
store i16 %2, ptr %8, align 2
store ptr %3, ptr %9, align 8
store i16 %4, ptr %10, align 2
store i8 -128, ptr %12, align 1
%13 = call i32 (...) @OAL_OBTAIN_SEMAPHORE()
%14 = load i16, ptr %8, align 2
%15 = zext i16 %14 to i32
%16 = and i32 %15, 65280
%17 = ashr i32 %16, 8
%18 = trunc i32 %17 to i8
store volatile i8 %18, ptr null, align 1
%19 = load i16, ptr %8, align 2
%20 = zext i16 %19 to i32
%21 = and i32 %20, 255
%22 = trunc i32 %21 to i8
store volatile i8 %22, ptr null, align 1
%23 = load i8, ptr %12, align 1
store volatile i8 %23, ptr null, align 1
%24 = load i16, ptr %10, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = trunc i32 %26 to i8
store volatile i8 %27, ptr null, align 1
store i32 0, ptr %11, align 4
br label %28
28: ; preds = %39, %5
%29 = load i32, ptr %11, align 4
%30 = load i16, ptr %10, align 2
%31 = zext i16 %30 to i32
%32 = icmp slt i32 %29, %31
br i1 %32, label %33, label %42
33: ; preds = %28
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
store volatile i8 %38, ptr null, align 1
br label %39
39: ; preds = %33
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %11, align 4
br label %28, !llvm.loop !6
42: ; preds = %28
%43 = call i32 (...) @OAL_RELEASE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1
declare i32 @OAL_RELEASE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcsa0e1se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_bulkwrite(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3, i16 noundef zeroext %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i16 %1, ptr %7, align 2
store i16 %2, ptr %8, align 2
store ptr %3, ptr %9, align 8
store i16 %4, ptr %10, align 2
store i8 -128, ptr %12, align 1
%13 = call i32 (...) @OAL_OBTAIN_SEMAPHORE()
%14 = load i16, ptr %8, align 2
%15 = zext i16 %14 to i32
%16 = and i32 %15, 65280
%17 = ashr i32 %16, 8
%18 = trunc i32 %17 to i8
store volatile i8 %18, ptr null, align 1
%19 = load i16, ptr %8, align 2
%20 = zext i16 %19 to i32
%21 = and i32 %20, 255
%22 = trunc i32 %21 to i8
store volatile i8 %22, ptr null, align 1
%23 = load i8, ptr %12, align 1
store volatile i8 %23, ptr null, align 1
%24 = load i16, ptr %10, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = trunc i32 %26 to i8
store volatile i8 %27, ptr null, align 1
store i32 0, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = load i16, ptr %10, align 2
%30 = zext i16 %29 to i32
%31 = icmp slt i32 %28, %30
br i1 %31, label %.lr.ph, label %45
.lr.ph: ; preds = %5
br label %32
32: ; preds = %.lr.ph, %38
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
store volatile i8 %37, ptr null, align 1
br label %38
38: ; preds = %32
%39 = load i32, ptr %11, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = load i16, ptr %10, align 2
%43 = zext i16 %42 to i32
%44 = icmp slt i32 %41, %43
br i1 %44, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %45
45: ; preds = %._crit_edge, %5
%46 = call i32 (...) @OAL_RELEASE_SEMAPHORE()
ret i32 0
}
declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1
declare i32 @OAL_RELEASE_SEMAPHORE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpejn5gvo4.c'
source_filename = "/tmp/tmpejn5gvo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_time(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
%6 = load i64, ptr %3, align 8
%7 = sitofp i64 %6 to double
%8 = load double, ptr %5, align 8
%9 = fadd double %8, %7
store double %9, ptr %5, align 8
%10 = load i64, ptr %4, align 8
%11 = sitofp i64 %10 to double
%12 = fdiv double %11, 1.000000e+09
%13 = load double, ptr %5, align 8
%14 = fadd double %13, %12
store double %14, ptr %5, align 8
%15 = load double, ptr %5, align 8
ret double %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpejn5gvo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sum_time(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca double, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
%6 = load i64, ptr %3, align 8
%7 = sitofp i64 %6 to double
%8 = load double, ptr %5, align 8
%9 = fadd double %8, %7
store double %9, ptr %5, align 8
%10 = load i64, ptr %4, align 8
%11 = sitofp i64 %10 to double
%12 = fdiv double %11, 1.000000e+09
%13 = load double, ptr %5, align 8
%14 = fadd double %13, %12
store double %14, ptr %5, align 8
%15 = load double, ptr %5, align 8
ret double %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp642lxk7b.c'
source_filename = "/tmp/tmp642lxk7b.c"
target datalayout = "e-m:e-p270: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/tmp642lxk7b.c"
target datalayout = "e-m:e-p270: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/tmpwavimlkb.c'
source_filename = "/tmp/tmpwavimlkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"poll() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @poll(ptr noundef %8, i64 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @err_sys(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @poll(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @err_sys(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwavimlkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"poll() error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @poll(ptr noundef %8, i64 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = call i32 @err_sys(ptr noundef @.str)
br label %15
15: ; preds = %13, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @poll(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @err_sys(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsvfvwh_v.c'
source_filename = "/tmp/tmpsvfvwh_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Loaded module: argc:%d [%s]\0A\00", align 1
@.str.1 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/88888yl/rtems-mini2440-4.11/refs/heads/master/testsuites/libtests/dl01/dl-o1.c\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtems_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6, ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %20, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsvfvwh_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Loaded module: argc:%d [%s]\0A\00", align 1
@.str.1 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/88888yl/rtems-mini2440-4.11/refs/heads/master/testsuites/libtests/dl01/dl-o1.c\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" %d: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rtems_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6, ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12, ptr noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj_406t9c.c'
source_filename = "/tmp/tmpj_406t9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imprime(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %28
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %10
br label %28
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %6, !llvm.loop !6
28: ; preds = %17, %6
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_406t9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imprime(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %17
16: ; preds = %9
br label %30
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %30
30: ; preds = %.loopexit, %16
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpth9012cj.c'
source_filename = "/tmp/tmpth9012cj.c"
target datalayout = "e-m:e-p270: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/tmpth9012cj.c"
target datalayout = "e-m:e-p270: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/tmpzcrxyoo9.c'
source_filename = "/tmp/tmpzcrxyoo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/functional.c\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"test_all_all_are_true\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"test_all_all_are_false\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"test_all_one_is_true\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"test_none_all_are_true\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"test_none_all_are_false\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"test_none_one_is_true\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"test_any_all_are_true\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"test_any_all_are_false\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"test_any_one_is_true\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @functional_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_all_all_are_true()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_all_all_are_false()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_all_one_is_true()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_none_all_are_true()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_none_all_are_false()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.6)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 (...) @seatest_suite_setup()
%69 = call i32 (...) @seatest_setup()
%70 = call i32 (...) @test_none_one_is_true()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.6)
br label %74
74: ; preds = %67, %64
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.7)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = call i32 (...) @seatest_suite_setup()
%81 = call i32 (...) @seatest_setup()
%82 = call i32 (...) @test_any_all_are_true()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.7)
br label %86
86: ; preds = %79, %76
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.8)
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %88
%92 = call i32 (...) @seatest_suite_setup()
%93 = call i32 (...) @seatest_setup()
%94 = call i32 (...) @test_any_all_are_false()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.8)
br label %98
98: ; preds = %91, %88
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.9)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = call i32 (...) @seatest_suite_setup()
%105 = call i32 (...) @seatest_setup()
%106 = call i32 (...) @test_any_one_is_true()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.9)
br label %110
110: ; preds = %103, %100
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
%113 = call i32 (...) @seatest_test_fixture_end()
br label %114
114: ; preds = %112
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_all_all_are_true(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_all_all_are_false(...) #1
declare i32 @test_all_one_is_true(...) #1
declare i32 @test_none_all_are_true(...) #1
declare i32 @test_none_all_are_false(...) #1
declare i32 @test_none_one_is_true(...) #1
declare i32 @test_any_all_are_true(...) #1
declare i32 @test_any_all_are_false(...) #1
declare i32 @test_any_one_is_true(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcrxyoo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/functional.c\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"test_all_all_are_true\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"test_all_all_are_false\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"test_all_one_is_true\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"test_none_all_are_true\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"test_none_all_are_false\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"test_none_one_is_true\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"test_any_all_are_true\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"test_any_all_are_false\00", align 1
@.str.9 = private unnamed_addr constant [21 x i8] c"test_any_one_is_true\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @functional_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_all_all_are_true()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_all_all_are_false()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_all_one_is_true()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_none_all_are_true()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_none_all_are_false()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.6)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 (...) @seatest_suite_setup()
%69 = call i32 (...) @seatest_setup()
%70 = call i32 (...) @test_none_one_is_true()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.6)
br label %74
74: ; preds = %67, %64
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.7)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = call i32 (...) @seatest_suite_setup()
%81 = call i32 (...) @seatest_setup()
%82 = call i32 (...) @test_any_all_are_true()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.7)
br label %86
86: ; preds = %79, %76
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.8)
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %88
%92 = call i32 (...) @seatest_suite_setup()
%93 = call i32 (...) @seatest_setup()
%94 = call i32 (...) @test_any_all_are_false()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.8)
br label %98
98: ; preds = %91, %88
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.9)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = call i32 (...) @seatest_suite_setup()
%105 = call i32 (...) @seatest_setup()
%106 = call i32 (...) @test_any_one_is_true()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.9)
br label %110
110: ; preds = %103, %100
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
%113 = call i32 (...) @seatest_test_fixture_end()
br label %114
114: ; preds = %112
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_all_all_are_true(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_all_all_are_false(...) #1
declare i32 @test_all_one_is_true(...) #1
declare i32 @test_none_all_are_true(...) #1
declare i32 @test_none_all_are_false(...) #1
declare i32 @test_none_one_is_true(...) #1
declare i32 @test_any_all_are_true(...) #1
declare i32 @test_any_all_are_false(...) #1
declare i32 @test_any_one_is_true(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprqej8mzn.c'
source_filename = "/tmp/tmprqej8mzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"Input structure constraints using the following notation:\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"| : paired with another base\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c". : no constraint at all\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"x : base must not pair\0A\00", align 1
@.str.4 = private unnamed_addr constant [75 x i8] c"< : base i is paired with a base j<i\0A> : base i is paired with a base j>i\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"matching brackets ( ): base i pairs base j\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vrna_message_constraint_options(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 65536
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %2, align 4
%11 = and i32 %10, 131072
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr %2, align 4
%17 = and i32 %16, 262144
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %19, %15
%22 = load i32, ptr %2, align 4
%23 = and i32 %22, 524288
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.4)
br label %27
27: ; preds = %25, %21
%28 = load i32, ptr %2, align 4
%29 = and i32 %28, 1048576
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @printf(ptr noundef @.str.5)
br label %33
33: ; preds = %31, %27
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/tmprqej8mzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"Input structure constraints using the following notation:\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"| : paired with another base\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c". : no constraint at all\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"x : base must not pair\0A\00", align 1
@.str.4 = private unnamed_addr constant [75 x i8] c"< : base i is paired with a base j<i\0A> : base i is paired with a base j>i\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"matching brackets ( ): base i pairs base j\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vrna_message_constraint_options(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 65536
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %2, align 4
%11 = and i32 %10, 131072
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str.2)
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr %2, align 4
%17 = and i32 %16, 262144
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %19, %15
%22 = load i32, ptr %2, align 4
%23 = and i32 %22, 524288
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.4)
br label %27
27: ; preds = %25, %21
%28 = load i32, ptr %2, align 4
%29 = and i32 %28, 1048576
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @printf(ptr noundef @.str.5)
br label %33
33: ; preds = %31, %27
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/tmpebr4xrg7.c'
source_filename = "/tmp/tmpebr4xrg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %24, %3
%10 = load i64, ptr %6, align 8
%11 = icmp ugt i64 %10, 0
br i1 %11, label %12, label %27
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = load ptr, ptr %7, align 8
store i8 %14, ptr %15, align 1
%16 = sext i8 %14 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
br label %21
21: ; preds = %18, %12
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
br label %24
24: ; preds = %21
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %6, align 8
br label %9, !llvm.loop !6
27: ; preds = %9
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpebr4xrg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %23
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = load ptr, ptr %7, align 8
store i8 %13, ptr %14, align 1
%15 = sext i8 %13 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %5, align 8
br label %20
20: ; preds = %17, %11
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %20
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp ugt i64 %26, 0
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %3
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9th2o1vb.c'
source_filename = "/tmp/tmp9th2o1vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"/* this file is automatically generated by gen_uri_delims, do not edit */\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"static const unsigned char uri_delims[256] = {\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"T_COLON\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"T_SLASH\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"T_QUESTION\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"T_HASH\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"T_NUL\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"\0A};\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %34, %2
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 256
br i1 %12, label %13, label %37
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = srem i32 %14, 20
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17, %13
%20 = load i32, ptr %6, align 4
switch i32 %20, label %26 [
i32 58, label %21
i32 47, label %22
i32 63, label %23
i32 35, label %24
i32 0, label %25
]
21: ; preds = %19
store ptr @.str.3, ptr %7, align 8
br label %27
22: ; preds = %19
store ptr @.str.4, ptr %7, align 8
br label %27
23: ; preds = %19
store ptr @.str.5, ptr %7, align 8
br label %27
24: ; preds = %19
store ptr @.str.6, ptr %7, align 8
br label %27
25: ; preds = %19
store ptr @.str.7, ptr %7, align 8
br label %27
26: ; preds = %19
store ptr @.str.8, ptr %7, align 8
br label %27
27: ; preds = %26, %25, %24, %23, %22, %21
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 255
%31 = zext i1 %30 to i64
%32 = select i1 %30, i32 44, i32 32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %28, i32 noundef %32)
br label %34
34: ; preds = %27
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %10, !llvm.loop !6
37: ; preds = %10
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9th2o1vb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [75 x i8] c"/* this file is automatically generated by gen_uri_delims, do not edit */\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"static const unsigned char uri_delims[256] = {\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A \00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"T_COLON\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"T_SLASH\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"T_QUESTION\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"T_HASH\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"T_NUL\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"%s%c\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"\0A};\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 256
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %33
%13 = load i32, ptr %6, align 4
%14 = srem i32 %13, 20
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %12
%19 = load i32, ptr %6, align 4
switch i32 %19, label %25 [
i32 58, label %20
i32 47, label %21
i32 63, label %22
i32 35, label %23
i32 0, label %24
]
20: ; preds = %18
store ptr @.str.3, ptr %7, align 8
br label %26
21: ; preds = %18
store ptr @.str.4, ptr %7, align 8
br label %26
22: ; preds = %18
store ptr @.str.5, ptr %7, align 8
br label %26
23: ; preds = %18
store ptr @.str.6, ptr %7, align 8
br label %26
24: ; preds = %18
store ptr @.str.7, ptr %7, align 8
br label %26
25: ; preds = %18
store ptr @.str.8, ptr %7, align 8
br label %26
26: ; preds = %25, %24, %23, %22, %21, %20
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 255
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 44, i32 32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %27, i32 noundef %31)
br label %33
33: ; preds = %26
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %36, 256
br i1 %37, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %2
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp70ncp2h9.c'
source_filename = "/tmp/tmp70ncp2h9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp70ncp2h9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxfbuyq1q.c'
source_filename = "/tmp/tmpxfbuyq1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 1
call void @f(i32 noundef %10, ptr noundef %5)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 %11, %12
%14 = add nsw i32 %13, 2
%15 = load ptr, ptr %4, align 8
store i32 %14, ptr %15, align 4
br label %18
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
store i32 5, ptr %17, align 4
br label %18
18: ; preds = %16, %8
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %19, align 4
%21 = icmp sgt i32 %20, 5
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %3, align 4
%25 = call i32 @g(ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %22, %18
ret void
}
declare i32 @g(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/tmpxfbuyq1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 1
call void @f(i32 noundef %10, ptr noundef %5)
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = mul nsw i32 %11, %12
%14 = add nsw i32 %13, 2
%15 = load ptr, ptr %4, align 8
store i32 %14, ptr %15, align 4
br label %18
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
store i32 5, ptr %17, align 4
br label %18
18: ; preds = %16, %8
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %19, align 4
%21 = icmp sgt i32 %20, 5
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %3, align 4
%25 = call i32 @g(ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %22, %18
ret void
}
declare i32 @g(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/tmppx6b8s6s.c'
source_filename = "/tmp/tmppx6b8s6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Hey, I'm thread #%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Thread #%d *inside* critical section!\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @omp_get_thread_num()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @omp_get_thread_num(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppx6b8s6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Hey, I'm thread #%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Thread #%d *inside* critical section!\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @omp_get_thread_num()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @omp_get_thread_num(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqithwyfa.c'
source_filename = "/tmp/tmpqithwyfa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeallresources() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @freefont()
%3 = call i32 (...) @freetileset()
%4 = call i32 (...) @clearunslist()
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %11, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 26
br i1 %7, label %8, label %14
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = call i32 @freesfx(i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
ret void
}
declare i32 @freefont(...) #1
declare i32 @freetileset(...) #1
declare i32 @clearunslist(...) #1
declare i32 @freesfx(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/tmpqithwyfa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeallresources() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @freefont()
%3 = call i32 (...) @freetileset()
%4 = call i32 (...) @clearunslist()
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 26
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %1, align 4
%9 = call i32 @freesfx(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %1, align 4
%14 = icmp slt i32 %13, 26
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
ret void
}
declare i32 @freefont(...) #1
declare i32 @freetileset(...) #1
declare i32 @clearunslist(...) #1
declare i32 @freesfx(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/tmpt5yz4ld8.c'
source_filename = "/tmp/tmpt5yz4ld8.c"
target datalayout = "e-m:e-p270: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/tmpt5yz4ld8.c"
target datalayout = "e-m:e-p270: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/tmpdg326wer.c'
source_filename = "/tmp/tmpdg326wer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call i64 @calloc(i32 noundef %9, i32 noundef 1)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %29, %1
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %32
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %18, %19
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %17, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 %24, ptr %28, align 1
br label %29
29: ; preds = %16
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
br label %12, !llvm.loop !6
32: ; preds = %12
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %5, align 8
ret ptr %37
}
declare i32 @strlen(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdg326wer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call i64 @calloc(i32 noundef %9, i32 noundef 1)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %34
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %28
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %17, %18
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %4, 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 = %15
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %1
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
%39 = load ptr, ptr %5, align 8
ret ptr %39
}
declare i32 @strlen(ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpr1q_z9bz.c'
source_filename = "/tmp/tmpr1q_z9bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroySetArr(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/tmpr1q_z9bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroySetArr(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_eru6buv.c'
source_filename = "/tmp/tmp_eru6buv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bwrite_interpolative_sublist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %14, %15
%17 = icmp sle i32 %16, 1
br i1 %17, label %18, label %19
18: ; preds = %4
br label %65
19: ; preds = %4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = ashr i32 %22, 1
store i32 %23, ptr %9, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = sub nsw i32 %28, %31
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
%41 = add nsw i32 %37, %40
store i32 %41, ptr %11, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %11, align 4
%48 = sub nsw i32 %46, %47
store i32 %48, ptr %12, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %11, align 4
%51 = sub nsw i32 %49, %50
%52 = add nsw i32 %51, 1
store i32 %52, ptr %13, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %12, align 4
%55 = load i32, ptr %13, align 4
%56 = call i32 @bwrite_interpolative_encode_value(ptr noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
call void @bwrite_interpolative_sublist(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%61 = load ptr, ptr %5, align 8
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %8, align 4
call void @bwrite_interpolative_sublist(ptr noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef %64)
br label %65
65: ; preds = %19, %18
ret void
}
declare i32 @bwrite_interpolative_encode_value(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_eru6buv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bwrite_interpolative_sublist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 %14, %15
%17 = icmp sle i32 %16, 1
br i1 %17, label %18, label %19
18: ; preds = %4
br label %65
19: ; preds = %4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = ashr i32 %22, 1
store i32 %23, ptr %9, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %29, %30
%32 = sub nsw i32 %28, %31
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
%41 = add nsw i32 %37, %40
store i32 %41, ptr %11, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %11, align 4
%48 = sub nsw i32 %46, %47
store i32 %48, ptr %12, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %11, align 4
%51 = sub nsw i32 %49, %50
%52 = add nsw i32 %51, 1
store i32 %52, ptr %13, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %12, align 4
%55 = load i32, ptr %13, align 4
%56 = call i32 @bwrite_interpolative_encode_value(ptr noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
call void @bwrite_interpolative_sublist(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%61 = load ptr, ptr %5, align 8
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %8, align 4
call void @bwrite_interpolative_sublist(ptr noundef %61, ptr noundef %62, i32 noundef %63, i32 noundef %64)
br label %65
65: ; preds = %19, %18
ret void
}
declare i32 @bwrite_interpolative_encode_value(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptipk6hnu.c'
source_filename = "/tmp/tmptipk6hnu.c"
target datalayout = "e-m:e-p270: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/tmptipk6hnu.c"
target datalayout = "e-m:e-p270: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/tmpn74t5_8k.c'
source_filename = "/tmp/tmpn74t5_8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %8, align 4
br label %14
14: ; preds = %68, %2
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
%18 = icmp sle i32 %15, %17
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr %7, align 4
%21 = icmp sge i32 %20, 0
br label %22
22: ; preds = %19, %14
%23 = phi i1 [ false, %14 ], [ %21, %19 ]
br i1 %23, label %24, label %69
24: ; preds = %22
br label %25
25: ; preds = %33, %24
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %25, !llvm.loop !6
36: ; preds = %25
br label %37
37: ; preds = %45, %36
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp sge i32 %42, %43
br i1 %44, label %45, label %48
45: ; preds = %37
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %37, !llvm.loop !8
48: ; preds = %37
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %7, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %61
52: ; preds = %48
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %7, align 4
%56 = call i32 @swap(ptr noundef %53, i32 noundef %54, i32 noundef %55)
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 %59, 1
store i32 %60, ptr %7, align 4
br label %68
61: ; preds = %48
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %6, align 4
%64 = sub nsw i32 %63, 1
%65 = call i32 @swap(ptr noundef %62, i32 noundef %64, i32 noundef 0)
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %66, 1
store i32 %67, ptr %3, align 4
br label %69
68: ; preds = %52
br label %14, !llvm.loop !9
69: ; preds = %61, %22
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn74t5_8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 0
%13 = load i32, ptr %12, align 4
store i32 %13, ptr %8, align 4
br label %14
14: ; preds = %80, %2
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
%18 = icmp sle i32 %15, %17
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr %7, align 4
%21 = icmp sge i32 %20, 0
br label %22
22: ; preds = %19, %14
%23 = phi i1 [ false, %14 ], [ %21, %19 ]
br i1 %23, label %24, label %.loopexit
24: ; preds = %22
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph, label %42
.lr.ph: ; preds = %24
br label %32
32: ; preds = %.lr.ph, %32
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %42
42: ; preds = %._crit_edge, %24
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %42
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %7, align 4
%52 = sub nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp sge i32 %57, %58
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %42
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %73
64: ; preds = %60
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %7, align 4
%68 = call i32 @swap(ptr noundef %65, i32 noundef %66, i32 noundef %67)
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
%71 = load i32, ptr %7, align 4
%72 = sub nsw i32 %71, 1
store i32 %72, ptr %7, align 4
br label %80
73: ; preds = %60
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = sub nsw i32 %75, 1
%77 = call i32 @swap(ptr noundef %74, i32 noundef %76, i32 noundef 0)
%78 = load i32, ptr %6, align 4
%79 = sub nsw i32 %78, 1
store i32 %79, ptr %3, align 4
br label %81
80: ; preds = %64
br label %14, !llvm.loop !9
.loopexit: ; preds = %22
br label %81
81: ; preds = %.loopexit, %73
%82 = load i32, ptr %3, align 4
ret i32 %82
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppzwc57kv.c'
source_filename = "/tmp/tmppzwc57kv.c"
target datalayout = "e-m:e-p270: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_3__ = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i64 } @lldiv(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = sdiv i64 %6, %7
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0
store i64 %8, ptr %9, align 8
%10 = load i64, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = srem i64 %10, %11
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1
store i64 %12, ptr %13, align 8
%14 = load { i64, i64 }, ptr %3, align 8
ret { i64, i64 } %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzwc57kv.c"
target datalayout = "e-m:e-p270: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_3__ = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i64 } @lldiv(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = sdiv i64 %6, %7
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0
store i64 %8, ptr %9, align 8
%10 = load i64, ptr %4, align 8
%11 = load i64, ptr %5, align 8
%12 = srem i64 %10, %11
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1
store i64 %12, ptr %13, align 8
%14 = load { i64, i64 }, ptr %3, align 8
ret { i64, i64 } %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeuedrx5i.c'
source_filename = "/tmp/tmpeuedrx5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@atom_info.ALIST = internal global [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"C \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"O \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"H \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"N \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"S \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"P \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"F \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"CL\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"BR\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"I \00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"SI\00", align 1
@atom_info.CRADII = internal global [12 x double] [double 1.200000e+00, double 7.620000e-01, double 6.460000e-01, double 3.520000e-01, double 6.890000e-01, double 1.105000e+00, double 1.000000e+00, double 0x3FE3CED916872B02, double 1.022000e+00, double 1.183000e+00, double 1.378000e+00, double 1.105000e+00], align 16
@atom_info.VRADII = internal global [12 x double] [double 2.000000e+00, double 1.700000e+00, double 1.520000e+00, double 1.200000e+00, double 1.550000e+00, double 1.800000e+00, double 1.800000e+00, double 1.470000e+00, double 1.750000e+00, double 1.850000e+00, double 1.980000e+00, double 2.100000e+00], align 16
@.str.12 = private unnamed_addr constant [51 x i8] c"wrong options for <atom_info>: should be 1, 2 or 3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @atom_info(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp eq i64 %10, 1
br i1 %11, label %12, label %29
12: ; preds = %4
store i64 0, ptr %9, align 8
br label %13
13: ; preds = %25, %12
%14 = load i64, ptr %9, align 8
%15 = icmp slt i64 %14, 12
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load ptr, ptr %6, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds [3 x i8], ptr %17, i64 %18
%20 = getelementptr inbounds [3 x i8], ptr %19, i64 0, i64 0
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds [12 x ptr], ptr @atom_info.ALIST, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @strcpy(ptr noundef %20, ptr noundef %23)
br label %25
25: ; preds = %16
%26 = load i64, ptr %9, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %9, align 8
br label %13, !llvm.loop !6
28: ; preds = %13
br label %69
29: ; preds = %4
%30 = load i64, ptr %5, align 8
%31 = icmp eq i64 %30, 2
br i1 %31, label %32, label %47
32: ; preds = %29
store i64 0, ptr %9, align 8
br label %33
33: ; preds = %43, %32
%34 = load i64, ptr %9, align 8
%35 = icmp slt i64 %34, 12
br i1 %35, label %36, label %46
36: ; preds = %33
%37 = load i64, ptr %9, align 8
%38 = getelementptr inbounds [12 x double], ptr @atom_info.CRADII, i64 0, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i64, ptr %9, align 8
%42 = getelementptr inbounds double, ptr %40, i64 %41
store double %39, ptr %42, align 8
br label %43
43: ; preds = %36
%44 = load i64, ptr %9, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %9, align 8
br label %33, !llvm.loop !8
46: ; preds = %33
br label %68
47: ; preds = %29
%48 = load i64, ptr %5, align 8
%49 = icmp eq i64 %48, 3
br i1 %49, label %50, label %65
50: ; preds = %47
store i64 0, ptr %9, align 8
br label %51
51: ; preds = %61, %50
%52 = load i64, ptr %9, align 8
%53 = icmp slt i64 %52, 12
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i64, ptr %9, align 8
%56 = getelementptr inbounds [12 x double], ptr @atom_info.VRADII, i64 0, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %8, align 8
%59 = load i64, ptr %9, align 8
%60 = getelementptr inbounds double, ptr %58, i64 %59
store double %57, ptr %60, align 8
br label %61
61: ; preds = %54
%62 = load i64, ptr %9, align 8
%63 = add nsw i64 %62, 1
store i64 %63, ptr %9, align 8
br label %51, !llvm.loop !9
64: ; preds = %51
br label %67
65: ; preds = %47
%66 = call i32 @nrerror(ptr noundef @.str.12)
br label %67
67: ; preds = %65, %64
br label %68
68: ; preds = %67, %46
br label %69
69: ; preds = %68, %28
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpeuedrx5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@atom_info.ALIST = internal global [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"C \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"O \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"H \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"N \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"S \00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"P \00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"F \00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"CL\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"BR\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"I \00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"SI\00", align 1
@atom_info.CRADII = internal global [12 x double] [double 1.200000e+00, double 7.620000e-01, double 6.460000e-01, double 3.520000e-01, double 6.890000e-01, double 1.105000e+00, double 1.000000e+00, double 0x3FE3CED916872B02, double 1.022000e+00, double 1.183000e+00, double 1.378000e+00, double 1.105000e+00], align 16
@atom_info.VRADII = internal global [12 x double] [double 2.000000e+00, double 1.700000e+00, double 1.520000e+00, double 1.200000e+00, double 1.550000e+00, double 1.800000e+00, double 1.800000e+00, double 1.470000e+00, double 1.750000e+00, double 1.850000e+00, double 1.980000e+00, double 2.100000e+00], align 16
@.str.12 = private unnamed_addr constant [51 x i8] c"wrong options for <atom_info>: should be 1, 2 or 3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @atom_info(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp eq i64 %10, 1
br i1 %11, label %12, label %30
12: ; preds = %4
store i64 0, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp slt i64 %13, 12
br i1 %14, label %.lr.ph5, label %29
.lr.ph5: ; preds = %12
br label %15
15: ; preds = %.lr.ph5, %24
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds [3 x i8], ptr %16, i64 %17
%19 = getelementptr inbounds [3 x i8], ptr %18, i64 0, i64 0
%20 = load i64, ptr %9, align 8
%21 = getelementptr inbounds [12 x ptr], ptr @atom_info.ALIST, i64 0, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strcpy(ptr noundef %19, ptr noundef %22)
br label %24
24: ; preds = %15
%25 = load i64, ptr %9, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %9, align 8
%27 = load i64, ptr %9, align 8
%28 = icmp slt i64 %27, 12
br i1 %28, label %15, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %24
br label %29
29: ; preds = %._crit_edge6, %12
br label %72
30: ; preds = %4
%31 = load i64, ptr %5, align 8
%32 = icmp eq i64 %31, 2
br i1 %32, label %33, label %49
33: ; preds = %30
store i64 0, ptr %9, align 8
%34 = load i64, ptr %9, align 8
%35 = icmp slt i64 %34, 12
br i1 %35, label %.lr.ph2, label %48
.lr.ph2: ; preds = %33
br label %36
36: ; preds = %.lr.ph2, %43
%37 = load i64, ptr %9, align 8
%38 = getelementptr inbounds [12 x double], ptr @atom_info.CRADII, i64 0, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i64, ptr %9, align 8
%42 = getelementptr inbounds double, ptr %40, i64 %41
store double %39, ptr %42, align 8
br label %43
43: ; preds = %36
%44 = load i64, ptr %9, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %9, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp slt i64 %46, 12
br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %48
48: ; preds = %._crit_edge3, %33
br label %71
49: ; preds = %30
%50 = load i64, ptr %5, align 8
%51 = icmp eq i64 %50, 3
br i1 %51, label %52, label %68
52: ; preds = %49
store i64 0, ptr %9, align 8
%53 = load i64, ptr %9, align 8
%54 = icmp slt i64 %53, 12
br i1 %54, label %.lr.ph, label %67
.lr.ph: ; preds = %52
br label %55
55: ; preds = %.lr.ph, %62
%56 = load i64, ptr %9, align 8
%57 = getelementptr inbounds [12 x double], ptr @atom_info.VRADII, i64 0, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %8, align 8
%60 = load i64, ptr %9, align 8
%61 = getelementptr inbounds double, ptr %59, i64 %60
store double %58, ptr %61, align 8
br label %62
62: ; preds = %55
%63 = load i64, ptr %9, align 8
%64 = add nsw i64 %63, 1
store i64 %64, ptr %9, align 8
%65 = load i64, ptr %9, align 8
%66 = icmp slt i64 %65, 12
br i1 %66, label %55, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %52
br label %70
68: ; preds = %49
%69 = call i32 @nrerror(ptr noundef @.str.12)
br label %70
70: ; preds = %68, %67
br label %71
71: ; preds = %70, %48
br label %72
72: ; preds = %71, %29
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0v490d6p.c'
source_filename = "/tmp/tmp0v490d6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %36, %0
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %6
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %5, align 4
%16 = srem i32 %15, 2
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 %17
store i32 %14, ptr %18, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %13, %9
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%29 = load i32, ptr %28, align 4
%30 = call i32 @nwd(i32 noundef %27, i32 noundef %29)
%31 = add nsw i32 %25, %30
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %24, %21
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
br label %37
36: ; preds = %32
br label %6, !llvm.loop !6
37: ; preds = %35, %6
%38 = load i32, ptr %4, align 4
%39 = call i32 @printf(ptr noundef @.str, i32 noundef %38)
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @nwd(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0v490d6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %11
8: ; preds = %34
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %..loopexit_crit_edge, !llvm.loop !6
11: ; preds = %.lr.ph, %8
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = srem i32 %17, 2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 %19
store i32 %16, ptr %20, align 4
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %15, %11
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load i32, ptr %4, align 4
%28 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%31 = load i32, ptr %30, align 4
%32 = call i32 @nwd(i32 noundef %29, i32 noundef %31)
%33 = add nsw i32 %27, %32
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %26, %23
%35 = load i32, ptr %2, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %8
37: ; preds = %34
br label %38
..loopexit_crit_edge: ; preds = %8
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %38
38: ; preds = %.loopexit, %37
%39 = load i32, ptr %4, align 4
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %39)
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @nwd(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6s5mlcov.c'
source_filename = "/tmp/tmp6s5mlcov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca float, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca float, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
br label %15
15: ; preds = %34, %2
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %37
19: ; preds = %15
%20 = call float (...) @rand_float()
%21 = fpext float %20 to double
%22 = fcmp olt double %21, 2.000000e-01
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %14, i64 %25
store float 0x7FF8000000000000, ptr %26, align 4
br label %33
27: ; preds = %19
%28 = call float (...) @rand_float()
%29 = call float @llvm.fmuladd.f32(float %28, float 2.000000e+04, float -1.000000e+04)
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds float, ptr %14, i64 %31
store float %29, ptr %32, align 4
br label %33
33: ; preds = %27, %23
br label %34
34: ; preds = %33
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
br label %15, !llvm.loop !6
37: ; preds = %15
store float 0.000000e+00, ptr %8, align 4
%38 = call double (...) @tic()
store double %38, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %39
39: ; preds = %52, %37
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %55
43: ; preds = %39
%44 = load i32, ptr %4, align 4
%45 = call float @stdlib_strided_snanrange(i32 noundef %44, ptr noundef %14, i32 noundef 1)
store float %45, ptr %8, align 4
%46 = load float, ptr %8, align 4
%47 = load float, ptr %8, align 4
%48 = fcmp une float %46, %47
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @printf(ptr noundef @.str)
br label %55
51: ; preds = %43
br label %52
52: ; preds = %51
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
br label %39, !llvm.loop !8
55: ; preds = %49, %39
%56 = call double (...) @tic()
%57 = load double, ptr %9, align 8
%58 = fsub double %56, %57
store double %58, ptr %5, align 8
%59 = load float, ptr %8, align 4
%60 = load float, ptr %8, align 4
%61 = fcmp une float %59, %60
br i1 %61, label %62, label %64
62: ; preds = %55
%63 = call i32 @printf(ptr noundef @.str)
br label %64
64: ; preds = %62, %55
%65 = load double, ptr %5, align 8
%66 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %66)
ret double %65
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare float @rand_float(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare double @tic(...) #2
declare float @stdlib_strided_snanrange(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6s5mlcov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca float, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca float, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %33
%19 = call float (...) @rand_float()
%20 = fpext float %19 to double
%21 = fcmp olt double %20, 2.000000e-01
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %14, i64 %24
store float 0x7FF8000000000000, ptr %25, align 4
br label %32
26: ; preds = %18
%27 = call float (...) @rand_float()
%28 = call float @llvm.fmuladd.f32(float %27, float 2.000000e+04, float -1.000000e+04)
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %14, i64 %30
store float %28, ptr %31, align 4
br label %32
32: ; preds = %26, %22
br label %33
33: ; preds = %32
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
store float 0.000000e+00, ptr %8, align 4
%40 = call double (...) @tic()
store double %40, ptr %9, align 8
store i32 0, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %39
br label %44
44: ; preds = %.lr.ph2, %53
%45 = load i32, ptr %4, align 4
%46 = call float @stdlib_strided_snanrange(i32 noundef %45, ptr noundef %14, i32 noundef 1)
store float %46, ptr %8, align 4
%47 = load float, ptr %8, align 4
%48 = load float, ptr %8, align 4
%49 = fcmp une float %47, %48
br i1 %49, label %50, label %52
50: ; preds = %44
%51 = call i32 @printf(ptr noundef @.str)
br label %59
52: ; preds = %44
br label %53
53: ; preds = %52
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %44, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %53
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %39
br label %59
59: ; preds = %.loopexit, %50
%60 = call double (...) @tic()
%61 = load double, ptr %9, align 8
%62 = fsub double %60, %61
store double %62, ptr %5, align 8
%63 = load float, ptr %8, align 4
%64 = load float, ptr %8, align 4
%65 = fcmp une float %63, %64
br i1 %65, label %66, label %68
66: ; preds = %59
%67 = call i32 @printf(ptr noundef @.str)
br label %68
68: ; preds = %66, %59
%69 = load double, ptr %5, align 8
%70 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %70)
ret double %69
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare float @rand_float(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare double @tic(...) #2
declare float @stdlib_strided_snanrange(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2wt7tcxf.c'
source_filename = "/tmp/tmp2wt7tcxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"areadshort: %s: can't open\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"areadshort: %s: can't read length (empty file?)\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"areadshort: %s: can't alloc data\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"areadshort: %s: can't read data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @areadshort(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr @O_RDONLY, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420)
store i32 %15, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %84
21: ; preds = %3
%22 = load i32, ptr %8, align 4
%23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4)
%24 = icmp ne i32 %23, 4
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %8, align 4
%30 = call i32 @close(i32 noundef %29)
store i32 -1, ptr %4, align 4
br label %84
31: ; preds = %21
%32 = call i32 @SWAPL(ptr noundef %9)
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 2
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %12, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %31
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42)
%44 = load i32, ptr %8, align 4
%45 = call i32 @close(i32 noundef %44)
store i32 -1, ptr %4, align 4
br label %84
46: ; preds = %31
%47 = load i32, ptr %8, align 4
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load i32, ptr %10, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %61
53: ; preds = %46
%54 = load i32, ptr @stderr, align 4
%55 = load ptr, ptr %5, align 8
%56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55)
%57 = load i32, ptr %8, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %84
61: ; preds = %46
%62 = load i32, ptr %8, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %6, align 8
store ptr %64, ptr %65, align 8
store i32 0, ptr %11, align 4
br label %66
66: ; preds = %77, %61
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %80
70: ; preds = %66
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %11, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i16, ptr %72, i64 %74
%76 = call i32 @SWAPW(ptr noundef %75)
br label %77
77: ; preds = %70
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
br label %66, !llvm.loop !6
80: ; preds = %66
%81 = load i32, ptr %9, align 4
%82 = load ptr, ptr %7, align 8
store i32 %81, ptr %82, align 4
%83 = load i32, ptr %9, align 4
store i32 %83, ptr %4, align 4
br label %84
84: ; preds = %80, %53, %40, %25, %17
%85 = load i32, ptr %4, align 4
ret i32 %85
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @SWAPL(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @SWAPW(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2wt7tcxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"areadshort: %s: can't open\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"areadshort: %s: can't read length (empty file?)\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"areadshort: %s: can't alloc data\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"areadshort: %s: can't read data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @areadshort(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr @O_RDONLY, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420)
store i32 %15, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %86
21: ; preds = %3
%22 = load i32, ptr %8, align 4
%23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4)
%24 = icmp ne i32 %23, 4
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %8, align 4
%30 = call i32 @close(i32 noundef %29)
store i32 -1, ptr %4, align 4
br label %86
31: ; preds = %21
%32 = call i32 @SWAPL(ptr noundef %9)
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 2
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %12, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %31
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42)
%44 = load i32, ptr %8, align 4
%45 = call i32 @close(i32 noundef %44)
store i32 -1, ptr %4, align 4
br label %86
46: ; preds = %31
%47 = load i32, ptr %8, align 4
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load i32, ptr %10, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %61
53: ; preds = %46
%54 = load i32, ptr @stderr, align 4
%55 = load ptr, ptr %5, align 8
%56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55)
%57 = load i32, ptr %8, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %86
61: ; preds = %46
%62 = load i32, ptr %8, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %6, align 8
store ptr %64, ptr %65, align 8
store i32 0, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph, label %82
.lr.ph: ; preds = %61
br label %69
69: ; preds = %.lr.ph, %76
%70 = load ptr, ptr %6, align 8
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i16, ptr %71, i64 %73
%75 = call i32 @SWAPW(ptr noundef %74)
br label %76
76: ; preds = %69
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %61
%83 = load i32, ptr %9, align 4
%84 = load ptr, ptr %7, align 8
store i32 %83, ptr %84, align 4
%85 = load i32, ptr %9, align 4
store i32 %85, ptr %4, align 4
br label %86
86: ; preds = %82, %53, %40, %25, %17
%87 = load i32, ptr %4, align 4
ret i32 %87
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @SWAPL(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @SWAPW(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgrnlchdn.c'
source_filename = "/tmp/tmpgrnlchdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzhi_u32_wrap(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_bzhi_u32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_bzhi_u32(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"="+bmi2,+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgrnlchdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bzhi_u32_wrap(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_bzhi_u32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_bzhi_u32(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"="+bmi2,+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpovsunk8o.c'
source_filename = "/tmp/tmpovsunk8o.c"
target datalayout = "e-m:e-p270: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/tmpovsunk8o.c"
target datalayout = "e-m:e-p270: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/tmpxuz49suq.c'
source_filename = "/tmp/tmpxuz49suq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i64 0, align 8
@A_BOLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plaza_drop_palette(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i64 (...) @has_colors()
%6 = load i64, ptr @TRUE, align 8
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @COLOR_PAIR(i32 noundef %10)
%12 = call i32 @wattroff(ptr noundef %9, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @A_BOLD, align 4
%15 = call i32 @wattroff(ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %8, %2
ret void
}
declare i64 @has_colors(...) #1
declare i32 @wattroff(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(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/tmpxuz49suq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i64 0, align 8
@A_BOLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @plaza_drop_palette(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i64 (...) @has_colors()
%6 = load i64, ptr @TRUE, align 8
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = call i32 @COLOR_PAIR(i32 noundef %10)
%12 = call i32 @wattroff(ptr noundef %9, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr @A_BOLD, align 4
%15 = call i32 @wattroff(ptr noundef %13, i32 noundef %14)
br label %16
16: ; preds = %8, %2
ret void
}
declare i64 @has_colors(...) #1
declare i32 @wattroff(ptr noundef, i32 noundef) #1
declare i32 @COLOR_PAIR(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/tmprzqrj8ke.c'
source_filename = "/tmp/tmprzqrj8ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ECDH\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"/sys/kernel/debug/bluetooth/selftest_ecdh\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"SMP\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"/sys/kernel/debug/bluetooth/selftest_smp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @check_result(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @check_result(ptr noundef @.str.2, ptr noundef @.str.3)
ret i32 0
}
declare i32 @check_result(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/tmprzqrj8ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ECDH\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"/sys/kernel/debug/bluetooth/selftest_ecdh\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"SMP\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"/sys/kernel/debug/bluetooth/selftest_smp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @check_result(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @check_result(ptr noundef @.str.2, ptr noundef @.str.3)
ret i32 0
}
declare i32 @check_result(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/tmptywdgh3w.c'
source_filename = "/tmp/tmptywdgh3w.c"
target datalayout = "e-m:e-p270: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/tmptywdgh3w.c"
target datalayout = "e-m:e-p270: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/tmpwkp5xsy2.c'
source_filename = "/tmp/tmpwkp5xsy2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_Ascii(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef %11)
br label %13
13: ; preds = %59, %1
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %66
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 50
%23 = trunc i32 %22 to i8
store i8 %23, ptr %4, align 1
br label %28
24: ; preds = %17
%25 = call i32 (...) @rand()
%26 = srem i32 %25, 60
%27 = trunc i32 %26 to i8
store i8 %27, ptr %4, align 1
br label %28
28: ; preds = %24, %20
%29 = load i8, ptr %4, align 1
%30 = sext i8 %29 to i32
%31 = icmp sle i32 %30, 25
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = load i8, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = add nsw i32 %34, 97
%36 = trunc i32 %35 to i8
store i8 %36, ptr %4, align 1
br label %59
37: ; preds = %28
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = icmp sle i32 %39, 50
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load i8, ptr %4, align 1
%43 = sext i8 %42 to i32
%44 = sub nsw i32 %43, 25
%45 = add nsw i32 65, %44
%46 = trunc i32 %45 to i8
store i8 %46, ptr %4, align 1
br label %58
47: ; preds = %37
%48 = load i8, ptr %4, align 1
%49 = sext i8 %48 to i32
%50 = icmp sle i32 %49, 60
br i1 %50, label %51, label %57
51: ; preds = %47
%52 = load i8, ptr %4, align 1
%53 = sext i8 %52 to i32
%54 = sub nsw i32 %53, 50
%55 = add nsw i32 48, %54
%56 = trunc i32 %55 to i8
store i8 %56, ptr %4, align 1
br label %57
57: ; preds = %51, %47
br label %58
58: ; preds = %57, %41
br label %59
59: ; preds = %58, %32
%60 = load i8, ptr %4, align 1
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
store i8 %60, ptr %65, align 1
br label %13, !llvm.loop !6
66: ; preds = %13
%67 = load ptr, ptr %5, align 8
ret ptr %67
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwkp5xsy2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_Ascii(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %.lr.ph, label %68
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %58
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = call i32 (...) @rand()
%21 = srem i32 %20, 50
%22 = trunc i32 %21 to i8
store i8 %22, ptr %4, align 1
br label %27
23: ; preds = %16
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 60
%26 = trunc i32 %25 to i8
store i8 %26, ptr %4, align 1
br label %27
27: ; preds = %23, %19
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 25
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = load i8, ptr %4, align 1
%33 = sext i8 %32 to i32
%34 = add nsw i32 %33, 97
%35 = trunc i32 %34 to i8
store i8 %35, ptr %4, align 1
br label %58
36: ; preds = %27
%37 = load i8, ptr %4, align 1
%38 = sext i8 %37 to i32
%39 = icmp sle i32 %38, 50
br i1 %39, label %40, label %46
40: ; preds = %36
%41 = load i8, ptr %4, align 1
%42 = sext i8 %41 to i32
%43 = sub nsw i32 %42, 25
%44 = add nsw i32 65, %43
%45 = trunc i32 %44 to i8
store i8 %45, ptr %4, align 1
br label %57
46: ; preds = %36
%47 = load i8, ptr %4, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 60
br i1 %49, label %50, label %56
50: ; preds = %46
%51 = load i8, ptr %4, align 1
%52 = sext i8 %51 to i32
%53 = sub nsw i32 %52, 50
%54 = add nsw i32 48, %53
%55 = trunc i32 %54 to i8
store i8 %55, ptr %4, align 1
br label %56
56: ; preds = %50, %46
br label %57
57: ; preds = %56, %40
br label %58
58: ; preds = %57, %31
%59 = load i8, ptr %4, align 1
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds i8, ptr %60, i64 %63
store i8 %59, ptr %64, align 1
%65 = load i32, ptr %3, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %68
68: ; preds = %._crit_edge, %1
%69 = load ptr, ptr %5, align 8
ret ptr %69
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxdkmpg06.c'
source_filename = "/tmp/tmpxdkmpg06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Invalid Triangle\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Right Triangle\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Obtuse Triangle\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Acute Triangle\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 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %6, %7
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %23, label %11
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %11
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %17, %11, %0
%24 = call i32 @printf(ptr noundef @.str.1)
br label %105
25: ; preds = %17
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = mul nsw i32 %26, %27
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = mul nsw i32 %32, %33
%35 = add nsw i32 %31, %34
%36 = icmp eq i32 %28, %35
br i1 %36, label %61, label %37
37: ; preds = %25
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %2, align 4
%43 = mul nsw i32 %41, %42
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 %44, %45
%47 = add nsw i32 %43, %46
%48 = icmp eq i32 %40, %47
br i1 %48, label %61, label %49
49: ; preds = %37
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %2, align 4
%55 = mul nsw i32 %53, %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %55, %58
%60 = icmp eq i32 %52, %59
br i1 %60, label %61, label %63
61: ; preds = %49, %37, %25
%62 = call i32 @printf(ptr noundef @.str.2)
br label %104
63: ; preds = %49
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr %2, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %4, align 4
%72 = mul nsw i32 %70, %71
%73 = add nsw i32 %69, %72
%74 = icmp sgt i32 %66, %73
br i1 %74, label %99, label %75
75: ; preds = %63
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %3, align 4
%78 = mul nsw i32 %76, %77
%79 = load i32, ptr %2, align 4
%80 = load i32, ptr %2, align 4
%81 = mul nsw i32 %79, %80
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %4, align 4
%84 = mul nsw i32 %82, %83
%85 = add nsw i32 %81, %84
%86 = icmp sgt i32 %78, %85
br i1 %86, label %99, label %87
87: ; preds = %75
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %4, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %2, align 4
%92 = load i32, ptr %2, align 4
%93 = mul nsw i32 %91, %92
%94 = load i32, ptr %3, align 4
%95 = load i32, ptr %3, align 4
%96 = mul nsw i32 %94, %95
%97 = add nsw i32 %93, %96
%98 = icmp sgt i32 %90, %97
br i1 %98, label %99, label %101
99: ; preds = %87, %75, %63
%100 = call i32 @printf(ptr noundef @.str.3)
br label %103
101: ; preds = %87
%102 = call i32 @printf(ptr noundef @.str.4)
br label %103
103: ; preds = %101, %99
br label %104
104: ; preds = %103, %61
br label %105
105: ; preds = %104, %23
ret i32 0
}
declare i32 @scanf(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxdkmpg06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Invalid Triangle\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Right Triangle\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Obtuse Triangle\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Acute Triangle\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 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %6, %7
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %23, label %11
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %11
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %17, %11, %0
%24 = call i32 @printf(ptr noundef @.str.1)
br label %105
25: ; preds = %17
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = mul nsw i32 %26, %27
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = mul nsw i32 %32, %33
%35 = add nsw i32 %31, %34
%36 = icmp eq i32 %28, %35
br i1 %36, label %61, label %37
37: ; preds = %25
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %2, align 4
%43 = mul nsw i32 %41, %42
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = mul nsw i32 %44, %45
%47 = add nsw i32 %43, %46
%48 = icmp eq i32 %40, %47
br i1 %48, label %61, label %49
49: ; preds = %37
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %2, align 4
%54 = load i32, ptr %2, align 4
%55 = mul nsw i32 %53, %54
%56 = load i32, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %55, %58
%60 = icmp eq i32 %52, %59
br i1 %60, label %61, label %63
61: ; preds = %49, %37, %25
%62 = call i32 @printf(ptr noundef @.str.2)
br label %104
63: ; preds = %49
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr %2, align 4
%66 = mul nsw i32 %64, %65
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %4, align 4
%72 = mul nsw i32 %70, %71
%73 = add nsw i32 %69, %72
%74 = icmp sgt i32 %66, %73
br i1 %74, label %99, label %75
75: ; preds = %63
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %3, align 4
%78 = mul nsw i32 %76, %77
%79 = load i32, ptr %2, align 4
%80 = load i32, ptr %2, align 4
%81 = mul nsw i32 %79, %80
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %4, align 4
%84 = mul nsw i32 %82, %83
%85 = add nsw i32 %81, %84
%86 = icmp sgt i32 %78, %85
br i1 %86, label %99, label %87
87: ; preds = %75
%88 = load i32, ptr %4, align 4
%89 = load i32, ptr %4, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %2, align 4
%92 = load i32, ptr %2, align 4
%93 = mul nsw i32 %91, %92
%94 = load i32, ptr %3, align 4
%95 = load i32, ptr %3, align 4
%96 = mul nsw i32 %94, %95
%97 = add nsw i32 %93, %96
%98 = icmp sgt i32 %90, %97
br i1 %98, label %99, label %101
99: ; preds = %87, %75, %63
%100 = call i32 @printf(ptr noundef @.str.3)
br label %103
101: ; preds = %87
%102 = call i32 @printf(ptr noundef @.str.4)
br label %103
103: ; preds = %101, %99
br label %104
104: ; preds = %103, %61
br label %105
105: ; preds = %104, %23
ret i32 0
}
declare i32 @scanf(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmptqzbftkh.c'
source_filename = "/tmp/tmptqzbftkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fixme..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @parse()
%7 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @parse(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptqzbftkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fixme..\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @parse()
%7 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @parse(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuuc60jif.c'
source_filename = "/tmp/tmpuuc60jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cumgam.K1 = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumgam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load double, ptr %9, align 8
%11 = fcmp ole double %10, 0.000000e+00
br i1 %11, label %13, label %12
12: ; preds = %4
br label %16
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
store double 1.000000e+00, ptr %15, align 8
br label %22
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = call i32 @gratio(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef @cumgam.K1)
br label %22
22: ; preds = %16, %13
ret void
}
declare i32 @gratio(ptr 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/tmpuuc60jif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cumgam.K1 = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumgam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load double, ptr %9, align 8
%11 = fcmp ole double %10, 0.000000e+00
br i1 %11, label %13, label %12
12: ; preds = %4
br label %16
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
store double 0.000000e+00, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
store double 1.000000e+00, ptr %15, align 8
br label %22
16: ; preds = %12
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = call i32 @gratio(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef @cumgam.K1)
br label %22
22: ; preds = %16, %13
ret void
}
declare i32 @gratio(ptr 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/tmpf7mb6v2u.c'
source_filename = "/tmp/tmpf7mb6v2u.c"
target datalayout = "e-m:e-p270: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/tmpf7mb6v2u.c"
target datalayout = "e-m:e-p270: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/tmpi6rc4x1h.c'
source_filename = "/tmp/tmpi6rc4x1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i:\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3600, ptr %3, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %4, align 4
br label %6
6: ; preds = %19, %0
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %7, 2
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = sdiv i32 %10, %11
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, %14
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = sdiv i32 %17, 60
store i32 %18, ptr %3, align 4
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 i32, ptr %2, align 4
%24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6rc4x1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i:\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3600, ptr %3, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 2
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %18
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = sdiv i32 %9, %10
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, %13
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = sdiv i32 %16, 60
store i32 %17, ptr %3, align 4
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 sle 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, %0
%24 = load i32, ptr %2, align 4
%25 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyl_vg7e2.c'
source_filename = "/tmp/tmpyl_vg7e2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aEQb(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %21, label %15
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i64, ptr %7, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %18, %15, %3
store ptr null, ptr %4, align 8
br label %132
22: ; preds = %18
%23 = load i64, ptr %10, align 8
%24 = load i64, ptr %10, align 8
%25 = xor i64 %24, %23
store i64 %25, ptr %10, align 8
br label %26
26: ; preds = %34, %22
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr %10, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %26
br label %34
34: ; preds = %33
%35 = load i64, ptr %10, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %10, align 8
br label %26, !llvm.loop !6
37: ; preds = %26
%38 = load i64, ptr %10, align 8
%39 = icmp eq i64 %38, 0
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = load i64, ptr %10, align 8
%42 = load i64, ptr %7, align 8
%43 = icmp ugt i64 %41, %42
br i1 %43, label %44, label %45
44: ; preds = %40, %37
store ptr null, ptr %4, align 8
br label %132
45: ; preds = %40
%46 = load i64, ptr %8, align 8
%47 = load i64, ptr %8, align 8
%48 = xor i64 %47, %46
store i64 %48, ptr %8, align 8
br label %49
49: ; preds = %128, %45
%50 = load i64, ptr %8, align 8
%51 = load i64, ptr %7, align 8
%52 = load i64, ptr %10, align 8
%53 = sub i64 %52, 1
%54 = sub i64 %51, %53
%55 = icmp ult i64 %50, %54
br i1 %55, label %56, label %131
56: ; preds = %49
%57 = load i64, ptr %9, align 8
%58 = load i64, ptr %9, align 8
%59 = xor i64 %58, %57
store i64 %59, ptr %9, align 8
br label %60
60: ; preds = %116, %56
%61 = load i64, ptr %9, align 8
%62 = load i64, ptr %10, align 8
%63 = icmp ult i64 %61, %62
br i1 %63, label %64, label %70
64: ; preds = %60
%65 = load i64, ptr %8, align 8
%66 = load i64, ptr %9, align 8
%67 = add i64 %65, %66
%68 = load i64, ptr %7, align 8
%69 = icmp ult i64 %67, %68
br label %70
70: ; preds = %64, %60
%71 = phi i1 [ false, %60 ], [ %69, %64 ]
br i1 %71, label %72, label %119
72: ; preds = %70
%73 = load ptr, ptr %5, align 8
%74 = load i64, ptr %9, align 8
%75 = getelementptr inbounds i8, ptr %73, i64 %74
%76 = load i8, ptr %75, align 1
store i8 %76, ptr %11, align 1
%77 = load ptr, ptr %6, align 8
%78 = load i64, ptr %8, align 8
%79 = load i64, ptr %9, align 8
%80 = add i64 %78, %79
%81 = getelementptr inbounds i8, ptr %77, i64 %80
%82 = load i8, ptr %81, align 1
store i8 %82, ptr %12, align 1
%83 = load i8, ptr %11, align 1
%84 = sext i8 %83 to i32
%85 = icmp sle i32 %84, 90
br i1 %85, label %86, label %95
86: ; preds = %72
%87 = load i8, ptr %11, align 1
%88 = sext i8 %87 to i32
%89 = icmp sge i32 %88, 65
br i1 %89, label %90, label %95
90: ; preds = %86
%91 = load i8, ptr %11, align 1
%92 = sext i8 %91 to i32
%93 = or i32 %92, 32
%94 = trunc i32 %93 to i8
store i8 %94, ptr %11, align 1
br label %95
95: ; preds = %90, %86, %72
%96 = load i8, ptr %12, align 1
%97 = sext i8 %96 to i32
%98 = icmp sle i32 %97, 90
br i1 %98, label %99, label %108
99: ; preds = %95
%100 = load i8, ptr %12, align 1
%101 = sext i8 %100 to i32
%102 = icmp sge i32 %101, 65
br i1 %102, label %103, label %108
103: ; preds = %99
%104 = load i8, ptr %12, align 1
%105 = sext i8 %104 to i32
%106 = or i32 %105, 32
%107 = trunc i32 %106 to i8
store i8 %107, ptr %12, align 1
br label %108
108: ; preds = %103, %99, %95
%109 = load i8, ptr %11, align 1
%110 = sext i8 %109 to i32
%111 = load i8, ptr %12, align 1
%112 = sext i8 %111 to i32
%113 = icmp ne i32 %110, %112
br i1 %113, label %114, label %115
114: ; preds = %108
br label %119
115: ; preds = %108
br label %116
116: ; preds = %115
%117 = load i64, ptr %9, align 8
%118 = add i64 %117, 1
store i64 %118, ptr %9, align 8
br label %60, !llvm.loop !8
119: ; preds = %114, %70
%120 = load i64, ptr %9, align 8
%121 = load i64, ptr %10, align 8
%122 = icmp eq i64 %120, %121
br i1 %122, label %123, label %127
123: ; preds = %119
%124 = load ptr, ptr %6, align 8
%125 = load i64, ptr %8, align 8
%126 = getelementptr inbounds i8, ptr %124, i64 %125
store ptr %126, ptr %4, align 8
br label %132
127: ; preds = %119
br label %128
128: ; preds = %127
%129 = load i64, ptr %8, align 8
%130 = add i64 %129, 1
store i64 %130, ptr %8, align 8
br label %49, !llvm.loop !9
131: ; preds = %49
store ptr null, ptr %4, align 8
br label %132
132: ; preds = %131, %123, %44, %21
%133 = load ptr, ptr %4, align 8
ret ptr %133
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyl_vg7e2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aEQb(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %21, label %15
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i64, ptr %7, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %18, %15, %3
store ptr null, ptr %4, align 8
br label %142
22: ; preds = %18
%23 = load i64, ptr %10, align 8
%24 = load i64, ptr %10, align 8
%25 = xor i64 %24, %23
store i64 %25, ptr %10, align 8
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %10, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph, label %42
.lr.ph: ; preds = %22
br label %32
32: ; preds = %.lr.ph, %33
br label %33
33: ; preds = %32
%34 = load i64, ptr %10, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %10, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %10, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %42
42: ; preds = %._crit_edge, %22
%43 = load i64, ptr %10, align 8
%44 = icmp eq i64 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %42
%46 = load i64, ptr %10, align 8
%47 = load i64, ptr %7, align 8
%48 = icmp ugt i64 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %45, %42
store ptr null, ptr %4, align 8
br label %142
50: ; preds = %45
%51 = load i64, ptr %8, align 8
%52 = load i64, ptr %8, align 8
%53 = xor i64 %52, %51
store i64 %53, ptr %8, align 8
%54 = load i64, ptr %8, align 8
%55 = load i64, ptr %7, align 8
%56 = load i64, ptr %10, align 8
%57 = sub i64 %56, 1
%58 = sub i64 %55, %57
%59 = icmp ult i64 %54, %58
br i1 %59, label %.lr.ph2, label %141
.lr.ph2: ; preds = %50
br label %60
60: ; preds = %.lr.ph2, %132
%61 = load i64, ptr %9, align 8
%62 = load i64, ptr %9, align 8
%63 = xor i64 %62, %61
store i64 %63, ptr %9, align 8
br label %64
64: ; preds = %120, %60
%65 = load i64, ptr %9, align 8
%66 = load i64, ptr %10, align 8
%67 = icmp ult i64 %65, %66
br i1 %67, label %68, label %74
68: ; preds = %64
%69 = load i64, ptr %8, align 8
%70 = load i64, ptr %9, align 8
%71 = add i64 %69, %70
%72 = load i64, ptr %7, align 8
%73 = icmp ult i64 %71, %72
br label %74
74: ; preds = %68, %64
%75 = phi i1 [ false, %64 ], [ %73, %68 ]
br i1 %75, label %76, label %.loopexit
76: ; preds = %74
%77 = load ptr, ptr %5, align 8
%78 = load i64, ptr %9, align 8
%79 = getelementptr inbounds i8, ptr %77, i64 %78
%80 = load i8, ptr %79, align 1
store i8 %80, ptr %11, align 1
%81 = load ptr, ptr %6, align 8
%82 = load i64, ptr %8, align 8
%83 = load i64, ptr %9, align 8
%84 = add i64 %82, %83
%85 = getelementptr inbounds i8, ptr %81, i64 %84
%86 = load i8, ptr %85, align 1
store i8 %86, ptr %12, align 1
%87 = load i8, ptr %11, align 1
%88 = sext i8 %87 to i32
%89 = icmp sle i32 %88, 90
br i1 %89, label %90, label %99
90: ; preds = %76
%91 = load i8, ptr %11, align 1
%92 = sext i8 %91 to i32
%93 = icmp sge i32 %92, 65
br i1 %93, label %94, label %99
94: ; preds = %90
%95 = load i8, ptr %11, align 1
%96 = sext i8 %95 to i32
%97 = or i32 %96, 32
%98 = trunc i32 %97 to i8
store i8 %98, ptr %11, align 1
br label %99
99: ; preds = %94, %90, %76
%100 = load i8, ptr %12, align 1
%101 = sext i8 %100 to i32
%102 = icmp sle i32 %101, 90
br i1 %102, label %103, label %112
103: ; preds = %99
%104 = load i8, ptr %12, align 1
%105 = sext i8 %104 to i32
%106 = icmp sge i32 %105, 65
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = load i8, ptr %12, align 1
%109 = sext i8 %108 to i32
%110 = or i32 %109, 32
%111 = trunc i32 %110 to i8
store i8 %111, ptr %12, align 1
br label %112
112: ; preds = %107, %103, %99
%113 = load i8, ptr %11, align 1
%114 = sext i8 %113 to i32
%115 = load i8, ptr %12, align 1
%116 = sext i8 %115 to i32
%117 = icmp ne i32 %114, %116
br i1 %117, label %118, label %119
118: ; preds = %112
br label %123
119: ; preds = %112
br label %120
120: ; preds = %119
%121 = load i64, ptr %9, align 8
%122 = add i64 %121, 1
store i64 %122, ptr %9, align 8
br label %64, !llvm.loop !8
.loopexit: ; preds = %74
br label %123
123: ; preds = %.loopexit, %118
%124 = load i64, ptr %9, align 8
%125 = load i64, ptr %10, align 8
%126 = icmp eq i64 %124, %125
br i1 %126, label %127, label %131
127: ; preds = %123
%128 = load ptr, ptr %6, align 8
%129 = load i64, ptr %8, align 8
%130 = getelementptr inbounds i8, ptr %128, i64 %129
store ptr %130, ptr %4, align 8
br label %142
131: ; preds = %123
br label %132
132: ; preds = %131
%133 = load i64, ptr %8, align 8
%134 = add i64 %133, 1
store i64 %134, ptr %8, align 8
%135 = load i64, ptr %8, align 8
%136 = load i64, ptr %7, align 8
%137 = load i64, ptr %10, align 8
%138 = sub i64 %137, 1
%139 = sub i64 %136, %138
%140 = icmp ult i64 %135, %139
br i1 %140, label %60, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %132
br label %141
141: ; preds = %._crit_edge3, %50
store ptr null, ptr %4, align 8
br label %142
142: ; preds = %141, %127, %49, %21
%143 = load ptr, ptr %4, align 8
ret ptr %143
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd5btvbzg.c'
source_filename = "/tmp/tmpd5btvbzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cache_loadpath(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %7, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr @stdin, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %9, align 4
%20 = call i32 @cache_loadfile(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19)
store i32 %20, ptr %5, align 4
br label %36
21: ; preds = %4
%22 = load ptr, ptr %7, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = load i32, ptr @errno, align 4
store i32 %26, ptr %5, align 4
br label %36
27: ; preds = %21
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %9, align 4
%32 = call i32 @cache_loadfile(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %11, align 4
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %27, %25, %15
%37 = load i32, ptr %5, align 4
ret i32 %37
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cache_loadfile(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5btvbzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cache_loadpath(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %7, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr @stdin, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %9, align 4
%20 = call i32 @cache_loadfile(ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19)
store i32 %20, ptr %5, align 4
br label %36
21: ; preds = %4
%22 = load ptr, ptr %7, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1)
store ptr %23, ptr %10, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = load i32, ptr @errno, align 4
store i32 %26, ptr %5, align 4
br label %36
27: ; preds = %21
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %9, align 4
%32 = call i32 @cache_loadfile(ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %11, align 4
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %27, %25, %15
%37 = load i32, ptr %5, align 4
ret i32 %37
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cache_loadfile(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplf5p4fvy.c'
source_filename = "/tmp/tmplf5p4fvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmplf5p4fvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmpt2ry9je2.c'
source_filename = "/tmp/tmpt2ry9je2.c"
target datalayout = "e-m:e-p270: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/tmpt2ry9je2.c"
target datalayout = "e-m:e-p270: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/tmp0xa9lumq.c'
source_filename = "/tmp/tmp0xa9lumq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"dhcp-interface\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_GetDHCPint() #0 {
%1 = call ptr @GetConfigVar(ptr noundef @.str)
ret ptr %1
}
declare ptr @GetConfigVar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xa9lumq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"dhcp-interface\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_GetDHCPint() #0 {
%1 = call ptr @GetConfigVar(ptr noundef @.str)
ret ptr %1
}
declare ptr @GetConfigVar(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0o0vnskj.c'
source_filename = "/tmp/tmp0o0vnskj.c"
target datalayout = "e-m:e-p270: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/tmp0o0vnskj.c"
target datalayout = "e-m:e-p270: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/tmp2kjlznjz.c'
source_filename = "/tmp/tmp2kjlznjz.c"
target datalayout = "e-m:e-p270: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/tmp2kjlznjz.c"
target datalayout = "e-m:e-p270: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/tmp0z4ucd_i.c'
source_filename = "/tmp/tmp0z4ucd_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getparuint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getnpar(i32 noundef 0, ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret i32 %7
}
declare i32 @getnpar(i32 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/tmp0z4ucd_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getparuint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getnpar(i32 noundef 0, ptr noundef %5, ptr noundef @.str, ptr noundef %6)
ret i32 %7
}
declare i32 @getnpar(i32 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/tmpvyq0l8bf.c'
source_filename = "/tmp/tmpvyq0l8bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decibel_start() #0 {
%1 = call i32 (...) @main()
%2 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @main(...) #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/tmpvyq0l8bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decibel_start() #0 {
%1 = call i32 (...) @main()
%2 = call i32 @_exit(i32 noundef 0) #3
unreachable
}
declare i32 @main(...) #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/tmpotn2ajhs.c'
source_filename = "/tmp/tmpotn2ajhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter your digit:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"this is zero\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"this is One\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"this is Two\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"this is Three\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"this is Four\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"this is Five\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"this is Six\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"this is Seven\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"this is Eight\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"this is Nine\00", align 1
@.str.12 = private unnamed_addr constant [28 x i8] c"This is not in 0 to 9 Range\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wordofdigit() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %26 [
i32 48, label %6
i32 49, label %8
i32 50, label %10
i32 51, label %12
i32 52, label %14
i32 53, label %16
i32 54, label %18
i32 55, label %20
i32 56, label %22
i32 57, label %24
]
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %28
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %28
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %28
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %28
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.6)
br label %28
16: ; preds = %0
%17 = call i32 @printf(ptr noundef @.str.7)
br label %28
18: ; preds = %0
%19 = call i32 @printf(ptr noundef @.str.8)
br label %28
20: ; preds = %0
%21 = call i32 @printf(ptr noundef @.str.9)
br label %28
22: ; preds = %0
%23 = call i32 @printf(ptr noundef @.str.10)
br label %28
24: ; preds = %0
%25 = call i32 @printf(ptr noundef @.str.11)
br label %28
26: ; preds = %0
%27 = call i32 @printf(ptr noundef @.str.12)
br label %28
28: ; preds = %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpotn2ajhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter your digit:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"this is zero\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"this is One\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"this is Two\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"this is Three\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"this is Four\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"this is Five\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"this is Six\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"this is Seven\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"this is Eight\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"this is Nine\00", align 1
@.str.12 = private unnamed_addr constant [28 x i8] c"This is not in 0 to 9 Range\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wordofdigit() #0 {
%1 = alloca i8, align 1
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %26 [
i32 48, label %6
i32 49, label %8
i32 50, label %10
i32 51, label %12
i32 52, label %14
i32 53, label %16
i32 54, label %18
i32 55, label %20
i32 56, label %22
i32 57, label %24
]
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
br label %28
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.3)
br label %28
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.4)
br label %28
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.5)
br label %28
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.6)
br label %28
16: ; preds = %0
%17 = call i32 @printf(ptr noundef @.str.7)
br label %28
18: ; preds = %0
%19 = call i32 @printf(ptr noundef @.str.8)
br label %28
20: ; preds = %0
%21 = call i32 @printf(ptr noundef @.str.9)
br label %28
22: ; preds = %0
%23 = call i32 @printf(ptr noundef @.str.10)
br label %28
24: ; preds = %0
%25 = call i32 @printf(ptr noundef @.str.11)
br label %28
26: ; preds = %0
%27 = call i32 @printf(ptr noundef @.str.12)
br label %28
28: ; preds = %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcxvhypbl.c'
source_filename = "/tmp/tmpcxvhypbl.c"
target datalayout = "e-m:e-p270: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/tmpcxvhypbl.c"
target datalayout = "e-m:e-p270: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/tmp5ig2utcm.c'
source_filename = "/tmp/tmp5ig2utcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %17, %0
%4 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i64, ptr @EOF, align 8
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %18
7: ; preds = %3
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 10
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %17
13: ; preds = %7
%14 = load i8, ptr %2, align 1
%15 = call i32 @obterLetraCorreta(i8 noundef signext %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %13, %11
br label %3, !llvm.loop !6
18: ; preds = %3
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @obterLetraCorreta(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ig2utcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i64, ptr @EOF, align 8
%5 = icmp ne i64 %3, %4
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %16
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %16
12: ; preds = %6
%13 = load i8, ptr %2, align 1
%14 = call i32 @obterLetraCorreta(i8 noundef signext %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %12, %10
%17 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%18 = load i64, ptr @EOF, align 8
%19 = icmp ne i64 %17, %18
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @obterLetraCorreta(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp48xt4oza.c'
source_filename = "/tmp/tmp48xt4oza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"LNS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_LNS_name(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @dwarf_get_LNS_name(i32 noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = call ptr @ellipname(i32 noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef @.str, i32 noundef %12)
ret ptr %13
}
declare i32 @dwarf_get_LNS_name(i32 noundef, ptr noundef) #1
declare ptr @ellipname(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp48xt4oza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"LNS\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_LNS_name(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr null, ptr %5, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @dwarf_get_LNS_name(i32 noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = call ptr @ellipname(i32 noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef @.str, i32 noundef %12)
ret ptr %13
}
declare i32 @dwarf_get_LNS_name(i32 noundef, ptr noundef) #1
declare ptr @ellipname(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsizpriwj.c'
source_filename = "/tmp/tmpsizpriwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @test__mm_aesdecwide256kl_u8(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call zeroext i8 @_mm_aesdecwide256kl_u8(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret i8 %10
}
declare zeroext i8 @_mm_aesdecwide256kl_u8(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/tmpsizpriwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @test__mm_aesdecwide256kl_u8(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call zeroext i8 @_mm_aesdecwide256kl_u8(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret i8 %10
}
declare zeroext i8 @_mm_aesdecwide256kl_u8(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/tmpjn0pias8.c'
source_filename = "/tmp/tmpjn0pias8.c"
target datalayout = "e-m:e-p270: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/tmpjn0pias8.c"
target datalayout = "e-m:e-p270: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/tmpr2svdfa6.c'
source_filename = "/tmp/tmpr2svdfa6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"<tr><td colspan=\223\22 align=\22center\22>\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"<table border=\220\22 cellpadding=\220\22 cellspacing=\220\22>\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"<tr>\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"<td class=\22valueentry\22>%s</td>\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"<td style=\22background-color: #%02X%02X%02X;\22> </td>\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"</tr>\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"<tr><td> </td>\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"<td class=\22keyentry\22>%s</td>\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"</tr></table></td></tr>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_html_print_bidimentional_map(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr 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 ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
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 ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %16, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
store i32 %23, ptr %15, align 4
store i32 0, ptr %13, align 4
br label %24
24: ; preds = %43, %6
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %15, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %46
28: ; preds = %24
%29 = load i32, ptr %16, align 4
%30 = load ptr, ptr %12, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp slt i32 %29, %34
br i1 %35, label %36, label %42
36: ; preds = %28
%37 = load ptr, ptr %12, align 8
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %16, align 4
br label %42
42: ; preds = %36, %28
br label %43
43: ; preds = %42
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %24, !llvm.loop !6
46: ; preds = %24
%47 = load i32, ptr %16, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load i32, ptr %16, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %16, align 4
br label %52
52: ; preds = %49, %46
%53 = load ptr, ptr %7, align 8
%54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str)
%55 = load ptr, ptr %7, align 8
%56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.1)
store i32 0, ptr %14, align 4
br label %57
57: ; preds = %108, %52
%58 = load i32, ptr %14, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %111
61: ; preds = %57
%62 = load ptr, ptr %7, align 8
%63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.2)
%64 = load ptr, ptr %7, align 8
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.3, ptr noundef %69)
store i32 0, ptr %13, align 4
br label %71
71: ; preds = %102, %61
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %8, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %105
75: ; preds = %71
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %8, align 4
%79 = mul nsw i32 %77, %78
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %76, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %20, align 4
%85 = load i32, ptr %20, align 4
%86 = mul nsw i32 170, %85
%87 = load i32, ptr %16, align 4
%88 = sdiv i32 %86, %87
store i32 %88, ptr %17, align 4
%89 = load i32, ptr %20, align 4
%90 = mul nsw i32 187, %89
%91 = load i32, ptr %16, align 4
%92 = sdiv i32 %90, %91
store i32 %92, ptr %18, align 4
%93 = load i32, ptr %20, align 4
%94 = mul nsw i32 255, %93
%95 = load i32, ptr %16, align 4
%96 = sdiv i32 %94, %95
store i32 %96, ptr %19, align 4
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %17, align 4
%99 = load i32, ptr %18, align 4
%100 = load i32, ptr %19, align 4
%101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.4, i32 noundef %98, i32 noundef %99, i32 noundef %100)
br label %102
102: ; preds = %75
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %13, align 4
br label %71, !llvm.loop !8
105: ; preds = %71
%106 = load ptr, ptr %7, align 8
%107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.5)
br label %108
108: ; preds = %105
%109 = load i32, ptr %14, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %14, align 4
br label %57, !llvm.loop !9
111: ; preds = %57
%112 = load ptr, ptr %7, align 8
%113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.6)
store i32 0, ptr %13, align 4
br label %114
114: ; preds = %126, %111
%115 = load i32, ptr %13, align 4
%116 = load i32, ptr %8, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %129
118: ; preds = %114
%119 = load ptr, ptr %7, align 8
%120 = load ptr, ptr %10, align 8
%121 = load i32, ptr %13, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds ptr, ptr %120, i64 %122
%124 = load ptr, ptr %123, align 8
%125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.7, ptr noundef %124)
br label %126
126: ; preds = %118
%127 = load i32, ptr %13, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %13, align 4
br label %114, !llvm.loop !10
129: ; preds = %114
%130 = load ptr, ptr %7, align 8
%131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.8)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2svdfa6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"<tr><td colspan=\223\22 align=\22center\22>\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"<table border=\220\22 cellpadding=\220\22 cellspacing=\220\22>\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"<tr>\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"<td class=\22valueentry\22>%s</td>\00", align 1
@.str.4 = private unnamed_addr constant [58 x i8] c"<td style=\22background-color: #%02X%02X%02X;\22> </td>\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"</tr>\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"<tr><td> </td>\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"<td class=\22keyentry\22>%s</td>\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"</tr></table></td></tr>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @om_html_print_bidimentional_map(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr 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 ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
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 ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %16, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
store i32 %23, ptr %15, align 4
store i32 0, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %15, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %48
.lr.ph: ; preds = %6
br label %27
27: ; preds = %.lr.ph, %42
%28 = load i32, ptr %16, align 4
%29 = load ptr, ptr %12, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp slt i32 %28, %33
br i1 %34, label %35, label %41
35: ; preds = %27
%36 = load ptr, ptr %12, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %16, align 4
br label %41
41: ; preds = %35, %27
br label %42
42: ; preds = %41
%43 = load i32, ptr %13, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %15, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %6
%49 = load i32, ptr %16, align 4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr %16, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %16, align 4
br label %54
54: ; preds = %51, %48
%55 = load ptr, ptr %7, align 8
%56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str)
%57 = load ptr, ptr %7, align 8
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.1)
store i32 0, ptr %14, align 4
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph5, label %117
.lr.ph5: ; preds = %54
br label %62
62: ; preds = %.lr.ph5, %111
%63 = load ptr, ptr %7, align 8
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.2)
%65 = load ptr, ptr %7, align 8
%66 = load ptr, ptr %11, align 8
%67 = load i32, ptr %14, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.3, ptr noundef %70)
store i32 0, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %8, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph2, label %108
.lr.ph2: ; preds = %62
br label %75
75: ; preds = %.lr.ph2, %102
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %8, align 4
%79 = mul nsw i32 %77, %78
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %76, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %20, align 4
%85 = load i32, ptr %20, align 4
%86 = mul nsw i32 170, %85
%87 = load i32, ptr %16, align 4
%88 = sdiv i32 %86, %87
store i32 %88, ptr %17, align 4
%89 = load i32, ptr %20, align 4
%90 = mul nsw i32 187, %89
%91 = load i32, ptr %16, align 4
%92 = sdiv i32 %90, %91
store i32 %92, ptr %18, align 4
%93 = load i32, ptr %20, align 4
%94 = mul nsw i32 255, %93
%95 = load i32, ptr %16, align 4
%96 = sdiv i32 %94, %95
store i32 %96, ptr %19, align 4
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %17, align 4
%99 = load i32, ptr %18, align 4
%100 = load i32, ptr %19, align 4
%101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.4, i32 noundef %98, i32 noundef %99, i32 noundef %100)
br label %102
102: ; preds = %75
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = load i32, ptr %8, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %75, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %102
br label %108
108: ; preds = %._crit_edge3, %62
%109 = load ptr, ptr %7, align 8
%110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.5)
br label %111
111: ; preds = %108
%112 = load i32, ptr %14, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %14, align 4
%114 = load i32, ptr %14, align 4
%115 = load i32, ptr %9, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %62, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %111
br label %117
117: ; preds = %._crit_edge6, %54
%118 = load ptr, ptr %7, align 8
%119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.6)
store i32 0, ptr %13, align 4
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %8, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %.lr.ph8, label %137
.lr.ph8: ; preds = %117
br label %123
123: ; preds = %.lr.ph8, %131
%124 = load ptr, ptr %7, align 8
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %13, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds ptr, ptr %125, i64 %127
%129 = load ptr, ptr %128, align 8
%130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.7, ptr noundef %129)
br label %131
131: ; preds = %123
%132 = load i32, ptr %13, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %13, align 4
%134 = load i32, ptr %13, align 4
%135 = load i32, ptr %8, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %123, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %131
br label %137
137: ; preds = %._crit_edge9, %117
%138 = load ptr, ptr %7, align 8
%139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str.8)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmprdj1hbp8.c'
source_filename = "/tmp/tmprdj1hbp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ParseIntFormat(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %15, %3
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %7, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 40
br i1 %14, label %15, label %16
15: ; preds = %9
br label %9, !llvm.loop !6
16: ; preds = %9
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @sscanf(ptr noundef %17, ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %26, %16
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %7, align 8
%23 = load i8, ptr %21, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 73
br i1 %25, label %26, label %27
26: ; preds = %20
br label %20, !llvm.loop !8
27: ; preds = %20
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str, ptr noundef %29)
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprdj1hbp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ParseIntFormat(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %9, %3
%10 = load ptr, ptr %7, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %7, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 40
br i1 %14, label %9, label %15, !llvm.loop !6
15: ; preds = %9
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %19, %15
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %7, align 8
%22 = load i8, ptr %20, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 73
br i1 %24, label %19, label %25, !llvm.loop !8
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %6, align 8
%28 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str, ptr noundef %27)
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9pjn_0t8.c'
source_filename = "/tmp/tmp9pjn_0t8.c"
target datalayout = "e-m:e-p270: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/tmp9pjn_0t8.c"
target datalayout = "e-m:e-p270: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/tmpegq_bhj9.c'
source_filename = "/tmp/tmpegq_bhj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hex(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 slt i32 %3, 10
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %12
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 87, %9
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
br label %12
12: ; preds = %8, %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpegq_bhj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hex(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 slt i32 %3, 10
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %12
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 87, %9
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
br label %12
12: ; preds = %8, %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpigpjmyat.c'
source_filename = "/tmp/tmpigpjmyat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partials(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = mul nsw i32 %6, %7
%9 = call i64 @control(i32 noundef %8, i32 noundef 4)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = srem i32 %13, 10
%15 = mul nsw i32 %12, %14
%16 = call i64 @control(i32 noundef %15, i32 noundef 3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = sdiv i32 %20, 10
%22 = srem i32 %21, 10
%23 = mul nsw i32 %19, %22
%24 = call i64 @control(i32 noundef %23, i32 noundef 3)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 1, ptr %3, align 4
br label %28
27: ; preds = %18, %11, %2
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i64 @control(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/tmpigpjmyat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partials(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = mul nsw i32 %6, %7
%9 = call i64 @control(i32 noundef %8, i32 noundef 4)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = srem i32 %13, 10
%15 = mul nsw i32 %12, %14
%16 = call i64 @control(i32 noundef %15, i32 noundef 3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = sdiv i32 %20, 10
%22 = srem i32 %21, 10
%23 = mul nsw i32 %19, %22
%24 = call i64 @control(i32 noundef %23, i32 noundef 3)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 1, ptr %3, align 4
br label %28
27: ; preds = %18, %11, %2
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %27, %26
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare i64 @control(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/tmpuu6xalfr.c'
source_filename = "/tmp/tmpuu6xalfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 50, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %53, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %56
11: ; preds = %7
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %44, %11
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %47
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [50 x i8], ptr %17, i64 %19
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [50 x i8], ptr %20, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %43, label %29
29: ; preds = %16
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [50 x i8], ptr %30, i64 %32
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [50 x i8], ptr %33, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %29
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %40, %29, %16
br label %44
44: ; preds = %43
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %4, align 4
br label %12, !llvm.loop !6
47: ; preds = %12
%48 = load i32, ptr %5, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %52
52: ; preds = %50, %47
br label %53
53: ; preds = %52
%54 = load i32, ptr %3, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %3, align 4
br label %7, !llvm.loop !8
56: ; preds = %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuu6xalfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMatrix(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 50, ptr %6, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph2, label %60
.lr.ph2: ; preds = %1
br label %10
10: ; preds = %.lr.ph2, %54
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %48
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %42
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [50 x i8], ptr %15, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [50 x i8], ptr %18, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23)
%25 = load i32, ptr %5, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %41, label %27
27: ; preds = %14
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [50 x i8], ptr %28, i64 %30
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [50 x i8], ptr %31, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %27
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %38, %27, %14
br label %42
42: ; preds = %41
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %10
%49 = load i32, ptr %5, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %53
53: ; preds = %51, %48
br label %54
54: ; preds = %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvezpe1yz.c'
source_filename = "/tmp/tmpvezpe1yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x double], align 16
%3 = alloca [10 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %13, %0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%12 = icmp eq i32 %11, 2
br i1 %12, label %13, label %24
13: ; preds = %10
%14 = load double, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x double], ptr %2, i64 0, i64 %16
store double %14, ptr %17, align 8
%18 = load double, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 %20
store double %18, ptr %21, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
store i32 0, ptr %7, align 4
br label %25
25: ; preds = %51, %24
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %27, 10
br i1 %28, label %29, label %54
29: ; preds = %25
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %30
30: ; preds = %45, %29
%31 = load i32, ptr %9, align 4
%32 = sitofp i32 %31 to double
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 %34
%36 = load double, ptr %35, align 8
%37 = fcmp olt double %32, %36
br i1 %37, label %38, label %48
38: ; preds = %30
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x double], ptr %2, i64 0, i64 %40
%42 = load double, ptr %41, align 8
%43 = load double, ptr %8, align 8
%44 = fmul double %43, %42
store double %44, ptr %8, align 8
br label %45
45: ; preds = %38
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %30, !llvm.loop !8
48: ; preds = %30
%49 = load double, ptr %8, align 8
%50 = call i32 @printf(ptr noundef @.str.1, double noundef %49)
br label %51
51: ; preds = %48
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %25, !llvm.loop !9
54: ; preds = %25
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvezpe1yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x double], align 16
%3 = alloca [10 x double], align 16
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%11 = icmp eq i32 %10, 2
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
%13 = load double, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x double], ptr %2, i64 0, i64 %15
store double %13, ptr %16, align 8
%17 = load double, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 %19
store double %17, ptr %20, align 8
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%24 = icmp eq i32 %23, 2
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %27, 10
br i1 %28, label %.lr.ph5, label %63
.lr.ph5: ; preds = %25
br label %29
29: ; preds = %.lr.ph5, %57
store double 1.000000e+00, ptr %8, align 8
store i32 0, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = sitofp i32 %30 to double
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 %33
%35 = load double, ptr %34, align 8
%36 = fcmp olt double %31, %35
br i1 %36, label %.lr.ph2, label %54
.lr.ph2: ; preds = %29
br label %37
37: ; preds = %.lr.ph2, %44
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [10 x double], ptr %2, i64 0, i64 %39
%41 = load double, ptr %40, align 8
%42 = load double, ptr %8, align 8
%43 = fmul double %42, %41
store double %43, ptr %8, align 8
br label %44
44: ; preds = %37
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
%47 = load i32, ptr %9, align 4
%48 = sitofp i32 %47 to double
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 %50
%52 = load double, ptr %51, align 8
%53 = fcmp olt double %48, %52
br i1 %53, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %54
54: ; preds = %._crit_edge3, %29
%55 = load double, ptr %8, align 8
%56 = call i32 @printf(ptr noundef @.str.1, double noundef %55)
br label %57
57: ; preds = %54
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = icmp ult i64 %61, 10
br i1 %62, label %29, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %63
63: ; preds = %._crit_edge6, %25
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3x6jpfw4.c'
source_filename = "/tmp/tmp3x6jpfw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgiOptionalString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @findVarData(ptr noundef %3)
ret ptr %4
}
declare ptr @findVarData(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3x6jpfw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgiOptionalString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @findVarData(ptr noundef %3)
ret ptr %4
}
declare ptr @findVarData(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3aij67ma.c'
source_filename = "/tmp/tmp3aij67ma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1379 x i8] c"Usage: beegetopt [options] -- [arguments and options to be parsed]\0A\0A -o | --option=OPTION[,OPTION] options to be recognized\0A\0A -n | --name=NAME set program name\0A -N | --stop-on-no-option stop parsing when argument\0A is not an option\0A -U | --stop-on-unknown-option stop parsing when argument\0A is an unknown option\0A -S | --no-skip-unknown-option carp on unknown options\0A by default unknown options are skipped\0A and handled as non-option argument.\0A -S is ignored if -U is given.\0A -k | --keep-option-end respect but keep '--' at it's position\0A\0A -h | --help print this little help\0A -V | --version print version\0A\0A OPTION may be a short or a long option or a combination of long and\0A short options seperated by a slash (/). In this case the second to last\0A option are considered aliases for the first. Only the first option is\0A returned as a new commandline argument: e.g.\0A --option long/alias/a/b will always return --long\0A --option a/b/long will always return -a\0A\0A If the last character of OPTION is '=' this option will require an\0A argument. If it is ':' this option takes an optional argument: e.g.\0A --option name/n=\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3aij67ma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1379 x i8] c"Usage: beegetopt [options] -- [arguments and options to be parsed]\0A\0A -o | --option=OPTION[,OPTION] options to be recognized\0A\0A -n | --name=NAME set program name\0A -N | --stop-on-no-option stop parsing when argument\0A is not an option\0A -U | --stop-on-unknown-option stop parsing when argument\0A is an unknown option\0A -S | --no-skip-unknown-option carp on unknown options\0A by default unknown options are skipped\0A and handled as non-option argument.\0A -S is ignored if -U is given.\0A -k | --keep-option-end respect but keep '--' at it's position\0A\0A -h | --help print this little help\0A -V | --version print version\0A\0A OPTION may be a short or a long option or a combination of long and\0A short options seperated by a slash (/). In this case the second to last\0A option are considered aliases for the first. Only the first option is\0A returned as a new commandline argument: e.g.\0A --option long/alias/a/b will always return --long\0A --option a/b/long will always return -a\0A\0A If the last character of OPTION is '=' this option will require an\0A argument. If it is ':' this option takes an optional argument: e.g.\0A --option name/n=\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmpfqcdvc.c'
source_filename = "/tmp/tmpmpfqcdvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetInfo(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = call i32 @getinfo_(ptr noundef %5, ptr noundef %6)
%8 = load i64, ptr %5, align 8
%9 = trunc i64 %8 to i32
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load i64, ptr %6, align 8
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %4, align 8
store i32 %12, ptr %13, align 4
ret void
}
declare i32 @getinfo_(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/tmpmpfqcdvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetInfo(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = call i32 @getinfo_(ptr noundef %5, ptr noundef %6)
%8 = load i64, ptr %5, align 8
%9 = trunc i64 %8 to i32
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load i64, ptr %6, align 8
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %4, align 8
store i32 %12, ptr %13, align 4
ret void
}
declare i32 @getinfo_(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/tmppugbrpzv.c'
source_filename = "/tmp/tmppugbrpzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false)
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %43, %0
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i64, ptr @EOF, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %44
13: ; preds = %9
%14 = load float, ptr %3, align 4
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %16
store float %14, ptr %17, align 4
store i32 1, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %34, %13
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %24
%26 = load float, ptr %25, align 4
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %28
%30 = load float, ptr %29, align 4
%31 = fcmp oeq float %26, %30
br i1 %31, label %32, label %33
32: ; preds = %22
store i32 0, ptr %8, align 4
br label %33
33: ; preds = %32, %22
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load i32, ptr %8, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%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 = %40, %37
br label %9, !llvm.loop !8
44: ; preds = %9
%45 = load i32, ptr %6, align 4
%46 = sitofp i32 %45 to float
%47 = call i32 @printf(ptr noundef @.str.1, float noundef %46)
br label %48
48: ; preds = %81, %44
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %90
52: ; preds = %48
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = load i32, ptr %6, align 4
%58 = sitofp i32 %57 to float
%59 = fcmp oge float %56, %58
br i1 %59, label %60, label %81
60: ; preds = %52
br label %61
61: ; preds = %69, %60
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %63
%65 = load float, ptr %64, align 4
%66 = load i32, ptr %6, align 4
%67 = sitofp i32 %66 to float
%68 = fcmp oge float %65, %67
br i1 %68, label %69, label %80
69: ; preds = %61
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %71
%73 = load float, ptr %72, align 4
%74 = load i32, ptr %6, align 4
%75 = sitofp i32 %74 to float
%76 = fsub float %73, %75
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %61, !llvm.loop !9
80: ; preds = %61
br label %81
81: ; preds = %80, %52
%82 = load float, ptr %4, align 4
%83 = load i32, ptr %5, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %84
%86 = load float, ptr %85, align 4
%87 = fadd float %82, %86
store float %87, ptr %4, align 4
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %5, align 4
br label %48, !llvm.loop !10
90: ; preds = %48
%91 = load float, ptr %4, align 4
%92 = call i32 @printf(ptr noundef @.str.2, float noundef %91)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, float 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}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppugbrpzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 256, i1 false)
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %.lr.ph2, label %48
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %44
%13 = load float, ptr %3, align 4
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %15
store float %13, ptr %16, align 4
store i32 1, ptr %8, align 4
store i32 0, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %38
.lr.ph: ; preds = %12
br label %20
20: ; preds = %.lr.ph, %32
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %22
%24 = load float, ptr %23, align 4
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %26
%28 = load float, ptr %27, align 4
%29 = fcmp oeq float %24, %28
br i1 %29, label %30, label %31
30: ; preds = %20
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %30, %20
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %12
%39 = load i32, ptr %8, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %44
44: ; preds = %41, %38
%45 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%46 = load i64, ptr @EOF, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %48
48: ; preds = %._crit_edge3, %0
%49 = load i32, ptr %6, align 4
%50 = sitofp i32 %49 to float
%51 = call i32 @printf(ptr noundef @.str.1, float noundef %50)
%52 = load i32, ptr %5, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph8, label %102
.lr.ph8: ; preds = %48
br label %55
55: ; preds = %.lr.ph8, %90
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = load i32, ptr %6, align 4
%61 = sitofp i32 %60 to float
%62 = fcmp oge float %59, %61
br i1 %62, label %63, label %90
63: ; preds = %55
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = load i32, ptr %6, align 4
%69 = sitofp i32 %68 to float
%70 = fcmp oge float %67, %69
br i1 %70, label %.lr.ph5, label %89
.lr.ph5: ; preds = %63
br label %71
71: ; preds = %.lr.ph5, %71
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %73
%75 = load float, ptr %74, align 4
%76 = load i32, ptr %6, align 4
%77 = sitofp i32 %76 to float
%78 = fsub float %75, %77
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %80
store float %78, ptr %81, align 4
%82 = load i32, ptr %5, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %83
%85 = load float, ptr %84, align 4
%86 = load i32, ptr %6, align 4
%87 = sitofp i32 %86 to float
%88 = fcmp oge float %85, %87
br i1 %88, label %71, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %89
89: ; preds = %._crit_edge6, %63
br label %90
90: ; preds = %89, %55
%91 = load float, ptr %4, align 4
%92 = load i32, ptr %5, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %93
%95 = load float, ptr %94, align 4
%96 = fadd float %91, %95
store float %96, ptr %4, align 4
%97 = load i32, ptr %5, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %5, align 4
%99 = load i32, ptr %5, align 4
%100 = load i32, ptr %6, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %55, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %90
br label %102
102: ; preds = %._crit_edge9, %48
%103 = load float, ptr %4, align 4
%104 = call i32 @printf(ptr noundef @.str.2, float noundef %103)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, float 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}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp1gqr2k7u.c'
source_filename = "/tmp/tmp1gqr2k7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"This is T2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tlib2func() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 2
}
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/tmp1gqr2k7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"This is T2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tlib2func() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 2
}
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/tmpmi8h9lzn.c'
source_filename = "/tmp/tmpmi8h9lzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @match_path(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcmp(ptr noundef %16, ptr noundef %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15, %2
store i32 1, ptr %3, align 4
br label %42
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 0, ptr %3, align 4
br label %42
26: ; preds = %21
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = call i32 @strncmp(ptr noundef %27, ptr noundef %28, i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %41, label %32
32: ; preds = %26
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, 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 i32
%39 = icmp eq i32 %38, 47
br i1 %39, label %40, label %41
40: ; preds = %32
store i32 1, ptr %3, align 4
br label %42
41: ; preds = %32, %26
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %40, %25, %20
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmi8h9lzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @match_path(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcmp(ptr noundef %16, ptr noundef %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %15, %2
store i32 1, ptr %3, align 4
br label %42
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 0, ptr %3, align 4
br label %42
26: ; preds = %21
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = call i32 @strncmp(ptr noundef %27, ptr noundef %28, i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %41, label %32
32: ; preds = %26
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, 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 i32
%39 = icmp eq i32 %38, 47
br i1 %39, label %40, label %41
40: ; preds = %32
store i32 1, ptr %3, align 4
br label %42
41: ; preds = %32, %26
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %40, %25, %20
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_b30sdh.c'
source_filename = "/tmp/tmpb_b30sdh.c"
target datalayout = "e-m:e-p270: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/tmpb_b30sdh.c"
target datalayout = "e-m:e-p270: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/tmpp1qkx8e_.c'
source_filename = "/tmp/tmpp1qkx8e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIC(double noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %4
%14 = load double, ptr %5, align 8
store double %14, ptr %9, align 8
br label %18
15: ; preds = %4
%16 = load double, ptr %5, align 8
%17 = fmul double -2.000000e+00, %16
store double %17, ptr %9, align 8
br label %18
18: ; preds = %15, %13
%19 = load double, ptr %9, align 8
%20 = load i32, ptr %6, align 4
%21 = load i64, ptr %7, align 8
%22 = call i32 @log(i64 noundef %21)
%23 = mul nsw i32 %20, %22
%24 = sitofp i32 %23 to double
%25 = fadd double %19, %24
store double %25, ptr %10, align 8
%26 = load double, ptr %10, align 8
ret double %26
}
declare i32 @log(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp1qkx8e_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIC(double noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %4
%14 = load double, ptr %5, align 8
store double %14, ptr %9, align 8
br label %18
15: ; preds = %4
%16 = load double, ptr %5, align 8
%17 = fmul double -2.000000e+00, %16
store double %17, ptr %9, align 8
br label %18
18: ; preds = %15, %13
%19 = load double, ptr %9, align 8
%20 = load i32, ptr %6, align 4
%21 = load i64, ptr %7, align 8
%22 = call i32 @log(i64 noundef %21)
%23 = mul nsw i32 %20, %22
%24 = sitofp i32 %23 to double
%25 = fadd double %19, %24
store double %25, ptr %10, align 8
%26 = load double, ptr %10, align 8
ret double %26
}
declare i32 @log(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmputyczklw.c'
source_filename = "/tmp/tmputyczklw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBigInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [32 x i32], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 32
store ptr %9, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %21, %2
%11 = load i32, ptr %4, align 4
%12 = and i32 %11, 127
%13 = load i32, ptr %8, align 4
%14 = or i32 %12, %13
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %6, align 8
store i32 %14, ptr %16, align 4
store i32 128, ptr %8, align 4
%17 = load i64, ptr %7, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %7, align 8
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 7
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %10, label %24, !llvm.loop !6
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @write(i32 noundef %25, ptr noundef %26, i64 noundef %27)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmputyczklw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBigInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [32 x i32], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 32
store ptr %9, ptr %6, align 8
store i64 0, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %21, %2
%11 = load i32, ptr %4, align 4
%12 = and i32 %11, 127
%13 = load i32, ptr %8, align 4
%14 = or i32 %12, %13
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %6, align 8
store i32 %14, ptr %16, align 4
store i32 128, ptr %8, align 4
%17 = load i64, ptr %7, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %7, align 8
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 7
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %10, label %24, !llvm.loop !6
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @write(i32 noundef %25, ptr noundef %26, i64 noundef %27)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxux4d_m4.c'
source_filename = "/tmp/tmpxux4d_m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTlvMakeAddObj(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [260 x i8], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = getelementptr inbounds [260 x i8], ptr %13, i64 0, i64 0
%18 = call i32 @iTlvMakeObject(ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 260)
store i32 %18, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %12, align 4
store i32 %22, ptr %6, align 4
br label %29
23: ; preds = %5
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds [260 x i8], ptr %13, i64 0, i64 0
%26 = load i32, ptr %11, align 4
%27 = call i32 @iTlvAddObj(ptr noundef %24, ptr noundef %25, i32 noundef %26)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %23, %21
%30 = load i32, ptr %6, align 4
ret i32 %30
}
declare i32 @iTlvMakeObject(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iTlvAddObj(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxux4d_m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTlvMakeAddObj(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [260 x i8], align 16
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %9, align 4
%16 = load ptr, ptr %10, align 8
%17 = getelementptr inbounds [260 x i8], ptr %13, i64 0, i64 0
%18 = call i32 @iTlvMakeObject(ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 260)
store i32 %18, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %12, align 4
store i32 %22, ptr %6, align 4
br label %29
23: ; preds = %5
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds [260 x i8], ptr %13, i64 0, i64 0
%26 = load i32, ptr %11, align 4
%27 = call i32 @iTlvAddObj(ptr noundef %24, ptr noundef %25, i32 noundef %26)
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %23, %21
%30 = load i32, ptr %6, align 4
ret i32 %30
}
declare i32 @iTlvMakeObject(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iTlvAddObj(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpts1cbptj.c'
source_filename = "/tmp/tmpts1cbptj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_test() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = call i64 (...) @aes_ecb_test()
%6 = icmp ne i64 %5, 0
br label %7
7: ; preds = %4, %0
%8 = phi i1 [ false, %0 ], [ %6, %4 ]
%9 = zext i1 %8 to i32
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = call i64 (...) @aes_cbc_test()
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %12, %7
%16 = phi i1 [ false, %7 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = call i64 (...) @aes_ctr_test()
%22 = icmp ne i64 %21, 0
br label %23
23: ; preds = %20, %15
%24 = phi i1 [ false, %15 ], [ %22, %20 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %1, align 4
%26 = load i32, ptr %1, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = call i64 (...) @aes_ccm_test()
%30 = icmp ne i64 %29, 0
br label %31
31: ; preds = %28, %23
%32 = phi i1 [ false, %23 ], [ %30, %28 ]
%33 = zext i1 %32 to i32
store i32 %33, ptr %1, align 4
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i64 @aes_ecb_test(...) #1
declare i64 @aes_cbc_test(...) #1
declare i64 @aes_ctr_test(...) #1
declare i64 @aes_ccm_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpts1cbptj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_test() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = call i64 (...) @aes_ecb_test()
%6 = icmp ne i64 %5, 0
br label %7
7: ; preds = %4, %0
%8 = phi i1 [ false, %0 ], [ %6, %4 ]
%9 = zext i1 %8 to i32
store i32 %9, ptr %1, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = call i64 (...) @aes_cbc_test()
%14 = icmp ne i64 %13, 0
br label %15
15: ; preds = %12, %7
%16 = phi i1 [ false, %7 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = call i64 (...) @aes_ctr_test()
%22 = icmp ne i64 %21, 0
br label %23
23: ; preds = %20, %15
%24 = phi i1 [ false, %15 ], [ %22, %20 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %1, align 4
%26 = load i32, ptr %1, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = call i64 (...) @aes_ccm_test()
%30 = icmp ne i64 %29, 0
br label %31
31: ; preds = %28, %23
%32 = phi i1 [ false, %23 ], [ %30, %28 ]
%33 = zext i1 %32 to i32
store i32 %33, ptr %1, align 4
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i64 @aes_ecb_test(...) #1
declare i64 @aes_cbc_test(...) #1
declare i64 @aes_ctr_test(...) #1
declare i64 @aes_ccm_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3vzlji77.c'
source_filename = "/tmp/tmp3vzlji77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ceph_unarmor(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %104, %3
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp ult ptr %14, %15
br i1 %16, label %17, label %117
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ult ptr %18, %19
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 10
br i1 %26, label %27, label %30
27: ; preds = %21
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %6, align 8
br label %30
30: ; preds = %27, %21, %17
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 4
%33 = load ptr, ptr %7, align 8
%34 = icmp ugt ptr %32, %33
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, ptr @EINVAL, align 4
%37 = sub nsw i32 0, %36
store i32 %37, ptr %4, align 4
br label %119
38: ; preds = %30
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
%41 = load i8, ptr %40, align 1
%42 = call i32 @decode_bits(i8 noundef signext %41)
store i32 %42, ptr %9, align 4
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1
%46 = call i32 @decode_bits(i8 noundef signext %45)
store i32 %46, ptr %10, align 4
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 2
%49 = load i8, ptr %48, align 1
%50 = call i32 @decode_bits(i8 noundef signext %49)
store i32 %50, ptr %11, align 4
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 3
%53 = load i8, ptr %52, align 1
%54 = call i32 @decode_bits(i8 noundef signext %53)
store i32 %54, ptr %12, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp slt i32 %55, 0
br i1 %56, label %66, label %57
57: ; preds = %38
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %57
%61 = load i32, ptr %11, align 4
%62 = icmp slt i32 %61, 0
br i1 %62, label %66, label %63
63: ; preds = %60
%64 = load i32, ptr %12, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %63, %60, %57, %38
%67 = load i32, ptr @EINVAL, align 4
%68 = sub nsw i32 0, %67
store i32 %68, ptr %4, align 4
br label %119
69: ; preds = %63
%70 = load i32, ptr %9, align 4
%71 = shl i32 %70, 2
%72 = load i32, ptr %10, align 4
%73 = ashr i32 %72, 4
%74 = or i32 %71, %73
%75 = trunc i32 %74 to i8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %5, align 8
store i8 %75, ptr %76, align 1
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 2
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 61
br i1 %82, label %83, label %86
83: ; preds = %69
%84 = load i32, ptr %8, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %4, align 4
br label %119
86: ; preds = %69
%87 = load i32, ptr %10, align 4
%88 = and i32 %87, 15
%89 = shl i32 %88, 4
%90 = load i32, ptr %11, align 4
%91 = ashr i32 %90, 2
%92 = or i32 %89, %91
%93 = trunc i32 %92 to i8
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %5, align 8
store i8 %93, ptr %94, align 1
%96 = load ptr, ptr %6, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 3
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 61
br i1 %100, label %101, label %104
101: ; preds = %86
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 2
store i32 %103, ptr %4, align 4
br label %119
104: ; preds = %86
%105 = load i32, ptr %11, align 4
%106 = and i32 %105, 3
%107 = shl i32 %106, 6
%108 = load i32, ptr %12, align 4
%109 = or i32 %107, %108
%110 = trunc i32 %109 to i8
%111 = load ptr, ptr %5, align 8
%112 = getelementptr inbounds i8, ptr %111, i32 1
store ptr %112, ptr %5, align 8
store i8 %110, ptr %111, align 1
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 3
store i32 %114, ptr %8, align 4
%115 = load ptr, ptr %6, align 8
%116 = getelementptr inbounds i8, ptr %115, i64 4
store ptr %116, ptr %6, align 8
br label %13, !llvm.loop !6
117: ; preds = %13
%118 = load i32, ptr %8, align 4
store i32 %118, ptr %4, align 4
br label %119
119: ; preds = %117, %101, %83, %66, %35
%120 = load i32, ptr %4, align 4
ret i32 %120
}
declare i32 @decode_bits(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vzlji77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ceph_unarmor(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ult ptr %13, %14
br i1 %15, label %.lr.ph, label %119
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %103
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp ult ptr %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %6, align 8
br label %29
29: ; preds = %26, %20, %16
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 4
%32 = load ptr, ptr %7, align 8
%33 = icmp ugt ptr %31, %32
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr @EINVAL, align 4
%36 = sub nsw i32 0, %35
store i32 %36, ptr %4, align 4
br label %121
37: ; preds = %29
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 0
%40 = load i8, ptr %39, align 1
%41 = call i32 @decode_bits(i8 noundef signext %40)
store i32 %41, ptr %9, align 4
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = load i8, ptr %43, align 1
%45 = call i32 @decode_bits(i8 noundef signext %44)
store i32 %45, ptr %10, align 4
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 2
%48 = load i8, ptr %47, align 1
%49 = call i32 @decode_bits(i8 noundef signext %48)
store i32 %49, ptr %11, align 4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 3
%52 = load i8, ptr %51, align 1
%53 = call i32 @decode_bits(i8 noundef signext %52)
store i32 %53, ptr %12, align 4
%54 = load i32, ptr %9, align 4
%55 = icmp slt i32 %54, 0
br i1 %55, label %65, label %56
56: ; preds = %37
%57 = load i32, ptr %10, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %65, label %59
59: ; preds = %56
%60 = load i32, ptr %11, align 4
%61 = icmp slt i32 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = load i32, ptr %12, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %62, %59, %56, %37
%66 = load i32, ptr @EINVAL, align 4
%67 = sub nsw i32 0, %66
store i32 %67, ptr %4, align 4
br label %121
68: ; preds = %62
%69 = load i32, ptr %9, align 4
%70 = shl i32 %69, 2
%71 = load i32, ptr %10, align 4
%72 = ashr i32 %71, 4
%73 = or i32 %70, %72
%74 = trunc i32 %73 to i8
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %5, align 8
store i8 %74, ptr %75, align 1
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 2
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 61
br i1 %81, label %82, label %85
82: ; preds = %68
%83 = load i32, ptr %8, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %4, align 4
br label %121
85: ; preds = %68
%86 = load i32, ptr %10, align 4
%87 = and i32 %86, 15
%88 = shl i32 %87, 4
%89 = load i32, ptr %11, align 4
%90 = ashr i32 %89, 2
%91 = or i32 %88, %90
%92 = trunc i32 %91 to i8
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds i8, ptr %93, i32 1
store ptr %94, ptr %5, align 8
store i8 %92, ptr %93, align 1
%95 = load ptr, ptr %6, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 3
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 61
br i1 %99, label %100, label %103
100: ; preds = %85
%101 = load i32, ptr %8, align 4
%102 = add nsw i32 %101, 2
store i32 %102, ptr %4, align 4
br label %121
103: ; preds = %85
%104 = load i32, ptr %11, align 4
%105 = and i32 %104, 3
%106 = shl i32 %105, 6
%107 = load i32, ptr %12, align 4
%108 = or i32 %106, %107
%109 = trunc i32 %108 to i8
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds i8, ptr %110, i32 1
store ptr %111, ptr %5, align 8
store i8 %109, ptr %110, align 1
%112 = load i32, ptr %8, align 4
%113 = add nsw i32 %112, 3
store i32 %113, ptr %8, align 4
%114 = load ptr, ptr %6, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 4
store ptr %115, ptr %6, align 8
%116 = load ptr, ptr %6, align 8
%117 = load ptr, ptr %7, align 8
%118 = icmp ult ptr %116, %117
br i1 %118, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %103
br label %119
119: ; preds = %._crit_edge, %3
%120 = load i32, ptr %8, align 4
store i32 %120, ptr %4, align 4
br label %121
121: ; preds = %119, %100, %82, %65, %34
%122 = load i32, ptr %4, align 4
ret i32 %122
}
declare i32 @decode_bits(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2efaacgt.c'
source_filename = "/tmp/tmp2efaacgt.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"can't open %s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"qzc-\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"remove(%s), ret=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zrpc_clean_tmp_files_for_bgpd_bfdd() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [512 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 512, i1 false)
store ptr @.str, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @opendir(ptr noundef %6)
store ptr %7, ptr %1, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load ptr, ptr %4, align 8
%11 = call i32 (ptr, ptr, ...) @zrpc_log(ptr noundef @.str.1, ptr noundef %10)
br label %39
12: ; preds = %0
br label %13
13: ; preds = %35, %12
%14 = load ptr, ptr %1, align 8
%15 = call ptr @readdir(ptr noundef %14)
store ptr %15, ptr %2, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %36
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds %struct.dirent, ptr %18, i32 0, i32 0
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strstr(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %17
%24 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @snprintf(ptr noundef %24, i32 noundef 512, ptr noundef @.str.3, ptr noundef %25, ptr noundef %28)
%30 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%31 = call i32 @remove(ptr noundef %30)
store i32 %31, ptr %5, align 4
%32 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%33 = load i32, ptr %5, align 4
%34 = call i32 (ptr, ptr, ...) @zrpc_log(ptr noundef @.str.4, ptr noundef %32, i32 noundef %33)
br label %35
35: ; preds = %23, %17
br label %13, !llvm.loop !6
36: ; preds = %13
%37 = load ptr, ptr %1, align 8
%38 = call i32 @closedir(ptr noundef %37)
br label %39
39: ; preds = %36, %9
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 @opendir(ptr noundef) #2
declare i32 @zrpc_log(ptr noundef, ptr noundef, ...) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strstr(ptr noundef, ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @remove(ptr noundef) #2
declare i32 @closedir(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2efaacgt.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"can't open %s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"qzc-\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"remove(%s), ret=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zrpc_clean_tmp_files_for_bgpd_bfdd() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [512 x i8], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 512, i1 false)
store ptr @.str, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @opendir(ptr noundef %6)
store ptr %7, ptr %1, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = load ptr, ptr %4, align 8
%11 = call i32 (ptr, ptr, ...) @zrpc_log(ptr noundef @.str.1, ptr noundef %10)
br label %41
12: ; preds = %0
%13 = load ptr, ptr %1, align 8
%14 = call ptr @readdir(ptr noundef %13)
store ptr %14, ptr %2, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %.lr.ph, label %38
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %34
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds %struct.dirent, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strstr(ptr noundef %19, ptr noundef @.str.2)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %34
22: ; preds = %16
%23 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @snprintf(ptr noundef %23, i32 noundef 512, ptr noundef @.str.3, ptr noundef %24, ptr noundef %27)
%29 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @remove(ptr noundef %29)
store i32 %30, ptr %5, align 4
%31 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0
%32 = load i32, ptr %5, align 4
%33 = call i32 (ptr, ptr, ...) @zrpc_log(ptr noundef @.str.4, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %22, %16
%35 = load ptr, ptr %1, align 8
%36 = call ptr @readdir(ptr noundef %35)
store ptr %36, ptr %2, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %38
38: ; preds = %._crit_edge, %12
%39 = load ptr, ptr %1, align 8
%40 = call i32 @closedir(ptr noundef %39)
br label %41
41: ; preds = %38, %9
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 @opendir(ptr noundef) #2
declare i32 @zrpc_log(ptr noundef, ptr noundef, ...) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strstr(ptr noundef, ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @remove(ptr noundef) #2
declare i32 @closedir(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"}
|
; ModuleID = '/tmp/tmpjjvc57nv.c'
source_filename = "/tmp/tmpjjvc57nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safe_cat(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %9, align 4
br label %12
12: ; preds = %38, %4
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %9, align 4
%17 = add nsw i32 %15, %16
%18 = add nsw i32 %17, 1
%19 = icmp slt i32 %14, %18
br i1 %19, label %20, label %39
20: ; preds = %12
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 128
store i32 %23, ptr %21, align 4
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %24, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %26, align 4
%28 = sext i32 %27 to i64
%29 = call i64 @realloc(ptr noundef %25, i64 noundef %28)
%30 = inttoptr i64 %29 to ptr
%31 = load ptr, ptr %5, align 8
store ptr %30, ptr %31, align 8
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %38, label %35
35: ; preds = %20
%36 = call i32 @printf(ptr noundef @.str)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %20
br label %12, !llvm.loop !6
39: ; preds = %12
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %9, align 4
%47 = call i32 @strncpy(ptr noundef %44, ptr noundef %45, i32 noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %50, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %49, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %55, %56
ret i32 %57
}
declare i32 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjvc57nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @safe_cat(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %14, %15
%17 = add nsw i32 %16, 1
%18 = icmp slt i32 %13, %17
br i1 %18, label %.lr.ph, label %45
.lr.ph: ; preds = %4
br label %27
19: ; preds = %27
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %22, %23
%25 = add nsw i32 %24, 1
%26 = icmp slt i32 %21, %25
br i1 %26, label %27, label %._crit_edge, !llvm.loop !6
27: ; preds = %.lr.ph, %19
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %29, 128
store i32 %30, ptr %28, align 4
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %33, align 4
%35 = sext i32 %34 to i64
%36 = call i64 @realloc(ptr noundef %32, i64 noundef %35)
%37 = inttoptr i64 %36 to ptr
%38 = load ptr, ptr %5, align 8
store ptr %37, ptr %38, align 8
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %39, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %19, label %42
42: ; preds = %27
%43 = call i32 @printf(ptr noundef @.str)
%44 = call i32 @exit(i32 noundef 1) #3
unreachable
._crit_edge: ; preds = %19
br label %45
45: ; preds = %._crit_edge, %4
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %9, align 4
%53 = call i32 @strncpy(ptr noundef %50, ptr noundef %51, i32 noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %55, i64 %59
store i8 0, ptr %60, align 1
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %61, %62
ret i32 %63
}
declare i32 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdx6q0mtz.c'
source_filename = "/tmp/tmpdx6q0mtz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdx6q0mtz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplgv8yj93.c'
source_filename = "/tmp/tmplgv8yj93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = sdiv i32 %11, 10
store i32 %12, ptr %2, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load i32, ptr %3, align 4
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplgv8yj93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlen(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %3, align 4
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sdiv i32 %10, 10
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %1
%15 = load i32, ptr %3, align 4
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5ixjmad1.c'
source_filename = "/tmp/tmp5ixjmad1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recFindMaxSubarray(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %30
23: ; preds = %3
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %25, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %4, align 4
br label %88
30: ; preds = %3
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %33, align 4
%35 = add nsw i32 %32, %34
%36 = sdiv i32 %35, 2
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
store i32 %39, ptr %10, align 4
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %42, align 4
store i32 %43, ptr %13, align 4
%44 = load ptr, ptr %5, align 8
%45 = call i32 @recFindMaxSubarray(ptr noundef %44, ptr noundef %9, ptr noundef %10)
store i32 %45, ptr %11, align 4
%46 = load ptr, ptr %5, align 8
%47 = call i32 @recFindMaxSubarray(ptr noundef %46, ptr noundef %12, ptr noundef %13)
store i32 %47, ptr %14, align 4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %8, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %52, align 4
%54 = call i32 @findMaxCrossingSubarray(ptr noundef %48, i32 noundef %50, i32 noundef %51, i32 noundef %53, ptr noundef %15, ptr noundef %16)
store i32 %54, ptr %17, align 4
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %14, align 4
%57 = icmp sge i32 %55, %56
br i1 %57, label %58, label %68
58: ; preds = %30
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %17, align 4
%61 = icmp sge i32 %59, %60
br i1 %61, label %62, label %68
62: ; preds = %58
%63 = load i32, ptr %9, align 4
%64 = load ptr, ptr %6, align 8
store i32 %63, ptr %64, align 4
%65 = load i32, ptr %10, align 4
%66 = load ptr, ptr %7, align 8
store i32 %65, ptr %66, align 4
%67 = load i32, ptr %11, align 4
store i32 %67, ptr %4, align 4
br label %88
68: ; preds = %58, %30
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp sge i32 %69, %70
br i1 %71, label %72, label %82
72: ; preds = %68
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %17, align 4
%75 = icmp sge i32 %73, %74
br i1 %75, label %76, label %82
76: ; preds = %72
%77 = load i32, ptr %12, align 4
%78 = load ptr, ptr %6, align 8
store i32 %77, ptr %78, align 4
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %7, align 8
store i32 %79, ptr %80, align 4
%81 = load i32, ptr %14, align 4
store i32 %81, ptr %4, align 4
br label %88
82: ; preds = %72, %68
%83 = load i32, ptr %15, align 4
%84 = load ptr, ptr %6, align 8
store i32 %83, ptr %84, align 4
%85 = load i32, ptr %16, align 4
%86 = load ptr, ptr %7, align 8
store i32 %85, ptr %86, align 4
%87 = load i32, ptr %17, align 4
store i32 %87, ptr %4, align 4
br label %88
88: ; preds = %82, %76, %62, %23
%89 = load i32, ptr %4, align 4
ret i32 %89
}
declare i32 @findMaxCrossingSubarray(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ixjmad1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recFindMaxSubarray(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %30
23: ; preds = %3
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %25, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %4, align 4
br label %88
30: ; preds = %3
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %33, align 4
%35 = add nsw i32 %32, %34
%36 = sdiv i32 %35, 2
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
store i32 %39, ptr %10, align 4
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %42, align 4
store i32 %43, ptr %13, align 4
%44 = load ptr, ptr %5, align 8
%45 = call i32 @recFindMaxSubarray(ptr noundef %44, ptr noundef %9, ptr noundef %10)
store i32 %45, ptr %11, align 4
%46 = load ptr, ptr %5, align 8
%47 = call i32 @recFindMaxSubarray(ptr noundef %46, ptr noundef %12, ptr noundef %13)
store i32 %47, ptr %14, align 4
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %8, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %52, align 4
%54 = call i32 @findMaxCrossingSubarray(ptr noundef %48, i32 noundef %50, i32 noundef %51, i32 noundef %53, ptr noundef %15, ptr noundef %16)
store i32 %54, ptr %17, align 4
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %14, align 4
%57 = icmp sge i32 %55, %56
br i1 %57, label %58, label %68
58: ; preds = %30
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %17, align 4
%61 = icmp sge i32 %59, %60
br i1 %61, label %62, label %68
62: ; preds = %58
%63 = load i32, ptr %9, align 4
%64 = load ptr, ptr %6, align 8
store i32 %63, ptr %64, align 4
%65 = load i32, ptr %10, align 4
%66 = load ptr, ptr %7, align 8
store i32 %65, ptr %66, align 4
%67 = load i32, ptr %11, align 4
store i32 %67, ptr %4, align 4
br label %88
68: ; preds = %58, %30
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp sge i32 %69, %70
br i1 %71, label %72, label %82
72: ; preds = %68
%73 = load i32, ptr %14, align 4
%74 = load i32, ptr %17, align 4
%75 = icmp sge i32 %73, %74
br i1 %75, label %76, label %82
76: ; preds = %72
%77 = load i32, ptr %12, align 4
%78 = load ptr, ptr %6, align 8
store i32 %77, ptr %78, align 4
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %7, align 8
store i32 %79, ptr %80, align 4
%81 = load i32, ptr %14, align 4
store i32 %81, ptr %4, align 4
br label %88
82: ; preds = %72, %68
%83 = load i32, ptr %15, align 4
%84 = load ptr, ptr %6, align 8
store i32 %83, ptr %84, align 4
%85 = load i32, ptr %16, align 4
%86 = load ptr, ptr %7, align 8
store i32 %85, ptr %86, align 4
%87 = load i32, ptr %17, align 4
store i32 %87, ptr %4, align 4
br label %88
88: ; preds = %82, %76, %62, %23
%89 = load i32, ptr %4, align 4
ret i32 %89
}
declare i32 @findMaxCrossingSubarray(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8majs7ex.c'
source_filename = "/tmp/tmp8majs7ex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exit_runloop() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8majs7ex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exit_runloop() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1iz4k74v.c'
source_filename = "/tmp/tmp1iz4k74v.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 4.000000e+00, float 9.000000e+00, float 1.200000e+01, float 2.400000e+01, float 6.400000e+01, float 8.100000e+01, float 1.010000e+02], align 16
@.str = private unnamed_addr constant [14 x i8] c"y[ %i ] = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x float], align 16
%3 = alloca [8 x float], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds [8 x float], ptr %2, i64 0, i64 0
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [8 x float], ptr %3, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @stdlib_strided_srsqrt(i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %24, %0
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 8
br i1 %16, label %17, label %27
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [8 x float], ptr %3, i64 0, i64 %20
%22 = load float, ptr %21, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %18, float noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
%28 = load i32, ptr %1, align 4
ret i32 %28
}
; 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
; 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 @stdlib_strided_srsqrt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, float 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1iz4k74v.c"
target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 4.000000e+00, float 9.000000e+00, float 1.200000e+01, float 2.400000e+01, float 6.400000e+01, float 8.100000e+01, float 1.010000e+02], align 16
@.str = private unnamed_addr constant [14 x i8] c"y[ %i ] = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x float], align 16
%3 = alloca [8 x float], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 32, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
store i32 4, ptr %4, align 4
store i32 2, ptr %5, align 4
store i32 2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = getelementptr inbounds [8 x float], ptr %2, i64 0, i64 0
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [8 x float], ptr %3, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = call i32 @stdlib_strided_srsqrt(i32 noundef %8, ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12)
store i32 0, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %23
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [8 x float], ptr %3, i64 0, i64 %19
%21 = load float, ptr %20, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %17, float noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 8
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %1, align 4
ret i32 %29
}
; 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
; 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 @stdlib_strided_srsqrt(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, float 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu5yb802m.c'
source_filename = "/tmp/tmpu5yb802m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @linkat(i32 noundef 0, ptr noundef @.str, i32 noundef 1, ptr noundef @.str.1, i32 noundef 0)
ret i32 %2
}
declare i32 @linkat(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5yb802m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @linkat(i32 noundef 0, ptr noundef @.str, i32 noundef 1, ptr noundef @.str.1, i32 noundef 0)
ret i32 %2
}
declare i32 @linkat(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpphrat07i.c'
source_filename = "/tmp/tmpphrat07i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSAPublicKey = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_RSAPublicKey_fp(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 @RSAPublicKey, align 4
%6 = call i32 @ASN1_ITEM_rptr(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ASN1_item_i2d_fp(i32 noundef %6, ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @ASN1_item_i2d_fp(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ASN1_ITEM_rptr(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/tmpphrat07i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSAPublicKey = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2d_RSAPublicKey_fp(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 @RSAPublicKey, align 4
%6 = call i32 @ASN1_ITEM_rptr(i32 noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ASN1_item_i2d_fp(i32 noundef %6, ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @ASN1_item_i2d_fp(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @ASN1_ITEM_rptr(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/tmpg37r0_ie.c'
source_filename = "/tmp/tmpg37r0_ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Get DNS name from IP.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Usage: %s <IP>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg37r0_ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Get DNS name from IP.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Usage: %s <IP>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0uj9v6ot.c'
source_filename = "/tmp/tmp0uj9v6ot.c"
target datalayout = "e-m:e-p270: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_SUCCESS = 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/tmp0uj9v6ot.c"
target datalayout = "e-m:e-p270: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_SUCCESS = 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.