llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpbhcfnq_n.c'
source_filename = "/tmp/tmpbhcfnq_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"get_nEA - error number of electron does not match multiplicity\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_nEA(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
%6 = load ptr, ptr %3, align 8
%7 = call i32 @get_nElectron(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
%11 = sub nsw i32 %10, 1
%12 = srem i32 %11, 2
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
%21 = sub nsw i32 %20, 1
%22 = sdiv i32 %21, 2
ret i32 %22
}
declare i32 @get_nElectron(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbhcfnq_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"get_nEA - error number of electron does not match multiplicity\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_nEA(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
%6 = load ptr, ptr %3, align 8
%7 = call i32 @get_nElectron(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
%11 = sub nsw i32 %10, 1
%12 = srem i32 %11, 2
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %18, %19
%21 = sub nsw i32 %20, 1
%22 = sdiv i32 %21, 2
ret i32 %22
}
declare i32 @get_nElectron(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe_cyxfqw.c'
source_filename = "/tmp/tmpe_cyxfqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @del_name_node_complex_avltree(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = call ptr @find_name_node_avltree(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %14
store i32 -1, ptr %5, align 4
br label %27
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = call i32 @del_node_complex_avltree(ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %21, %20, %13
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare ptr @find_name_node_avltree(ptr noundef, ptr noundef) #1
declare i32 @del_node_complex_avltree(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/tmpe_cyxfqw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @del_name_node_complex_avltree(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %7, align 8
%17 = call ptr @find_name_node_avltree(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %14
store i32 -1, ptr %5, align 4
br label %27
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %9, align 8
%26 = call i32 @del_node_complex_avltree(ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25)
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %21, %20, %13
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare ptr @find_name_node_avltree(ptr noundef, ptr noundef) #1
declare i32 @del_node_complex_avltree(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/tmpnilzv4ld.c'
source_filename = "/tmp/tmpnilzv4ld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in dmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in dmatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dmatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = zext i32 %14 to i64
%16 = mul i64 %15, 8
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %4
%23 = call i32 @nrerror(ptr noundef @.str)
br label %24
24: ; preds = %22, %4
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %10, align 8
%27 = sext i32 %25 to i64
%28 = sub i64 0, %27
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr %29, ptr %10, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %67, %24
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %70
35: ; preds = %31
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %36, %37
%39 = add nsw i32 %38, 1
%40 = zext i32 %39 to i64
%41 = mul i64 %40, 8
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
store ptr %44, ptr %48, align 8
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %57, label %55
55: ; preds = %35
%56 = call i32 @nrerror(ptr noundef @.str.1)
br label %57
57: ; preds = %55, %35
%58 = load i32, ptr %7, align 4
%59 = load ptr, ptr %10, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = sext i32 %58 to i64
%65 = sub i64 0, %64
%66 = getelementptr inbounds double, ptr %63, i64 %65
store ptr %66, ptr %62, align 8
br label %67
67: ; preds = %57
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
br label %31, !llvm.loop !6
70: ; preds = %31
%71 = load ptr, ptr %10, align 8
ret ptr %71
}
declare i64 @malloc(i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnilzv4ld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in dmatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in dmatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dmatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = zext i32 %14 to i64
%16 = mul i64 %15, 8
%17 = trunc i64 %16 to i32
%18 = call i64 @malloc(i32 noundef %17)
%19 = inttoptr i64 %18 to ptr
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %10, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %4
%23 = call i32 @nrerror(ptr noundef @.str)
br label %24
24: ; preds = %22, %4
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %10, align 8
%27 = sext i32 %25 to i64
%28 = sub i64 0, %27
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr %29, ptr %10, align 8
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %72
.lr.ph: ; preds = %24
br label %34
34: ; preds = %.lr.ph, %66
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = zext i32 %38 to i64
%40 = mul i64 %39, 8
%41 = trunc i64 %40 to i32
%42 = call i64 @malloc(i32 noundef %41)
%43 = inttoptr i64 %42 to ptr
%44 = load ptr, ptr %10, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
store ptr %43, ptr %47, align 8
%48 = load ptr, ptr %10, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %56, label %54
54: ; preds = %34
%55 = call i32 @nrerror(ptr noundef @.str.1)
br label %56
56: ; preds = %54, %34
%57 = load i32, ptr %7, align 4
%58 = load ptr, ptr %10, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = sext i32 %57 to i64
%64 = sub i64 0, %63
%65 = getelementptr inbounds double, ptr %62, i64 %64
store ptr %65, ptr %61, align 8
br label %66
66: ; preds = %56
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %24
%73 = load ptr, ptr %10, align 8
ret ptr %73
}
declare i64 @malloc(i32 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"}
|
; ModuleID = '/tmp/tmpya4cd6bo.c'
source_filename = "/tmp/tmpya4cd6bo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f32(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 @f31(ptr noundef %3)
ret i32 %4
}
declare i32 @f31(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpya4cd6bo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f32(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 @f31(ptr noundef %3)
ret i32 %4
}
declare i32 @f31(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpggvem1pz.c'
source_filename = "/tmp/tmpggvem1pz.c"
target datalayout = "e-m:e-p270: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/tmpggvem1pz.c"
target datalayout = "e-m:e-p270: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/tmpv1y20fxf.c'
source_filename = "/tmp/tmpv1y20fxf.c"
target datalayout = "e-m:e-p270: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/tmpv1y20fxf.c"
target datalayout = "e-m:e-p270: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/tmpg9kxnrmg.c'
source_filename = "/tmp/tmpg9kxnrmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%2x|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %22, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %7, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %7, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg9kxnrmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%2x|\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %21
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvyhzghn1.c'
source_filename = "/tmp/tmpvyhzghn1.c"
target datalayout = "e-m:e-p270: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/tmpvyhzghn1.c"
target datalayout = "e-m:e-p270: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/tmppzb3qevl.c'
source_filename = "/tmp/tmppzb3qevl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d.%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"NOTAS:\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%d nota(s) de R$ 100.00\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 50.00\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 20.00\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 10.00\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"%d nota(s) de R$ 5.00\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%d nota(s) de R$ 2.00\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"MOEDAS:\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 1.00\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.50\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.25\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.10\0A\00", align 1
@.str.13 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.05\0A\00", align 1
@.str.14 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.01\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 100
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = srem i32 %9, 100
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sdiv i32 %11, 50
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 50
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = sdiv i32 %16, 20
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 20
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 10
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22)
%24 = load i32, ptr %2, align 4
%25 = srem i32 %24, 10
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = sdiv i32 %26, 5
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 5
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = sdiv i32 %31, 2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
%34 = load i32, ptr %2, align 4
%35 = srem i32 %34, 2
store i32 %35, ptr %2, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%37 = load i32, ptr %2, align 4
%38 = mul nsw i32 %37, 100
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = sdiv i32 %41, 100
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %42)
%44 = load i32, ptr %3, align 4
%45 = srem i32 %44, 100
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = sdiv i32 %46, 50
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %47)
%49 = load i32, ptr %3, align 4
%50 = srem i32 %49, 50
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = sdiv i32 %51, 25
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = srem i32 %54, 25
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
%57 = sdiv i32 %56, 10
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %57)
%59 = load i32, ptr %3, align 4
%60 = srem i32 %59, 10
store i32 %60, ptr %3, align 4
%61 = load i32, ptr %3, align 4
%62 = sdiv i32 %61, 5
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %62)
%64 = load i32, ptr %3, align 4
%65 = srem i32 %64, 5
store i32 %65, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %66)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppzb3qevl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d.%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"NOTAS:\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"%d nota(s) de R$ 100.00\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 50.00\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 20.00\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"%d nota(s) de R$ 10.00\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"%d nota(s) de R$ 5.00\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%d nota(s) de R$ 2.00\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"MOEDAS:\0A\00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 1.00\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.50\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.25\0A\00", align 1
@.str.12 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.10\0A\00", align 1
@.str.13 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.05\0A\00", align 1
@.str.14 = private unnamed_addr constant [24 x i8] c"%d moeda(s) de R$ 0.01\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = load i32, ptr %2, align 4
%7 = sdiv i32 %6, 100
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = srem i32 %9, 100
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sdiv i32 %11, 50
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 50
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = sdiv i32 %16, 20
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 20
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 10
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22)
%24 = load i32, ptr %2, align 4
%25 = srem i32 %24, 10
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = sdiv i32 %26, 5
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = srem i32 %29, 5
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = sdiv i32 %31, 2
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
%34 = load i32, ptr %2, align 4
%35 = srem i32 %34, 2
store i32 %35, ptr %2, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%37 = load i32, ptr %2, align 4
%38 = mul nsw i32 %37, 100
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = sdiv i32 %41, 100
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %42)
%44 = load i32, ptr %3, align 4
%45 = srem i32 %44, 100
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = sdiv i32 %46, 50
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %47)
%49 = load i32, ptr %3, align 4
%50 = srem i32 %49, 50
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = sdiv i32 %51, 25
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = srem i32 %54, 25
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
%57 = sdiv i32 %56, 10
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %57)
%59 = load i32, ptr %3, align 4
%60 = srem i32 %59, 10
store i32 %60, ptr %3, align 4
%61 = load i32, ptr %3, align 4
%62 = sdiv i32 %61, 5
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %62)
%64 = load i32, ptr %3, align 4
%65 = srem i32 %64, 5
store i32 %65, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %66)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0q4n_0ud.c'
source_filename = "/tmp/tmp0q4n_0ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@buff_name.charset = internal global [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @buff_name(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 1
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %41
13: ; preds = %1
%14 = call i32 @time(ptr noundef null)
%15 = call i32 @srand(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
store i8 46, ptr %17, align 1
store i32 1, ptr %4, align 4
br label %18
18: ; preds = %34, %13
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %2, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %37
23: ; preds = %18
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 62
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [63 x i8], ptr @buff_name.charset, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %23
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %2, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 0, ptr %40, align 1
br label %41
41: ; preds = %37, %1
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr 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/tmp0q4n_0ud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@buff_name.charset = internal global [63 x i8] c"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @buff_name(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = add i64 %6, 1
%8 = mul i64 1, %7
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %44
13: ; preds = %1
%14 = call i32 @time(ptr noundef null)
%15 = call i32 @srand(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
store i8 46, ptr %17, align 1
store i32 1, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = load i64, ptr %2, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %33
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 62
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [63 x i8], ptr @buff_name.charset, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
br label %33
33: ; preds = %22
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = load i64, ptr %2, align 8
%39 = icmp ult i64 %37, %38
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %13
%41 = load ptr, ptr %3, align 8
%42 = load i64, ptr %2, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
store i8 0, ptr %43, align 1
br label %44
44: ; preds = %40, %1
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr 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/tmp018mntu5.c'
source_filename = "/tmp/tmp018mntu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outb_p(i8 noundef zeroext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i8, ptr %3, align 1
%6 = load i32, ptr %4, align 4
%7 = call zeroext i8 @outb(i8 noundef zeroext %5, i32 noundef %6)
ret i8 %7
}
declare zeroext i8 @outb(i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp018mntu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outb_p(i8 noundef zeroext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i8, ptr %3, align 1
%6 = load i32, ptr %4, align 4
%7 = call zeroext i8 @outb(i8 noundef zeroext %5, i32 noundef %6)
ret i8 %7
}
declare zeroext i8 @outb(i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp23ye9ktf.c'
source_filename = "/tmp/tmp23ye9ktf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = 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/tmp23ye9ktf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EIO = 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/tmpnb8c86ov.c'
source_filename = "/tmp/tmpnb8c86ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dynamic memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dupstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call i64 @myalloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %8
%16 = call i32 @problem(ptr noundef @.str)
br label %17
17: ; preds = %15, %8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = call ptr @strcpy(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %17, %7
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i64 @myalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @problem(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnb8c86ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"dynamic memory exhausted\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dupstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call i64 @myalloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %8
%16 = call i32 @problem(ptr noundef @.str)
br label %17
17: ; preds = %15, %8
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = call ptr @strcpy(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %17, %7
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i64 @myalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @problem(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf3fqw5oi.c'
source_filename = "/tmp/tmpf3fqw5oi.c"
target datalayout = "e-m:e-p270: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/tmpf3fqw5oi.c"
target datalayout = "e-m:e-p270: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/tmp9q3xd5bw.c'
source_filename = "/tmp/tmp9q3xd5bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @field_index(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %35, %2
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %38
16: ; preds = %8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call i64 @isspace(i8 noundef signext %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %16
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %27
27: ; preds = %24, %16
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %39
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %8, !llvm.loop !6
38: ; preds = %8
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %31
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i64 @isspace(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/tmp9q3xd5bw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @field_index(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %44
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %34
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i64 @isspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %26
26: ; preds = %23, %15
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %45
33: ; preds = %26
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %44
44: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %45
45: ; preds = %44, %30
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i64 @isspace(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/tmpajplbw01.c'
source_filename = "/tmp/tmpajplbw01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_boolfunc() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpajplbw01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pg_finfo_boolfunc() #0 {
%1 = call ptr (...) @GppcFinfoV1()
ret ptr %1
}
declare ptr @GppcFinfoV1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijacj58m.c'
source_filename = "/tmp/tmpijacj58m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @IRCUppercase(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 123
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 91, ptr %3, align 1
br label %29
8: ; preds = %1
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 125
br i1 %11, label %12, label %13
12: ; preds = %8
store i8 93, ptr %3, align 1
br label %28
13: ; preds = %8
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 124
br i1 %16, label %17, label %18
17: ; preds = %13
store i8 92, ptr %3, align 1
br label %27
18: ; preds = %13
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 94
br i1 %21, label %22, label %23
22: ; preds = %18
store i8 126, ptr %3, align 1
br label %26
23: ; preds = %18
%24 = load i8, ptr %2, align 1
%25 = call signext i8 @toupper(i8 noundef signext %24)
store i8 %25, ptr %3, align 1
br label %26
26: ; preds = %23, %22
br label %27
27: ; preds = %26, %17
br label %28
28: ; preds = %27, %12
br label %29
29: ; preds = %28, %7
%30 = load i8, ptr %3, align 1
ret i8 %30
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijacj58m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @IRCUppercase(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 123
br i1 %6, label %7, label %8
7: ; preds = %1
store i8 91, ptr %3, align 1
br label %29
8: ; preds = %1
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 125
br i1 %11, label %12, label %13
12: ; preds = %8
store i8 93, ptr %3, align 1
br label %28
13: ; preds = %8
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 124
br i1 %16, label %17, label %18
17: ; preds = %13
store i8 92, ptr %3, align 1
br label %27
18: ; preds = %13
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 94
br i1 %21, label %22, label %23
22: ; preds = %18
store i8 126, ptr %3, align 1
br label %26
23: ; preds = %18
%24 = load i8, ptr %2, align 1
%25 = call signext i8 @toupper(i8 noundef signext %24)
store i8 %25, ptr %3, align 1
br label %26
26: ; preds = %23, %22
br label %27
27: ; preds = %26, %17
br label %28
28: ; preds = %27, %12
br label %29
29: ; preds = %28, %7
%30 = load i8, ptr %3, align 1
ret i8 %30
}
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9l5d38hl.c'
source_filename = "/tmp/tmp9l5d38hl.c"
target datalayout = "e-m:e-p270: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/tmp9l5d38hl.c"
target datalayout = "e-m:e-p270: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/tmprk5zz8gv.c'
source_filename = "/tmp/tmprk5zz8gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MurmurHash64B(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1540483477, ptr %7, align 4
store i32 24, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = xor i32 %16, %17
store i32 %18, ptr %9, align 4
store i32 0, ptr %10, align 4
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %11, align 8
br label %20
20: ; preds = %23, %3
%21 = load i32, ptr %5, align 4
%22 = icmp sge i32 %21, 8
br i1 %22, label %23, label %60
23: ; preds = %20
%24 = load ptr, ptr %11, align 8
%25 = getelementptr inbounds i32, ptr %24, i32 1
store ptr %25, ptr %11, align 8
%26 = load i32, ptr %24, align 4
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = mul i32 %27, 1540483477
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = lshr i32 %29, 24
%31 = load i32, ptr %12, align 4
%32 = xor i32 %31, %30
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = mul i32 %33, 1540483477
store i32 %34, ptr %12, align 4
%35 = load i32, ptr %9, align 4
%36 = mul i32 %35, 1540483477
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %9, align 4
%39 = xor i32 %38, %37
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %5, align 4
%41 = sub nsw i32 %40, 4
store i32 %41, ptr %5, align 4
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds i32, ptr %42, i32 1
store ptr %43, ptr %11, align 8
%44 = load i32, ptr %42, align 4
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = mul i32 %45, 1540483477
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = lshr i32 %47, 24
%49 = load i32, ptr %13, align 4
%50 = xor i32 %49, %48
store i32 %50, ptr %13, align 4
%51 = load i32, ptr %13, align 4
%52 = mul i32 %51, 1540483477
store i32 %52, ptr %13, align 4
%53 = load i32, ptr %10, align 4
%54 = mul i32 %53, 1540483477
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %10, align 4
%57 = xor i32 %56, %55
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %5, align 4
%59 = sub nsw i32 %58, 4
store i32 %59, ptr %5, align 4
br label %20, !llvm.loop !6
60: ; preds = %20
%61 = load i32, ptr %5, align 4
%62 = icmp sge i32 %61, 4
br i1 %62, label %63, label %82
63: ; preds = %60
%64 = load ptr, ptr %11, align 8
%65 = getelementptr inbounds i32, ptr %64, i32 1
store ptr %65, ptr %11, align 8
%66 = load i32, ptr %64, align 4
store i32 %66, ptr %14, align 4
%67 = load i32, ptr %14, align 4
%68 = mul i32 %67, 1540483477
store i32 %68, ptr %14, align 4
%69 = load i32, ptr %14, align 4
%70 = lshr i32 %69, 24
%71 = load i32, ptr %14, align 4
%72 = xor i32 %71, %70
store i32 %72, ptr %14, align 4
%73 = load i32, ptr %14, align 4
%74 = mul i32 %73, 1540483477
store i32 %74, ptr %14, align 4
%75 = load i32, ptr %9, align 4
%76 = mul i32 %75, 1540483477
store i32 %76, ptr %9, align 4
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %9, align 4
%79 = xor i32 %78, %77
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %5, align 4
%81 = sub nsw i32 %80, 4
store i32 %81, ptr %5, align 4
br label %82
82: ; preds = %63, %60
%83 = load i32, ptr %5, align 4
switch i32 %83, label %109 [
i32 3, label %84
i32 2, label %92
i32 1, label %100
]
84: ; preds = %82
%85 = load ptr, ptr %11, align 8
%86 = getelementptr inbounds i8, ptr %85, i64 2
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = shl i32 %88, 16
%90 = load i32, ptr %10, align 4
%91 = xor i32 %90, %89
store i32 %91, ptr %10, align 4
br label %92
92: ; preds = %82, %84
%93 = load ptr, ptr %11, align 8
%94 = getelementptr inbounds i8, ptr %93, i64 1
%95 = load i8, ptr %94, align 1
%96 = zext i8 %95 to i32
%97 = shl i32 %96, 8
%98 = load i32, ptr %10, align 4
%99 = xor i32 %98, %97
store i32 %99, ptr %10, align 4
br label %100
100: ; preds = %82, %92
%101 = load ptr, ptr %11, align 8
%102 = getelementptr inbounds i8, ptr %101, i64 0
%103 = load i8, ptr %102, align 1
%104 = zext i8 %103 to i32
%105 = load i32, ptr %10, align 4
%106 = xor i32 %105, %104
store i32 %106, ptr %10, align 4
%107 = load i32, ptr %10, align 4
%108 = mul i32 %107, 1540483477
store i32 %108, ptr %10, align 4
br label %109
109: ; preds = %100, %82
%110 = load i32, ptr %10, align 4
%111 = lshr i32 %110, 18
%112 = load i32, ptr %9, align 4
%113 = xor i32 %112, %111
store i32 %113, ptr %9, align 4
%114 = load i32, ptr %9, align 4
%115 = mul i32 %114, 1540483477
store i32 %115, ptr %9, align 4
%116 = load i32, ptr %9, align 4
%117 = lshr i32 %116, 22
%118 = load i32, ptr %10, align 4
%119 = xor i32 %118, %117
store i32 %119, ptr %10, align 4
%120 = load i32, ptr %10, align 4
%121 = mul i32 %120, 1540483477
store i32 %121, ptr %10, align 4
%122 = load i32, ptr %10, align 4
%123 = lshr i32 %122, 17
%124 = load i32, ptr %9, align 4
%125 = xor i32 %124, %123
store i32 %125, ptr %9, align 4
%126 = load i32, ptr %9, align 4
%127 = mul i32 %126, 1540483477
store i32 %127, ptr %9, align 4
%128 = load i32, ptr %9, align 4
%129 = lshr i32 %128, 19
%130 = load i32, ptr %10, align 4
%131 = xor i32 %130, %129
store i32 %131, ptr %10, align 4
%132 = load i32, ptr %10, align 4
%133 = mul i32 %132, 1540483477
store i32 %133, ptr %10, align 4
%134 = load i32, ptr %9, align 4
%135 = zext i32 %134 to i64
store i64 %135, ptr %15, align 8
%136 = load i64, ptr %15, align 8
%137 = shl i64 %136, 32
%138 = load i32, ptr %10, align 4
%139 = zext i32 %138 to i64
%140 = or i64 %137, %139
store i64 %140, ptr %15, align 8
%141 = load i64, ptr %15, align 8
ret i64 %141
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprk5zz8gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MurmurHash64B(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1540483477, ptr %7, align 4
store i32 24, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = xor i32 %16, %17
store i32 %18, ptr %9, align 4
store i32 0, ptr %10, align 4
%19 = load ptr, ptr %4, align 8
store ptr %19, ptr %11, align 8
%20 = load i32, ptr %5, align 4
%21 = icmp sge i32 %20, 8
br i1 %21, label %.lr.ph, label %61
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %11, align 8
%24 = getelementptr inbounds i32, ptr %23, i32 1
store ptr %24, ptr %11, align 8
%25 = load i32, ptr %23, align 4
store i32 %25, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = mul i32 %26, 1540483477
store i32 %27, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = lshr i32 %28, 24
%30 = load i32, ptr %12, align 4
%31 = xor i32 %30, %29
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %12, align 4
%33 = mul i32 %32, 1540483477
store i32 %33, ptr %12, align 4
%34 = load i32, ptr %9, align 4
%35 = mul i32 %34, 1540483477
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %9, align 4
%38 = xor i32 %37, %36
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %5, align 4
%40 = sub nsw i32 %39, 4
store i32 %40, ptr %5, align 4
%41 = load ptr, ptr %11, align 8
%42 = getelementptr inbounds i32, ptr %41, i32 1
store ptr %42, ptr %11, align 8
%43 = load i32, ptr %41, align 4
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = mul i32 %44, 1540483477
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = lshr i32 %46, 24
%48 = load i32, ptr %13, align 4
%49 = xor i32 %48, %47
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = mul i32 %50, 1540483477
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %10, align 4
%53 = mul i32 %52, 1540483477
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %10, align 4
%56 = xor i32 %55, %54
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %5, align 4
%58 = sub nsw i32 %57, 4
store i32 %58, ptr %5, align 4
%59 = load i32, ptr %5, align 4
%60 = icmp sge i32 %59, 8
br i1 %60, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %61
61: ; preds = %._crit_edge, %3
%62 = load i32, ptr %5, align 4
%63 = icmp sge i32 %62, 4
br i1 %63, label %64, label %83
64: ; preds = %61
%65 = load ptr, ptr %11, align 8
%66 = getelementptr inbounds i32, ptr %65, i32 1
store ptr %66, ptr %11, align 8
%67 = load i32, ptr %65, align 4
store i32 %67, ptr %14, align 4
%68 = load i32, ptr %14, align 4
%69 = mul i32 %68, 1540483477
store i32 %69, ptr %14, align 4
%70 = load i32, ptr %14, align 4
%71 = lshr i32 %70, 24
%72 = load i32, ptr %14, align 4
%73 = xor i32 %72, %71
store i32 %73, ptr %14, align 4
%74 = load i32, ptr %14, align 4
%75 = mul i32 %74, 1540483477
store i32 %75, ptr %14, align 4
%76 = load i32, ptr %9, align 4
%77 = mul i32 %76, 1540483477
store i32 %77, ptr %9, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %9, align 4
%80 = xor i32 %79, %78
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %5, align 4
%82 = sub nsw i32 %81, 4
store i32 %82, ptr %5, align 4
br label %83
83: ; preds = %64, %61
%84 = load i32, ptr %5, align 4
switch i32 %84, label %110 [
i32 3, label %85
i32 2, label %93
i32 1, label %101
]
85: ; preds = %83
%86 = load ptr, ptr %11, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 2
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = shl i32 %89, 16
%91 = load i32, ptr %10, align 4
%92 = xor i32 %91, %90
store i32 %92, ptr %10, align 4
br label %93
93: ; preds = %85, %83
%94 = load ptr, ptr %11, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 1
%96 = load i8, ptr %95, align 1
%97 = zext i8 %96 to i32
%98 = shl i32 %97, 8
%99 = load i32, ptr %10, align 4
%100 = xor i32 %99, %98
store i32 %100, ptr %10, align 4
br label %101
101: ; preds = %93, %83
%102 = load ptr, ptr %11, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 0
%104 = load i8, ptr %103, align 1
%105 = zext i8 %104 to i32
%106 = load i32, ptr %10, align 4
%107 = xor i32 %106, %105
store i32 %107, ptr %10, align 4
%108 = load i32, ptr %10, align 4
%109 = mul i32 %108, 1540483477
store i32 %109, ptr %10, align 4
br label %110
110: ; preds = %101, %83
%111 = load i32, ptr %10, align 4
%112 = lshr i32 %111, 18
%113 = load i32, ptr %9, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %9, align 4
%115 = load i32, ptr %9, align 4
%116 = mul i32 %115, 1540483477
store i32 %116, ptr %9, align 4
%117 = load i32, ptr %9, align 4
%118 = lshr i32 %117, 22
%119 = load i32, ptr %10, align 4
%120 = xor i32 %119, %118
store i32 %120, ptr %10, align 4
%121 = load i32, ptr %10, align 4
%122 = mul i32 %121, 1540483477
store i32 %122, ptr %10, align 4
%123 = load i32, ptr %10, align 4
%124 = lshr i32 %123, 17
%125 = load i32, ptr %9, align 4
%126 = xor i32 %125, %124
store i32 %126, ptr %9, align 4
%127 = load i32, ptr %9, align 4
%128 = mul i32 %127, 1540483477
store i32 %128, ptr %9, align 4
%129 = load i32, ptr %9, align 4
%130 = lshr i32 %129, 19
%131 = load i32, ptr %10, align 4
%132 = xor i32 %131, %130
store i32 %132, ptr %10, align 4
%133 = load i32, ptr %10, align 4
%134 = mul i32 %133, 1540483477
store i32 %134, ptr %10, align 4
%135 = load i32, ptr %9, align 4
%136 = zext i32 %135 to i64
store i64 %136, ptr %15, align 8
%137 = load i64, ptr %15, align 8
%138 = shl i64 %137, 32
%139 = load i32, ptr %10, align 4
%140 = zext i32 %139 to i64
%141 = or i64 %138, %140
store i64 %141, ptr %15, align 8
%142 = load i64, ptr %15, align 8
ret i64 %142
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprcs17z59.c'
source_filename = "/tmp/tmprcs17z59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_integer_input() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
store i32 666, ptr %1, align 4
%3 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @read_line(ptr noundef %3, i32 noundef 5, i32 noundef %4)
%6 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @atoi(ptr noundef %6)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @read_line(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprcs17z59.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_integer_input() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i8], align 1
store i32 666, ptr %1, align 4
%3 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @read_line(ptr noundef %3, i32 noundef 5, i32 noundef %4)
%6 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @atoi(ptr noundef %6)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @read_line(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybagu4ud.c'
source_filename = "/tmp/tmpybagu4ud.c"
target datalayout = "e-m:e-p270: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/tmpybagu4ud.c"
target datalayout = "e-m:e-p270: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/tmp9wcepxmm.c'
source_filename = "/tmp/tmp9wcepxmm.c"
target datalayout = "e-m:e-p270: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/tmp9wcepxmm.c"
target datalayout = "e-m:e-p270: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/tmp3clv1foa.c'
source_filename = "/tmp/tmp3clv1foa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_tfsopen(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call i32 (...) @monLock()
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @_tfsopen(ptr noundef %9, i64 noundef %10, ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @monUnlock()
%14 = load i32, ptr %7, align 4
ret i32 %14
}
declare i32 @monLock(...) #1
declare i32 @_tfsopen(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @monUnlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3clv1foa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_tfsopen(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = call i32 (...) @monLock()
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @_tfsopen(ptr noundef %9, i64 noundef %10, ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @monUnlock()
%14 = load i32, ptr %7, align 4
ret i32 %14
}
declare i32 @monLock(...) #1
declare i32 @_tfsopen(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @monUnlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8cxdh1c.c'
source_filename = "/tmp/tmps8cxdh1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENXIO = 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/tmps8cxdh1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENXIO = 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/tmpvmgcoqy6.c'
source_filename = "/tmp/tmpvmgcoqy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_asm()
%3 = call i32 @test_phi(i32 noundef 1)
ret i32 0
}
declare i32 @test_asm(...) #1
declare i32 @test_phi(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/tmpvmgcoqy6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_asm()
%3 = call i32 @test_phi(i32 noundef 1)
ret i32 0
}
declare i32 @test_asm(...) #1
declare i32 @test_phi(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/tmp80raaoo6.c'
source_filename = "/tmp/tmp80raaoo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inotifytools_printf(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 @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @inotifytools_fprintf(i32 noundef %5, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @inotifytools_fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80raaoo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inotifytools_printf(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 @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @inotifytools_fprintf(i32 noundef %5, ptr noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @inotifytools_fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4psnk2mb.c'
source_filename = "/tmp/tmp4psnk2mb.c"
target datalayout = "e-m:e-p270: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/tmp4psnk2mb.c"
target datalayout = "e-m:e-p270: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/tmphlfjzibm.c'
source_filename = "/tmp/tmphlfjzibm.c"
target datalayout = "e-m:e-p270: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/tmphlfjzibm.c"
target datalayout = "e-m:e-p270: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/tmpmua41dz_.c'
source_filename = "/tmp/tmpmua41dz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @bar(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %6
ret i32 0
12: ; preds = %6
br label %13
13: ; preds = %12, %0
%14 = call i32 (...) @abort() #3
unreachable
}
declare i64 @bar(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmua41dz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @bar(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %6
ret i32 0
12: ; preds = %6
br label %13
13: ; preds = %12, %0
%14 = call i32 (...) @abort() #3
unreachable
}
declare i64 @bar(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptqaqu8dh.c'
source_filename = "/tmp/tmptqaqu8dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Simple Function Example 4\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 1.630000e+01, ptr %2, align 8
store double 9.823000e+01, ptr %3, align 8
store double 3.210000e+01, ptr %4, align 8
store double -3.200000e+00, ptr %5, align 8
store double 5.550000e+00, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load double, ptr %2, align 8
%9 = fptosi double %8 to i32
%10 = load double, ptr %3, align 8
%11 = fptosi double %10 to i32
%12 = load double, ptr %4, align 8
%13 = fptosi double %12 to i32
%14 = load double, ptr %5, align 8
%15 = fptosi double %14 to i32
%16 = call i32 @displaySumSmallest(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15)
%17 = call i32 @displaySumSmallest(i32 noundef 1, i32 noundef 4, i32 noundef -2, i32 noundef -10)
%18 = load double, ptr %5, align 8
%19 = fptosi double %18 to i32
%20 = load double, ptr %5, align 8
%21 = fptosi double %20 to i32
%22 = load double, ptr %5, align 8
%23 = fptosi double %22 to i32
%24 = load double, ptr %6, align 8
%25 = fptosi double %24 to i32
%26 = call i32 @displaySumSmallest(i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load double, ptr %5, align 8
%28 = load double, ptr %6, align 8
%29 = fadd double %27, %28
%30 = fptosi double %29 to i32
%31 = load double, ptr %4, align 8
%32 = load double, ptr %3, align 8
%33 = fsub double %31, %32
%34 = fptosi double %33 to i32
%35 = call i32 @displaySumSmallest(i32 noundef %30, i32 noundef 3, i32 noundef %34, i32 noundef 0)
%36 = call i32 @displaySumSmallest(i32 noundef 4, i32 noundef 3, i32 noundef 2, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @displaySumSmallest(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptqaqu8dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Simple Function Example 4\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 1.630000e+01, ptr %2, align 8
store double 9.823000e+01, ptr %3, align 8
store double 3.210000e+01, ptr %4, align 8
store double -3.200000e+00, ptr %5, align 8
store double 5.550000e+00, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load double, ptr %2, align 8
%9 = fptosi double %8 to i32
%10 = load double, ptr %3, align 8
%11 = fptosi double %10 to i32
%12 = load double, ptr %4, align 8
%13 = fptosi double %12 to i32
%14 = load double, ptr %5, align 8
%15 = fptosi double %14 to i32
%16 = call i32 @displaySumSmallest(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15)
%17 = call i32 @displaySumSmallest(i32 noundef 1, i32 noundef 4, i32 noundef -2, i32 noundef -10)
%18 = load double, ptr %5, align 8
%19 = fptosi double %18 to i32
%20 = load double, ptr %5, align 8
%21 = fptosi double %20 to i32
%22 = load double, ptr %5, align 8
%23 = fptosi double %22 to i32
%24 = load double, ptr %6, align 8
%25 = fptosi double %24 to i32
%26 = call i32 @displaySumSmallest(i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load double, ptr %5, align 8
%28 = load double, ptr %6, align 8
%29 = fadd double %27, %28
%30 = fptosi double %29 to i32
%31 = load double, ptr %4, align 8
%32 = load double, ptr %3, align 8
%33 = fsub double %31, %32
%34 = fptosi double %33 to i32
%35 = call i32 @displaySumSmallest(i32 noundef %30, i32 noundef 3, i32 noundef %34, i32 noundef 0)
%36 = call i32 @displaySumSmallest(i32 noundef 4, i32 noundef 3, i32 noundef 2, i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @displaySumSmallest(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ho2mokx.c'
source_filename = "/tmp/tmp0ho2mokx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @TruncateNames(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [32 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %51, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %54
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %26, label %18
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call ptr @strtok(ptr noundef %23, ptr noundef @.str)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %50
26: ; preds = %18, %11
%27 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%28 = load i32, ptr %5, align 4
%29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.1, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %26
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @free(ptr noundef %41)
br label %43
43: ; preds = %36, %26
%44 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%45 = call ptr @Strdup(ptr noundef %44)
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
store ptr %45, ptr %49, align 8
br label %50
50: ; preds = %43, %18
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %7, !llvm.loop !6
54: ; preds = %7
ret i32 1
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @Strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ho2mokx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @TruncateNames(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [32 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %56
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %50
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %25, label %17
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call ptr @strtok(ptr noundef %22, ptr noundef @.str)
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %49
25: ; preds = %17, %10
%26 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%27 = load i32, ptr %5, align 4
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.1, i32 noundef %27)
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %42
35: ; preds = %25
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = call i32 @free(ptr noundef %40)
br label %42
42: ; preds = %35, %25
%43 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0
%44 = call ptr @Strdup(ptr noundef %43)
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
store ptr %44, ptr %48, align 8
br label %49
49: ; preds = %42, %17
br label %50
50: ; preds = %49
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %2
ret i32 1
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @Strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvj5asm6m.c'
source_filename = "/tmp/tmpvj5asm6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BIO_FLAGS_BASE64_NO_NL = 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/tmpvj5asm6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BIO_FLAGS_BASE64_NO_NL = 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/tmpjnh48p2l.c'
source_filename = "/tmp/tmpjnh48p2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"file1.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@EOF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @putc(i32 noundef 65, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp eq i32 %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @putc(i32 noundef 66, ptr noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @fclose(ptr noundef %19)
%21 = load i32, ptr @errno, align 4
ret i32 %21
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @assert(i32 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/tmpjnh48p2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"file1.txt\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@EOF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @putc(i32 noundef 65, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp eq i32 %7, %8
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @putc(i32 noundef 66, ptr noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp eq i32 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @fclose(ptr noundef %19)
%21 = load i32, ptr @errno, align 4
ret i32 %21
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @putc(i32 noundef, ptr noundef) #1
declare i32 @assert(i32 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/tmpmdbam7rb.c'
source_filename = "/tmp/tmpmdbam7rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_mul(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca [256 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 16, ptr %9, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %37, %3
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 128
br i1 %19, label %20, label %40
20: ; preds = %17
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sdiv i32 %22, 8
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = load i32, ptr %7, align 4
%29 = srem i32 %28, 8
%30 = sub nsw i32 7, %29
%31 = ashr i32 %27, %30
%32 = and i32 %31, 1
%33 = trunc i32 %32 to i8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 %35
store i8 %33, ptr %36, align 1
br label %37
37: ; preds = %20
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %17, !llvm.loop !6
40: ; preds = %17
store i32 0, ptr %7, align 4
br label %41
41: ; preds = %61, %40
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 128
br i1 %43, label %44, label %64
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = sdiv i32 %46, 8
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i32, ptr %7, align 4
%53 = srem i32 %52, 8
%54 = sub nsw i32 7, %53
%55 = ashr i32 %51, %54
%56 = and i32 %55, 1
%57 = trunc i32 %56 to i8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %59
store i8 %57, ptr %60, align 1
br label %61
61: ; preds = %44
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %41, !llvm.loop !8
64: ; preds = %41
store i32 0, ptr %7, align 4
br label %65
65: ; preds = %72, %64
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %66, 256
br i1 %67, label %68, label %75
68: ; preds = %65
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %70
store i8 0, ptr %71, align 1
br label %72
72: ; preds = %68
%73 = load i32, ptr %7, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %7, align 4
br label %65, !llvm.loop !9
75: ; preds = %65
store i32 0, ptr %7, align 4
br label %76
76: ; preds = %108, %75
%77 = load i32, ptr %7, align 4
%78 = icmp slt i32 %77, 128
br i1 %78, label %79, label %111
79: ; preds = %76
store i32 0, ptr %8, align 4
br label %80
80: ; preds = %104, %79
%81 = load i32, ptr %8, align 4
%82 = icmp slt i32 %81, 128
br i1 %82, label %83, label %107
83: ; preds = %80
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 %85
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = and i32 %88, %93
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %95, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %98
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = xor i32 %101, %94
%103 = trunc i32 %102 to i8
store i8 %103, ptr %99, align 1
br label %104
104: ; preds = %83
%105 = load i32, ptr %8, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %8, align 4
br label %80, !llvm.loop !10
107: ; preds = %80
br label %108
108: ; preds = %107
%109 = load i32, ptr %7, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %7, align 4
br label %76, !llvm.loop !11
111: ; preds = %76
store i32 127, ptr %7, align 4
br label %112
112: ; preds = %185, %111
%113 = load i32, ptr %7, align 4
%114 = icmp sge i32 %113, 0
br i1 %114, label %115, label %188
115: ; preds = %112
%116 = load i32, ptr %7, align 4
%117 = add nsw i32 %116, 128
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %118
%120 = load i8, ptr %119, align 1
%121 = zext i8 %120 to i32
%122 = load i32, ptr %7, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %123
%125 = load i8, ptr %124, align 1
%126 = zext i8 %125 to i32
%127 = xor i32 %126, %121
%128 = trunc i32 %127 to i8
store i8 %128, ptr %124, align 1
%129 = load i32, ptr %7, align 4
%130 = add nsw i32 %129, 128
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %131
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i32
%135 = load i32, ptr %7, align 4
%136 = add nsw i32 %135, 1
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %137
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
%141 = xor i32 %140, %134
%142 = trunc i32 %141 to i8
store i8 %142, ptr %138, align 1
%143 = load i32, ptr %7, align 4
%144 = add nsw i32 %143, 128
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %145
%147 = load i8, ptr %146, align 1
%148 = zext i8 %147 to i32
%149 = load i32, ptr %7, align 4
%150 = add nsw i32 %149, 2
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %151
%153 = load i8, ptr %152, align 1
%154 = zext i8 %153 to i32
%155 = xor i32 %154, %148
%156 = trunc i32 %155 to i8
store i8 %156, ptr %152, align 1
%157 = load i32, ptr %7, align 4
%158 = add nsw i32 %157, 128
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = zext i8 %161 to i32
%163 = load i32, ptr %7, align 4
%164 = add nsw i32 %163, 7
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %165
%167 = load i8, ptr %166, align 1
%168 = zext i8 %167 to i32
%169 = xor i32 %168, %162
%170 = trunc i32 %169 to i8
store i8 %170, ptr %166, align 1
%171 = load i32, ptr %7, align 4
%172 = add nsw i32 %171, 128
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %173
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = load i32, ptr %7, align 4
%178 = add nsw i32 %177, 128
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %179
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = xor i32 %182, %176
%184 = trunc i32 %183 to i8
store i8 %184, ptr %180, align 1
br label %185
185: ; preds = %115
%186 = load i32, ptr %7, align 4
%187 = add nsw i32 %186, -1
store i32 %187, ptr %7, align 4
br label %112, !llvm.loop !12
188: ; preds = %112
store i32 0, ptr %7, align 4
br label %189
189: ; preds = %197, %188
%190 = load i32, ptr %7, align 4
%191 = icmp slt i32 %190, 16
br i1 %191, label %192, label %200
192: ; preds = %189
%193 = load ptr, ptr %4, align 8
%194 = load i32, ptr %7, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i8, ptr %193, i64 %195
store i8 0, ptr %196, align 1
br label %197
197: ; preds = %192
%198 = load i32, ptr %7, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %7, align 4
br label %189, !llvm.loop !13
200: ; preds = %189
store i32 0, ptr %7, align 4
br label %201
201: ; preds = %223, %200
%202 = load i32, ptr %7, align 4
%203 = icmp slt i32 %202, 128
br i1 %203, label %204, label %226
204: ; preds = %201
%205 = load i32, ptr %7, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %206
%208 = load i8, ptr %207, align 1
%209 = zext i8 %208 to i32
%210 = load i32, ptr %7, align 4
%211 = srem i32 %210, 8
%212 = sub nsw i32 7, %211
%213 = shl i32 %209, %212
%214 = load ptr, ptr %4, align 8
%215 = load i32, ptr %7, align 4
%216 = sdiv i32 %215, 8
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds i8, ptr %214, i64 %217
%219 = load i8, ptr %218, align 1
%220 = zext i8 %219 to i32
%221 = or i32 %220, %213
%222 = trunc i32 %221 to i8
store i8 %222, ptr %218, align 1
br label %223
223: ; preds = %204
%224 = load i32, ptr %7, align 4
%225 = add nsw i32 %224, 1
store i32 %225, ptr %7, align 4
br label %201, !llvm.loop !14
226: ; preds = %201
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmdbam7rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_mul(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca [256 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 16, ptr %9, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
store i32 0, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 128
br i1 %18, label %.lr.ph, label %41
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %36
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sdiv i32 %21, 8
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = load i32, ptr %7, align 4
%28 = srem i32 %27, 8
%29 = sub nsw i32 7, %28
%30 = ashr i32 %26, %29
%31 = and i32 %30, 1
%32 = trunc i32 %31 to i8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 %34
store i8 %32, ptr %35, align 1
br label %36
36: ; preds = %19
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %39, 128
br i1 %40, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %3
store i32 0, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 128
br i1 %43, label %.lr.ph2, label %66
.lr.ph2: ; preds = %41
br label %44
44: ; preds = %.lr.ph2, %61
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = sdiv i32 %46, 8
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %45, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i32, ptr %7, align 4
%53 = srem i32 %52, 8
%54 = sub nsw i32 7, %53
%55 = ashr i32 %51, %54
%56 = and i32 %55, 1
%57 = trunc i32 %56 to i8
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %59
store i8 %57, ptr %60, align 1
br label %61
61: ; preds = %44
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %64, 128
br i1 %65, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %66
66: ; preds = %._crit_edge3, %41
store i32 0, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp slt i32 %67, 256
br i1 %68, label %.lr.ph5, label %78
.lr.ph5: ; preds = %66
br label %69
69: ; preds = %.lr.ph5, %73
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %71
store i8 0, ptr %72, align 1
br label %73
73: ; preds = %69
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
%76 = load i32, ptr %7, align 4
%77 = icmp slt i32 %76, 256
br i1 %77, label %69, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %73
br label %78
78: ; preds = %._crit_edge6, %66
store i32 0, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %79, 128
br i1 %80, label %.lr.ph11, label %116
.lr.ph11: ; preds = %78
br label %81
81: ; preds = %.lr.ph11, %111
store i32 0, ptr %8, align 4
%82 = load i32, ptr %8, align 4
%83 = icmp slt i32 %82, 128
br i1 %83, label %.lr.ph8, label %110
.lr.ph8: ; preds = %81
br label %84
84: ; preds = %.lr.ph8, %105
%85 = load i32, ptr %7, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 %86
%88 = load i8, ptr %87, align 1
%89 = zext i8 %88 to i32
%90 = load i32, ptr %8, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = and i32 %89, %94
%96 = load i32, ptr %7, align 4
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = zext i8 %101 to i32
%103 = xor i32 %102, %95
%104 = trunc i32 %103 to i8
store i8 %104, ptr %100, align 1
br label %105
105: ; preds = %84
%106 = load i32, ptr %8, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %8, align 4
%108 = load i32, ptr %8, align 4
%109 = icmp slt i32 %108, 128
br i1 %109, label %84, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %105
br label %110
110: ; preds = %._crit_edge9, %81
br label %111
111: ; preds = %110
%112 = load i32, ptr %7, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %7, align 4
%114 = load i32, ptr %7, align 4
%115 = icmp slt i32 %114, 128
br i1 %115, label %81, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %111
br label %116
116: ; preds = %._crit_edge12, %78
store i32 127, ptr %7, align 4
%117 = load i32, ptr %7, align 4
%118 = icmp sge i32 %117, 0
br i1 %118, label %.lr.ph14, label %194
.lr.ph14: ; preds = %116
br label %119
119: ; preds = %.lr.ph14, %189
%120 = load i32, ptr %7, align 4
%121 = add nsw i32 %120, 128
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %122
%124 = load i8, ptr %123, align 1
%125 = zext i8 %124 to i32
%126 = load i32, ptr %7, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %127
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = xor i32 %130, %125
%132 = trunc i32 %131 to i8
store i8 %132, ptr %128, align 1
%133 = load i32, ptr %7, align 4
%134 = add nsw i32 %133, 128
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %135
%137 = load i8, ptr %136, align 1
%138 = zext i8 %137 to i32
%139 = load i32, ptr %7, align 4
%140 = add nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %141
%143 = load i8, ptr %142, align 1
%144 = zext i8 %143 to i32
%145 = xor i32 %144, %138
%146 = trunc i32 %145 to i8
store i8 %146, ptr %142, align 1
%147 = load i32, ptr %7, align 4
%148 = add nsw i32 %147, 128
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %149
%151 = load i8, ptr %150, align 1
%152 = zext i8 %151 to i32
%153 = load i32, ptr %7, align 4
%154 = add nsw i32 %153, 2
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %155
%157 = load i8, ptr %156, align 1
%158 = zext i8 %157 to i32
%159 = xor i32 %158, %152
%160 = trunc i32 %159 to i8
store i8 %160, ptr %156, align 1
%161 = load i32, ptr %7, align 4
%162 = add nsw i32 %161, 128
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %163
%165 = load i8, ptr %164, align 1
%166 = zext i8 %165 to i32
%167 = load i32, ptr %7, align 4
%168 = add nsw i32 %167, 7
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %169
%171 = load i8, ptr %170, align 1
%172 = zext i8 %171 to i32
%173 = xor i32 %172, %166
%174 = trunc i32 %173 to i8
store i8 %174, ptr %170, align 1
%175 = load i32, ptr %7, align 4
%176 = add nsw i32 %175, 128
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %177
%179 = load i8, ptr %178, align 1
%180 = zext i8 %179 to i32
%181 = load i32, ptr %7, align 4
%182 = add nsw i32 %181, 128
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %183
%185 = load i8, ptr %184, align 1
%186 = zext i8 %185 to i32
%187 = xor i32 %186, %180
%188 = trunc i32 %187 to i8
store i8 %188, ptr %184, align 1
br label %189
189: ; preds = %119
%190 = load i32, ptr %7, align 4
%191 = add nsw i32 %190, -1
store i32 %191, ptr %7, align 4
%192 = load i32, ptr %7, align 4
%193 = icmp sge i32 %192, 0
br i1 %193, label %119, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %189
br label %194
194: ; preds = %._crit_edge15, %116
store i32 0, ptr %7, align 4
%195 = load i32, ptr %7, align 4
%196 = icmp slt i32 %195, 16
br i1 %196, label %.lr.ph17, label %207
.lr.ph17: ; preds = %194
br label %197
197: ; preds = %.lr.ph17, %202
%198 = load ptr, ptr %4, align 8
%199 = load i32, ptr %7, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i8, ptr %198, i64 %200
store i8 0, ptr %201, align 1
br label %202
202: ; preds = %197
%203 = load i32, ptr %7, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %7, align 4
%205 = load i32, ptr %7, align 4
%206 = icmp slt i32 %205, 16
br i1 %206, label %197, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %202
br label %207
207: ; preds = %._crit_edge18, %194
store i32 0, ptr %7, align 4
%208 = load i32, ptr %7, align 4
%209 = icmp slt i32 %208, 128
br i1 %209, label %.lr.ph20, label %234
.lr.ph20: ; preds = %207
br label %210
210: ; preds = %.lr.ph20, %229
%211 = load i32, ptr %7, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 %212
%214 = load i8, ptr %213, align 1
%215 = zext i8 %214 to i32
%216 = load i32, ptr %7, align 4
%217 = srem i32 %216, 8
%218 = sub nsw i32 7, %217
%219 = shl i32 %215, %218
%220 = load ptr, ptr %4, align 8
%221 = load i32, ptr %7, align 4
%222 = sdiv i32 %221, 8
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, ptr %220, i64 %223
%225 = load i8, ptr %224, align 1
%226 = zext i8 %225 to i32
%227 = or i32 %226, %219
%228 = trunc i32 %227 to i8
store i8 %228, ptr %224, align 1
br label %229
229: ; preds = %210
%230 = load i32, ptr %7, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %7, align 4
%232 = load i32, ptr %7, align 4
%233 = icmp slt i32 %232, 128
br i1 %233, label %210, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %229
br label %234
234: ; preds = %._crit_edge21, %207
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpgg_m2rz_.c'
source_filename = "/tmp/tmpgg_m2rz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Server protocol error 0\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Server protocol error 2\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Server protocol error 3\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Server protocol error 4\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @receiveHello(i32 noundef %0, ptr 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 [4 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 (i32, ...) @read(i32 noundef %10, ptr noundef %8, i32 noundef 4)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 4
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @fatalError(ptr noundef @.str)
br label %16
16: ; preds = %14, %2
%17 = load i32, ptr %3, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef %9, i32 noundef 4)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @fatalError(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %16
%23 = load i32, ptr %3, align 4
%24 = call i32 (i32, ...) @read(i32 noundef %23, ptr noundef %8, i32 noundef 4)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 4
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @fatalError(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %22
%30 = load i32, ptr %3, align 4
%31 = call i32 @write(i32 noundef %30, ptr noundef %9, i32 noundef 4)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @fatalError(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %29
%36 = load i32, ptr %8, align 4
%37 = icmp ne i32 %36, 1
br i1 %37, label %38, label %60
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 1
%42 = add i64 %41, 1
%43 = trunc i64 %42 to i32
%44 = call i64 @malloc(i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
%46 = load ptr, ptr %4, align 8
store ptr %45, ptr %46, align 8
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %47, align 8
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %52
50: ; preds = %38
%51 = call i32 @perror(ptr noundef @.str.4)
br label %52
52: ; preds = %50, %38
%53 = load i32, ptr %3, align 4
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %8, align 4
%57 = call i32 (i32, ...) @read(i32 noundef %53, ptr noundef %55, i32 noundef %56)
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %3, align 4
%59 = call i32 @write(i32 noundef %58, ptr noundef %9, i32 noundef 4)
br label %60
60: ; preds = %52, %35
ret i32 0
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @fatalError(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgg_m2rz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Server protocol error 0\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Server protocol error 2\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Server protocol error 3\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Server protocol error 4\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @receiveHello(i32 noundef %0, ptr 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 [4 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 (i32, ...) @read(i32 noundef %10, ptr noundef %8, i32 noundef 4)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %12, 4
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @fatalError(ptr noundef @.str)
br label %16
16: ; preds = %14, %2
%17 = load i32, ptr %3, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef %9, i32 noundef 4)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @fatalError(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %16
%23 = load i32, ptr %3, align 4
%24 = call i32 (i32, ...) @read(i32 noundef %23, ptr noundef %8, i32 noundef 4)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 4
br i1 %26, label %27, label %29
27: ; preds = %22
%28 = call i32 @fatalError(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %22
%30 = load i32, ptr %3, align 4
%31 = call i32 @write(i32 noundef %30, ptr noundef %9, i32 noundef 4)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @fatalError(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %29
%36 = load i32, ptr %8, align 4
%37 = icmp ne i32 %36, 1
br i1 %37, label %38, label %60
38: ; preds = %35
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 1
%42 = add i64 %41, 1
%43 = trunc i64 %42 to i32
%44 = call i64 @malloc(i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
%46 = load ptr, ptr %4, align 8
store ptr %45, ptr %46, align 8
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %47, align 8
%49 = icmp eq ptr %48, null
br i1 %49, label %50, label %52
50: ; preds = %38
%51 = call i32 @perror(ptr noundef @.str.4)
br label %52
52: ; preds = %50, %38
%53 = load i32, ptr %3, align 4
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %8, align 4
%57 = call i32 (i32, ...) @read(i32 noundef %53, ptr noundef %55, i32 noundef %56)
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %3, align 4
%59 = call i32 @write(i32 noundef %58, ptr noundef %9, i32 noundef 4)
br label %60
60: ; preds = %52, %35
ret i32 0
}
declare i32 @read(i32 noundef, ...) #1
declare i32 @fatalError(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqpdd_fv_.c'
source_filename = "/tmp/tmpqpdd_fv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for W\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x57() #0 {
%1 = call i64 @iscntrl(i32 noundef 87)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 440, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpqpdd_fv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for W\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x57() #0 {
%1 = call i64 @iscntrl(i32 noundef 87)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 440, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpu24eqm6a.c'
source_filename = "/tmp/tmpu24eqm6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_sysconfdir() #0 {
%1 = call ptr @xstrdup(ptr noundef @.str)
ret ptr %1
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu24eqm6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/etc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_sysconfdir() #0 {
%1 = call ptr @xstrdup(ptr noundef @.str)
ret ptr %1
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7t9kks60.c'
source_filename = "/tmp/tmp7t9kks60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Exercicio A - Padr\C3\A3o\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i64 @malloc(i32 noundef 200000000)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = call i64 @malloc(i32 noundef 200000000)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
%11 = call i64 @malloc(i32 noundef 200000000)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = call i64 @malloc(i32 noundef 200000000)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %6, align 8
%15 = call i32 @srand(i32 noundef 424242)
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %56, %0
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 50000000
br i1 %18, label %19, label %59
19: ; preds = %16
%20 = call i64 (...) @rand()
%21 = sitofp i64 %20 to float
%22 = fpext float %21 to double
%23 = fdiv double %22, 1.000000e+07
%24 = fptrunc double %23 to float
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %2, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, ptr %25, i64 %27
store float %24, ptr %28, align 4
%29 = call i64 (...) @rand()
%30 = sitofp i64 %29 to float
%31 = fpext float %30 to double
%32 = fdiv double %31, 1.000000e+07
%33 = fptrunc double %32 to float
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, ptr %34, i64 %36
store float %33, ptr %37, align 4
%38 = call i64 (...) @rand()
%39 = sitofp i64 %38 to float
%40 = fpext float %39 to double
%41 = fdiv double %40, 1.000000e+07
%42 = fptrunc double %41 to float
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
store float %42, ptr %46, align 4
%47 = call i64 (...) @rand()
%48 = sitofp i64 %47 to float
%49 = fpext float %48 to double
%50 = fdiv double %49, 1.000000e+07
%51 = fptrunc double %50 to float
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %2, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
store float %51, ptr %55, align 4
br label %56
56: ; preds = %19
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %2, align 4
br label %16, !llvm.loop !6
59: ; preds = %16
%60 = call i32 (...) @inicializacao()
store i32 1, ptr %2, align 4
br label %61
61: ; preds = %93, %59
%62 = load i32, ptr %2, align 4
%63 = icmp slt i32 %62, 50000000
br i1 %63, label %64, label %96
64: ; preds = %61
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
%69 = load float, ptr %68, align 4
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %70, i64 %72
%74 = load float, ptr %73, align 4
%75 = fadd float %69, %74
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %2, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds float, ptr %76, i64 %78
store float %75, ptr %79, align 4
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %2, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %80, i64 %83
%85 = load float, ptr %84, align 4
%86 = fpext float %85 to double
%87 = fadd double %86, 1.000000e+00
%88 = fptrunc double %87 to float
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %2, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %89, i64 %91
store float %88, ptr %92, align 4
br label %93
93: ; preds = %64
%94 = load i32, ptr %2, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %2, align 4
br label %61, !llvm.loop !8
96: ; preds = %61
%97 = call i32 @avaliacao(ptr noundef @.str, i32 noundef 50000000)
store i32 49999990, ptr %2, align 4
br label %98
98: ; preds = %109, %96
%99 = load i32, ptr %2, align 4
%100 = icmp slt i32 %99, 50000000
br i1 %100, label %101, label %112
101: ; preds = %98
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %2, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
%106 = load float, ptr %105, align 4
%107 = fpext float %106 to double
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %107)
br label %109
109: ; preds = %101
%110 = load i32, ptr %2, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %2, align 4
br label %98, !llvm.loop !9
112: ; preds = %98
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%114 = load ptr, ptr %3, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %4, align 8
%117 = call i32 @free(ptr noundef %116)
%118 = load ptr, ptr %5, align 8
%119 = call i32 @free(ptr noundef %118)
%120 = load ptr, ptr %6, align 8
%121 = call i32 @free(ptr noundef %120)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @inicializacao(...) #1
declare i32 @avaliacao(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7t9kks60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Exercicio A - Padr\C3\A3o\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call i64 @malloc(i32 noundef 200000000)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
%9 = call i64 @malloc(i32 noundef 200000000)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %4, align 8
%11 = call i64 @malloc(i32 noundef 200000000)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
%13 = call i64 @malloc(i32 noundef 200000000)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %6, align 8
%15 = call i32 @srand(i32 noundef 424242)
store i32 0, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 50000000
br i1 %17, label %.lr.ph, label %60
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %55
%19 = call i64 (...) @rand()
%20 = sitofp i64 %19 to float
%21 = fpext float %20 to double
%22 = fdiv double %21, 1.000000e+07
%23 = fptrunc double %22 to float
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %24, i64 %26
store float %23, ptr %27, align 4
%28 = call i64 (...) @rand()
%29 = sitofp i64 %28 to float
%30 = fpext float %29 to double
%31 = fdiv double %30, 1.000000e+07
%32 = fptrunc double %31 to float
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %2, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %33, i64 %35
store float %32, ptr %36, align 4
%37 = call i64 (...) @rand()
%38 = sitofp i64 %37 to float
%39 = fpext float %38 to double
%40 = fdiv double %39, 1.000000e+07
%41 = fptrunc double %40 to float
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %42, i64 %44
store float %41, ptr %45, align 4
%46 = call i64 (...) @rand()
%47 = sitofp i64 %46 to float
%48 = fpext float %47 to double
%49 = fdiv double %48, 1.000000e+07
%50 = fptrunc double %49 to float
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %2, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
store float %50, ptr %54, align 4
br label %55
55: ; preds = %18
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %2, align 4
%58 = load i32, ptr %2, align 4
%59 = icmp slt i32 %58, 50000000
br i1 %59, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %60
60: ; preds = %._crit_edge, %0
%61 = call i32 (...) @inicializacao()
store i32 1, ptr %2, align 4
%62 = load i32, ptr %2, align 4
%63 = icmp slt i32 %62, 50000000
br i1 %63, label %.lr.ph2, label %98
.lr.ph2: ; preds = %60
br label %64
64: ; preds = %.lr.ph2, %93
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
%69 = load float, ptr %68, align 4
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds float, ptr %70, i64 %72
%74 = load float, ptr %73, align 4
%75 = fadd float %69, %74
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %2, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds float, ptr %76, i64 %78
store float %75, ptr %79, align 4
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %2, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %80, i64 %83
%85 = load float, ptr %84, align 4
%86 = fpext float %85 to double
%87 = fadd double %86, 1.000000e+00
%88 = fptrunc double %87 to float
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %2, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %89, i64 %91
store float %88, ptr %92, align 4
br label %93
93: ; preds = %64
%94 = load i32, ptr %2, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %2, align 4
%96 = load i32, ptr %2, align 4
%97 = icmp slt i32 %96, 50000000
br i1 %97, label %64, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %93
br label %98
98: ; preds = %._crit_edge3, %60
%99 = call i32 @avaliacao(ptr noundef @.str, i32 noundef 50000000)
store i32 49999990, ptr %2, align 4
%100 = load i32, ptr %2, align 4
%101 = icmp slt i32 %100, 50000000
br i1 %101, label %.lr.ph5, label %115
.lr.ph5: ; preds = %98
br label %102
102: ; preds = %.lr.ph5, %110
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %2, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %103, i64 %105
%107 = load float, ptr %106, align 4
%108 = fpext float %107 to double
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %108)
br label %110
110: ; preds = %102
%111 = load i32, ptr %2, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %2, align 4
%113 = load i32, ptr %2, align 4
%114 = icmp slt i32 %113, 50000000
br i1 %114, label %102, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %110
br label %115
115: ; preds = %._crit_edge6, %98
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%117 = load ptr, ptr %3, align 8
%118 = call i32 @free(ptr noundef %117)
%119 = load ptr, ptr %4, align 8
%120 = call i32 @free(ptr noundef %119)
%121 = load ptr, ptr %5, align 8
%122 = call i32 @free(ptr noundef %121)
%123 = load ptr, ptr %6, align 8
%124 = call i32 @free(ptr noundef %123)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @rand(...) #1
declare i32 @inicializacao(...) #1
declare i32 @avaliacao(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3pwzbggu.c'
source_filename = "/tmp/tmp3pwzbggu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call7i(i64 noundef %0, i32 noundef %1, i8 noundef signext %2, i32 noundef %3, i16 noundef signext %4, i64 noundef %5, float noundef %6, i8 noundef zeroext %7, double noundef %8, i16 noundef zeroext %9) #0 {
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i16, align 2
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca i8, align 1
%19 = alloca double, align 8
%20 = alloca i16, align 2
store i64 %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store i8 %2, ptr %13, align 1
store i32 %3, ptr %14, align 4
store i16 %4, ptr %15, align 2
store i64 %5, ptr %16, align 8
store float %6, ptr %17, align 4
store i8 %7, ptr %18, align 1
store double %8, ptr %19, align 8
store i16 %9, ptr %20, align 2
%21 = load i32, ptr %12, align 4
%22 = load i8, ptr %13, align 1
%23 = load i32, ptr %14, align 4
%24 = load i16, ptr %15, align 2
%25 = load i64, ptr %16, align 8
%26 = load float, ptr %17, align 4
%27 = load i8, ptr %18, align 1
%28 = load double, ptr %19, align 8
%29 = load i16, ptr %20, align 2
%30 = load i64, ptr %11, align 8
%31 = call i32 @call7j(i32 noundef %21, i8 noundef signext %22, i32 noundef %23, i16 noundef signext %24, i64 noundef %25, float noundef %26, i8 noundef zeroext %27, double noundef %28, i16 noundef zeroext %29, i64 noundef %30)
ret void
}
declare i32 @call7j(i32 noundef, i8 noundef signext, i32 noundef, i16 noundef signext, i64 noundef, float noundef, i8 noundef zeroext, double noundef, i16 noundef zeroext, 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/tmp3pwzbggu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call7i(i64 noundef %0, i32 noundef %1, i8 noundef signext %2, i32 noundef %3, i16 noundef signext %4, i64 noundef %5, float noundef %6, i8 noundef zeroext %7, double noundef %8, i16 noundef zeroext %9) #0 {
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i32, align 4
%15 = alloca i16, align 2
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca i8, align 1
%19 = alloca double, align 8
%20 = alloca i16, align 2
store i64 %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store i8 %2, ptr %13, align 1
store i32 %3, ptr %14, align 4
store i16 %4, ptr %15, align 2
store i64 %5, ptr %16, align 8
store float %6, ptr %17, align 4
store i8 %7, ptr %18, align 1
store double %8, ptr %19, align 8
store i16 %9, ptr %20, align 2
%21 = load i32, ptr %12, align 4
%22 = load i8, ptr %13, align 1
%23 = load i32, ptr %14, align 4
%24 = load i16, ptr %15, align 2
%25 = load i64, ptr %16, align 8
%26 = load float, ptr %17, align 4
%27 = load i8, ptr %18, align 1
%28 = load double, ptr %19, align 8
%29 = load i16, ptr %20, align 2
%30 = load i64, ptr %11, align 8
%31 = call i32 @call7j(i32 noundef %21, i8 noundef signext %22, i32 noundef %23, i16 noundef signext %24, i64 noundef %25, float noundef %26, i8 noundef zeroext %27, double noundef %28, i16 noundef zeroext %29, i64 noundef %30)
ret void
}
declare i32 @call7j(i32 noundef, i8 noundef signext, i32 noundef, i16 noundef signext, i64 noundef, float noundef, i8 noundef zeroext, double noundef, i16 noundef zeroext, 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/tmpsujwti_6.c'
source_filename = "/tmp/tmpsujwti_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsujwti_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 10, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphqux70pr.c'
source_filename = "/tmp/tmphqux70pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitargs(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [32 x i8], align 16
%9 = alloca i32, align 4
%10 = 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 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %61, %3
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %15, label %64
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 48, %18
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 57
br i1 %24, label %33, label %25
25: ; preds = %20, %15
%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 %40
30: ; preds = %25
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %30, %20
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %38
store i8 %35, ptr %39, align 1
br label %61
40: ; preds = %30, %25
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %60
43: ; preds = %40
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp sge i32 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i32, ptr %10, align 4
store i32 %48, ptr %4, align 4
br label %66
49: ; preds = %43
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %51
store i8 0, ptr %52, align 1
%53 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%54 = call i32 @atoi(ptr noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
store i32 %54, ptr %59, align 4
store i32 0, ptr %9, align 4
br label %60
60: ; preds = %49, %40
br label %61
61: ; preds = %60, %33
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %5, align 8
br label %11, !llvm.loop !6
64: ; preds = %11
%65 = load i32, ptr %10, align 4
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %64, %47
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphqux70pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @splitargs(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [32 x i8], align 16
%9 = alloca i32, align 4
%10 = 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 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %.lr.ph, label %66
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %60
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 48, %17
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 57
br i1 %23, label %32, label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 45
br i1 %28, label %29, label %39
29: ; preds = %24
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %29, %19
%33 = load ptr, ptr %5, align 8
%34 = load i8, ptr %33, align 1
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %37
store i8 %34, ptr %38, align 1
br label %60
39: ; preds = %29, %24
%40 = load i32, ptr %9, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %59
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = load i32, ptr %10, align 4
store i32 %47, ptr %4, align 4
br label %68
48: ; preds = %42
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 %50
store i8 0, ptr %51, align 1
%52 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%53 = call i32 @atoi(ptr noundef %52)
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
store i32 %53, ptr %58, align 4
store i32 0, ptr %9, align 4
br label %59
59: ; preds = %48, %39
br label %60
60: ; preds = %59, %32
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
%63 = load ptr, ptr %5, align 8
%64 = load i8, ptr %63, align 1
%65 = icmp ne i8 %64, 0
br i1 %65, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %3
%67 = load i32, ptr %10, align 4
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %66, %46
%69 = load i32, ptr %4, align 4
ret i32 %69
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2dw6nf5y.c'
source_filename = "/tmp/tmp2dw6nf5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"5402\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"4201\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0Amin_len = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Value:\0A\00", align 1
@.str.4 = 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
br label %18
15: ; preds = %0
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
br label %18
18: ; preds = %15, %12
%19 = phi i32 [ %14, %12 ], [ %17, %15 ]
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %23
23: ; preds = %43, %18
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %46
27: ; preds = %23
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %33, %39
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41)
br label %43
43: ; preds = %27
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %4, align 4
br label %23, !llvm.loop !6
46: ; preds = %23
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dw6nf5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"5402\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"4201\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0Amin_len = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Value:\0A\00", align 1
@.str.4 = 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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strlen(ptr noundef %13)
br label %18
15: ; preds = %0
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
br label %18
18: ; preds = %15, %12
%19 = phi i32 [ %14, %12 ], [ %17, %15 ]
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %48
.lr.ph: ; preds = %18
br label %26
26: ; preds = %.lr.ph, %42
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %32, %38
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40)
br label %42
42: ; preds = %26
%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 %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %18
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk8z4cgj4.c'
source_filename = "/tmp/tmpk8z4cgj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 10086, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = call i32 @htons(i32 noundef 10086)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @htons(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @htons(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/tmpk8z4cgj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 10086, ptr %1, align 4
store ptr %1, ptr %2, align 8
%3 = call i32 @htons(i32 noundef 10086)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @htons(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @htons(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/tmpdhq7myiv.c'
source_filename = "/tmp/tmpdhq7myiv.c"
target datalayout = "e-m:e-p270: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/tmpdhq7myiv.c"
target datalayout = "e-m:e-p270: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/tmpl_1cezk7.c'
source_filename = "/tmp/tmpl_1cezk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AEnter your plaintext/ciphertext: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Encrypt or Decrypt (e/d)? \00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Enter a cipher key (0-25): \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"The ciphertext is: %s \0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Use again (y/n)? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %31, %0
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%11 = call signext i8 (...) @getchar()
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %5, align 1
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 101
br i1 %16, label %17, label %18
17: ; preds = %7
store i32 1, ptr %6, align 4
br label %19
18: ; preds = %7
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %18, %17
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%22 = call signext i8 (...) @getchar()
%23 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @caesar(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26)
%28 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %31
31: ; preds = %19
%32 = call signext i8 (...) @getchar()
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 110
br i1 %34, label %7, label %35, !llvm.loop !6
35: ; preds = %31
%36 = load i32, ptr %1, align 4
ret i32 %36
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ...) #2
declare signext i8 @getchar(...) #2
declare i32 @caesar(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpl_1cezk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"\0AEnter your plaintext/ciphertext: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Encrypt or Decrypt (e/d)? \00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Enter a cipher key (0-25): \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"The ciphertext is: %s \0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Use again (y/n)? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %31, %0
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 32, i1 false)
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9)
%11 = call signext i8 (...) @getchar()
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %5, align 1
%14 = load i8, ptr %5, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 101
br i1 %16, label %17, label %18
17: ; preds = %7
store i32 1, ptr %6, align 4
br label %19
18: ; preds = %7
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %18, %17
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %4)
%22 = call signext i8 (...) @getchar()
%23 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @caesar(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %26)
%28 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %31
31: ; preds = %19
%32 = call signext i8 (...) @getchar()
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 110
br i1 %34, label %7, label %35, !llvm.loop !6
35: ; preds = %31
%36 = load i32, ptr %1, align 4
ret i32 %36
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ...) #2
declare signext i8 @getchar(...) #2
declare i32 @caesar(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree 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/tmpifo7jby8.c'
source_filename = "/tmp/tmpifo7jby8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @toupper(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
%5 = call i64 @islower(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 65
%10 = sub nsw i32 %9, 97
store i32 %10, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @islower(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpifo7jby8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @toupper(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
%5 = call i64 @islower(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 65
%10 = sub nsw i32 %9, 97
store i32 %10, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @islower(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn0t_64ia.c'
source_filename = "/tmp/tmpn0t_64ia.c"
target datalayout = "e-m:e-p270: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/tmpn0t_64ia.c"
target datalayout = "e-m:e-p270: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/tmpw50573i_.c'
source_filename = "/tmp/tmpw50573i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i64 @calloc(i32 noundef %6, i32 noundef 4)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %19, %0
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %22
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %2, align 4
%25 = call i32 @printLIS(ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = call i32 @free(ptr noundef %26)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @printLIS(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw50573i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i64 @calloc(i32 noundef %6, i32 noundef 4)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %3, align 8
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %18
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %12
%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 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %2, align 4
%27 = call i32 @printLIS(ptr noundef %25, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = call i32 @free(ptr noundef %28)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @printLIS(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9uc7ef0k.c'
source_filename = "/tmp/tmp9uc7ef0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BE64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i64 @GET_UAA64BE(ptr noundef %2, i32 noundef 0)
ret i64 %3
}
declare i64 @GET_UAA64BE(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/tmp9uc7ef0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BE64(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i64 @GET_UAA64BE(ptr noundef %2, i32 noundef 0)
ret i64 %3
}
declare i64 @GET_UAA64BE(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/tmpc2vri712.c'
source_filename = "/tmp/tmpc2vri712.c"
target datalayout = "e-m:e-p270: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/tmpc2vri712.c"
target datalayout = "e-m:e-p270: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/tmpo9n1h6lg.c'
source_filename = "/tmp/tmpo9n1h6lg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"S2E Version is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @s2e_version()
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @s2e_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo9n1h6lg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"S2E Version is: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = call i32 (...) @s2e_version()
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @s2e_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvtqm_aqa.c'
source_filename = "/tmp/tmpvtqm_aqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_show(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @menu_print_header(ptr noundef %7)
%9 = call i32 (...) @menu_print_border()
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @menu_print_options(i32 noundef %10, i32 noundef %11)
ret void
}
declare i32 @menu_print_header(ptr noundef) #1
declare i32 @menu_print_border(...) #1
declare i32 @menu_print_options(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/tmpvtqm_aqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @menu_show(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @menu_print_header(ptr noundef %7)
%9 = call i32 (...) @menu_print_border()
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @menu_print_options(i32 noundef %10, i32 noundef %11)
ret void
}
declare i32 @menu_print_header(ptr noundef) #1
declare i32 @menu_print_border(...) #1
declare i32 @menu_print_options(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/tmp4skcoi2u.c'
source_filename = "/tmp/tmp4skcoi2u.c"
target datalayout = "e-m:e-p270: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/tmp4skcoi2u.c"
target datalayout = "e-m:e-p270: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 = '/tmp/tmpxljwrvjf.c'
source_filename = "/tmp/tmpxljwrvjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = 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/tmpxljwrvjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = 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/tmpoejzdfpz.c'
source_filename = "/tmp/tmpoejzdfpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @foo(i32 noundef %6)
%8 = call i32 @caller(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @bar(i32 noundef %9)
%11 = call i32 @caller(i32 noundef %10)
ret i32 123
}
declare i32 @caller(i32 noundef) #1
declare i32 @foo(i32 noundef) #1
declare i32 @bar(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/tmpoejzdfpz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @foo(i32 noundef %6)
%8 = call i32 @caller(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @bar(i32 noundef %9)
%11 = call i32 @caller(i32 noundef %10)
ret i32 123
}
declare i32 @caller(i32 noundef) #1
declare i32 @foo(i32 noundef) #1
declare i32 @bar(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/tmphndl1pu1.c'
source_filename = "/tmp/tmphndl1pu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stirngindex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %50, %2
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %53
14: ; preds = %9
%15 = load i32, ptr %6, align 4
store i32 %15, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %16
16: ; preds = %31, %14
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %22, %28
br i1 %29, label %30, label %36
30: ; preds = %16
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %16, !llvm.loop !6
36: ; preds = %16
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %3, align 4
br label %54
49: ; preds = %39, %36
br label %50
50: ; preds = %49
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
br label %9, !llvm.loop !8
53: ; preds = %9
store i32 -1, ptr %3, align 4
br label %54
54: ; preds = %53, %47
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphndl1pu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stirngindex(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph2, label %68
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %61
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %7, align 4
store i32 0, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %20, %26
br i1 %27, label %.lr.ph, label %47
.lr.ph: ; preds = %13
br label %28
28: ; preds = %.lr.ph, %29
br label %29
29: ; preds = %28
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %39, %45
br i1 %46, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %47
47: ; preds = %._crit_edge, %13
%48 = load i32, ptr %8, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %50
%59 = load i32, ptr %7, align 4
store i32 %59, ptr %3, align 4
br label %69
60: ; preds = %50, %47
br label %61
61: ; preds = %60
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
%64 = load i32, ptr %6, align 4
%65 = load ptr, ptr %4, align 8
%66 = call i32 @strlen(ptr noundef %65)
%67 = icmp slt i32 %64, %66
br i1 %67, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %68
68: ; preds = %._crit_edge3, %2
store i32 -1, ptr %3, align 4
br label %69
69: ; preds = %68, %58
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfwt9wa9w.c'
source_filename = "/tmp/tmpfwt9wa9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [43 x i8] c"usage: client <IP address> <port number>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [10000 x i8], align 16
%12 = alloca [10000 x i8], align 16
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 3
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %63
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %9)
%24 = load i32, ptr @AF_INET, align 4
%25 = load i32, ptr @SOCK_STREAM, align 4
%26 = call i32 @socket(i32 noundef %24, i32 noundef %25, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = call i32 @bzero(ptr noundef %13, i32 noundef 12)
%28 = load i32, ptr @AF_INET, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2
store i32 %28, ptr %29, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @inet_addr(ptr noundef %32)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0
store i32 %33, ptr %35, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @htons(i32 noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @connect(i32 noundef %39, ptr noundef %13, i32 noundef 12)
br label %41
41: ; preds = %46, %19
%42 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%43 = load i32, ptr @stdin, align 4
%44 = call ptr @fgets(ptr noundef %42, i32 noundef 10000, i32 noundef %43)
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %62
46: ; preds = %41
%47 = load i32, ptr %7, align 4
%48 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%49 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%50 = call i32 @strlen(ptr noundef %49)
%51 = call i32 @sendto(i32 noundef %47, ptr noundef %48, i32 noundef %50, i32 noundef 0, ptr noundef %13, i32 noundef 12)
%52 = load i32, ptr %7, align 4
%53 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 0
%54 = call i32 @recvfrom(i32 noundef %52, ptr noundef %53, i32 noundef 10000, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 %56
store i8 0, ptr %57, align 1
%58 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 0
%59 = call i32 @strcat(ptr noundef %58, ptr noundef @.str.2)
%60 = load i32, ptr @stdout, align 4
%61 = call i32 @fputs(i32 noundef %59, i32 noundef %60)
br label %41, !llvm.loop !6
62: ; preds = %41
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %62, %17
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwt9wa9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [43 x i8] c"usage: client <IP address> <port number>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [10000 x i8], align 16
%12 = alloca [10000 x i8], align 16
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca %struct.sockaddr_in, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 3
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %65
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %9)
%24 = load i32, ptr @AF_INET, align 4
%25 = load i32, ptr @SOCK_STREAM, align 4
%26 = call i32 @socket(i32 noundef %24, i32 noundef %25, i32 noundef 0)
store i32 %26, ptr %7, align 4
%27 = call i32 @bzero(ptr noundef %13, i32 noundef 12)
%28 = load i32, ptr @AF_INET, align 4
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2
store i32 %28, ptr %29, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = call i32 @inet_addr(ptr noundef %32)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i32 0, i32 0
store i32 %33, ptr %35, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @htons(i32 noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
store i32 %37, ptr %38, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @connect(i32 noundef %39, ptr noundef %13, i32 noundef 12)
%41 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%42 = load i32, ptr @stdin, align 4
%43 = call ptr @fgets(ptr noundef %41, i32 noundef 10000, i32 noundef %42)
%44 = icmp ne ptr %43, null
br i1 %44, label %.lr.ph, label %64
.lr.ph: ; preds = %19
br label %45
45: ; preds = %.lr.ph, %45
%46 = load i32, ptr %7, align 4
%47 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%48 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%49 = call i32 @strlen(ptr noundef %48)
%50 = call i32 @sendto(i32 noundef %46, ptr noundef %47, i32 noundef %49, i32 noundef 0, ptr noundef %13, i32 noundef 12)
%51 = load i32, ptr %7, align 4
%52 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 0
%53 = call i32 @recvfrom(i32 noundef %51, ptr noundef %52, i32 noundef 10000, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %53, ptr %8, align 4
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 %55
store i8 0, ptr %56, align 1
%57 = getelementptr inbounds [10000 x i8], ptr %12, i64 0, i64 0
%58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.2)
%59 = load i32, ptr @stdout, align 4
%60 = call i32 @fputs(i32 noundef %58, i32 noundef %59)
%61 = load i32, ptr @stdin, align 4
%62 = call ptr @fgets(ptr noundef %41, i32 noundef 10000, i32 noundef %61)
%63 = icmp ne ptr %62, null
br i1 %63, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %64
64: ; preds = %._crit_edge, %19
store i32 0, ptr %3, align 4
br label %65
65: ; preds = %64, %17
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i32 @printf(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp84u27x3e.c'
source_filename = "/tmp/tmp84u27x3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84u27x3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [256 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzx92fhhm.c'
source_filename = "/tmp/tmpzx92fhhm.c"
target datalayout = "e-m:e-p270: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/tmpzx92fhhm.c"
target datalayout = "e-m:e-p270: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/tmpb9qub8nk.c'
source_filename = "/tmp/tmpb9qub8nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vc4_get_le16(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i64, ptr %3, i64 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 1
%9 = load i64, ptr %8, align 8
%10 = trunc i64 %9 to i32
%11 = shl i32 %10, 8
%12 = or i32 %6, %11
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9qub8nk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vc4_get_le16(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i64, ptr %3, i64 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 1
%9 = load i64, ptr %8, align 8
%10 = trunc i64 %9 to i32
%11 = shl i32 %10, 8
%12 = or i32 %6, %11
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphamckl8l.c'
source_filename = "/tmp/tmphamckl8l.c"
target datalayout = "e-m:e-p270: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/tmphamckl8l.c"
target datalayout = "e-m:e-p270: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/tmp5u118t_a.c'
source_filename = "/tmp/tmp5u118t_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = 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/tmp5u118t_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOMEM = 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/tmp3v2ri2y4.c'
source_filename = "/tmp/tmp3v2ri2y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GdbmiHandleShowVersion() #0 {
%1 = call i32 (...) @DbgDisplayVersion()
ret void
}
declare i32 @DbgDisplayVersion(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v2ri2y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GdbmiHandleShowVersion() #0 {
%1 = call i32 (...) @DbgDisplayVersion()
ret void
}
declare i32 @DbgDisplayVersion(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgylcia8f.c'
source_filename = "/tmp/tmpgylcia8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %s\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %6, align 4
br label %9
9: ; preds = %19, %2
%10 = load i32, ptr %6, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, 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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %6, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmpgylcia8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %s\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
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/tmp1rtcs3c3.c'
source_filename = "/tmp/tmp1rtcs3c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @index_for_char(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 -1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %27, %2
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %16, %22
br i1 %23, label %24, label %26
24: ; preds = %14
%25 = load i32, ptr %7, align 4
store i32 %25, ptr %5, align 4
br label %30
26: ; preds = %14
br label %27
27: ; preds = %26
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
br label %10, !llvm.loop !6
30: ; preds = %24, %10
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1rtcs3c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @index_for_char(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 -1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %26
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %15, %21
br i1 %22, label %23, label %25
23: ; preds = %13
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %5, align 4
br label %32
25: ; preds = %13
br label %26
26: ; preds = %25
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %26
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %32
32: ; preds = %.loopexit, %23
%33 = load i32, ptr %5, align 4
ret i32 %33
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwwc9ndt0.c'
source_filename = "/tmp/tmpwwc9ndt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenGrowStack(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 ne i32 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @GenPrintInstr2Operands(i32 noundef 11, i32 noundef 0, i32 noundef 32, i32 noundef 0, i32 noundef 128, i32 noundef %7)
br label %9
9: ; preds = %6, %5
ret void
}
declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwwc9ndt0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenGrowStack(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 ne i32 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @GenPrintInstr2Operands(i32 noundef 11, i32 noundef 0, i32 noundef 32, i32 noundef 0, i32 noundef 128, i32 noundef %7)
br label %9
9: ; preds = %6, %5
ret void
}
declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpncvnil6r.c'
source_filename = "/tmp/tmpncvnil6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pm_waitpidSimple(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = call i32 @pm_waitpid(i64 noundef %6, ptr noundef %3, i32 noundef 0, ptr noundef %4, ptr noundef %5)
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
%12 = call i32 @pm_errormsg(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @pm_strfree(ptr noundef %13)
%15 = call i32 (...) @pm_longjmp()
br label %21
16: ; preds = %1
%17 = load i64, ptr %4, align 8
%18 = icmp ne i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
br label %21
21: ; preds = %16, %10
ret void
}
declare i32 @pm_waitpid(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @pm_errormsg(ptr noundef, ptr noundef) #1
declare i32 @pm_strfree(ptr noundef) #1
declare i32 @pm_longjmp(...) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpncvnil6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pm_waitpidSimple(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = call i32 @pm_waitpid(i64 noundef %6, ptr noundef %3, i32 noundef 0, ptr noundef %4, ptr noundef %5)
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
%12 = call i32 @pm_errormsg(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %5, align 8
%14 = call i32 @pm_strfree(ptr noundef %13)
%15 = call i32 (...) @pm_longjmp()
br label %21
16: ; preds = %1
%17 = load i64, ptr %4, align 8
%18 = icmp ne i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
br label %21
21: ; preds = %16, %10
ret void
}
declare i32 @pm_waitpid(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @pm_errormsg(ptr noundef, ptr noundef) #1
declare i32 @pm_strfree(ptr noundef) #1
declare i32 @pm_longjmp(...) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjpf7c0ew.c'
source_filename = "/tmp/tmpjpf7c0ew.c"
target datalayout = "e-m:e-p270: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/tmpjpf7c0ew.c"
target datalayout = "e-m:e-p270: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/tmp70xwo7xl.c'
source_filename = "/tmp/tmp70xwo7xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_playsoundfile(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 @japi_playsoundfile(ptr noundef %3)
ret void
}
declare i32 @japi_playsoundfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp70xwo7xl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_playsoundfile(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 @japi_playsoundfile(ptr noundef %3)
ret void
}
declare i32 @japi_playsoundfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm6f7cn2c.c'
source_filename = "/tmp/tmpm6f7cn2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @safe_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %2
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %6, align 8
store ptr null, ptr %18, align 8
br label %19
19: ; preds = %14, %10
br label %44
20: ; preds = %2
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i64, ptr %4, align 8
%28 = call i64 @realloc(ptr noundef %26, i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %5, align 8
br label %34
30: ; preds = %20
%31 = load i64, ptr %4, align 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %30, %24
%35 = load ptr, ptr %5, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %41, label %37
37: ; preds = %34
%38 = call i32 @mutt_error(ptr noundef @.str)
%39 = call i32 @sleep(i32 noundef 1)
%40 = call i32 @mutt_exit(i32 noundef 1)
br label %41
41: ; preds = %37, %34
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
store ptr %42, ptr %43, align 8
br label %44
44: ; preds = %41, %19
ret void
}
declare i32 @free(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @mutt_error(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @mutt_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm6f7cn2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @safe_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %2
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %6, align 8
store ptr null, ptr %18, align 8
br label %19
19: ; preds = %14, %10
br label %44
20: ; preds = %2
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i64, ptr %4, align 8
%28 = call i64 @realloc(ptr noundef %26, i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %5, align 8
br label %34
30: ; preds = %20
%31 = load i64, ptr %4, align 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %30, %24
%35 = load ptr, ptr %5, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %41, label %37
37: ; preds = %34
%38 = call i32 @mutt_error(ptr noundef @.str)
%39 = call i32 @sleep(i32 noundef 1)
%40 = call i32 @mutt_exit(i32 noundef 1)
br label %41
41: ; preds = %37, %34
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
store ptr %42, ptr %43, align 8
br label %44
44: ; preds = %41, %19
ret void
}
declare i32 @free(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @mutt_error(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @mutt_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd2v0eu7w.c'
source_filename = "/tmp/tmpd2v0eu7w.c"
target datalayout = "e-m:e-p270: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
@ENAMETOOLONG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_kv_key(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr @EINVAL, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %4, align 4
br label %50
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 61)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr @EINVAL, align 4
%22 = sub nsw i32 0, %21
store i32 %22, ptr %4, align 4
br label %50
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %5, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i64, ptr %7, align 8
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = icmp ult i64 %30, %33
br i1 %34, label %38, label %35
35: ; preds = %23
%36 = load ptr, ptr %6, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %35, %23
%39 = load i32, ptr @ENAMETOOLONG, align 4
%40 = sub nsw i32 0, %39
store i32 %40, ptr %4, align 4
br label %50
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %41, %38, %20, %12
%51 = load i32, ptr %4, align 4
ret i32 %51
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd2v0eu7w.c"
target datalayout = "e-m:e-p270: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
@ENAMETOOLONG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_kv_key(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr @EINVAL, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %4, align 4
br label %50
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 61)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr @EINVAL, align 4
%22 = sub nsw i32 0, %21
store i32 %22, ptr %4, align 4
br label %50
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
%25 = load ptr, ptr %5, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i64, ptr %7, align 8
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = icmp ult i64 %30, %33
br i1 %34, label %38, label %35
35: ; preds = %23
%36 = load ptr, ptr %6, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %35, %23
%39 = load i32, ptr @ENAMETOOLONG, align 4
%40 = sub nsw i32 0, %39
store i32 %40, ptr %4, align 4
br label %50
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %44)
%46 = load ptr, ptr %6, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %41, %38, %20, %12
%51 = load i32, ptr %4, align 4
ret i32 %51
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyemo7rha.c'
source_filename = "/tmp/tmpyemo7rha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\1B[H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @editorRefreshScreen() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i32 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 4)
%3 = load i32, ptr @STDOUT_FILENO, align 4
%4 = call i32 @write(i32 noundef %3, ptr noundef @.str.1, i32 noundef 3)
%5 = call i32 (...) @editorDrawRows()
%6 = load i32, ptr @STDOUT_FILENO, align 4
%7 = call i32 @write(i32 noundef %6, ptr noundef @.str.1, i32 noundef 3)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @editorDrawRows(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyemo7rha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\1B[H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @editorRefreshScreen() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i32 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 4)
%3 = load i32, ptr @STDOUT_FILENO, align 4
%4 = call i32 @write(i32 noundef %3, ptr noundef @.str.1, i32 noundef 3)
%5 = call i32 (...) @editorDrawRows()
%6 = load i32, ptr @STDOUT_FILENO, align 4
%7 = call i32 @write(i32 noundef %6, ptr noundef @.str.1, i32 noundef 3)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @editorDrawRows(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdyg1xx4e.c'
source_filename = "/tmp/tmpdyg1xx4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@to_base16.base16c = internal constant [17 x i8] c"0123456789abcdef\00", align 16
@to_base16.vals = internal constant [2 x i64] [i64 -9223372036602130673, i64 808464432], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @to_base16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
br label %14
14: ; preds = %123, %3
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = icmp uge i64 %16, 8
br i1 %17, label %18, label %130
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %19, align 8
store i64 %20, ptr %8, align 8
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr @to_base16.vals, align 16
%23 = xor i64 %22, -1
%24 = and i64 %21, %23
%25 = lshr i64 %24, 4
store i64 %25, ptr %9, align 8
%26 = load i64, ptr @to_base16.vals, align 16
%27 = load i64, ptr %8, align 8
%28 = and i64 %27, %26
store i64 %28, ptr %8, align 8
%29 = load i64, ptr getelementptr inbounds ([2 x i64], ptr @to_base16.vals, i64 0, i64 1), align 8
%30 = load i64, ptr %9, align 8
%31 = add i64 %30, %29
store i64 %31, ptr %9, align 8
%32 = load i64, ptr getelementptr inbounds ([2 x i64], ptr @to_base16.vals, i64 0, i64 1), align 8
%33 = load i64, ptr %8, align 8
%34 = add i64 %33, %32
store i64 %34, ptr %8, align 8
%35 = load i64, ptr %9, align 8
%36 = add i64 %35, 5063812098665367110
%37 = load i64, ptr %9, align 8
%38 = or i64 %36, %37
%39 = and i64 %38, -9187201950435737472
store i64 %39, ptr %11, align 8
%40 = load i64, ptr %8, align 8
%41 = add i64 %40, 5063812098665367110
%42 = load i64, ptr %8, align 8
%43 = or i64 %41, %42
%44 = and i64 %43, -9187201950435737472
store i64 %44, ptr %10, align 8
%45 = load i64, ptr %11, align 8
%46 = lshr i64 %45, 7
store i64 %46, ptr %11, align 8
%47 = load i64, ptr %10, align 8
%48 = lshr i64 %47, 7
store i64 %48, ptr %10, align 8
%49 = load i64, ptr %11, align 8
%50 = mul i64 39, %49
%51 = load i64, ptr %9, align 8
%52 = add i64 %51, %50
store i64 %52, ptr %9, align 8
%53 = load i64, ptr %10, align 8
%54 = mul i64 39, %53
%55 = load i64, ptr %8, align 8
%56 = add i64 %55, %54
store i64 %56, ptr %8, align 8
%57 = call i32 (...) @host_is_bigendian()
%58 = icmp ne i32 %57, 0
br i1 %58, label %87, label %59
59: ; preds = %18
%60 = load i64, ptr %9, align 8
store i64 %60, ptr %12, align 8
%61 = load i64, ptr %8, align 8
store i64 %61, ptr %13, align 8
store i32 0, ptr %7, align 4
br label %62
62: ; preds = %81, %59
%63 = load i32, ptr %7, align 4
%64 = zext i32 %63 to i64
%65 = icmp ult i64 %64, 8
br i1 %65, label %66, label %86
66: ; preds = %62
%67 = load i64, ptr %12, align 8
%68 = and i64 %67, 255
%69 = trunc i64 %68 to i8
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 0
store i8 %69, ptr %71, align 1
%72 = load i64, ptr %13, align 8
%73 = and i64 %72, 255
%74 = trunc i64 %73 to i8
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i8, ptr %75, i64 1
store i8 %74, ptr %76, align 1
%77 = load i64, ptr %12, align 8
%78 = lshr i64 %77, 128
store i64 %78, ptr %12, align 8
%79 = load i64, ptr %13, align 8
%80 = lshr i64 %79, 128
store i64 %80, ptr %13, align 8
br label %81
81: ; preds = %66
%82 = load i32, ptr %7, align 4
%83 = add i32 %82, 1
store i32 %83, ptr %7, align 4
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 2
store ptr %85, ptr %4, align 8
br label %62, !llvm.loop !6
86: ; preds = %62
br label %122
87: ; preds = %18
%88 = load i64, ptr %9, align 8
store i64 %88, ptr %12, align 8
%89 = load i64, ptr %8, align 8
store i64 %89, ptr %13, align 8
store i32 8, ptr %7, align 4
br label %90
90: ; preds = %116, %87
%91 = load i32, ptr %7, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %119
93: ; preds = %90
%94 = load i64, ptr %12, align 8
%95 = and i64 %94, 255
%96 = trunc i64 %95 to i8
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %7, align 4
%99 = mul i32 %98, 2
%100 = sub i32 %99, 2
%101 = zext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %97, i64 %101
store i8 %96, ptr %102, align 1
%103 = load i64, ptr %13, align 8
%104 = and i64 %103, 255
%105 = trunc i64 %104 to i8
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %7, align 4
%108 = mul i32 %107, 2
%109 = sub i32 %108, 1
%110 = zext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %106, i64 %110
store i8 %105, ptr %111, align 1
%112 = load i64, ptr %12, align 8
%113 = lshr i64 %112, 128
store i64 %113, ptr %12, align 8
%114 = load i64, ptr %13, align 8
%115 = lshr i64 %114, 128
store i64 %115, ptr %13, align 8
br label %116
116: ; preds = %93
%117 = load i32, ptr %7, align 4
%118 = add i32 %117, -1
store i32 %118, ptr %7, align 4
br label %90, !llvm.loop !8
119: ; preds = %90
%120 = load ptr, ptr %4, align 8
%121 = getelementptr inbounds i8, ptr %120, i64 16
store ptr %121, ptr %4, align 8
br label %122
122: ; preds = %119, %86
br label %123
123: ; preds = %122
%124 = load i32, ptr %6, align 4
%125 = zext i32 %124 to i64
%126 = sub i64 %125, 8
%127 = trunc i64 %126 to i32
store i32 %127, ptr %6, align 4
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds i8, ptr %128, i64 8
store ptr %129, ptr %5, align 8
br label %14, !llvm.loop !9
130: ; preds = %14
store i32 0, ptr %7, align 4
br label %131
131: ; preds = %160, %130
%132 = load i32, ptr %7, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp ult i32 %132, %133
br i1 %134, label %135, label %163
135: ; preds = %131
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %7, align 4
%138 = zext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
%140 = load i8, ptr %139, align 1
%141 = zext i8 %140 to i32
%142 = sdiv i32 %141, 16
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [17 x i8], ptr @to_base16.base16c, i64 0, i64 %143
%145 = load i8, ptr %144, align 1
%146 = load ptr, ptr %4, align 8
%147 = getelementptr inbounds i8, ptr %146, i32 1
store ptr %147, ptr %4, align 8
store i8 %145, ptr %146, align 1
%148 = load ptr, ptr %5, align 8
%149 = load i32, ptr %7, align 4
%150 = zext i32 %149 to i64
%151 = getelementptr inbounds i8, ptr %148, i64 %150
%152 = load i8, ptr %151, align 1
%153 = zext i8 %152 to i32
%154 = srem i32 %153, 16
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [17 x i8], ptr @to_base16.base16c, i64 0, i64 %155
%157 = load i8, ptr %156, align 1
%158 = load ptr, ptr %4, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %4, align 8
store i8 %157, ptr %158, align 1
br label %160
160: ; preds = %135
%161 = load i32, ptr %7, align 4
%162 = add i32 %161, 1
store i32 %162, ptr %7, align 4
br label %131, !llvm.loop !10
163: ; preds = %131
%164 = load ptr, ptr %4, align 8
ret ptr %164
}
declare i32 @host_is_bigendian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdyg1xx4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@to_base16.base16c = internal constant [17 x i8] c"0123456789abcdef\00", align 16
@to_base16.vals = internal constant [2 x i64] [i64 -9223372036602130673, i64 808464432], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @to_base16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = zext i32 %14 to i64
%16 = icmp uge i64 %15, 8
br i1 %16, label %.lr.ph5, label %135
.lr.ph5: ; preds = %3
br label %17
17: ; preds = %.lr.ph5, %125
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %18, align 8
store i64 %19, ptr %8, align 8
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr @to_base16.vals, align 16
%22 = xor i64 %21, -1
%23 = and i64 %20, %22
%24 = lshr i64 %23, 4
store i64 %24, ptr %9, align 8
%25 = load i64, ptr @to_base16.vals, align 16
%26 = load i64, ptr %8, align 8
%27 = and i64 %26, %25
store i64 %27, ptr %8, align 8
%28 = load i64, ptr getelementptr inbounds ([2 x i64], ptr @to_base16.vals, i64 0, i64 1), align 8
%29 = load i64, ptr %9, align 8
%30 = add i64 %29, %28
store i64 %30, ptr %9, align 8
%31 = load i64, ptr getelementptr inbounds ([2 x i64], ptr @to_base16.vals, i64 0, i64 1), align 8
%32 = load i64, ptr %8, align 8
%33 = add i64 %32, %31
store i64 %33, ptr %8, align 8
%34 = load i64, ptr %9, align 8
%35 = add i64 %34, 5063812098665367110
%36 = load i64, ptr %9, align 8
%37 = or i64 %35, %36
%38 = and i64 %37, -9187201950435737472
store i64 %38, ptr %11, align 8
%39 = load i64, ptr %8, align 8
%40 = add i64 %39, 5063812098665367110
%41 = load i64, ptr %8, align 8
%42 = or i64 %40, %41
%43 = and i64 %42, -9187201950435737472
store i64 %43, ptr %10, align 8
%44 = load i64, ptr %11, align 8
%45 = lshr i64 %44, 7
store i64 %45, ptr %11, align 8
%46 = load i64, ptr %10, align 8
%47 = lshr i64 %46, 7
store i64 %47, ptr %10, align 8
%48 = load i64, ptr %11, align 8
%49 = mul i64 39, %48
%50 = load i64, ptr %9, align 8
%51 = add i64 %50, %49
store i64 %51, ptr %9, align 8
%52 = load i64, ptr %10, align 8
%53 = mul i64 39, %52
%54 = load i64, ptr %8, align 8
%55 = add i64 %54, %53
store i64 %55, ptr %8, align 8
%56 = call i32 (...) @host_is_bigendian()
%57 = icmp ne i32 %56, 0
br i1 %57, label %88, label %58
58: ; preds = %17
%59 = load i64, ptr %9, align 8
store i64 %59, ptr %12, align 8
%60 = load i64, ptr %8, align 8
store i64 %60, ptr %13, align 8
store i32 0, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = zext i32 %61 to i64
%63 = icmp ult i64 %62, 8
br i1 %63, label %.lr.ph, label %87
.lr.ph: ; preds = %58
br label %64
64: ; preds = %.lr.ph, %79
%65 = load i64, ptr %12, align 8
%66 = and i64 %65, 255
%67 = trunc i64 %66 to i8
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 0
store i8 %67, ptr %69, align 1
%70 = load i64, ptr %13, align 8
%71 = and i64 %70, 255
%72 = trunc i64 %71 to i8
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 1
store i8 %72, ptr %74, align 1
%75 = load i64, ptr %12, align 8
%76 = lshr i64 %75, 128
store i64 %76, ptr %12, align 8
%77 = load i64, ptr %13, align 8
%78 = lshr i64 %77, 128
store i64 %78, ptr %13, align 8
br label %79
79: ; preds = %64
%80 = load i32, ptr %7, align 4
%81 = add i32 %80, 1
store i32 %81, ptr %7, align 4
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 2
store ptr %83, ptr %4, align 8
%84 = load i32, ptr %7, align 4
%85 = zext i32 %84 to i64
%86 = icmp ult i64 %85, 8
br i1 %86, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %87
87: ; preds = %._crit_edge, %58
br label %124
88: ; preds = %17
%89 = load i64, ptr %9, align 8
store i64 %89, ptr %12, align 8
%90 = load i64, ptr %8, align 8
store i64 %90, ptr %13, align 8
store i32 8, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %.lr.ph2, label %121
.lr.ph2: ; preds = %88
br label %93
93: ; preds = %.lr.ph2, %116
%94 = load i64, ptr %12, align 8
%95 = and i64 %94, 255
%96 = trunc i64 %95 to i8
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %7, align 4
%99 = mul i32 %98, 2
%100 = sub i32 %99, 2
%101 = zext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %97, i64 %101
store i8 %96, ptr %102, align 1
%103 = load i64, ptr %13, align 8
%104 = and i64 %103, 255
%105 = trunc i64 %104 to i8
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %7, align 4
%108 = mul i32 %107, 2
%109 = sub i32 %108, 1
%110 = zext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %106, i64 %110
store i8 %105, ptr %111, align 1
%112 = load i64, ptr %12, align 8
%113 = lshr i64 %112, 128
store i64 %113, ptr %12, align 8
%114 = load i64, ptr %13, align 8
%115 = lshr i64 %114, 128
store i64 %115, ptr %13, align 8
br label %116
116: ; preds = %93
%117 = load i32, ptr %7, align 4
%118 = add i32 %117, -1
store i32 %118, ptr %7, align 4
%119 = load i32, ptr %7, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %93, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %116
br label %121
121: ; preds = %._crit_edge3, %88
%122 = load ptr, ptr %4, align 8
%123 = getelementptr inbounds i8, ptr %122, i64 16
store ptr %123, ptr %4, align 8
br label %124
124: ; preds = %121, %87
br label %125
125: ; preds = %124
%126 = load i32, ptr %6, align 4
%127 = zext i32 %126 to i64
%128 = sub i64 %127, 8
%129 = trunc i64 %128 to i32
store i32 %129, ptr %6, align 4
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds i8, ptr %130, i64 8
store ptr %131, ptr %5, align 8
%132 = load i32, ptr %6, align 4
%133 = zext i32 %132 to i64
%134 = icmp uge i64 %133, 8
br i1 %134, label %17, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %125
br label %135
135: ; preds = %._crit_edge6, %3
store i32 0, ptr %7, align 4
%136 = load i32, ptr %7, align 4
%137 = load i32, ptr %6, align 4
%138 = icmp ult i32 %136, %137
br i1 %138, label %.lr.ph8, label %170
.lr.ph8: ; preds = %135
br label %139
139: ; preds = %.lr.ph8, %164
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %7, align 4
%142 = zext i32 %141 to i64
%143 = getelementptr inbounds i8, ptr %140, i64 %142
%144 = load i8, ptr %143, align 1
%145 = zext i8 %144 to i32
%146 = sdiv i32 %145, 16
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [17 x i8], ptr @to_base16.base16c, i64 0, i64 %147
%149 = load i8, ptr %148, align 1
%150 = load ptr, ptr %4, align 8
%151 = getelementptr inbounds i8, ptr %150, i32 1
store ptr %151, ptr %4, align 8
store i8 %149, ptr %150, align 1
%152 = load ptr, ptr %5, align 8
%153 = load i32, ptr %7, align 4
%154 = zext i32 %153 to i64
%155 = getelementptr inbounds i8, ptr %152, i64 %154
%156 = load i8, ptr %155, align 1
%157 = zext i8 %156 to i32
%158 = srem i32 %157, 16
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [17 x i8], ptr @to_base16.base16c, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = load ptr, ptr %4, align 8
%163 = getelementptr inbounds i8, ptr %162, i32 1
store ptr %163, ptr %4, align 8
store i8 %161, ptr %162, align 1
br label %164
164: ; preds = %139
%165 = load i32, ptr %7, align 4
%166 = add i32 %165, 1
store i32 %166, ptr %7, align 4
%167 = load i32, ptr %7, align 4
%168 = load i32, ptr %6, align 4
%169 = icmp ult i32 %167, %168
br i1 %169, label %139, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %164
br label %170
170: ; preds = %._crit_edge9, %135
%171 = load ptr, ptr %4, align 8
ret ptr %171
}
declare i32 @host_is_bigendian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpitoz2d0o.c'
source_filename = "/tmp/tmpitoz2d0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @doit(ptr noundef inttoptr (i64 1024 to ptr))
%2 = call i32 @sleep(i32 noundef 60)
ret i32 0
}
declare i32 @doit(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpitoz2d0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @doit(ptr noundef inttoptr (i64 1024 to ptr))
%2 = call i32 @sleep(i32 noundef 60)
ret i32 0
}
declare i32 @doit(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi6ty5ign.c'
source_filename = "/tmp/tmpi6ty5ign.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 }
@RLIMIT_CPU = dso_local global i32 0, align 4
@RLIMIT_NPROC = dso_local global i32 0, align 4
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@RLIMIT_FSIZE = dso_local global i32 0, align 4
@RLIMIT_MEMLOCK = dso_local global i32 0, align 4
; 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 %struct.rlimit, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 24, ptr %7, align 4
%8 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 24, ptr %8, align 4
%9 = load i32, ptr @RLIMIT_CPU, align 4
%10 = call i32 @setrlimit(i32 noundef %9, ptr noundef %6)
%11 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 16384, ptr %11, align 4
%12 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 16384, ptr %12, align 4
%13 = load i32, ptr @RLIMIT_NPROC, align 4
%14 = call i32 @setrlimit(i32 noundef %13, ptr noundef %6)
%15 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 16384, ptr %15, align 4
%16 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 16384, ptr %16, align 4
%17 = load i32, ptr @RLIMIT_NOFILE, align 4
%18 = call i32 @setrlimit(i32 noundef %17, ptr noundef %6)
%19 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 -8388608, ptr %19, align 4
%20 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 -8388608, ptr %20, align 4
%21 = load i32, ptr @RLIMIT_FSIZE, align 4
%22 = call i32 @setrlimit(i32 noundef %21, ptr noundef %6)
%23 = load i32, ptr @RLIMIT_MEMLOCK, align 4
%24 = call i32 @setrlimit(i32 noundef %23, ptr noundef %6)
%25 = call i32 @alarm(i32 noundef 24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = call i32 @execvp(ptr noundef %28, ptr noundef %30)
ret i32 %31
}
declare i32 @setrlimit(i32 noundef, ptr noundef) #1
declare i32 @alarm(i32 noundef) #1
declare i32 @execvp(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/tmpi6ty5ign.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 }
@RLIMIT_CPU = dso_local global i32 0, align 4
@RLIMIT_NPROC = dso_local global i32 0, align 4
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@RLIMIT_FSIZE = dso_local global i32 0, align 4
@RLIMIT_MEMLOCK = dso_local global i32 0, align 4
; 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 %struct.rlimit, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 24, ptr %7, align 4
%8 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 24, ptr %8, align 4
%9 = load i32, ptr @RLIMIT_CPU, align 4
%10 = call i32 @setrlimit(i32 noundef %9, ptr noundef %6)
%11 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 16384, ptr %11, align 4
%12 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 16384, ptr %12, align 4
%13 = load i32, ptr @RLIMIT_NPROC, align 4
%14 = call i32 @setrlimit(i32 noundef %13, ptr noundef %6)
%15 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 16384, ptr %15, align 4
%16 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 16384, ptr %16, align 4
%17 = load i32, ptr @RLIMIT_NOFILE, align 4
%18 = call i32 @setrlimit(i32 noundef %17, ptr noundef %6)
%19 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 -8388608, ptr %19, align 4
%20 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 -8388608, ptr %20, align 4
%21 = load i32, ptr @RLIMIT_FSIZE, align 4
%22 = call i32 @setrlimit(i32 noundef %21, ptr noundef %6)
%23 = load i32, ptr @RLIMIT_MEMLOCK, align 4
%24 = call i32 @setrlimit(i32 noundef %23, ptr noundef %6)
%25 = call i32 @alarm(i32 noundef 24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = call i32 @execvp(ptr noundef %28, ptr noundef %30)
ret i32 %31
}
declare i32 @setrlimit(i32 noundef, ptr noundef) #1
declare i32 @alarm(i32 noundef) #1
declare i32 @execvp(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/tmpjzqfo7rw.c'
source_filename = "/tmp/tmpjzqfo7rw.c"
target datalayout = "e-m:e-p270: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/tmpjzqfo7rw.c"
target datalayout = "e-m:e-p270: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/tmpts4pq_c6.c'
source_filename = "/tmp/tmpts4pq_c6.c"
target datalayout = "e-m:e-p270: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/tmpts4pq_c6.c"
target datalayout = "e-m:e-p270: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/tmpx1syo7gz.c'
source_filename = "/tmp/tmpx1syo7gz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"insert please number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\0Agettend x = %30d;\0Aand in bin = %29lu;\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"rezult of counting bits = %16d;\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"rezult 2 of counting bits = %14d;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @dec_bin(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 @bitcount1(i32 noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = call i32 @bitcount2(i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @dec_bin(i32 noundef) #1
declare i32 @bitcount1(i32 noundef) #1
declare i32 @bitcount2(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/tmpx1syo7gz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"insert please number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\0Agettend x = %30d;\0Aand in bin = %29lu;\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"rezult of counting bits = %16d;\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"rezult 2 of counting bits = %14d;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %1, align 4
%7 = call i32 @dec_bin(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 @bitcount1(i32 noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = call i32 @bitcount2(i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @dec_bin(i32 noundef) #1
declare i32 @bitcount1(i32 noundef) #1
declare i32 @bitcount2(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/tmpym54rj1b.c'
source_filename = "/tmp/tmpym54rj1b.c"
target datalayout = "e-m:e-p270: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/tmpym54rj1b.c"
target datalayout = "e-m:e-p270: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/tmp26fmle1s.c'
source_filename = "/tmp/tmp26fmle1s.c"
target datalayout = "e-m:e-p270: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.ifreq = type { ptr, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"test0\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\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 %struct.ifreq, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
store i64 696969, ptr %9, align 8
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_DGRAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 16)
%20 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%21 = load i32, ptr %20, align 8
%22 = load i32, ptr @IFNAMSIZ, align 4
%23 = call i32 @strncpy(i32 noundef %21, ptr noundef @.str.1, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = call i32 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef 35312)
%26 = load i32, ptr %6, align 4
%27 = call i32 (i32, i32, ...) @ioctl(i32 noundef %26, i32 noundef 35313, ptr noundef %7)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %18
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %18
%34 = load i32, ptr %6, align 4
%35 = call i32 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef 35314, ptr noundef %7)
%36 = load i32, ptr %6, align 4
%37 = call i32 (i32, i32, ...) @ioctl(i32 noundef %36, i32 noundef 35314, ptr noundef %7)
%38 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
store ptr %9, ptr %38, align 8
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, i32, ...) @ioctl(i32 noundef %39, i32 noundef 35315, ptr noundef %7)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %46
43: ; preds = %33
%44 = call i32 @perror(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %33
store i64 31337, ptr %9, align 8
%47 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
store ptr %9, ptr %47, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 (i32, i32, ...) @ioctl(i32 noundef %48, i32 noundef 35316, ptr noundef %7)
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %55
52: ; preds = %46
%53 = call i32 @perror(ptr noundef @.str.2)
%54 = call i32 @exit(i32 noundef 1) #3
unreachable
55: ; preds = %46
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(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/tmp26fmle1s.c"
target datalayout = "e-m:e-p270: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.ifreq = type { ptr, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"test0\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\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 %struct.ifreq, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %8, align 4
store i64 696969, ptr %9, align 8
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_DGRAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 16)
%20 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 1
%21 = load i32, ptr %20, align 8
%22 = load i32, ptr @IFNAMSIZ, align 4
%23 = call i32 @strncpy(i32 noundef %21, ptr noundef @.str.1, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = call i32 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef 35312)
%26 = load i32, ptr %6, align 4
%27 = call i32 (i32, i32, ...) @ioctl(i32 noundef %26, i32 noundef 35313, ptr noundef %7)
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %18
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %18
%34 = load i32, ptr %6, align 4
%35 = call i32 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef 35314, ptr noundef %7)
%36 = load i32, ptr %6, align 4
%37 = call i32 (i32, i32, ...) @ioctl(i32 noundef %36, i32 noundef 35314, ptr noundef %7)
%38 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
store ptr %9, ptr %38, align 8
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, i32, ...) @ioctl(i32 noundef %39, i32 noundef 35315, ptr noundef %7)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %46
43: ; preds = %33
%44 = call i32 @perror(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %33
store i64 31337, ptr %9, align 8
%47 = getelementptr inbounds %struct.ifreq, ptr %7, i32 0, i32 0
store ptr %9, ptr %47, align 8
%48 = load i32, ptr %6, align 4
%49 = call i32 (i32, i32, ...) @ioctl(i32 noundef %48, i32 noundef 35316, ptr noundef %7)
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %55
52: ; preds = %46
%53 = call i32 @perror(ptr noundef @.str.2)
%54 = call i32 @exit(i32 noundef 1) #3
unreachable
55: ; preds = %46
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ioctl(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/tmpiefexge2.c'
source_filename = "/tmp/tmpiefexge2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sendlong type failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"sendlong count failed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Writing %d bytes to %s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Propeller RAM\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"EEPROM\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"sendlong error\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Verifying ... \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [23 x i8] c"Upload Timeout Error!\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"Upload OK!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @upload(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [1 x i32], align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 100, ptr %10, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %6, align 4
%15 = sdiv i32 %14, 4
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %7, align 4
%17 = call i64 @sendlong(i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %3
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %4, align 4
br label %108
21: ; preds = %3
%22 = load i32, ptr %13, align 4
%23 = call i64 @sendlong(i32 noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %4, align 4
br label %108
27: ; preds = %21
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %29, 1
%31 = zext i1 %30 to i64
%32 = select i1 %30, ptr @.str.3, ptr @.str.4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, ptr noundef %32)
%34 = call i32 @msleep(i32 noundef 100)
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %75, %27
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %78
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %45, i64 %48
%50 = load i32, ptr %49, align 4
%51 = shl i32 %50, 8
%52 = or i32 %44, %51
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 2
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
%58 = load i32, ptr %57, align 4
%59 = shl i32 %58, 16
%60 = or i32 %52, %59
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = add nsw i32 %62, 3
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %61, i64 %64
%66 = load i32, ptr %65, align 4
%67 = shl i32 %66, 24
%68 = or i32 %60, %67
store i32 %68, ptr %11, align 4
%69 = load i32, ptr %11, align 4
%70 = call i64 @sendlong(i32 noundef %69)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %39
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %4, align 4
br label %108
74: ; preds = %39
br label %75
75: ; preds = %74
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 4
store i32 %77, ptr %8, align 4
br label %35, !llvm.loop !6
78: ; preds = %35
%79 = call i32 @msleep(i32 noundef 150)
%80 = getelementptr inbounds [1 x i32], ptr %12, i64 0, i64 0
store i32 249, ptr %80, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%82 = load i32, ptr @stdout, align 4
%83 = call i32 @fflush(i32 noundef %82)
store i32 0, ptr %8, align 4
br label %84
84: ; preds = %96, %78
%85 = load i32, ptr %8, align 4
%86 = load i32, ptr %10, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %99
88: ; preds = %84
%89 = getelementptr inbounds [1 x i32], ptr %12, i64 0, i64 0
%90 = call i32 @tx(ptr noundef %89, i32 noundef 1)
%91 = call i32 @getAck(ptr noundef %9, i32 noundef 100)
%92 = load i32, ptr %9, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %88
br label %99
95: ; preds = %88
br label %96
96: ; preds = %95
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %8, align 4
br label %84, !llvm.loop !8
99: ; preds = %94, %84
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp sge i32 %100, %101
br i1 %102, label %103, label %105
103: ; preds = %99
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %107
105: ; preds = %99
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %107
107: ; preds = %105, %103
store i32 0, ptr %4, align 4
br label %108
108: ; preds = %107, %72, %25, %19
%109 = load i32, ptr %4, align 4
ret i32 %109
}
declare i64 @sendlong(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @tx(ptr noundef, i32 noundef) #1
declare i32 @getAck(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/tmpiefexge2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sendlong type failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"sendlong count failed.\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Writing %d bytes to %s.\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Propeller RAM\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"EEPROM\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"sendlong error\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Verifying ... \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [23 x i8] c"Upload Timeout Error!\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"Upload OK!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @upload(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [1 x i32], align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 100, ptr %10, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %6, align 4
%15 = sdiv i32 %14, 4
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %7, align 4
%17 = call i64 @sendlong(i32 noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %3
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %4, align 4
br label %112
21: ; preds = %3
%22 = load i32, ptr %13, align 4
%23 = call i64 @sendlong(i32 noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %4, align 4
br label %112
27: ; preds = %21
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %29, 1
%31 = zext i1 %30 to i64
%32 = select i1 %30, ptr @.str.3, ptr @.str.4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, ptr noundef %32)
%34 = call i32 @msleep(i32 noundef 100)
store i32 0, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %80
.lr.ph: ; preds = %27
br label %38
38: ; preds = %.lr.ph, %74
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %44, i64 %47
%49 = load i32, ptr %48, align 4
%50 = shl i32 %49, 8
%51 = or i32 %43, %50
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 2
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
%58 = shl i32 %57, 16
%59 = or i32 %51, %58
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 3
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %60, i64 %63
%65 = load i32, ptr %64, align 4
%66 = shl i32 %65, 24
%67 = or i32 %59, %66
store i32 %67, ptr %11, align 4
%68 = load i32, ptr %11, align 4
%69 = call i64 @sendlong(i32 noundef %68)
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %38
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %4, align 4
br label %112
73: ; preds = %38
br label %74
74: ; preds = %73
%75 = load i32, ptr %8, align 4
%76 = add nsw i32 %75, 4
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %27
%81 = call i32 @msleep(i32 noundef 150)
%82 = getelementptr inbounds [1 x i32], ptr %12, i64 0, i64 0
store i32 249, ptr %82, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%84 = load i32, ptr @stdout, align 4
%85 = call i32 @fflush(i32 noundef %84)
store i32 0, ptr %8, align 4
%86 = load i32, ptr %8, align 4
%87 = load i32, ptr %10, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %80
br label %89
89: ; preds = %.lr.ph2, %97
%90 = getelementptr inbounds [1 x i32], ptr %12, i64 0, i64 0
%91 = call i32 @tx(ptr noundef %90, i32 noundef 1)
%92 = call i32 @getAck(ptr noundef %9, i32 noundef 100)
%93 = load i32, ptr %9, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %89
br label %103
96: ; preds = %89
br label %97
97: ; preds = %96
%98 = load i32, ptr %8, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %8, align 4
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %10, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %89, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %97
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %80
br label %103
103: ; preds = %.loopexit, %95
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %10, align 4
%106 = icmp sge i32 %104, %105
br i1 %106, label %107, label %109
107: ; preds = %103
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %111
109: ; preds = %103
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %111
111: ; preds = %109, %107
store i32 0, ptr %4, align 4
br label %112
112: ; preds = %111, %71, %25, %19
%113 = load i32, ptr %4, align 4
ret i32 %113
}
declare i64 @sendlong(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @tx(ptr noundef, i32 noundef) #1
declare i32 @getAck(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/tmpy3vc9qpx.c'
source_filename = "/tmp/tmpy3vc9qpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FourFunction.count = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @FourFunction() #0 {
%1 = load i32, ptr @FourFunction.count, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %7
3: ; preds = %0
%4 = load i32, ptr @FourFunction.count, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr @FourFunction.count, align 4
%6 = call i32 (...) @TwoFunction()
br label %7
7: ; preds = %3, %0
%8 = call i32 (...) @OneFunction()
%9 = call i32 (...) @NoDepAFunction()
ret void
}
declare i32 @TwoFunction(...) #1
declare i32 @OneFunction(...) #1
declare i32 @NoDepAFunction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy3vc9qpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FourFunction.count = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @FourFunction() #0 {
%1 = load i32, ptr @FourFunction.count, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %7
3: ; preds = %0
%4 = load i32, ptr @FourFunction.count, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr @FourFunction.count, align 4
%6 = call i32 (...) @TwoFunction()
br label %7
7: ; preds = %3, %0
%8 = call i32 (...) @OneFunction()
%9 = call i32 (...) @NoDepAFunction()
ret void
}
declare i32 @TwoFunction(...) #1
declare i32 @OneFunction(...) #1
declare i32 @NoDepAFunction(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdltknscu.c'
source_filename = "/tmp/tmpdltknscu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Your terminal unfortunately does not support colors. What a shame.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_screen() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 @curs_set(i32 noundef 0)
%3 = call i32 (...) @init_colors()
%4 = icmp ne i32 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call i32 (...) @endwin()
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
ret void
}
declare i32 @initscr(...) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @init_colors(...) #1
declare i32 @endwin(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdltknscu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Your terminal unfortunately does not support colors. What a shame.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_screen() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 @curs_set(i32 noundef 0)
%3 = call i32 (...) @init_colors()
%4 = icmp ne i32 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %0
%6 = call i32 (...) @endwin()
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
ret void
}
declare i32 @initscr(...) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @init_colors(...) #1
declare i32 @endwin(...) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyevmzlm7.c'
source_filename = "/tmp/tmpyevmzlm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_simplex(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%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 double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%13 = load double, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 @sqrt(i32 noundef %15)
%17 = sub nsw i32 %16, 1
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %17, %18
%20 = sitofp i32 %19 to double
%21 = fmul double %13, %20
%22 = load i32, ptr %8, align 4
%23 = call i32 @sqrt(i32 noundef 2)
%24 = mul nsw i32 %22, %23
%25 = sitofp i32 %24 to double
%26 = fdiv double %21, %25
store double %26, ptr %9, align 8
%27 = load double, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
%30 = call i32 @sqrt(i32 noundef %29)
%31 = sub nsw i32 %30, 1
%32 = sitofp i32 %31 to double
%33 = fmul double %27, %32
%34 = load i32, ptr %8, align 4
%35 = call i32 @sqrt(i32 noundef 2)
%36 = mul nsw i32 %34, %35
%37 = sitofp i32 %36 to double
%38 = fdiv double %33, %37
store double %38, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %39
39: ; preds = %55, %4
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %58
43: ; preds = %39
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
store double %48, ptr %54, align 8
br label %55
55: ; preds = %43
%56 = load i32, ptr %11, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %11, align 4
br label %39, !llvm.loop !6
58: ; preds = %39
store i32 1, ptr %11, align 4
br label %59
59: ; preds = %110, %58
%60 = load i32, ptr %11, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp sle i32 %60, %61
br i1 %62, label %63, label %113
63: ; preds = %59
store i32 0, ptr %12, align 4
br label %64
64: ; preds = %106, %63
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %109
68: ; preds = %64
%69 = load i32, ptr %11, align 4
%70 = sub nsw i32 %69, 1
%71 = load i32, ptr %12, align 4
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %89
73: ; preds = %68
%74 = load double, ptr %9, align 8
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %12, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
%80 = fadd double %74, %79
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double %80, ptr %88, align 8
br label %105
89: ; preds = %68
%90 = load double, ptr %10, align 8
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %12, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fadd double %90, %95
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %11, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %12, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
store double %96, ptr %104, align 8
br label %105
105: ; preds = %89, %73
br label %106
106: ; preds = %105
%107 = load i32, ptr %12, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %12, align 4
br label %64, !llvm.loop !8
109: ; preds = %64
br label %110
110: ; preds = %109
%111 = load i32, ptr %11, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %11, align 4
br label %59, !llvm.loop !9
113: ; preds = %59
ret void
}
declare i32 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyevmzlm7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_simplex(ptr noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%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 double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%13 = load double, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 @sqrt(i32 noundef %15)
%17 = sub nsw i32 %16, 1
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %17, %18
%20 = sitofp i32 %19 to double
%21 = fmul double %13, %20
%22 = load i32, ptr %8, align 4
%23 = call i32 @sqrt(i32 noundef 2)
%24 = mul nsw i32 %22, %23
%25 = sitofp i32 %24 to double
%26 = fdiv double %21, %25
store double %26, ptr %9, align 8
%27 = load double, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
%30 = call i32 @sqrt(i32 noundef %29)
%31 = sub nsw i32 %30, 1
%32 = sitofp i32 %31 to double
%33 = fmul double %27, %32
%34 = load i32, ptr %8, align 4
%35 = call i32 @sqrt(i32 noundef 2)
%36 = mul nsw i32 %34, %35
%37 = sitofp i32 %36 to double
%38 = fdiv double %33, %37
store double %38, ptr %10, align 8
store i32 0, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %60
.lr.ph: ; preds = %4
br label %42
42: ; preds = %.lr.ph, %54
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 0
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %11, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
store double %47, ptr %53, align 8
br label %54
54: ; preds = %42
%55 = load i32, ptr %11, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %4
store i32 1, ptr %11, align 4
%61 = load i32, ptr %11, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp sle i32 %61, %62
br i1 %63, label %.lr.ph5, label %119
.lr.ph5: ; preds = %60
br label %64
64: ; preds = %.lr.ph5, %113
store i32 0, ptr %12, align 4
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %.lr.ph2, label %112
.lr.ph2: ; preds = %64
br label %68
68: ; preds = %.lr.ph2, %106
%69 = load i32, ptr %11, align 4
%70 = sub nsw i32 %69, 1
%71 = load i32, ptr %12, align 4
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %89
73: ; preds = %68
%74 = load double, ptr %9, align 8
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr %12, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
%80 = fadd double %74, %79
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr %12, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double %80, ptr %88, align 8
br label %105
89: ; preds = %68
%90 = load double, ptr %10, align 8
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %12, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fadd double %90, %95
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %11, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %12, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
store double %96, ptr %104, align 8
br label %105
105: ; preds = %89, %73
br label %106
106: ; preds = %105
%107 = load i32, ptr %12, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %12, align 4
%109 = load i32, ptr %12, align 4
%110 = load i32, ptr %8, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %68, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %106
br label %112
112: ; preds = %._crit_edge3, %64
br label %113
113: ; preds = %112
%114 = load i32, ptr %11, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %11, align 4
%116 = load i32, ptr %11, align 4
%117 = load i32, ptr %8, align 4
%118 = icmp sle i32 %116, %117
br i1 %118, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %113
br label %119
119: ; preds = %._crit_edge6, %60
ret void
}
declare i32 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp6au43o74.c'
source_filename = "/tmp/tmp6au43o74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"There is no %c command\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Please try again\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
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %4, align 8
%5 = call signext i8 (...) @Get_command()
store i8 %5, ptr %2, align 1
br label %6
6: ; preds = %32, %0
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 113
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 81
br label %14
14: ; preds = %10, %6
%15 = phi i1 [ false, %6 ], [ %13, %10 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
switch i32 %18, label %27 [
i32 105, label %19
i32 73, label %19
i32 112, label %24
i32 80, label %24
]
19: ; preds = %16, %16
%20 = call i32 (...) @Get_value()
store i32 %20, ptr %3, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = call ptr @Insert(ptr noundef %21, i32 noundef %22)
store ptr %23, ptr %4, align 8
br label %32
24: ; preds = %16, %16
%25 = load ptr, ptr %4, align 8
%26 = call i32 @Print(ptr noundef %25)
br label %32
27: ; preds = %16
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %32
32: ; preds = %27, %24, %19
%33 = call signext i8 (...) @Get_command()
store i8 %33, ptr %2, align 1
br label %6, !llvm.loop !6
34: ; preds = %14
ret i32 0
}
declare signext i8 @Get_command(...) #1
declare i32 @Get_value(...) #1
declare ptr @Insert(ptr noundef, i32 noundef) #1
declare i32 @Print(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6au43o74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"There is no %c command\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Please try again\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
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %4, align 8
%5 = call signext i8 (...) @Get_command()
store i8 %5, ptr %2, align 1
br label %6
6: ; preds = %32, %0
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 113
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 81
br label %14
14: ; preds = %10, %6
%15 = phi i1 [ false, %6 ], [ %13, %10 ]
br i1 %15, label %16, label %34
16: ; preds = %14
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
switch i32 %18, label %27 [
i32 105, label %19
i32 73, label %19
i32 112, label %24
i32 80, label %24
]
19: ; preds = %16, %16
%20 = call i32 (...) @Get_value()
store i32 %20, ptr %3, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %3, align 4
%23 = call ptr @Insert(ptr noundef %21, i32 noundef %22)
store ptr %23, ptr %4, align 8
br label %32
24: ; preds = %16, %16
%25 = load ptr, ptr %4, align 8
%26 = call i32 @Print(ptr noundef %25)
br label %32
27: ; preds = %16
%28 = load i8, ptr %2, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %32
32: ; preds = %27, %24, %19
%33 = call signext i8 (...) @Get_command()
store i8 %33, ptr %2, align 1
br label %6, !llvm.loop !6
34: ; preds = %14
ret i32 0
}
declare signext i8 @Get_command(...) #1
declare i32 @Get_value(...) #1
declare ptr @Insert(ptr noundef, i32 noundef) #1
declare i32 @Print(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu5kgygsr.c'
source_filename = "/tmp/tmpu5kgygsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftbdef_() #0 {
%1 = call i32 (...) @Cffempty()
ret void
}
declare i32 @Cffempty(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5kgygsr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftbdef_() #0 {
%1 = call i32 (...) @Cffempty()
ret void
}
declare i32 @Cffempty(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcf72hpf5.c'
source_filename = "/tmp/tmpcf72hpf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @navi_extern_port_is_input_port(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 @navi_port_is_input_port(ptr noundef %3)
ret i32 %4
}
declare i32 @navi_port_is_input_port(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcf72hpf5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @navi_extern_port_is_input_port(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 @navi_port_is_input_port(ptr noundef %3)
ret i32 %4
}
declare i32 @navi_port_is_input_port(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6le8tdyo.c'
source_filename = "/tmp/tmp6le8tdyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @levenshtein_similarity(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @levenshtein(ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = sitofp i64 %13 to float
store float %14, ptr %7, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = sitofp i64 %16 to float
store float %17, ptr %8, align 4
%18 = load float, ptr %7, align 4
%19 = load float, ptr %8, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = load float, ptr %8, align 4
store float %22, ptr %7, align 4
br label %23
23: ; preds = %21, %2
%24 = load float, ptr %7, align 4
%25 = fcmp oeq float %24, 0.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %23
store float 1.000000e+00, ptr %3, align 4
br label %33
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = uitofp i32 %28 to float
%30 = load float, ptr %7, align 4
%31 = fdiv float %29, %30
%32 = fsub float 1.000000e+00, %31
store float %32, ptr %3, align 4
br label %33
33: ; preds = %27, %26
%34 = load float, ptr %3, align 4
ret float %34
}
declare i32 @levenshtein(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6le8tdyo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @levenshtein_similarity(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @levenshtein(ptr noundef %9, ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = sitofp i64 %13 to float
store float %14, ptr %7, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = sitofp i64 %16 to float
store float %17, ptr %8, align 4
%18 = load float, ptr %7, align 4
%19 = load float, ptr %8, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = load float, ptr %8, align 4
store float %22, ptr %7, align 4
br label %23
23: ; preds = %21, %2
%24 = load float, ptr %7, align 4
%25 = fcmp oeq float %24, 0.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %23
store float 1.000000e+00, ptr %3, align 4
br label %33
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = uitofp i32 %28 to float
%30 = load float, ptr %7, align 4
%31 = fdiv float %29, %30
%32 = fsub float 1.000000e+00, %31
store float %32, ptr %3, align 4
br label %33
33: ; preds = %27, %26
%34 = load float, ptr %3, align 4
ret float %34
}
declare i32 @levenshtein(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0207g9e4.c'
source_filename = "/tmp/tmp0207g9e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chi2cdf(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = fdiv double %6, 2.000000e+00
%8 = call double @gammacdf(double noundef %5, double noundef %7, double noundef 2.000000e+00)
ret double %8
}
declare double @gammacdf(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0207g9e4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chi2cdf(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = fdiv double %6, 2.000000e+00
%8 = call double @gammacdf(double noundef %5, double noundef %7, double noundef 2.000000e+00)
ret double %8
}
declare double @gammacdf(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjk1t45p.c'
source_filename = "/tmp/tmpfjk1t45p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @getgid()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @setregid(i32 noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @system(ptr noundef %13)
ret i32 0
}
declare i32 @getgid(...) #1
declare i32 @setregid(i32 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjk1t45p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @getgid()
store i32 %7, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @setregid(i32 noundef %8, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @system(ptr noundef %13)
ret i32 0
}
declare i32 @getgid(...) #1
declare i32 @setregid(i32 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgkjdko0_.c'
source_filename = "/tmp/tmpgkjdko0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %27, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %30
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %22, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 4
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [4 x i32], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgkjdko0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %27
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [4 x i32], ptr %11, i64 %13
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %10
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 4
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %7
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 3
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %1
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9iurt12b.c'
source_filename = "/tmp/tmp9iurt12b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushcomplex8array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 8
%8 = call i32 @pushNarray(ptr noundef %5, i32 noundef %7)
ret void
}
declare i32 @pushNarray(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/tmp9iurt12b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushcomplex8array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 8
%8 = call i32 @pushNarray(ptr noundef %5, i32 noundef %7)
ret void
}
declare i32 @pushNarray(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/tmp2ljuf63c.c'
source_filename = "/tmp/tmp2ljuf63c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Programm zur Berechnung des Volumens einer Kugel\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0A\0ARadius der Kugel in cm: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Volumen: %f Kubikzentimeter\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = call double @BerechneKugelVolumen(float noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @BerechneKugelVolumen(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ljuf63c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Programm zur Berechnung des Volumens einer Kugel\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0A\0ARadius der Kugel in cm: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Volumen: %f Kubikzentimeter\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%6 = load float, ptr %2, align 4
%7 = call double @BerechneKugelVolumen(float noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @BerechneKugelVolumen(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjn4sj1ym.c'
source_filename = "/tmp/tmpjn4sj1ym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Update\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c" 1) Update Student Grade\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" 2) Update Subjects\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" 3) Exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayView_printTeacherUpdateSubMenu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
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/tmpjn4sj1ym.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Update\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c" 1) Update Student Grade\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c" 2) Update Subjects\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c" 3) Exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayView_printTeacherUpdateSubMenu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
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/tmpu_l5o42a.c'
source_filename = "/tmp/tmpu_l5o42a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out.yuv\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [460800 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %6, align 8
%9 = getelementptr inbounds [460800 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @_FillImage420(ptr noundef %9, i32 noundef 640, i32 noundef 480)
%11 = getelementptr inbounds [460800 x i32], ptr %7, i64 0, i64 0
%12 = load ptr, ptr %6, align 8
%13 = call i32 @fwrite(ptr noundef %11, i32 noundef 1843200, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @_FillImage420(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 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/tmpu_l5o42a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out.yuv\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [460800 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %8, ptr %6, align 8
%9 = getelementptr inbounds [460800 x i32], ptr %7, i64 0, i64 0
%10 = call i32 @_FillImage420(ptr noundef %9, i32 noundef 640, i32 noundef 480)
%11 = getelementptr inbounds [460800 x i32], ptr %7, i64 0, i64 0
%12 = load ptr, ptr %6, align 8
%13 = call i32 @fwrite(ptr noundef %11, i32 noundef 1843200, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @_FillImage420(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 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/tmpivrk5zwj.c'
source_filename = "/tmp/tmpivrk5zwj.c"
target datalayout = "e-m:e-p270: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/tmpivrk5zwj.c"
target datalayout = "e-m:e-p270: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/tmp6b631grs.c'
source_filename = "/tmp/tmp6b631grs.c"
target datalayout = "e-m:e-p270: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/tmp6b631grs.c"
target datalayout = "e-m:e-p270: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/tmphh3o3rmv.c'
source_filename = "/tmp/tmphh3o3rmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"./iwlist wlan0 scanning > /tmp/tmpname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iwlist() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphh3o3rmv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"./iwlist wlan0 scanning > /tmp/tmpname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iwlist() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfyltqfl6.c'
source_filename = "/tmp/tmpfyltqfl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"aPointer: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"*aPointer: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"aChar: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %2, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
store i8 110, ptr %4, align 1
store ptr %4, ptr %5, align 8
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @doSomethingWithACharPointer(ptr noundef %14)
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @doSomethingWithACharPointer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfyltqfl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"aPointer: %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"*aPointer: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"aChar: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %2, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
store i8 110, ptr %4, align 1
store ptr %4, ptr %5, align 8
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i32 @doSomethingWithACharPointer(ptr noundef %14)
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @doSomethingWithACharPointer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppa068425.c'
source_filename = "/tmp/tmppa068425.c"
target datalayout = "e-m:e-p270: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/tmppa068425.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.