llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpwo924doa.c'
source_filename = "/tmp/tmpwo924doa.c"
target datalayout = "e-m:e-p270: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/tmpwo924doa.c"
target datalayout = "e-m:e-p270: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/tmpwzigffh_.c'
source_filename = "/tmp/tmpwzigffh_.c"
target datalayout = "e-m:e-p270: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/tmpwzigffh_.c"
target datalayout = "e-m:e-p270: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/tmpgz1an8xq.c'
source_filename = "/tmp/tmpgz1an8xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %32
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 15
br i1 %9, label %10, label %32
10: ; preds = %7
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %28, %10
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 99
br i1 %13, label %14, label %31
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = mul nsw i32 15, %15
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %16, %17
%19 = srem i32 %18, 16
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %14
%22 = call i32 @hash(i32 noundef 1)
%23 = load i32, ptr %3, align 4
%24 = call i32 @hash(i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = call i32 @hash(i32 noundef %25)
br label %27
27: ; preds = %21, %14
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %11, !llvm.loop !6
31: ; preds = %11
br label %32
32: ; preds = %31, %7, %1
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgz1an8xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %33
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 15
br i1 %9, label %10, label %33
10: ; preds = %7
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 99
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %27
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 15, %14
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %15, %16
%18 = srem i32 %17, 16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %13
%21 = call i32 @hash(i32 noundef 1)
%22 = load i32, ptr %3, align 4
%23 = call i32 @hash(i32 noundef %22)
%24 = load i32, ptr %2, align 4
%25 = call i32 @hash(i32 noundef %24)
br label %26
26: ; preds = %20, %13
br label %27
27: ; preds = %26
%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 sle i32 %30, 99
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %10
br label %33
33: ; preds = %32, %7, %1
ret void
}
declare i32 @hash(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9you5v5j.c'
source_filename = "/tmp/tmp9you5v5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ece_aes128gcm_payload_extract_params(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp ult i64 %21, 21
br i1 %22, label %23, label %24
23: ; preds = %9
store i32 -10, ptr %10, align 4
br label %62
24: ; preds = %9
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %13, align 8
store ptr %25, ptr %26, align 8
%27 = load ptr, ptr %14, align 8
store i64 16, ptr %27, align 8
%28 = load ptr, ptr %11, align 8
%29 = getelementptr inbounds i64, ptr %28, i64 20
%30 = load i64, ptr %29, align 8
%31 = load ptr, ptr %16, align 8
store i64 %30, ptr %31, align 8
%32 = load i64, ptr %12, align 8
%33 = load ptr, ptr %16, align 8
%34 = load i64, ptr %33, align 8
%35 = add i64 21, %34
%36 = icmp ult i64 %32, %35
br i1 %36, label %37, label %38
37: ; preds = %24
store i32 -10, ptr %10, align 4
br label %62
38: ; preds = %24
%39 = load ptr, ptr %11, align 8
%40 = getelementptr inbounds i64, ptr %39, i64 21
%41 = load ptr, ptr %15, align 8
store ptr %40, ptr %41, align 8
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds i64, ptr %42, i64 16
%44 = call i32 @ece_read_uint32_be(ptr noundef %43)
%45 = load ptr, ptr %17, align 8
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %17, align 8
%47 = load i32, ptr %46, align 4
%48 = icmp slt i32 %47, 18
br i1 %48, label %49, label %50
49: ; preds = %38
store i32 -15, ptr %10, align 4
br label %62
50: ; preds = %38
%51 = load ptr, ptr %16, align 8
%52 = load i64, ptr %51, align 8
%53 = add i64 21, %52
store i64 %53, ptr %20, align 8
%54 = load ptr, ptr %11, align 8
%55 = load i64, ptr %20, align 8
%56 = getelementptr inbounds i64, ptr %54, i64 %55
%57 = load ptr, ptr %18, align 8
store ptr %56, ptr %57, align 8
%58 = load i64, ptr %12, align 8
%59 = load i64, ptr %20, align 8
%60 = sub i64 %58, %59
%61 = load ptr, ptr %19, align 8
store i64 %60, ptr %61, align 8
store i32 0, ptr %10, align 4
br label %62
62: ; preds = %50, %49, %37, %23
%63 = load i32, ptr %10, align 4
ret i32 %63
}
declare i32 @ece_read_uint32_be(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9you5v5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ece_aes128gcm_payload_extract_params(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i64, align 8
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store ptr %5, ptr %16, align 8
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
%21 = load i64, ptr %12, align 8
%22 = icmp ult i64 %21, 21
br i1 %22, label %23, label %24
23: ; preds = %9
store i32 -10, ptr %10, align 4
br label %62
24: ; preds = %9
%25 = load ptr, ptr %11, align 8
%26 = load ptr, ptr %13, align 8
store ptr %25, ptr %26, align 8
%27 = load ptr, ptr %14, align 8
store i64 16, ptr %27, align 8
%28 = load ptr, ptr %11, align 8
%29 = getelementptr inbounds i64, ptr %28, i64 20
%30 = load i64, ptr %29, align 8
%31 = load ptr, ptr %16, align 8
store i64 %30, ptr %31, align 8
%32 = load i64, ptr %12, align 8
%33 = load ptr, ptr %16, align 8
%34 = load i64, ptr %33, align 8
%35 = add i64 21, %34
%36 = icmp ult i64 %32, %35
br i1 %36, label %37, label %38
37: ; preds = %24
store i32 -10, ptr %10, align 4
br label %62
38: ; preds = %24
%39 = load ptr, ptr %11, align 8
%40 = getelementptr inbounds i64, ptr %39, i64 21
%41 = load ptr, ptr %15, align 8
store ptr %40, ptr %41, align 8
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds i64, ptr %42, i64 16
%44 = call i32 @ece_read_uint32_be(ptr noundef %43)
%45 = load ptr, ptr %17, align 8
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %17, align 8
%47 = load i32, ptr %46, align 4
%48 = icmp slt i32 %47, 18
br i1 %48, label %49, label %50
49: ; preds = %38
store i32 -15, ptr %10, align 4
br label %62
50: ; preds = %38
%51 = load ptr, ptr %16, align 8
%52 = load i64, ptr %51, align 8
%53 = add i64 21, %52
store i64 %53, ptr %20, align 8
%54 = load ptr, ptr %11, align 8
%55 = load i64, ptr %20, align 8
%56 = getelementptr inbounds i64, ptr %54, i64 %55
%57 = load ptr, ptr %18, align 8
store ptr %56, ptr %57, align 8
%58 = load i64, ptr %12, align 8
%59 = load i64, ptr %20, align 8
%60 = sub i64 %58, %59
%61 = load ptr, ptr %19, align 8
store i64 %60, ptr %61, align 8
store i32 0, ptr %10, align 4
br label %62
62: ; preds = %50, %49, %37, %23
%63 = load i32, ptr %10, align 4
ret i32 %63
}
declare i32 @ece_read_uint32_be(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0wrqeiur.c'
source_filename = "/tmp/tmp0wrqeiur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PtrMap_Find(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
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0wrqeiur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PtrMap_Find(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
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvcfib3ti.c'
source_filename = "/tmp/tmpvcfib3ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shmem_int_cswap(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = call i32 @printf(ptr noundef @.str)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
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/tmpvcfib3ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @shmem_int_cswap(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = call i32 @printf(ptr noundef @.str)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
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/tmp319_kiia.c'
source_filename = "/tmp/tmp319_kiia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_char(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp319_kiia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @out_char(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7rm_jf0a.c'
source_filename = "/tmp/tmp7rm_jf0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_itoa(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = icmp eq i64 %8, -2147483648
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call ptr @ft_strdup(ptr noundef @.str)
store ptr %11, ptr %2, align 8
br label %59
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i32 @ft_itoa_length(i32 noundef %13)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 1, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %12
store ptr null, ptr %2, align 8
br label %59
24: ; preds = %12
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 0, ptr %29, align 1
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 0, %33
store i32 %34, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %35
35: ; preds = %32, %24
br label %36
36: ; preds = %40, %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %5, align 4
%39 = icmp ne i32 %37, 0
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load i32, ptr %3, align 4
%42 = srem i32 %41, 10
%43 = add nsw i32 %42, 48
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
%49 = load i32, ptr %3, align 4
%50 = sdiv i32 %49, 10
store i32 %50, ptr %3, align 4
br label %36, !llvm.loop !6
51: ; preds = %36
%52 = load i32, ptr %6, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
store i8 45, ptr %56, align 1
br label %57
57: ; preds = %54, %51
%58 = load ptr, ptr %4, align 8
store ptr %58, ptr %2, align 8
br label %59
59: ; preds = %57, %23, %10
%60 = load ptr, ptr %2, align 8
ret ptr %60
}
declare ptr @ft_strdup(ptr noundef) #1
declare i32 @ft_itoa_length(i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rm_jf0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_itoa(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = icmp eq i64 %8, -2147483648
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call ptr @ft_strdup(ptr noundef @.str)
store ptr %11, ptr %2, align 8
br label %61
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i32 @ft_itoa_length(i32 noundef %13)
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 1, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %12
store ptr null, ptr %2, align 8
br label %61
24: ; preds = %12
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 0, ptr %29, align 1
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 0, %33
store i32 %34, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %35
35: ; preds = %32, %24
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %5, align 4
%38 = icmp ne i32 %36, 0
br i1 %38, label %.lr.ph, label %53
.lr.ph: ; preds = %35
br label %39
39: ; preds = %.lr.ph, %39
%40 = load i32, ptr %3, align 4
%41 = srem i32 %40, 10
%42 = add nsw i32 %41, 48
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 %43, ptr %47, align 1
%48 = load i32, ptr %3, align 4
%49 = sdiv i32 %48, 10
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %5, align 4
%52 = icmp ne i32 %50, 0
br i1 %52, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %53
53: ; preds = %._crit_edge, %35
%54 = load i32, ptr %6, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load ptr, ptr %4, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
store i8 45, ptr %58, align 1
br label %59
59: ; preds = %56, %53
%60 = load ptr, ptr %4, align 8
store ptr %60, ptr %2, align 8
br label %61
61: ; preds = %59, %23, %10
%62 = load ptr, ptr %2, align 8
ret ptr %62
}
declare ptr @ft_strdup(ptr noundef) #1
declare i32 @ft_itoa_length(i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0byy_s8o.c'
source_filename = "/tmp/tmp0byy_s8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_flv_file(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 sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0byy_s8o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_flv_file(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 sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp697ji__o.c'
source_filename = "/tmp/tmp697ji__o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_free_split_tags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %27
6: ; preds = %1
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %21, %6
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds ptr, ptr %8, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %24
14: ; preds = %7
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 @string_free_split_shared(ptr noundef %19)
br label %21
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %7, !llvm.loop !6
24: ; preds = %7
%25 = load ptr, ptr %2, align 8
%26 = call i32 @free(ptr noundef %25)
br label %27
27: ; preds = %24, %1
ret void
}
declare i32 @string_free_split_shared(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp697ji__o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_free_split_tags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %32
6: ; preds = %1
store i32 0, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %7, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %6
br label %13
13: ; preds = %.lr.ph, %20
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @string_free_split_shared(ptr noundef %18)
br label %20
20: ; preds = %13
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %29
29: ; preds = %._crit_edge, %6
%30 = load ptr, ptr %2, align 8
%31 = call i32 @free(ptr noundef %30)
br label %32
32: ; preds = %29, %1
ret void
}
declare i32 @string_free_split_shared(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"}
|
; ModuleID = '/tmp/tmp11vdu4ku.c'
source_filename = "/tmp/tmp11vdu4ku.c"
target datalayout = "e-m:e-p270: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/tmp11vdu4ku.c"
target datalayout = "e-m:e-p270: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/tmpncjcd3ll.c'
source_filename = "/tmp/tmpncjcd3ll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64_decode(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %11, align 8
%13 = load i64, ptr %7, align 8
%14 = call i64 @b64_get_ascii_wc(i64 noundef %13)
store i64 %14, ptr %12, align 8
%15 = load i64, ptr %7, align 8
%16 = mul i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %3
store i64 0, ptr %4, align 8
br label %132
21: ; preds = %3
store i32 0, ptr %8, align 4
br label %22
22: ; preds = %119, %21
%23 = load i32, ptr %8, align 4
%24 = zext i32 %23 to i64
%25 = load i64, ptr %7, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %27, label %122
27: ; preds = %22
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i16
store i16 %33, ptr %10, align 2
%34 = load i16, ptr %10, align 2
%35 = zext i16 %34 to i32
%36 = icmp slt i32 %35, 58
br i1 %36, label %37, label %50
37: ; preds = %27
%38 = load i16, ptr %10, align 2
%39 = zext i16 %38 to i32
%40 = icmp sge i32 %39, 48
br i1 %40, label %41, label %50
41: ; preds = %37
%42 = load i16, ptr %10, align 2
%43 = zext i16 %42 to i32
%44 = add nsw i32 %43, 4
%45 = trunc i32 %44 to i8
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %8, align 4
%48 = zext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 %45, ptr %49, align 1
br label %111
50: ; preds = %37, %27
%51 = load i16, ptr %10, align 2
%52 = zext i16 %51 to i32
%53 = icmp slt i32 %52, 91
br i1 %53, label %54, label %67
54: ; preds = %50
%55 = load i16, ptr %10, align 2
%56 = zext i16 %55 to i32
%57 = icmp sge i32 %56, 65
br i1 %57, label %58, label %67
58: ; preds = %54
%59 = load i16, ptr %10, align 2
%60 = zext i16 %59 to i32
%61 = sub nsw i32 %60, 65
%62 = trunc i32 %61 to i8
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %8, align 4
%65 = zext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store i8 %62, ptr %66, align 1
br label %110
67: ; preds = %54, %50
%68 = load i16, ptr %10, align 2
%69 = zext i16 %68 to i32
%70 = icmp slt i32 %69, 123
br i1 %70, label %71, label %84
71: ; preds = %67
%72 = load i16, ptr %10, align 2
%73 = zext i16 %72 to i32
%74 = icmp sge i32 %73, 97
br i1 %74, label %75, label %84
75: ; preds = %71
%76 = load i16, ptr %10, align 2
%77 = zext i16 %76 to i32
%78 = sub nsw i32 %77, 71
%79 = trunc i32 %78 to i8
%80 = load ptr, ptr %9, align 8
%81 = load i32, ptr %8, align 4
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
store i8 %79, ptr %83, align 1
br label %109
84: ; preds = %71, %67
%85 = load i16, ptr %10, align 2
%86 = zext i16 %85 to i32
%87 = icmp eq i32 43, %86
br i1 %87, label %88, label %93
88: ; preds = %84
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %8, align 4
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
store i8 62, ptr %92, align 1
br label %108
93: ; preds = %84
%94 = load i16, ptr %10, align 2
%95 = zext i16 %94 to i32
%96 = icmp eq i32 47, %95
br i1 %96, label %97, label %102
97: ; preds = %93
%98 = load ptr, ptr %9, align 8
%99 = load i32, ptr %8, align 4
%100 = zext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
store i8 63, ptr %101, align 1
br label %107
102: ; preds = %93
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %8, align 4
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
store i8 0, ptr %106, align 1
br label %107
107: ; preds = %102, %97
br label %108
108: ; preds = %107, %88
br label %109
109: ; preds = %108, %75
br label %110
110: ; preds = %109, %58
br label %111
111: ; preds = %110, %41
%112 = load i16, ptr %10, align 2
%113 = zext i16 %112 to i32
%114 = icmp ne i32 61, %113
br i1 %114, label %115, label %118
115: ; preds = %111
%116 = load i64, ptr %11, align 8
%117 = add i64 %116, 1
store i64 %117, ptr %11, align 8
br label %118
118: ; preds = %115, %111
br label %119
119: ; preds = %118
%120 = load i32, ptr %8, align 4
%121 = add i32 %120, 1
store i32 %121, ptr %8, align 4
br label %22, !llvm.loop !6
122: ; preds = %22
%123 = load ptr, ptr %5, align 8
%124 = load ptr, ptr %9, align 8
%125 = load i64, ptr %12, align 8
%126 = load i64, ptr %7, align 8
%127 = call i32 @hex_deflate(ptr noundef %123, ptr noundef %124, i64 noundef %125, i64 noundef %126)
%128 = load ptr, ptr %9, align 8
%129 = call i32 @free(ptr noundef %128)
%130 = load i64, ptr %11, align 8
%131 = call i64 @b64_get_ascii_wc(i64 noundef %130)
store i64 %131, ptr %4, align 8
br label %132
132: ; preds = %122, %20
%133 = load i64, ptr %4, align 8
ret i64 %133
}
declare i64 @b64_get_ascii_wc(i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @hex_deflate(ptr noundef, ptr noundef, i64 noundef, i64 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/tmpncjcd3ll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64_decode(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %11, align 8
%13 = load i64, ptr %7, align 8
%14 = call i64 @b64_get_ascii_wc(i64 noundef %13)
store i64 %14, ptr %12, align 8
%15 = load i64, ptr %7, align 8
%16 = mul i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %9, align 8
%18 = load ptr, ptr %9, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %21
20: ; preds = %3
store i64 0, ptr %4, align 8
br label %135
21: ; preds = %3
store i32 0, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = zext i32 %22 to i64
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %.lr.ph, label %125
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %118
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %8, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i16
store i16 %32, ptr %10, align 2
%33 = load i16, ptr %10, align 2
%34 = zext i16 %33 to i32
%35 = icmp slt i32 %34, 58
br i1 %35, label %36, label %49
36: ; preds = %26
%37 = load i16, ptr %10, align 2
%38 = zext i16 %37 to i32
%39 = icmp sge i32 %38, 48
br i1 %39, label %40, label %49
40: ; preds = %36
%41 = load i16, ptr %10, align 2
%42 = zext i16 %41 to i32
%43 = add nsw i32 %42, 4
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %8, align 4
%47 = zext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
br label %110
49: ; preds = %36, %26
%50 = load i16, ptr %10, align 2
%51 = zext i16 %50 to i32
%52 = icmp slt i32 %51, 91
br i1 %52, label %53, label %66
53: ; preds = %49
%54 = load i16, ptr %10, align 2
%55 = zext i16 %54 to i32
%56 = icmp sge i32 %55, 65
br i1 %56, label %57, label %66
57: ; preds = %53
%58 = load i16, ptr %10, align 2
%59 = zext i16 %58 to i32
%60 = sub nsw i32 %59, 65
%61 = trunc i32 %60 to i8
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %8, align 4
%64 = zext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 %61, ptr %65, align 1
br label %109
66: ; preds = %53, %49
%67 = load i16, ptr %10, align 2
%68 = zext i16 %67 to i32
%69 = icmp slt i32 %68, 123
br i1 %69, label %70, label %83
70: ; preds = %66
%71 = load i16, ptr %10, align 2
%72 = zext i16 %71 to i32
%73 = icmp sge i32 %72, 97
br i1 %73, label %74, label %83
74: ; preds = %70
%75 = load i16, ptr %10, align 2
%76 = zext i16 %75 to i32
%77 = sub nsw i32 %76, 71
%78 = trunc i32 %77 to i8
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %8, align 4
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 %78, ptr %82, align 1
br label %108
83: ; preds = %70, %66
%84 = load i16, ptr %10, align 2
%85 = zext i16 %84 to i32
%86 = icmp eq i32 43, %85
br i1 %86, label %87, label %92
87: ; preds = %83
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %8, align 4
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 62, ptr %91, align 1
br label %107
92: ; preds = %83
%93 = load i16, ptr %10, align 2
%94 = zext i16 %93 to i32
%95 = icmp eq i32 47, %94
br i1 %95, label %96, label %101
96: ; preds = %92
%97 = load ptr, ptr %9, align 8
%98 = load i32, ptr %8, align 4
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
store i8 63, ptr %100, align 1
br label %106
101: ; preds = %92
%102 = load ptr, ptr %9, align 8
%103 = load i32, ptr %8, align 4
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
store i8 0, ptr %105, align 1
br label %106
106: ; preds = %101, %96
br label %107
107: ; preds = %106, %87
br label %108
108: ; preds = %107, %74
br label %109
109: ; preds = %108, %57
br label %110
110: ; preds = %109, %40
%111 = load i16, ptr %10, align 2
%112 = zext i16 %111 to i32
%113 = icmp ne i32 61, %112
br i1 %113, label %114, label %117
114: ; preds = %110
%115 = load i64, ptr %11, align 8
%116 = add i64 %115, 1
store i64 %116, ptr %11, align 8
br label %117
117: ; preds = %114, %110
br label %118
118: ; preds = %117
%119 = load i32, ptr %8, align 4
%120 = add i32 %119, 1
store i32 %120, ptr %8, align 4
%121 = load i32, ptr %8, align 4
%122 = zext i32 %121 to i64
%123 = load i64, ptr %7, align 8
%124 = icmp ult i64 %122, %123
br i1 %124, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %118
br label %125
125: ; preds = %._crit_edge, %21
%126 = load ptr, ptr %5, align 8
%127 = load ptr, ptr %9, align 8
%128 = load i64, ptr %12, align 8
%129 = load i64, ptr %7, align 8
%130 = call i32 @hex_deflate(ptr noundef %126, ptr noundef %127, i64 noundef %128, i64 noundef %129)
%131 = load ptr, ptr %9, align 8
%132 = call i32 @free(ptr noundef %131)
%133 = load i64, ptr %11, align 8
%134 = call i64 @b64_get_ascii_wc(i64 noundef %133)
store i64 %134, ptr %4, align 8
br label %135
135: ; preds = %125, %20
%136 = load i64, ptr %4, align 8
ret i64 %136
}
declare i64 @b64_get_ascii_wc(i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @hex_deflate(ptr noundef, ptr noundef, i64 noundef, i64 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/tmp54kqs7zx.c'
source_filename = "/tmp/tmp54kqs7zx.c"
target datalayout = "e-m:e-p270: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/tmp54kqs7zx.c"
target datalayout = "e-m:e-p270: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/tmp2sn3j3h2.c'
source_filename = "/tmp/tmp2sn3j3h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.d = private unnamed_addr constant [12 x i32] [i32 31, i32 0, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d-%d-%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"error date!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.d, i64 48, i1 false)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %4, align 4
%14 = srem i32 %13, 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = load i32, ptr %4, align 4
%18 = srem i32 %17, 100
%19 = icmp ne i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16, %0
%21 = load i32, ptr %4, align 4
%22 = srem i32 %21, 400
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %100
24: ; preds = %20, %16
%25 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 1
store i32 29, ptr %25, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 30
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %99
33: ; preds = %28, %24
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %54, label %36
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = icmp eq i32 %37, 3
br i1 %38, label %54, label %39
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %40, 5
br i1 %41, label %54, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 7
br i1 %44, label %54, label %45
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = icmp eq i32 %46, 8
br i1 %47, label %54, label %48
48: ; preds = %45
%49 = load i32, ptr %5, align 4
%50 = icmp eq i32 %49, 10
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load i32, ptr %5, align 4
%53 = icmp eq i32 %52, 12
br i1 %53, label %54, label %59
54: ; preds = %51, %48, %45, %42, %39, %36, %33
%55 = load i32, ptr %6, align 4
%56 = icmp sge i32 %55, 32
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %98
59: ; preds = %54, %51
%60 = load i32, ptr %5, align 4
%61 = icmp eq i32 %60, 4
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load i32, ptr %5, align 4
%64 = icmp eq i32 %63, 6
br i1 %64, label %71, label %65
65: ; preds = %62
%66 = load i32, ptr %5, align 4
%67 = icmp eq i32 %66, 9
br i1 %67, label %71, label %68
68: ; preds = %65
%69 = load i32, ptr %5, align 4
%70 = icmp eq i32 %69, 11
br i1 %70, label %71, label %76
71: ; preds = %68, %65, %62, %59
%72 = load i32, ptr %6, align 4
%73 = icmp sge i32 %72, 31
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %97
76: ; preds = %71, %68
store i32 0, ptr %7, align 4
br label %77
77: ; preds = %89, %76
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %5, align 4
%80 = sub nsw i32 %79, 1
%81 = icmp slt i32 %78, %80
br i1 %81, label %82, label %92
82: ; preds = %77
%83 = load i32, ptr %7, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %9, align 4
br label %89
89: ; preds = %82
%90 = load i32, ptr %7, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %7, align 4
br label %77, !llvm.loop !6
92: ; preds = %77
%93 = load i32, ptr %9, align 4
%94 = load i32, ptr %6, align 4
%95 = add nsw i32 %93, %94
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %95)
br label %97
97: ; preds = %92, %74
br label %98
98: ; preds = %97, %57
br label %99
99: ; preds = %98, %31
br label %176
100: ; preds = %20
%101 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 1
store i32 28, ptr %101, align 4
%102 = load i32, ptr %5, align 4
%103 = icmp eq i32 %102, 2
br i1 %103, label %104, label %109
104: ; preds = %100
%105 = load i32, ptr %6, align 4
%106 = icmp sge i32 %105, 29
br i1 %106, label %107, label %109
107: ; preds = %104
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %175
109: ; preds = %104, %100
%110 = load i32, ptr %5, align 4
%111 = icmp eq i32 %110, 1
br i1 %111, label %130, label %112
112: ; preds = %109
%113 = load i32, ptr %5, align 4
%114 = icmp eq i32 %113, 3
br i1 %114, label %130, label %115
115: ; preds = %112
%116 = load i32, ptr %5, align 4
%117 = icmp eq i32 %116, 5
br i1 %117, label %130, label %118
118: ; preds = %115
%119 = load i32, ptr %5, align 4
%120 = icmp eq i32 %119, 7
br i1 %120, label %130, label %121
121: ; preds = %118
%122 = load i32, ptr %5, align 4
%123 = icmp eq i32 %122, 8
br i1 %123, label %130, label %124
124: ; preds = %121
%125 = load i32, ptr %5, align 4
%126 = icmp eq i32 %125, 10
br i1 %126, label %130, label %127
127: ; preds = %124
%128 = load i32, ptr %5, align 4
%129 = icmp eq i32 %128, 12
br i1 %129, label %130, label %135
130: ; preds = %127, %124, %121, %118, %115, %112, %109
%131 = load i32, ptr %6, align 4
%132 = icmp sge i32 %131, 32
br i1 %132, label %133, label %135
133: ; preds = %130
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %174
135: ; preds = %130, %127
%136 = load i32, ptr %5, align 4
%137 = icmp eq i32 %136, 4
br i1 %137, label %147, label %138
138: ; preds = %135
%139 = load i32, ptr %5, align 4
%140 = icmp eq i32 %139, 6
br i1 %140, label %147, label %141
141: ; preds = %138
%142 = load i32, ptr %5, align 4
%143 = icmp eq i32 %142, 9
br i1 %143, label %147, label %144
144: ; preds = %141
%145 = load i32, ptr %5, align 4
%146 = icmp eq i32 %145, 11
br i1 %146, label %147, label %152
147: ; preds = %144, %141, %138, %135
%148 = load i32, ptr %6, align 4
%149 = icmp sge i32 %148, 31
br i1 %149, label %150, label %152
150: ; preds = %147
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %173
152: ; preds = %147, %144
store i32 0, ptr %8, align 4
br label %153
153: ; preds = %165, %152
%154 = load i32, ptr %8, align 4
%155 = load i32, ptr %5, align 4
%156 = sub nsw i32 %155, 1
%157 = icmp slt i32 %154, %156
br i1 %157, label %158, label %168
158: ; preds = %153
%159 = load i32, ptr %8, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %160
%162 = load i32, ptr %161, align 4
%163 = load i32, ptr %10, align 4
%164 = add nsw i32 %163, %162
store i32 %164, ptr %10, align 4
br label %165
165: ; preds = %158
%166 = load i32, ptr %8, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %8, align 4
br label %153, !llvm.loop !8
168: ; preds = %153
%169 = load i32, ptr %10, align 4
%170 = load i32, ptr %6, align 4
%171 = add nsw i32 %169, %170
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %171)
br label %173
173: ; preds = %168, %150
br label %174
174: ; preds = %173, %133
br label %175
175: ; preds = %174, %107
br label %176
176: ; preds = %175, %99
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2sn3j3h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.d = private unnamed_addr constant [12 x i32] [i32 31, i32 0, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d-%d-%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"error date!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.d, i64 48, i1 false)
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%13 = load i32, ptr %4, align 4
%14 = srem i32 %13, 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = load i32, ptr %4, align 4
%18 = srem i32 %17, 100
%19 = icmp ne i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16, %0
%21 = load i32, ptr %4, align 4
%22 = srem i32 %21, 400
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %103
24: ; preds = %20, %16
%25 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 1
store i32 29, ptr %25, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load i32, ptr %6, align 4
%30 = icmp sge i32 %29, 30
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %102
33: ; preds = %28, %24
%34 = load i32, ptr %5, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %54, label %36
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = icmp eq i32 %37, 3
br i1 %38, label %54, label %39
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = icmp eq i32 %40, 5
br i1 %41, label %54, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 7
br i1 %44, label %54, label %45
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = icmp eq i32 %46, 8
br i1 %47, label %54, label %48
48: ; preds = %45
%49 = load i32, ptr %5, align 4
%50 = icmp eq i32 %49, 10
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load i32, ptr %5, align 4
%53 = icmp eq i32 %52, 12
br i1 %53, label %54, label %59
54: ; preds = %51, %48, %45, %42, %39, %36, %33
%55 = load i32, ptr %6, align 4
%56 = icmp sge i32 %55, 32
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %101
59: ; preds = %54, %51
%60 = load i32, ptr %5, align 4
%61 = icmp eq i32 %60, 4
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load i32, ptr %5, align 4
%64 = icmp eq i32 %63, 6
br i1 %64, label %71, label %65
65: ; preds = %62
%66 = load i32, ptr %5, align 4
%67 = icmp eq i32 %66, 9
br i1 %67, label %71, label %68
68: ; preds = %65
%69 = load i32, ptr %5, align 4
%70 = icmp eq i32 %69, 11
br i1 %70, label %71, label %76
71: ; preds = %68, %65, %62, %59
%72 = load i32, ptr %6, align 4
%73 = icmp sge i32 %72, 31
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %100
76: ; preds = %71, %68
store i32 0, ptr %7, align 4
%77 = load i32, ptr %7, align 4
%78 = load i32, ptr %5, align 4
%79 = sub nsw i32 %78, 1
%80 = icmp slt i32 %77, %79
br i1 %80, label %.lr.ph2, label %95
.lr.ph2: ; preds = %76
br label %81
81: ; preds = %.lr.ph2, %88
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, %85
store i32 %87, ptr %9, align 4
br label %88
88: ; preds = %81
%89 = load i32, ptr %7, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %5, align 4
%93 = sub nsw i32 %92, 1
%94 = icmp slt i32 %91, %93
br i1 %94, label %81, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %88
br label %95
95: ; preds = %._crit_edge3, %76
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %96, %97
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %98)
br label %100
100: ; preds = %95, %74
br label %101
101: ; preds = %100, %57
br label %102
102: ; preds = %101, %31
br label %182
103: ; preds = %20
%104 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 1
store i32 28, ptr %104, align 4
%105 = load i32, ptr %5, align 4
%106 = icmp eq i32 %105, 2
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = load i32, ptr %6, align 4
%109 = icmp sge i32 %108, 29
br i1 %109, label %110, label %112
110: ; preds = %107
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %181
112: ; preds = %107, %103
%113 = load i32, ptr %5, align 4
%114 = icmp eq i32 %113, 1
br i1 %114, label %133, label %115
115: ; preds = %112
%116 = load i32, ptr %5, align 4
%117 = icmp eq i32 %116, 3
br i1 %117, label %133, label %118
118: ; preds = %115
%119 = load i32, ptr %5, align 4
%120 = icmp eq i32 %119, 5
br i1 %120, label %133, label %121
121: ; preds = %118
%122 = load i32, ptr %5, align 4
%123 = icmp eq i32 %122, 7
br i1 %123, label %133, label %124
124: ; preds = %121
%125 = load i32, ptr %5, align 4
%126 = icmp eq i32 %125, 8
br i1 %126, label %133, label %127
127: ; preds = %124
%128 = load i32, ptr %5, align 4
%129 = icmp eq i32 %128, 10
br i1 %129, label %133, label %130
130: ; preds = %127
%131 = load i32, ptr %5, align 4
%132 = icmp eq i32 %131, 12
br i1 %132, label %133, label %138
133: ; preds = %130, %127, %124, %121, %118, %115, %112
%134 = load i32, ptr %6, align 4
%135 = icmp sge i32 %134, 32
br i1 %135, label %136, label %138
136: ; preds = %133
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %180
138: ; preds = %133, %130
%139 = load i32, ptr %5, align 4
%140 = icmp eq i32 %139, 4
br i1 %140, label %150, label %141
141: ; preds = %138
%142 = load i32, ptr %5, align 4
%143 = icmp eq i32 %142, 6
br i1 %143, label %150, label %144
144: ; preds = %141
%145 = load i32, ptr %5, align 4
%146 = icmp eq i32 %145, 9
br i1 %146, label %150, label %147
147: ; preds = %144
%148 = load i32, ptr %5, align 4
%149 = icmp eq i32 %148, 11
br i1 %149, label %150, label %155
150: ; preds = %147, %144, %141, %138
%151 = load i32, ptr %6, align 4
%152 = icmp sge i32 %151, 31
br i1 %152, label %153, label %155
153: ; preds = %150
%154 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %179
155: ; preds = %150, %147
store i32 0, ptr %8, align 4
%156 = load i32, ptr %8, align 4
%157 = load i32, ptr %5, align 4
%158 = sub nsw i32 %157, 1
%159 = icmp slt i32 %156, %158
br i1 %159, label %.lr.ph, label %174
.lr.ph: ; preds = %155
br label %160
160: ; preds = %.lr.ph, %167
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %162
%164 = load i32, ptr %163, align 4
%165 = load i32, ptr %10, align 4
%166 = add nsw i32 %165, %164
store i32 %166, ptr %10, align 4
br label %167
167: ; preds = %160
%168 = load i32, ptr %8, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %8, align 4
%170 = load i32, ptr %8, align 4
%171 = load i32, ptr %5, align 4
%172 = sub nsw i32 %171, 1
%173 = icmp slt i32 %170, %172
br i1 %173, label %160, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %167
br label %174
174: ; preds = %._crit_edge, %155
%175 = load i32, ptr %10, align 4
%176 = load i32, ptr %6, align 4
%177 = add nsw i32 %175, %176
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %177)
br label %179
179: ; preds = %174, %153
br label %180
180: ; preds = %179, %136
br label %181
181: ; preds = %180, %110
br label %182
182: ; preds = %181, %102
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu07epyg4.c'
source_filename = "/tmp/tmpu07epyg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@F_TLOCK = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu07epyg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = dso_local global i64 0, align 8
@F_TLOCK = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq2_xzifd.c'
source_filename = "/tmp/tmpq2_xzifd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 4, ptr %1, align 4
store i32 5, ptr %2, align 4
store float 7.000000e+00, ptr %3, align 4
store float 8.000000e+00, ptr %4, align 4
%5 = load i32, ptr %1, align 4
%6 = sitofp i32 %5 to float
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %6, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = sitofp i32 %9 to float
%11 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %10)
%12 = load float, ptr %3, align 4
%13 = load float, ptr %4, align 4
%14 = fpext float %13 to double
%15 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %12, double noundef %14)
%16 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq2_xzifd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 4, ptr %1, align 4
store i32 5, ptr %2, align 4
store float 7.000000e+00, ptr %3, align 4
store float 8.000000e+00, ptr %4, align 4
%5 = load i32, ptr %1, align 4
%6 = sitofp i32 %5 to float
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %6, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = sitofp i32 %9 to float
%11 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %10)
%12 = load float, ptr %3, align 4
%13 = load float, ptr %4, align 4
%14 = fpext float %13 to double
%15 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %12, double noundef %14)
%16 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, float noundef, ...) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoitwn2xq.c'
source_filename = "/tmp/tmpoitwn2xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop() #0 {
%1 = call i32 (...) @clampClose()
%2 = call i32 @delay(i32 noundef 1000)
%3 = call i32 (...) @injectDown()
%4 = call i32 @delay(i32 noundef 5000)
%5 = call i32 (...) @injectUp()
%6 = call i32 @delay(i32 noundef 5000)
%7 = call i32 (...) @clampOpen()
%8 = call i32 @delay(i32 noundef 3000)
ret void
}
declare i32 @clampClose(...) #1
declare i32 @delay(i32 noundef) #1
declare i32 @injectDown(...) #1
declare i32 @injectUp(...) #1
declare i32 @clampOpen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoitwn2xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop() #0 {
%1 = call i32 (...) @clampClose()
%2 = call i32 @delay(i32 noundef 1000)
%3 = call i32 (...) @injectDown()
%4 = call i32 @delay(i32 noundef 5000)
%5 = call i32 (...) @injectUp()
%6 = call i32 @delay(i32 noundef 5000)
%7 = call i32 (...) @clampOpen()
%8 = call i32 @delay(i32 noundef 3000)
ret void
}
declare i32 @clampClose(...) #1
declare i32 @delay(i32 noundef) #1
declare i32 @injectDown(...) #1
declare i32 @injectUp(...) #1
declare i32 @clampOpen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_sbuagx2.c'
source_filename = "/tmp/tmp_sbuagx2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sbuagx2.c"
target datalayout = "e-m:e-p270: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/tmpzhnprlt_.c'
source_filename = "/tmp/tmpzhnprlt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"NOT IMPLEMENTED:pa_check_signal_is_blocked\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_check_signal_is_blocked() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzhnprlt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"NOT IMPLEMENTED:pa_check_signal_is_blocked\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_check_signal_is_blocked() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxyz5ldh.c'
source_filename = "/tmp/tmpaxyz5ldh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @play_album(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = call i32 (...) @mpd_connect()
store i32 %5, ptr %4, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @mpd_play(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr %4, align 4
%13 = call i32 @mpd_close(i32 noundef %12)
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %8, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @mpd_connect(...) #1
declare i32 @mpd_play(i32 noundef, ptr noundef) #1
declare i32 @mpd_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxyz5ldh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @play_album(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = call i32 (...) @mpd_connect()
store i32 %5, ptr %4, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @mpd_play(i32 noundef %9, ptr noundef %10)
%12 = load i32, ptr %4, align 4
%13 = call i32 @mpd_close(i32 noundef %12)
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %8, %7
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @mpd_connect(...) #1
declare i32 @mpd_play(i32 noundef, ptr noundef) #1
declare i32 @mpd_close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9ovb14s.c'
source_filename = "/tmp/tmpp9ovb14s.c"
target datalayout = "e-m:e-p270: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/tmpp9ovb14s.c"
target datalayout = "e-m:e-p270: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/tmpevhc7y0s.c'
source_filename = "/tmp/tmpevhc7y0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GeogDist(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%12 = load double, ptr %7, align 8
%13 = load double, ptr %5, align 8
%14 = fsub double %12, %13
%15 = fmul double 5.000000e-01, %14
%16 = call double @sin(double noundef %15) #3
store double %16, ptr %9, align 8
%17 = load double, ptr %8, align 8
%18 = load double, ptr %6, align 8
%19 = fsub double %17, %18
%20 = fmul double 5.000000e-01, %19
%21 = call double @sin(double noundef %20) #3
store double %21, ptr %10, align 8
%22 = load double, ptr %10, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %6, align 8
%25 = call double @cos(double noundef %24) #3
%26 = load double, ptr %8, align 8
%27 = call double @cos(double noundef %26) #3
%28 = fmul double %25, %27
%29 = load double, ptr %9, align 8
%30 = fmul double %28, %29
%31 = load double, ptr %9, align 8
%32 = fmul double %30, %31
%33 = call double @llvm.fmuladd.f64(double %22, double %23, double %32)
%34 = call double @sqrt(double noundef %33) #3
store double %34, ptr %11, align 8
%35 = load double, ptr %11, align 8
%36 = fcmp ogt double %35, 1.000000e+00
br i1 %36, label %37, label %38
37: ; preds = %4
br label %42
38: ; preds = %4
%39 = load double, ptr %11, align 8
%40 = call double @asin(double noundef %39) #3
%41 = fmul double 2.000000e+00, %40
br label %42
42: ; preds = %38, %37
%43 = phi double [ 0x400921FB54442D18, %37 ], [ %41, %38 ]
ret double %43
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpevhc7y0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GeogDist(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%12 = load double, ptr %7, align 8
%13 = load double, ptr %5, align 8
%14 = fsub double %12, %13
%15 = fmul double 5.000000e-01, %14
%16 = call double @sin(double noundef %15) #3
store double %16, ptr %9, align 8
%17 = load double, ptr %8, align 8
%18 = load double, ptr %6, align 8
%19 = fsub double %17, %18
%20 = fmul double 5.000000e-01, %19
%21 = call double @sin(double noundef %20) #3
store double %21, ptr %10, align 8
%22 = load double, ptr %10, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %6, align 8
%25 = call double @cos(double noundef %24) #3
%26 = load double, ptr %8, align 8
%27 = call double @cos(double noundef %26) #3
%28 = fmul double %25, %27
%29 = load double, ptr %9, align 8
%30 = fmul double %28, %29
%31 = load double, ptr %9, align 8
%32 = fmul double %30, %31
%33 = call double @llvm.fmuladd.f64(double %22, double %23, double %32)
%34 = call double @sqrt(double noundef %33) #3
store double %34, ptr %11, align 8
%35 = load double, ptr %11, align 8
%36 = fcmp ogt double %35, 1.000000e+00
br i1 %36, label %37, label %38
37: ; preds = %4
br label %42
38: ; preds = %4
%39 = load double, ptr %11, align 8
%40 = call double @asin(double noundef %39) #3
%41 = fmul double 2.000000e+00, %40
br label %42
42: ; preds = %38, %37
%43 = phi double [ 0x400921FB54442D18, %37 ], [ %41, %38 ]
ret double %43
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @asin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6xcrieee.c'
source_filename = "/tmp/tmp6xcrieee.c"
target datalayout = "e-m:e-p270: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/tmp6xcrieee.c"
target datalayout = "e-m:e-p270: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/tmp4t3nvdsm.c'
source_filename = "/tmp/tmp4t3nvdsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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 @cfs_stub_getxattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i32, ptr @ENOSYS, align 4
store i32 %9, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4t3nvdsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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 @cfs_stub_getxattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i32, ptr @ENOSYS, align 4
store i32 %9, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq5zmsl_1.c'
source_filename = "/tmp/tmpq5zmsl_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_writer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = call i32 @putc(i8 noundef signext %7, ptr noundef %8)
ret i32 %9
}
declare i32 @putc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5zmsl_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_writer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %4, align 8
%9 = call i32 @putc(i8 noundef signext %7, ptr noundef %8)
ret i32 %9
}
declare i32 @putc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgi49jxjc.c'
source_filename = "/tmp/tmpgi49jxjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s <full path>\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"dirname: [], basename: ()\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"[%s](%s)\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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 = icmp ne i32 %7, 2
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
store i32 1, ptr %6, align 4
br label %20
20: ; preds = %38, %19
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %41
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call ptr @dirname(ptr noundef %29)
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call ptr @basename(ptr noundef %35)
%37 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30, ptr noundef %36)
br label %38
38: ; preds = %24
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %20, !llvm.loop !6
41: ; preds = %20
%42 = load i32, ptr @EXIT_SUCCESS, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare ptr @basename(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgi49jxjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s <full path>\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"dirname: [], basename: ()\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"[%s](%s)\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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 = icmp ne i32 %7, 2
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
store i32 1, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %43
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %37
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call ptr @dirname(ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call ptr @basename(ptr noundef %34)
%36 = call i32 @printf(ptr noundef @.str.2, ptr noundef %29, ptr noundef %35)
br label %37
37: ; preds = %23
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %19
%44 = load i32, ptr @EXIT_SUCCESS, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare ptr @basename(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpadyevrq4.c'
source_filename = "/tmp/tmpadyevrq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf;\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%lf;%lf;%lf\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Vysledek (nerekurzivne) je %lf +- %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Vysledek (rekurzivne) je %lf +- %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca double, align 8
%4 = alloca [2 x double], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %5, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %11
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12)
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %16
15: ; preds = %9
store i32 1, ptr %1, align 4
br label %55
16: ; preds = %9
br label %17
17: ; preds = %16
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21)
%23 = icmp ne i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 1, ptr %1, align 4
br label %55
25: ; preds = %20
%26 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
%28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %26, ptr noundef %27, ptr noundef %3)
%29 = icmp ne i32 %28, 3
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 1, ptr %1, align 4
br label %55
31: ; preds = %25
%32 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%33 = load double, ptr %32, align 16
%34 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
%35 = load double, ptr %34, align 8
%36 = fcmp ogt double %33, %35
br i1 %36, label %37, label %38
37: ; preds = %31
store i32 2, ptr %1, align 4
br label %55
38: ; preds = %31
%39 = load double, ptr %3, align 8
%40 = fcmp ole double %39, 0.000000e+00
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 3, ptr %1, align 4
br label %55
42: ; preds = %38
%43 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%44 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%45 = load double, ptr %3, align 8
%46 = call i32 @Prusecik(i32 noundef 3, ptr noundef %43, ptr noundef %44, double noundef %45)
%47 = load double, ptr %3, align 8
%48 = call i32 @printf(ptr noundef @.str.3, i32 noundef %46, double noundef %47)
%49 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%50 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%51 = load double, ptr %3, align 8
%52 = call i32 @PrusecikRek(i32 noundef 3, ptr noundef %49, ptr noundef %50, double noundef %51)
%53 = load double, ptr %3, align 8
%54 = call i32 @printf(ptr noundef @.str.4, i32 noundef %52, double noundef %53)
store i32 0, ptr %1, align 4
br label %55
55: ; preds = %42, %41, %37, %30, %24, %15
%56 = load i32, ptr %1, align 4
ret i32 %56
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
declare i32 @Prusecik(i32 noundef, ptr noundef, ptr noundef, double noundef) #1
declare i32 @PrusecikRek(i32 noundef, ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadyevrq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf;\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%lf;%lf;%lf\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"Vysledek (nerekurzivne) je %lf +- %lf\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Vysledek (rekurzivne) je %lf +- %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x double], align 16
%3 = alloca double, align 8
%4 = alloca [2 x double], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 3, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %16
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 %10
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11)
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %15
14: ; preds = %8
store i32 1, ptr %1, align 4
br label %56
15: ; preds = %8
br label %16
16: ; preds = %15
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
%24 = icmp ne i32 %23, 1
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %1, align 4
br label %56
26: ; preds = %21
%27 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%28 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
%29 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %27, ptr noundef %28, ptr noundef %3)
%30 = icmp ne i32 %29, 3
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 1, ptr %1, align 4
br label %56
32: ; preds = %26
%33 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%34 = load double, ptr %33, align 16
%35 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
%36 = load double, ptr %35, align 8
%37 = fcmp ogt double %34, %36
br i1 %37, label %38, label %39
38: ; preds = %32
store i32 2, ptr %1, align 4
br label %56
39: ; preds = %32
%40 = load double, ptr %3, align 8
%41 = fcmp ole double %40, 0.000000e+00
br i1 %41, label %42, label %43
42: ; preds = %39
store i32 3, ptr %1, align 4
br label %56
43: ; preds = %39
%44 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%45 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%46 = load double, ptr %3, align 8
%47 = call i32 @Prusecik(i32 noundef 3, ptr noundef %44, ptr noundef %45, double noundef %46)
%48 = load double, ptr %3, align 8
%49 = call i32 @printf(ptr noundef @.str.3, i32 noundef %47, double noundef %48)
%50 = getelementptr inbounds [4 x double], ptr %2, i64 0, i64 0
%51 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%52 = load double, ptr %3, align 8
%53 = call i32 @PrusecikRek(i32 noundef 3, ptr noundef %50, ptr noundef %51, double noundef %52)
%54 = load double, ptr %3, align 8
%55 = call i32 @printf(ptr noundef @.str.4, i32 noundef %53, double noundef %54)
store i32 0, ptr %1, align 4
br label %56
56: ; preds = %43, %42, %38, %31, %25, %14
%57 = load i32, ptr %1, align 4
ret i32 %57
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
declare i32 @Prusecik(i32 noundef, ptr noundef, ptr noundef, double noundef) #1
declare i32 @PrusecikRek(i32 noundef, ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ix8a1mi.c'
source_filename = "/tmp/tmp2ix8a1mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"------21----------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0, %6
%3 = load i32, ptr %1, align 4
switch i32 %3, label %6 [
i32 0, label %4
i32 -1, label %5
]
4: ; preds = %2
br label %6
5: ; preds = %2
br label %6
6: ; preds = %2, %5, %4
%7 = call i32 @sleep(i32 noundef 1)
%8 = call i32 @printf(ptr noundef @.str)
br label %2
}
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ix8a1mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"------21----------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test2() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %6, %0
%3 = load i32, ptr %1, align 4
switch i32 %3, label %6 [
i32 0, label %4
i32 -1, label %5
]
4: ; preds = %2
br label %6
5: ; preds = %2
br label %6
6: ; preds = %5, %4, %2
%7 = call i32 @sleep(i32 noundef 1)
%8 = call i32 @printf(ptr noundef @.str)
br label %2
}
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphjozjl1w.c'
source_filename = "/tmp/tmphjozjl1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"gcc %s -o %s\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 [4000 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [80 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %8, align 8
%18 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %7, align 8
%20 = call i32 @fread(ptr noundef %18, i32 noundef 4000, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @check_syntax(ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %2
store i32 -1, ptr %3, align 4
br label %55
27: ; preds = %2
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @make_template_top(ptr noundef %28, ptr noundef %31)
%33 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%34 = load ptr, ptr %8, align 8
%35 = call i32 @compile(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @make_template_bottom(ptr noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fclose(ptr noundef %38)
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %55
44: ; preds = %27
%45 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 2
%48 = load ptr, ptr %47, align 8
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 3
%51 = load ptr, ptr %50, align 8
%52 = call i32 @sprintf(ptr noundef %45, ptr noundef @.str.2, ptr noundef %48, ptr noundef %51)
%53 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%54 = call i32 @system(ptr noundef %53)
br label %55
55: ; preds = %26, %44, %27
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @check_syntax(ptr noundef) #1
declare i32 @make_template_top(ptr noundef, ptr noundef) #1
declare i32 @compile(ptr noundef, ptr noundef) #1
declare i32 @make_template_bottom(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr 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/tmphjozjl1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"gcc %s -o %s\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 [4000 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [80 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %8, align 8
%18 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%19 = load ptr, ptr %7, align 8
%20 = call i32 @fread(ptr noundef %18, i32 noundef 4000, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @check_syntax(ptr noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %2
store i32 -1, ptr %3, align 4
br label %55
27: ; preds = %2
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @make_template_top(ptr noundef %28, ptr noundef %31)
%33 = getelementptr inbounds [4000 x i8], ptr %6, i64 0, i64 0
%34 = load ptr, ptr %8, align 8
%35 = call i32 @compile(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @make_template_bottom(ptr noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fclose(ptr noundef %38)
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 3
%42 = load ptr, ptr %41, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %55
44: ; preds = %27
%45 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 2
%48 = load ptr, ptr %47, align 8
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 3
%51 = load ptr, ptr %50, align 8
%52 = call i32 @sprintf(ptr noundef %45, ptr noundef @.str.2, ptr noundef %48, ptr noundef %51)
%53 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
%54 = call i32 @system(ptr noundef %53)
br label %55
55: ; preds = %44, %27, %26
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @check_syntax(ptr noundef) #1
declare i32 @make_template_top(ptr noundef, ptr noundef) #1
declare i32 @compile(ptr noundef, ptr noundef) #1
declare i32 @make_template_bottom(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr 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/tmp6x7b5p4p.c'
source_filename = "/tmp/tmp6x7b5p4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.print_file_size.units = private unnamed_addr constant [6 x i8] c" KMGT\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%dB\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d%cB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [6 x i8], align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.print_file_size.units, i64 6, i1 false)
br label %5
5: ; preds = %13, %1
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 1024
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 5
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ false, %5 ], [ %10, %8 ]
br i1 %12, label %13, label %18
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = sdiv i32 %14, 1024
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %32
24: ; preds = %18
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %30)
br label %32
32: ; preds = %24, %21
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6x7b5p4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.print_file_size.units = private unnamed_addr constant [6 x i8] c" KMGT\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%dB\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d%cB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [6 x i8], align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.print_file_size.units, i64 6, i1 false)
br label %5
5: ; preds = %13, %1
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 1024
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 5
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ false, %5 ], [ %10, %8 ]
br i1 %12, label %13, label %18
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = sdiv i32 %14, 1024
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %32
24: ; preds = %18
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %30)
br label %32
32: ; preds = %24, %21
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr 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: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5yoqj5f6.c'
source_filename = "/tmp/tmp5yoqj5f6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Usage: mapcmp dev1 dev2 offset pages\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Offset is 0x%lx\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Comparing...\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"areas differ at byte %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"areas are identical.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 5
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strtoul(ptr noundef %20, ptr noundef null, i32 noundef 16)
store i64 %21, ptr %6, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 4
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = mul nsw i32 %25, 4096
%27 = sext i32 %26 to i64
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %6, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = load i64, ptr %6, align 8
%34 = load i64, ptr %7, align 8
%35 = call ptr @mapdev(ptr noundef %32, i64 noundef %33, i64 noundef %34)
store ptr %35, ptr %9, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = load i64, ptr %6, align 8
%40 = load i64, ptr %7, align 8
%41 = call ptr @mapdev(ptr noundef %38, i64 noundef %39, i64 noundef %40)
store ptr %41, ptr %10, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%43 = load i32, ptr @stdout, align 4
%44 = call i32 @fflush(i32 noundef %43)
store i64 0, ptr %8, align 8
br label %45
45: ; preds = %64, %17
%46 = load i64, ptr %8, align 8
%47 = load i64, ptr %7, align 8
%48 = icmp ult i64 %46, %47
br i1 %48, label %49, label %67
49: ; preds = %45
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %9, align 8
%52 = load i8, ptr %50, align 1
%53 = sext i8 %52 to i32
%54 = load ptr, ptr %10, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %10, align 8
%56 = load i8, ptr %54, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %53, %57
br i1 %58, label %59, label %63
59: ; preds = %49
%60 = load i64, ptr %8, align 8
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %60)
%62 = call i32 @exit(i32 noundef 0) #3
unreachable
63: ; preds = %49
br label %64
64: ; preds = %63
%65 = load i64, ptr %8, align 8
%66 = add i64 %65, 1
store i64 %66, ptr %8, align 8
br label %45, !llvm.loop !6
67: ; preds = %45
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%69 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @mapdev(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yoqj5f6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"Usage: mapcmp dev1 dev2 offset pages\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Offset is 0x%lx\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Comparing...\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [26 x i8] c"areas differ at byte %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"areas are identical.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 5
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strtoul(ptr noundef %20, ptr noundef null, i32 noundef 16)
store i64 %21, ptr %6, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 4
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = mul nsw i32 %25, 4096
%27 = sext i32 %26 to i64
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %6, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = load i64, ptr %6, align 8
%34 = load i64, ptr %7, align 8
%35 = call ptr @mapdev(ptr noundef %32, i64 noundef %33, i64 noundef %34)
store ptr %35, ptr %9, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = load i64, ptr %6, align 8
%40 = load i64, ptr %7, align 8
%41 = call ptr @mapdev(ptr noundef %38, i64 noundef %39, i64 noundef %40)
store ptr %41, ptr %10, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%43 = load i32, ptr @stdout, align 4
%44 = call i32 @fflush(i32 noundef %43)
store i64 0, ptr %8, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %7, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %.lr.ph, label %69
.lr.ph: ; preds = %17
br label %48
48: ; preds = %.lr.ph, %63
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %9, align 8
%51 = load i8, ptr %49, align 1
%52 = sext i8 %51 to i32
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %10, align 8
%55 = load i8, ptr %53, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %52, %56
br i1 %57, label %58, label %62
58: ; preds = %48
%59 = load i64, ptr %8, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %59)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
62: ; preds = %48
br label %63
63: ; preds = %62
%64 = load i64, ptr %8, align 8
%65 = add i64 %64, 1
store i64 %65, ptr %8, align 8
%66 = load i64, ptr %8, align 8
%67 = load i64, ptr %7, align 8
%68 = icmp ult i64 %66, %67
br i1 %68, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %17
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%71 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @mapdev(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0v5zjmls.c'
source_filename = "/tmp/tmp0v5zjmls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testdb.sqlite3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @sqlite3_open(ptr noundef @.str, ptr noundef %7)
store i32 %8, ptr %6, align 4
ret i32 0
}
declare i32 @sqlite3_open(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/tmp0v5zjmls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testdb.sqlite3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @sqlite3_open(ptr noundef @.str, ptr noundef %7)
store i32 %8, ptr %6, align 4
ret i32 0
}
declare i32 @sqlite3_open(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/tmpgbzz_2st.c'
source_filename = "/tmp/tmpgbzz_2st.c"
target datalayout = "e-m:e-p270: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/tmpgbzz_2st.c"
target datalayout = "e-m:e-p270: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/tmp5rhjkpik.c'
source_filename = "/tmp/tmp5rhjkpik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Entering CmdUnderline\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"{\\ul \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Exiting CmdUnderline\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdUnderline(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i32 @diagnostics(i32 noundef 5, ptr noundef @.str)
%5 = call i32 (...) @getTexMode()
%6 = icmp eq i32 %5, 6
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @changeTexMode(i32 noundef 2)
br label %9
9: ; preds = %7, %1
%10 = call i32 @fprintRTF(ptr noundef @.str.1)
%11 = call ptr (...) @getBraceParam()
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @ConvertString(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call i32 @fprintRTF(ptr noundef @.str.2)
%17 = call i32 @diagnostics(i32 noundef 5, ptr noundef @.str.3)
ret void
}
declare i32 @diagnostics(i32 noundef, ptr noundef) #1
declare i32 @getTexMode(...) #1
declare i32 @changeTexMode(i32 noundef) #1
declare i32 @fprintRTF(ptr noundef) #1
declare ptr @getBraceParam(...) #1
declare i32 @ConvertString(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5rhjkpik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Entering CmdUnderline\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"{\\ul \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Exiting CmdUnderline\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdUnderline(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i32 @diagnostics(i32 noundef 5, ptr noundef @.str)
%5 = call i32 (...) @getTexMode()
%6 = icmp eq i32 %5, 6
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @changeTexMode(i32 noundef 2)
br label %9
9: ; preds = %7, %1
%10 = call i32 @fprintRTF(ptr noundef @.str.1)
%11 = call ptr (...) @getBraceParam()
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @ConvertString(ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call i32 @fprintRTF(ptr noundef @.str.2)
%17 = call i32 @diagnostics(i32 noundef 5, ptr noundef @.str.3)
ret void
}
declare i32 @diagnostics(i32 noundef, ptr noundef) #1
declare i32 @getTexMode(...) #1
declare i32 @changeTexMode(i32 noundef) #1
declare i32 @fprintRTF(ptr noundef) #1
declare ptr @getBraceParam(...) #1
declare i32 @ConvertString(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5kc61j5j.c'
source_filename = "/tmp/tmp5kc61j5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s INPUT_FILE\0A\0A\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Error: INPUT_FILE %s does not exist\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%.2lf\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"$%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr @F_OK, align 4
%27 = call i64 @access(ptr noundef %25, i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %22
%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 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %22
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr @stdin, align 4
%40 = call i32 @freopen(ptr noundef %38, ptr noundef @.str.2, i32 noundef %39)
br label %41
41: ; preds = %129, %35
%42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp ne i32 %45, 0
br label %47
47: ; preds = %44, %41
%48 = phi i1 [ false, %41 ], [ %46, %44 ]
br i1 %48, label %49, label %134
49: ; preds = %47
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 8
%53 = trunc i64 %52 to i32
%54 = call ptr @malloc(i32 noundef %53)
store ptr %54, ptr %12, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %72, %49
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %75
59: ; preds = %55
%60 = load ptr, ptr %12, align 8
%61 = load i32, ptr %7, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %63)
%65 = load ptr, ptr %12, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %65, i64 %67
%69 = load double, ptr %68, align 8
%70 = load double, ptr %8, align 8
%71 = fadd double %70, %69
store double %71, ptr %8, align 8
br label %72
72: ; preds = %59
%73 = load i32, ptr %7, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %7, align 4
br label %55, !llvm.loop !6
75: ; preds = %55
%76 = load double, ptr %8, align 8
%77 = load i32, ptr %6, align 4
%78 = sitofp i32 %77 to double
%79 = fdiv double %76, %78
store double %79, ptr %9, align 8
%80 = getelementptr inbounds [1000 x i8], ptr %13, i64 0, i64 0
%81 = load double, ptr %9, align 8
%82 = call i32 @sprintf(ptr noundef %80, ptr noundef @.str.5, double noundef %81)
%83 = getelementptr inbounds [1000 x i8], ptr %13, i64 0, i64 0
%84 = call i32 @sscanf(ptr noundef %83, ptr noundef @.str.4, ptr noundef %9)
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
br label %85
85: ; preds = %118, %75
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %121
89: ; preds = %85
%90 = load ptr, ptr %12, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %90, i64 %92
%94 = load double, ptr %93, align 8
%95 = load double, ptr %9, align 8
%96 = fcmp ogt double %94, %95
br i1 %96, label %97, label %107
97: ; preds = %89
%98 = load ptr, ptr %12, align 8
%99 = load i32, ptr %7, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %98, i64 %100
%102 = load double, ptr %101, align 8
%103 = load double, ptr %9, align 8
%104 = fsub double %102, %103
%105 = load double, ptr %11, align 8
%106 = fadd double %105, %104
store double %106, ptr %11, align 8
br label %117
107: ; preds = %89
%108 = load double, ptr %9, align 8
%109 = load ptr, ptr %12, align 8
%110 = load i32, ptr %7, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = fsub double %108, %113
%115 = load double, ptr %10, align 8
%116 = fadd double %115, %114
store double %116, ptr %10, align 8
br label %117
117: ; preds = %107, %97
br label %118
118: ; preds = %117
%119 = load i32, ptr %7, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %7, align 4
br label %85, !llvm.loop !8
121: ; preds = %85
%122 = load double, ptr %11, align 8
%123 = load double, ptr %10, align 8
%124 = fcmp ogt double %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121
%126 = load double, ptr %10, align 8
br label %129
127: ; preds = %121
%128 = load double, ptr %11, align 8
br label %129
129: ; preds = %127, %125
%130 = phi double [ %126, %125 ], [ %128, %127 ]
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %130)
%132 = load ptr, ptr %12, align 8
%133 = call i32 @free(ptr noundef %132)
br label %41, !llvm.loop !9
134: ; preds = %47
%135 = load i32, ptr @stdin, align 4
%136 = call i32 @fclose(i32 noundef %135)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kc61j5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s INPUT_FILE\0A\0A\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Error: INPUT_FILE %s does not exist\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%.2lf\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"$%.2lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca [1000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 0.000000e+00, ptr %10, align 8
store double 0.000000e+00, ptr %11, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = load i32, ptr @F_OK, align 4
%27 = call i64 @access(ptr noundef %25, i32 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %22
%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 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %22
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr @stdin, align 4
%40 = call i32 @freopen(ptr noundef %38, ptr noundef @.str.2, i32 noundef %39)
br label %41
41: ; preds = %133, %35
%42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp ne i32 %45, 0
br label %47
47: ; preds = %44, %41
%48 = phi i1 [ false, %41 ], [ %46, %44 ]
br i1 %48, label %49, label %138
49: ; preds = %47
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 8
%53 = trunc i64 %52 to i32
%54 = call ptr @malloc(i32 noundef %53)
store ptr %54, ptr %12, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph, label %77
.lr.ph: ; preds = %49
br label %58
58: ; preds = %.lr.ph, %71
%59 = load ptr, ptr %12, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = load double, ptr %8, align 8
%70 = fadd double %69, %68
store double %70, ptr %8, align 8
br label %71
71: ; preds = %58
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %58, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %49
%78 = load double, ptr %8, align 8
%79 = load i32, ptr %6, align 4
%80 = sitofp i32 %79 to double
%81 = fdiv double %78, %80
store double %81, ptr %9, align 8
%82 = getelementptr inbounds [1000 x i8], ptr %13, i64 0, i64 0
%83 = load double, ptr %9, align 8
%84 = call i32 @sprintf(ptr noundef %82, ptr noundef @.str.5, double noundef %83)
%85 = getelementptr inbounds [1000 x i8], ptr %13, i64 0, i64 0
%86 = call i32 @sscanf(ptr noundef %85, ptr noundef @.str.4, ptr noundef %9)
store double 0.000000e+00, ptr %11, align 8
store double 0.000000e+00, ptr %10, align 8
store i32 0, ptr %7, align 4
%87 = load i32, ptr %7, align 4
%88 = load i32, ptr %6, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %.lr.ph2, label %125
.lr.ph2: ; preds = %77
br label %90
90: ; preds = %.lr.ph2, %119
%91 = load ptr, ptr %12, align 8
%92 = load i32, ptr %7, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = load double, ptr %9, align 8
%97 = fcmp ogt double %95, %96
br i1 %97, label %98, label %108
98: ; preds = %90
%99 = load ptr, ptr %12, align 8
%100 = load i32, ptr %7, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
%103 = load double, ptr %102, align 8
%104 = load double, ptr %9, align 8
%105 = fsub double %103, %104
%106 = load double, ptr %11, align 8
%107 = fadd double %106, %105
store double %107, ptr %11, align 8
br label %118
108: ; preds = %90
%109 = load double, ptr %9, align 8
%110 = load ptr, ptr %12, align 8
%111 = load i32, ptr %7, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = fsub double %109, %114
%116 = load double, ptr %10, align 8
%117 = fadd double %116, %115
store double %117, ptr %10, align 8
br label %118
118: ; preds = %108, %98
br label %119
119: ; preds = %118
%120 = load i32, ptr %7, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %7, align 4
%122 = load i32, ptr %7, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %90, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %119
br label %125
125: ; preds = %._crit_edge3, %77
%126 = load double, ptr %11, align 8
%127 = load double, ptr %10, align 8
%128 = fcmp ogt double %126, %127
br i1 %128, label %129, label %131
129: ; preds = %125
%130 = load double, ptr %10, align 8
br label %133
131: ; preds = %125
%132 = load double, ptr %11, align 8
br label %133
133: ; preds = %131, %129
%134 = phi double [ %130, %129 ], [ %132, %131 ]
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %134)
%136 = load ptr, ptr %12, align 8
%137 = call i32 @free(ptr noundef %136)
br label %41, !llvm.loop !9
138: ; preds = %47
%139 = load i32, ptr @stdin, align 4
%140 = call i32 @fclose(i32 noundef %139)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fclose(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpug1yw86_.c'
source_filename = "/tmp/tmpug1yw86_.c"
target datalayout = "e-m:e-p270: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/tmpug1yw86_.c"
target datalayout = "e-m:e-p270: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/tmpd1fjgs7i.c'
source_filename = "/tmp/tmpd1fjgs7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Division(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 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = fdiv double %9, %10
ret double %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1fjgs7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Division(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 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = fdiv double %9, %10
ret double %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9apgmgxw.c'
source_filename = "/tmp/tmp9apgmgxw.c"
target datalayout = "e-m:e-p270: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/tmp9apgmgxw.c"
target datalayout = "e-m:e-p270: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/tmpv535tb6n.c'
source_filename = "/tmp/tmpv535tb6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"No PATH detected\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 4096)
store ptr %6, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %22
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @path(ptr noundef %10)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @my_puterr(ptr noundef @.str)
store ptr null, ptr %2, align 8
br label %22
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = call ptr @my_str_to_wordtab(ptr noundef %16, i8 noundef signext 58)
store ptr %17, ptr %5, align 8
br label %18
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %18, %13, %8
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @malloc(i32 noundef) #1
declare ptr @path(ptr noundef) #1
declare i32 @my_puterr(ptr noundef) #1
declare ptr @my_str_to_wordtab(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv535tb6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"No PATH detected\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @malloc(i32 noundef 4096)
store ptr %6, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %22
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @path(ptr noundef %10)
store ptr %11, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @my_puterr(ptr noundef @.str)
store ptr null, ptr %2, align 8
br label %22
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = call ptr @my_str_to_wordtab(ptr noundef %16, i8 noundef signext 58)
store ptr %17, ptr %5, align 8
br label %18
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %5, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %18, %13, %8
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @malloc(i32 noundef) #1
declare ptr @path(ptr noundef) #1
declare i32 @my_puterr(ptr noundef) #1
declare ptr @my_str_to_wordtab(ptr noundef, i8 noundef signext) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpddyoz7en.c'
source_filename = "/tmp/tmpddyoz7en.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_random(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %7, align 4
br label %11
11: ; preds = %38, %2
%12 = load i32, ptr %7, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %41
14: ; preds = %11
%15 = call i32 (...) @rand()
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
%18 = srem i32 %15, %17
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
%33 = load i32, ptr %6, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 %33, ptr %37, align 4
br label %38
38: ; preds = %14
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %7, align 4
br label %11, !llvm.loop !6
41: ; preds = %11
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %43
43: ; preds = %55, %41
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %4, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %48, label %58
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53)
br label %55
55: ; preds = %48
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
br label %43, !llvm.loop !8
58: ; preds = %43
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %4, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %59, i64 %62
%64 = load i32, ptr %63, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
ret void
}
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpddyoz7en.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_random(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph, label %42
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %37
%14 = call i32 (...) @rand()
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = srem i32 %14, %16
store i32 %17, ptr %5, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 %32, ptr %36, align 4
br label %37
37: ; preds = %13
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %4, align 4
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %.lr.ph2, label %62
.lr.ph2: ; preds = %42
br label %48
48: ; preds = %.lr.ph2, %55
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53)
br label %55
55: ; preds = %48
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %4, align 4
%60 = sub nsw i32 %59, 1
%61 = icmp slt i32 %58, %60
br i1 %61, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %62
62: ; preds = %._crit_edge3, %42
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %4, align 4
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %63, i64 %66
%68 = load i32, ptr %67, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %68)
ret void
}
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9ppz2doh.c'
source_filename = "/tmp/tmp9ppz2doh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usd_create_cq(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @usd_create_cq_with_cv(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef -1, ptr noundef null, ptr noundef %12)
ret i32 %13
}
declare i32 @usd_create_cq_with_cv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ppz2doh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usd_create_cq(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %8, align 8
%13 = call i32 @usd_create_cq_with_cv(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef -1, ptr noundef null, ptr noundef %12)
ret i32 %13
}
declare i32 @usd_create_cq_with_cv(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp42yi2cj9.c'
source_filename = "/tmp/tmp42yi2cj9.c"
target datalayout = "e-m:e-p270: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/tmp42yi2cj9.c"
target datalayout = "e-m:e-p270: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/tmppk3lnjr1.c'
source_filename = "/tmp/tmppk3lnjr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvvm_vote(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__nvvm_vote_all(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @__nvvm_vote_any(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @__nvvm_vote_uni(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @__nvvm_vote_ballot(i32 noundef %9)
ret void
}
declare i32 @__nvvm_vote_all(i32 noundef) #1
declare i32 @__nvvm_vote_any(i32 noundef) #1
declare i32 @__nvvm_vote_uni(i32 noundef) #1
declare i32 @__nvvm_vote_ballot(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/tmppk3lnjr1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvvm_vote(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__nvvm_vote_all(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @__nvvm_vote_any(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @__nvvm_vote_uni(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @__nvvm_vote_ballot(i32 noundef %9)
ret void
}
declare i32 @__nvvm_vote_all(i32 noundef) #1
declare i32 @__nvvm_vote_any(i32 noundef) #1
declare i32 @__nvvm_vote_uni(i32 noundef) #1
declare i32 @__nvvm_vote_ballot(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/tmpn0nlda6x.c'
source_filename = "/tmp/tmpn0nlda6x.c"
target datalayout = "e-m:e-p270: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/tmpn0nlda6x.c"
target datalayout = "e-m:e-p270: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/tmpy99qb7gv.c'
source_filename = "/tmp/tmpy99qb7gv.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"output.bin\00", align 1
@main.long_options = internal global [5 x %struct.option] [%struct.option { ptr @.str.2, i8 -127, i32 0, i32 104 }, %struct.option { ptr @.str.3, i8 -128, i32 0, i32 110 }, %struct.option { ptr @.str.4, i8 -128, i32 0, i32 111 }, %struct.option { ptr @.str.5, i8 -128, i32 0, i32 86 }, %struct.option zeroinitializer], align 16
@.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"note\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"output\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"version\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"hn:o:V:\00", align 1
@optarg = dso_local global ptr null, align 8
@.str.7 = private unnamed_addr constant [9 x i8] c"%d.%d.%d\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [23 x i8] c"Invalid version format\00", align 1
@optind = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [29 x i8] c"file list must be specified\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %2, %45
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i32 @getopt_long(i32 noundef %15, ptr noundef %16, ptr noundef @.str.6, ptr noundef @main.long_options, ptr noundef %13)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %21
20: ; preds = %14
br label %46
21: ; preds = %14
%22 = load i32, ptr %6, align 4
switch i32 %22, label %43 [
i32 104, label %23
i32 110, label %25
i32 111, label %27
i32 86, label %29
i32 63, label %42
]
23: ; preds = %21
%24 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %67
25: ; preds = %21
%26 = load ptr, ptr @optarg, align 8
store ptr %26, ptr %7, align 8
br label %45
27: ; preds = %21
%28 = load ptr, ptr @optarg, align 8
store ptr %28, ptr %8, align 8
br label %45
29: ; preds = %21
%30 = load ptr, ptr @optarg, align 8
%31 = call i32 @sscanf(ptr noundef %30, ptr noundef @.str.7, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%32 = icmp ne i32 %31, 3
br i1 %32, label %33, label %37
33: ; preds = %29
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.8)
%36 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %67
37: ; preds = %29
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %12, align 4
%41 = call i32 @make_version(i32 noundef %38, i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %9, align 4
br label %45
42: ; preds = %21
br label %45
43: ; preds = %21
%44 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %67
45: ; preds = %42, %37, %27, %25
br label %14
46: ; preds = %20
%47 = load i32, ptr @optind, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.9)
%53 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %67
54: ; preds = %46
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr @optind, align 4
%58 = sub nsw i32 %56, %57
%59 = sdiv i32 %58, 2
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr @optind, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %7, align 8
%65 = load ptr, ptr %8, align 8
%66 = call i32 @firmware_pack_encode(i32 noundef %55, i32 noundef %59, ptr noundef %63, ptr noundef %64, ptr noundef %65)
store i32 0, ptr %3, align 4
br label %67
67: ; preds = %54, %50, %43, %33, %23
%68 = load i32, ptr %3, align 4
ret i32 %68
}
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @make_version(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @firmware_pack_encode(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy99qb7gv.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"output.bin\00", align 1
@main.long_options = internal global [5 x %struct.option] [%struct.option { ptr @.str.2, i8 -127, i32 0, i32 104 }, %struct.option { ptr @.str.3, i8 -128, i32 0, i32 110 }, %struct.option { ptr @.str.4, i8 -128, i32 0, i32 111 }, %struct.option { ptr @.str.5, i8 -128, i32 0, i32 86 }, %struct.option zeroinitializer], align 16
@.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"note\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"output\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"version\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"hn:o:V:\00", align 1
@optarg = dso_local global ptr null, align 8
@.str.7 = private unnamed_addr constant [9 x i8] c"%d.%d.%d\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [23 x i8] c"Invalid version format\00", align 1
@optind = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [29 x i8] c"file list must be specified\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @getopt_long(i32 noundef %14, ptr noundef %15, ptr noundef @.str.6, ptr noundef @main.long_options, ptr noundef %13)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %.lr.ph
.lr.ph: ; preds = %2
br label %20
._crit_edge: ; preds = %44
br label %19
19: ; preds = %._crit_edge, %2
br label %50
20: ; preds = %.lr.ph, %44
%21 = load i32, ptr %6, align 4
switch i32 %21, label %42 [
i32 104, label %22
i32 110, label %24
i32 111, label %26
i32 86, label %28
i32 63, label %41
]
22: ; preds = %20
%23 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %71
24: ; preds = %20
%25 = load ptr, ptr @optarg, align 8
store ptr %25, ptr %7, align 8
br label %44
26: ; preds = %20
%27 = load ptr, ptr @optarg, align 8
store ptr %27, ptr %8, align 8
br label %44
28: ; preds = %20
%29 = load ptr, ptr @optarg, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.7, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%31 = icmp ne i32 %30, 3
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load i32, ptr @stderr, align 4
%34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.8)
%35 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %71
36: ; preds = %28
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %12, align 4
%40 = call i32 @make_version(i32 noundef %37, i32 noundef %38, i32 noundef %39)
store i32 %40, ptr %9, align 4
br label %44
41: ; preds = %20
br label %44
42: ; preds = %20
%43 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %71
44: ; preds = %41, %36, %26, %24
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%45 = load i32, ptr %4, align 4
%46 = load ptr, ptr %5, align 8
%47 = call i32 @getopt_long(i32 noundef %45, ptr noundef %46, ptr noundef @.str.6, ptr noundef @main.long_options, ptr noundef %13)
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp eq i32 %48, -1
br i1 %49, label %._crit_edge, label %20
50: ; preds = %19
%51 = load i32, ptr @optind, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp sge i32 %51, %52
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load i32, ptr @stderr, align 4
%56 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.9)
%57 = call i32 (...) @usage()
store i32 -1, ptr %3, align 4
br label %71
58: ; preds = %50
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %4, align 4
%61 = load i32, ptr @optind, align 4
%62 = sub nsw i32 %60, %61
%63 = sdiv i32 %62, 2
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr @optind, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %7, align 8
%69 = load ptr, ptr %8, align 8
%70 = call i32 @firmware_pack_encode(i32 noundef %59, i32 noundef %63, ptr noundef %67, ptr noundef %68, ptr noundef %69)
store i32 0, ptr %3, align 4
br label %71
71: ; preds = %58, %54, %42, %32, %22
%72 = load i32, ptr %3, align 4
ret i32 %72
}
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @make_version(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @firmware_pack_encode(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6jntz_j1.c'
source_filename = "/tmp/tmp6jntz_j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@i2d_DSA_PUBKEY = dso_local global i64 0, align 8
@PEM_STRING_PUBLIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_write_bio_DSA_PUBKEY(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 i64, ptr @i2d_DSA_PUBKEY, align 8
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr @PEM_STRING_PUBLIC, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @PEM_ASN1_write_bio(ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
ret i32 %10
}
declare i32 @PEM_ASN1_write_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jntz_j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@i2d_DSA_PUBKEY = dso_local global i64 0, align 8
@PEM_STRING_PUBLIC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PEM_write_bio_DSA_PUBKEY(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 i64, ptr @i2d_DSA_PUBKEY, align 8
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr @PEM_STRING_PUBLIC, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @PEM_ASN1_write_bio(ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
ret i32 %10
}
declare i32 @PEM_ASN1_write_bio(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr4wtoagx.c'
source_filename = "/tmp/tmpr4wtoagx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @artio_find_file(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
%14 = load i64, ptr %13, align 8
%15 = icmp slt i64 %11, %14
br i1 %15, label %24, label %16
16: ; preds = %3
%17 = load i64, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
%23 = icmp sge i64 %17, %22
br i1 %23, label %24, label %25
24: ; preds = %16, %3
store i32 -1, ptr %4, align 4
br label %52
25: ; preds = %16
store i32 0, ptr %8, align 4
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %49, %25
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %50
31: ; preds = %27
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
%35 = add nsw i32 %34, 1
%36 = sdiv i32 %35, 2
store i32 %36, ptr %10, align 4
%37 = load i64, ptr %7, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
%43 = icmp slt i64 %37, %42
br i1 %43, label %44, label %47
44: ; preds = %31
%45 = load i32, ptr %10, align 4
%46 = sub nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %49
47: ; preds = %31
%48 = load i32, ptr %10, align 4
store i32 %48, ptr %8, align 4
br label %49
49: ; preds = %47, %44
br label %27, !llvm.loop !6
50: ; preds = %27
%51 = load i32, ptr %8, align 4
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %50, %24
%53 = load i32, ptr %4, align 4
ret i32 %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr4wtoagx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @artio_find_file(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
%14 = load i64, ptr %13, align 8
%15 = icmp slt i64 %11, %14
br i1 %15, label %24, label %16
16: ; preds = %3
%17 = load i64, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
%23 = icmp sge i64 %17, %22
br i1 %23, label %24, label %25
24: ; preds = %16, %3
store i32 -1, ptr %4, align 4
br label %54
25: ; preds = %16
store i32 0, ptr %8, align 4
%26 = load i32, ptr %6, align 4
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %.lr.ph, label %52
.lr.ph: ; preds = %25
br label %30
30: ; preds = %.lr.ph, %48
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %31, %32
%34 = add nsw i32 %33, 1
%35 = sdiv i32 %34, 2
store i32 %35, ptr %10, align 4
%36 = load i64, ptr %7, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = icmp slt i64 %36, %41
br i1 %42, label %43, label %46
43: ; preds = %30
%44 = load i32, ptr %10, align 4
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %9, align 4
br label %48
46: ; preds = %30
%47 = load i32, ptr %10, align 4
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %46, %43
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %9, align 4
%51 = icmp ne i32 %49, %50
br i1 %51, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %52
52: ; preds = %._crit_edge, %25
%53 = load i32, ptr %8, align 4
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %52, %24
%55 = load i32, ptr %4, align 4
ret i32 %55
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvmd2gl5f.c'
source_filename = "/tmp/tmpvmd2gl5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %I:%M:%S\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s\09[DEBUG]%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @getCrrentTime(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
ret void
}
declare ptr @getCrrentTime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmd2gl5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %I:%M:%S\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s\09[DEBUG]%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @getCrrentTime(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
ret void
}
declare ptr @getCrrentTime(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzoq6b3i8.c'
source_filename = "/tmp/tmpzoq6b3i8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_asset_dividend_yield_freefunc(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 @rq_asset_dividend_yield_free(ptr noundef %3)
ret void
}
declare i32 @rq_asset_dividend_yield_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzoq6b3i8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_asset_dividend_yield_freefunc(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 @rq_asset_dividend_yield_free(ptr noundef %3)
ret void
}
declare i32 @rq_asset_dividend_yield_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplt_tucf6.c'
source_filename = "/tmp/tmplt_tucf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quadrat(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call double @pow(i32 noundef %3, i32 noundef 2)
ret double %4
}
declare double @pow(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/tmplt_tucf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quadrat(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call double @pow(i32 noundef %3, i32 noundef 2)
ret double %4
}
declare double @pow(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/tmp79njgkn2.c'
source_filename = "/tmp/tmp79njgkn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start_a3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_a3() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79njgkn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"start_a3\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_a3() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp21guwt21.c'
source_filename = "/tmp/tmp21guwt21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\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 [100 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @itoa(i32 noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
ret i32 0
}
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21guwt21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\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 [100 x i8], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @itoa(i32 noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
ret i32 0
}
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph9y4v8vi.c'
source_filename = "/tmp/tmph9y4v8vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @percentile_value(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @percentile_value_location(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %10, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare ptr @percentile_value_location(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9y4v8vi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @percentile_value(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @percentile_value_location(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %10, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare ptr @percentile_value_location(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsruo1isr.c'
source_filename = "/tmp/tmpsruo1isr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_error_set(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsruo1isr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_error_set(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiiwniy8k.c'
source_filename = "/tmp/tmpiiwniy8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nandc_usmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%21 = load i64, ptr %9, align 8
store i64 %21, ptr %15, align 8
br label %22
22: ; preds = %59, %7
%23 = load i64, ptr %15, align 8
%24 = load i64, ptr %10, align 8
%25 = icmp sle i64 %23, %24
br i1 %25, label %26, label %62
26: ; preds = %22
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %15, align 8
%29 = getelementptr inbounds ptr, ptr %27, i64 %28
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %19, align 8
%31 = load ptr, ptr %14, align 8
%32 = load i64, ptr %15, align 8
%33 = getelementptr inbounds ptr, ptr %31, i64 %32
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %20, align 8
%35 = load i64, ptr %11, align 8
store i64 %35, ptr %16, align 8
br label %36
36: ; preds = %55, %26
%37 = load i64, ptr %16, align 8
%38 = load i64, ptr %12, align 8
%39 = icmp sle i64 %37, %38
br i1 %39, label %40, label %58
40: ; preds = %36
%41 = load ptr, ptr %19, align 8
%42 = load i64, ptr %16, align 8
%43 = getelementptr inbounds i32, ptr %41, i64 %42
%44 = load i32, ptr %43, align 4
store i32 %44, ptr %17, align 4
%45 = load i32, ptr %17, align 4
%46 = load i32, ptr %13, align 4
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
%49 = xor i1 %48, true
%50 = zext i1 %49 to i32
store i32 %50, ptr %18, align 4
%51 = load i32, ptr %18, align 4
%52 = load ptr, ptr %20, align 8
%53 = load i64, ptr %16, align 8
%54 = getelementptr inbounds i32, ptr %52, i64 %53
store i32 %51, ptr %54, align 4
br label %55
55: ; preds = %40
%56 = load i64, ptr %16, align 8
%57 = add nsw i64 %56, 1
store i64 %57, ptr %16, align 8
br label %36, !llvm.loop !6
58: ; preds = %36
br label %59
59: ; preds = %58
%60 = load i64, ptr %15, align 8
%61 = add nsw i64 %60, 1
store i64 %61, ptr %15, align 8
br label %22, !llvm.loop !8
62: ; preds = %22
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiiwniy8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nandc_usmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i64 %1, ptr %9, align 8
store i64 %2, ptr %10, align 8
store i64 %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%21 = load i64, ptr %9, align 8
store i64 %21, ptr %15, align 8
%22 = load i64, ptr %15, align 8
%23 = load i64, ptr %10, align 8
%24 = icmp sle i64 %22, %23
br i1 %24, label %.lr.ph2, label %66
.lr.ph2: ; preds = %7
br label %25
25: ; preds = %.lr.ph2, %60
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %15, align 8
%28 = getelementptr inbounds ptr, ptr %26, i64 %27
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %19, align 8
%30 = load ptr, ptr %14, align 8
%31 = load i64, ptr %15, align 8
%32 = getelementptr inbounds ptr, ptr %30, i64 %31
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %20, align 8
%34 = load i64, ptr %11, align 8
store i64 %34, ptr %16, align 8
%35 = load i64, ptr %16, align 8
%36 = load i64, ptr %12, align 8
%37 = icmp sle i64 %35, %36
br i1 %37, label %.lr.ph, label %59
.lr.ph: ; preds = %25
br label %38
38: ; preds = %.lr.ph, %53
%39 = load ptr, ptr %19, align 8
%40 = load i64, ptr %16, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %17, align 4
%43 = load i32, ptr %17, align 4
%44 = load i32, ptr %13, align 4
%45 = and i32 %43, %44
%46 = icmp ne i32 %45, 0
%47 = xor i1 %46, true
%48 = zext i1 %47 to i32
store i32 %48, ptr %18, align 4
%49 = load i32, ptr %18, align 4
%50 = load ptr, ptr %20, align 8
%51 = load i64, ptr %16, align 8
%52 = getelementptr inbounds i32, ptr %50, i64 %51
store i32 %49, ptr %52, align 4
br label %53
53: ; preds = %38
%54 = load i64, ptr %16, align 8
%55 = add nsw i64 %54, 1
store i64 %55, ptr %16, align 8
%56 = load i64, ptr %16, align 8
%57 = load i64, ptr %12, align 8
%58 = icmp sle i64 %56, %57
br i1 %58, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %25
br label %60
60: ; preds = %59
%61 = load i64, ptr %15, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %15, align 8
%63 = load i64, ptr %15, align 8
%64 = load i64, ptr %10, align 8
%65 = icmp sle i64 %63, %64
br i1 %65, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %7
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqg0rv6dj.c'
source_filename = "/tmp/tmpqg0rv6dj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trie_search1(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2, i16 noundef zeroext %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %5
br label %131
18: ; preds = %5
%19 = load i16, ptr %8, align 2
%20 = zext i16 %19 to i32
%21 = load i16, ptr %9, align 2
%22 = zext i16 %21 to i32
%23 = icmp slt i32 %20, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = load i16, ptr %8, align 2
%28 = zext i16 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 42
br i1 %32, label %33, label %40
33: ; preds = %18
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i16, ptr %8, align 2
%37 = load i16, ptr %9, align 2
%38 = load ptr, ptr %10, align 8
%39 = call i32 @trie_search_star(ptr noundef %34, ptr noundef %35, i16 noundef zeroext %36, i16 noundef zeroext %37, ptr noundef %38)
br label %131
40: ; preds = %18
%41 = load ptr, ptr %7, align 8
%42 = load i16, ptr %8, align 2
%43 = zext i16 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 63
br i1 %47, label %48, label %89
48: ; preds = %40
%49 = load i16, ptr %8, align 2
%50 = add i16 %49, 1
store i16 %50, ptr %8, align 2
%51 = load i16, ptr %8, align 2
%52 = zext i16 %51 to i32
%53 = load i16, ptr %9, align 2
%54 = zext i16 %53 to i32
%55 = icmp eq i32 %52, %54
br i1 %55, label %56, label %72
56: ; preds = %48
%57 = load ptr, ptr %6, align 8
store ptr %57, ptr %11, align 8
br label %58
58: ; preds = %68, %56
%59 = load ptr, ptr %11, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %71
61: ; preds = %58
%62 = load ptr, ptr %11, align 8
%63 = call i32 @trienode_values(ptr noundef %62)
%64 = call ptr @listnode_alloc(i32 noundef %63)
store ptr %64, ptr %12, align 8
%65 = load ptr, ptr %10, align 8
%66 = load ptr, ptr %12, align 8
%67 = call i32 @list_append(ptr noundef %65, ptr noundef %66)
br label %68
68: ; preds = %61
%69 = load ptr, ptr %11, align 8
%70 = call ptr @trienode_sibling(ptr noundef %69)
store ptr %70, ptr %11, align 8
br label %58, !llvm.loop !6
71: ; preds = %58
br label %88
72: ; preds = %48
%73 = load ptr, ptr %6, align 8
store ptr %73, ptr %13, align 8
br label %74
74: ; preds = %84, %72
%75 = load ptr, ptr %13, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %87
77: ; preds = %74
%78 = load ptr, ptr %13, align 8
%79 = call ptr @trienode_next(ptr noundef %78)
%80 = load ptr, ptr %7, align 8
%81 = load i16, ptr %8, align 2
%82 = load i16, ptr %9, align 2
%83 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %79, ptr noundef %80, i16 noundef zeroext %81, i16 noundef zeroext %82, ptr noundef %83)
br label %84
84: ; preds = %77
%85 = load ptr, ptr %13, align 8
%86 = call ptr @trienode_sibling(ptr noundef %85)
store ptr %86, ptr %13, align 8
br label %74, !llvm.loop !8
87: ; preds = %74
br label %88
88: ; preds = %87, %71
br label %130
89: ; preds = %40
%90 = load ptr, ptr %6, align 8
%91 = call i64 @trienode_key(ptr noundef %90)
%92 = load ptr, ptr %7, align 8
%93 = load i16, ptr %8, align 2
%94 = zext i16 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = call i64 @tolower(i8 noundef signext %96)
%98 = icmp eq i64 %91, %97
br i1 %98, label %99, label %122
99: ; preds = %89
%100 = load i16, ptr %8, align 2
%101 = add i16 %100, 1
store i16 %101, ptr %8, align 2
%102 = load i16, ptr %8, align 2
%103 = zext i16 %102 to i32
%104 = load i16, ptr %9, align 2
%105 = zext i16 %104 to i32
%106 = icmp eq i32 %103, %105
br i1 %106, label %107, label %114
107: ; preds = %99
%108 = load ptr, ptr %6, align 8
%109 = call i32 @trienode_values(ptr noundef %108)
%110 = call ptr @listnode_alloc(i32 noundef %109)
store ptr %110, ptr %14, align 8
%111 = load ptr, ptr %10, align 8
%112 = load ptr, ptr %14, align 8
%113 = call i32 @list_append(ptr noundef %111, ptr noundef %112)
br label %121
114: ; preds = %99
%115 = load ptr, ptr %6, align 8
%116 = call ptr @trienode_next(ptr noundef %115)
%117 = load ptr, ptr %7, align 8
%118 = load i16, ptr %8, align 2
%119 = load i16, ptr %9, align 2
%120 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %116, ptr noundef %117, i16 noundef zeroext %118, i16 noundef zeroext %119, ptr noundef %120)
br label %121
121: ; preds = %114, %107
br label %129
122: ; preds = %89
%123 = load ptr, ptr %6, align 8
%124 = call ptr @trienode_sibling(ptr noundef %123)
%125 = load ptr, ptr %7, align 8
%126 = load i16, ptr %8, align 2
%127 = load i16, ptr %9, align 2
%128 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %124, ptr noundef %125, i16 noundef zeroext %126, i16 noundef zeroext %127, ptr noundef %128)
br label %129
129: ; preds = %122, %121
br label %130
130: ; preds = %129, %88
br label %131
131: ; preds = %17, %130, %33
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @trie_search_star(ptr noundef, ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef) #1
declare ptr @listnode_alloc(i32 noundef) #1
declare i32 @trienode_values(ptr noundef) #1
declare i32 @list_append(ptr noundef, ptr noundef) #1
declare ptr @trienode_sibling(ptr noundef) #1
declare ptr @trienode_next(ptr noundef) #1
declare i64 @trienode_key(ptr noundef) #1
declare i64 @tolower(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg0rv6dj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trie_search1(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2, i16 noundef zeroext %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
store ptr %4, ptr %10, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %5
br label %133
18: ; preds = %5
%19 = load i16, ptr %8, align 2
%20 = zext i16 %19 to i32
%21 = load i16, ptr %9, align 2
%22 = zext i16 %21 to i32
%23 = icmp slt i32 %20, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load ptr, ptr %7, align 8
%27 = load i16, ptr %8, align 2
%28 = zext i16 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 42
br i1 %32, label %33, label %40
33: ; preds = %18
%34 = load ptr, ptr %6, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i16, ptr %8, align 2
%37 = load i16, ptr %9, align 2
%38 = load ptr, ptr %10, align 8
%39 = call i32 @trie_search_star(ptr noundef %34, ptr noundef %35, i16 noundef zeroext %36, i16 noundef zeroext %37, ptr noundef %38)
br label %133
40: ; preds = %18
%41 = load ptr, ptr %7, align 8
%42 = load i16, ptr %8, align 2
%43 = zext i16 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 63
br i1 %47, label %48, label %91
48: ; preds = %40
%49 = load i16, ptr %8, align 2
%50 = add i16 %49, 1
store i16 %50, ptr %8, align 2
%51 = load i16, ptr %8, align 2
%52 = zext i16 %51 to i32
%53 = load i16, ptr %9, align 2
%54 = zext i16 %53 to i32
%55 = icmp eq i32 %52, %54
br i1 %55, label %56, label %73
56: ; preds = %48
%57 = load ptr, ptr %6, align 8
store ptr %57, ptr %11, align 8
%58 = load ptr, ptr %11, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %.lr.ph2, label %72
.lr.ph2: ; preds = %56
br label %60
60: ; preds = %.lr.ph2, %67
%61 = load ptr, ptr %11, align 8
%62 = call i32 @trienode_values(ptr noundef %61)
%63 = call ptr @listnode_alloc(i32 noundef %62)
store ptr %63, ptr %12, align 8
%64 = load ptr, ptr %10, align 8
%65 = load ptr, ptr %12, align 8
%66 = call i32 @list_append(ptr noundef %64, ptr noundef %65)
br label %67
67: ; preds = %60
%68 = load ptr, ptr %11, align 8
%69 = call ptr @trienode_sibling(ptr noundef %68)
store ptr %69, ptr %11, align 8
%70 = load ptr, ptr %11, align 8
%71 = icmp ne ptr %70, null
br i1 %71, label %60, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %67
br label %72
72: ; preds = %._crit_edge3, %56
br label %90
73: ; preds = %48
%74 = load ptr, ptr %6, align 8
store ptr %74, ptr %13, align 8
%75 = load ptr, ptr %13, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %.lr.ph, label %89
.lr.ph: ; preds = %73
br label %77
77: ; preds = %.lr.ph, %84
%78 = load ptr, ptr %13, align 8
%79 = call ptr @trienode_next(ptr noundef %78)
%80 = load ptr, ptr %7, align 8
%81 = load i16, ptr %8, align 2
%82 = load i16, ptr %9, align 2
%83 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %79, ptr noundef %80, i16 noundef zeroext %81, i16 noundef zeroext %82, ptr noundef %83)
br label %84
84: ; preds = %77
%85 = load ptr, ptr %13, align 8
%86 = call ptr @trienode_sibling(ptr noundef %85)
store ptr %86, ptr %13, align 8
%87 = load ptr, ptr %13, align 8
%88 = icmp ne ptr %87, null
br i1 %88, label %77, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %84
br label %89
89: ; preds = %._crit_edge, %73
br label %90
90: ; preds = %89, %72
br label %132
91: ; preds = %40
%92 = load ptr, ptr %6, align 8
%93 = call i64 @trienode_key(ptr noundef %92)
%94 = load ptr, ptr %7, align 8
%95 = load i16, ptr %8, align 2
%96 = zext i16 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = call i64 @tolower(i8 noundef signext %98)
%100 = icmp eq i64 %93, %99
br i1 %100, label %101, label %124
101: ; preds = %91
%102 = load i16, ptr %8, align 2
%103 = add i16 %102, 1
store i16 %103, ptr %8, align 2
%104 = load i16, ptr %8, align 2
%105 = zext i16 %104 to i32
%106 = load i16, ptr %9, align 2
%107 = zext i16 %106 to i32
%108 = icmp eq i32 %105, %107
br i1 %108, label %109, label %116
109: ; preds = %101
%110 = load ptr, ptr %6, align 8
%111 = call i32 @trienode_values(ptr noundef %110)
%112 = call ptr @listnode_alloc(i32 noundef %111)
store ptr %112, ptr %14, align 8
%113 = load ptr, ptr %10, align 8
%114 = load ptr, ptr %14, align 8
%115 = call i32 @list_append(ptr noundef %113, ptr noundef %114)
br label %123
116: ; preds = %101
%117 = load ptr, ptr %6, align 8
%118 = call ptr @trienode_next(ptr noundef %117)
%119 = load ptr, ptr %7, align 8
%120 = load i16, ptr %8, align 2
%121 = load i16, ptr %9, align 2
%122 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %118, ptr noundef %119, i16 noundef zeroext %120, i16 noundef zeroext %121, ptr noundef %122)
br label %123
123: ; preds = %116, %109
br label %131
124: ; preds = %91
%125 = load ptr, ptr %6, align 8
%126 = call ptr @trienode_sibling(ptr noundef %125)
%127 = load ptr, ptr %7, align 8
%128 = load i16, ptr %8, align 2
%129 = load i16, ptr %9, align 2
%130 = load ptr, ptr %10, align 8
call void @trie_search1(ptr noundef %126, ptr noundef %127, i16 noundef zeroext %128, i16 noundef zeroext %129, ptr noundef %130)
br label %131
131: ; preds = %124, %123
br label %132
132: ; preds = %131, %90
br label %133
133: ; preds = %132, %33, %17
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @trie_search_star(ptr noundef, ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef) #1
declare ptr @listnode_alloc(i32 noundef) #1
declare i32 @trienode_values(ptr noundef) #1
declare i32 @list_append(ptr noundef, ptr noundef) #1
declare ptr @trienode_sibling(ptr noundef) #1
declare ptr @trienode_next(ptr noundef) #1
declare i64 @trienode_key(ptr noundef) #1
declare i64 @tolower(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6rlvxk03.c'
source_filename = "/tmp/tmp6rlvxk03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enable_Centaurus_9211_chip_select() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 @gfx_inb(i32 noundef 228)
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = or i32 %4, 1
%6 = trunc i32 %5 to i8
%7 = call i32 @gfx_outb(i32 noundef 228, i8 noundef zeroext %6)
ret void
}
declare zeroext i8 @gfx_inb(i32 noundef) #1
declare i32 @gfx_outb(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6rlvxk03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enable_Centaurus_9211_chip_select() #0 {
%1 = alloca i8, align 1
%2 = call zeroext i8 @gfx_inb(i32 noundef 228)
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = or i32 %4, 1
%6 = trunc i32 %5 to i8
%7 = call i32 @gfx_outb(i32 noundef 228, i8 noundef zeroext %6)
ret void
}
declare zeroext i8 @gfx_inb(i32 noundef) #1
declare i32 @gfx_outb(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4yv804gw.c'
source_filename = "/tmp/tmp4yv804gw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"ERROR[%s:%d]: no more memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"ERROR: maximum atoms reached. Recompile\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"ERROR: maximum operator schemata reached. Recompile\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"ERROR: no search algorithm specified\0A\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c"ERROR: schedule option. Format is [<direction>,<heuristic>,<time>]\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"ERROR: either bad search direction or heuristic.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"ERROR: fatal error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_fatal(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
switch i32 %9, label %31 [
i32 10, label %10
i32 30, label %15
i32 20, label %18
i32 40, label %21
i32 60, label %24
i32 70, label %27
i32 0, label %30
]
10: ; preds = %4
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12, i32 noundef %13)
br label %31
15: ; preds = %4
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
br label %31
18: ; preds = %4
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.2)
br label %31
21: ; preds = %4
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3)
br label %31
24: ; preds = %4
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.4)
br label %31
27: ; preds = %4
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
br label %31
30: ; preds = %4
br label %31
31: ; preds = %4, %30, %27, %24, %21, %18, %15, %10
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.6)
%34 = call i32 (...) @printStatistics()
%35 = call i32 (...) @flushAllRegisters()
%36 = load i32, ptr %5, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @printStatistics(...) #1
declare i32 @flushAllRegisters(...) #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/tmp4yv804gw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"ERROR[%s:%d]: no more memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"ERROR: maximum atoms reached. Recompile\0A\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"ERROR: maximum operator schemata reached. Recompile\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"ERROR: no search algorithm specified\0A\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c"ERROR: schedule option. Format is [<direction>,<heuristic>,<time>]\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"ERROR: either bad search direction or heuristic.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"ERROR: fatal error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_fatal(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
switch i32 %9, label %31 [
i32 10, label %10
i32 30, label %15
i32 20, label %18
i32 40, label %21
i32 60, label %24
i32 70, label %27
i32 0, label %30
]
10: ; preds = %4
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12, i32 noundef %13)
br label %31
15: ; preds = %4
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
br label %31
18: ; preds = %4
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.2)
br label %31
21: ; preds = %4
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3)
br label %31
24: ; preds = %4
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.4)
br label %31
27: ; preds = %4
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
br label %31
30: ; preds = %4
br label %31
31: ; preds = %30, %27, %24, %21, %18, %15, %10, %4
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.6)
%34 = call i32 (...) @printStatistics()
%35 = call i32 (...) @flushAllRegisters()
%36 = load i32, ptr %5, align 4
%37 = call i32 @exit(i32 noundef %36) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @printStatistics(...) #1
declare i32 @flushAllRegisters(...) #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/tmpq5yzd2h4.c'
source_filename = "/tmp/tmpq5yzd2h4.c"
target datalayout = "e-m:e-p270: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/tmpq5yzd2h4.c"
target datalayout = "e-m:e-p270: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/tmptws3nbkr.c'
source_filename = "/tmp/tmptws3nbkr.c"
target datalayout = "e-m:e-p270: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/tmptws3nbkr.c"
target datalayout = "e-m:e-p270: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/tmp3knrbvhv.c'
source_filename = "/tmp/tmp3knrbvhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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 (...) @return_array()
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %15, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
ret i32 0
}
declare ptr @return_array(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3knrbvhv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @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 (...) @return_array()
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %14
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
ret i32 0
}
declare ptr @return_array(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo79avkl1.c'
source_filename = "/tmp/tmpo79avkl1.c"
target datalayout = "e-m:e-p270: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/tmpo79avkl1.c"
target datalayout = "e-m:e-p270: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/tmpikkpwmzc.c'
source_filename = "/tmp/tmpikkpwmzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convolve_real(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store ptr %2, ptr %14, align 8
store i32 %3, ptr %15, align 4
store ptr %4, ptr %16, align 8
store i32 %5, ptr %17, align 4
store i32 %6, ptr %18, align 4
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store ptr null, ptr %22, align 8
store ptr null, ptr %23, align 8
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %17, align 4
%27 = load i32, ptr %18, align 4
%28 = load i32, ptr %19, align 4
%29 = load i32, ptr %20, align 4
%30 = call i64 @bounds_check(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %10
store i32 -1, ptr %11, align 4
br label %90
33: ; preds = %10
%34 = load ptr, ptr %16, align 8
%35 = load i32, ptr %19, align 4
%36 = mul nsw i32 %35, 2
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 4
%39 = trunc i64 %38 to i32
%40 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %22, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %57
43: ; preds = %33
%44 = load ptr, ptr %22, align 8
%45 = load ptr, ptr %12, align 8
%46 = load i32, ptr %15, align 4
%47 = sub nsw i32 %46, 1
%48 = sub nsw i32 0, %47
%49 = load i32, ptr %18, align 4
%50 = add nsw i32 %48, %49
%51 = mul nsw i32 2, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %45, i64 %52
%54 = load ptr, ptr %14, align 8
%55 = load ptr, ptr %16, align 8
%56 = load i32, ptr %19, align 4
call void %44(ptr noundef %53, ptr noundef %54, ptr noundef %55, i32 noundef %56)
br label %88
57: ; preds = %33
%58 = load ptr, ptr %23, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %75
60: ; preds = %57
%61 = load ptr, ptr %23, align 8
%62 = load ptr, ptr %12, align 8
%63 = load i32, ptr %15, align 4
%64 = sub nsw i32 %63, 1
%65 = sub nsw i32 0, %64
%66 = load i32, ptr %18, align 4
%67 = add nsw i32 %65, %66
%68 = mul nsw i32 2, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %62, i64 %69
%71 = load ptr, ptr %14, align 8
%72 = load ptr, ptr %16, align 8
%73 = load i32, ptr %15, align 4
%74 = load i32, ptr %19, align 4
call void %61(ptr noundef %70, ptr noundef %71, ptr noundef %72, i32 noundef %73, i32 noundef %74)
br label %87
75: ; preds = %57
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %13, align 4
%78 = load ptr, ptr %14, align 8
%79 = load i32, ptr %15, align 4
%80 = load ptr, ptr %16, align 8
%81 = load i32, ptr %17, align 4
%82 = load i32, ptr %18, align 4
%83 = load i32, ptr %19, align 4
%84 = load i32, ptr %20, align 4
%85 = load i32, ptr %21, align 4
%86 = call i32 @_base_convolve_real(ptr noundef %76, i32 noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85)
br label %87
87: ; preds = %75, %60
br label %88
88: ; preds = %87, %43
%89 = load i32, ptr %19, align 4
store i32 %89, ptr %11, align 4
br label %90
90: ; preds = %88, %32
%91 = load i32, ptr %11, align 4
ret i32 %91
}
declare i64 @bounds_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @_base_convolve_real(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr 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/tmpikkpwmzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convolve_real(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 {
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store ptr %2, ptr %14, align 8
store i32 %3, ptr %15, align 4
store ptr %4, ptr %16, align 8
store i32 %5, ptr %17, align 4
store i32 %6, ptr %18, align 4
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store ptr null, ptr %22, align 8
store ptr null, ptr %23, align 8
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %17, align 4
%27 = load i32, ptr %18, align 4
%28 = load i32, ptr %19, align 4
%29 = load i32, ptr %20, align 4
%30 = call i64 @bounds_check(i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %10
store i32 -1, ptr %11, align 4
br label %90
33: ; preds = %10
%34 = load ptr, ptr %16, align 8
%35 = load i32, ptr %19, align 4
%36 = mul nsw i32 %35, 2
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 4
%39 = trunc i64 %38 to i32
%40 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef %39)
%41 = load ptr, ptr %22, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %57
43: ; preds = %33
%44 = load ptr, ptr %22, align 8
%45 = load ptr, ptr %12, align 8
%46 = load i32, ptr %15, align 4
%47 = sub nsw i32 %46, 1
%48 = sub nsw i32 0, %47
%49 = load i32, ptr %18, align 4
%50 = add nsw i32 %48, %49
%51 = mul nsw i32 2, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %45, i64 %52
%54 = load ptr, ptr %14, align 8
%55 = load ptr, ptr %16, align 8
%56 = load i32, ptr %19, align 4
call void %44(ptr noundef %53, ptr noundef %54, ptr noundef %55, i32 noundef %56)
br label %88
57: ; preds = %33
%58 = load ptr, ptr %23, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %75
60: ; preds = %57
%61 = load ptr, ptr %23, align 8
%62 = load ptr, ptr %12, align 8
%63 = load i32, ptr %15, align 4
%64 = sub nsw i32 %63, 1
%65 = sub nsw i32 0, %64
%66 = load i32, ptr %18, align 4
%67 = add nsw i32 %65, %66
%68 = mul nsw i32 2, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds float, ptr %62, i64 %69
%71 = load ptr, ptr %14, align 8
%72 = load ptr, ptr %16, align 8
%73 = load i32, ptr %15, align 4
%74 = load i32, ptr %19, align 4
call void %61(ptr noundef %70, ptr noundef %71, ptr noundef %72, i32 noundef %73, i32 noundef %74)
br label %87
75: ; preds = %57
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %13, align 4
%78 = load ptr, ptr %14, align 8
%79 = load i32, ptr %15, align 4
%80 = load ptr, ptr %16, align 8
%81 = load i32, ptr %17, align 4
%82 = load i32, ptr %18, align 4
%83 = load i32, ptr %19, align 4
%84 = load i32, ptr %20, align 4
%85 = load i32, ptr %21, align 4
%86 = call i32 @_base_convolve_real(ptr noundef %76, i32 noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85)
br label %87
87: ; preds = %75, %60
br label %88
88: ; preds = %87, %43
%89 = load i32, ptr %19, align 4
store i32 %89, ptr %11, align 4
br label %90
90: ; preds = %88, %32
%91 = load i32, ptr %11, align 4
ret i32 %91
}
declare i64 @bounds_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @_base_convolve_real(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr 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/tmpaykqm82z.c'
source_filename = "/tmp/tmpaykqm82z.c"
target datalayout = "e-m:e-p270: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/tmpaykqm82z.c"
target datalayout = "e-m:e-p270: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/tmpqkb4ih3x.c'
source_filename = "/tmp/tmpqkb4ih3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"FAILURE: Usage: test9.9.prog <sbatch_path> <exec_prog> <prog_name> <iterations>\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"FAILURE: Invalid iterations count (%s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"sbatch\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-J\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-o\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"--wrap\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 [10 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 5
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 4
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 4
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %15
%29 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.2, ptr %29, align 16
%30 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.3, ptr %30, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 3
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 2
store ptr %33, ptr %34, align 16
%35 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 3
store ptr @.str.4, ptr %35, align 8
%36 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 4
store ptr @.str.5, ptr %36, align 16
%37 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 5
store ptr @.str.6, ptr %37, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 6
store ptr %40, ptr %41, align 16
%42 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 7
store ptr null, ptr %42, align 8
store i32 0, ptr %9, align 4
br label %43
43: ; preds = %53, %28
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %56
47: ; preds = %43
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 1
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%52 = call i32 @_spawn_job(ptr noundef %50, ptr noundef %51)
br label %53
53: ; preds = %47
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %43, !llvm.loop !6
56: ; preds = %43
br label %57
57: ; preds = %60, %56
%58 = call i64 @wait(ptr noundef %8)
%59 = icmp sge i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
br label %57, !llvm.loop !8
61: ; preds = %57
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @_spawn_job(ptr noundef, ptr noundef) #1
declare i64 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkb4ih3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"FAILURE: Usage: test9.9.prog <sbatch_path> <exec_prog> <prog_name> <iterations>\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"FAILURE: Invalid iterations count (%s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"sbatch\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-J\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-o\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"--wrap\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 [10 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 5
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 4
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 4
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
28: ; preds = %15
%29 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
store ptr @.str.2, ptr %29, align 16
%30 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 1
store ptr @.str.3, ptr %30, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 3
%33 = load ptr, ptr %32, align 8
%34 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 2
store ptr %33, ptr %34, align 16
%35 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 3
store ptr @.str.4, ptr %35, align 8
%36 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 4
store ptr @.str.5, ptr %36, align 16
%37 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 5
store ptr @.str.6, ptr %37, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 6
store ptr %40, ptr %41, align 16
%42 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 7
store ptr null, ptr %42, align 8
store i32 0, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph, label %58
.lr.ph: ; preds = %28
br label %46
46: ; preds = %.lr.ph, %52
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 0
%51 = call i32 @_spawn_job(ptr noundef %49, ptr noundef %50)
br label %52
52: ; preds = %46
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %28
br label %59
59: ; preds = %59, %58
%60 = call i64 @wait(ptr noundef %8)
%61 = icmp sge i64 %60, 0
br i1 %61, label %59, label %62, !llvm.loop !8
62: ; preds = %59
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @_spawn_job(ptr noundef, ptr noundef) #1
declare i64 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpffy6g7y1.c'
source_filename = "/tmp/tmpffy6g7y1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen_retry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 10, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %22, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fopen(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load ptr, ptr %8, align 8
store ptr %20, ptr %3, align 8
br label %26
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
store ptr null, ptr %3, align 8
br label %26
26: ; preds = %25, %19
%27 = load ptr, ptr %3, align 8
ret ptr %27
}
declare ptr @fopen(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/tmpffy6g7y1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen_retry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 10, ptr %7, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %21
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load ptr, ptr %8, align 8
store ptr %19, ptr %3, align 8
br label %28
20: ; preds = %12
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %28
28: ; preds = %27, %18
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @fopen(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/tmprhozbd5r.c'
source_filename = "/tmp/tmprhozbd5r.c"
target datalayout = "e-m:e-p270: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/tmprhozbd5r.c"
target datalayout = "e-m:e-p270: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/tmpzgzylod2.c'
source_filename = "/tmp/tmpzgzylod2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_copy_chromosome_unsigned(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzgzylod2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_copy_chromosome_unsigned(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i32 noundef %12)
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"}
|
; ModuleID = '/tmp/tmpz9unn791.c'
source_filename = "/tmp/tmpz9unn791.c"
target datalayout = "e-m:e-p270: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/tmpz9unn791.c"
target datalayout = "e-m:e-p270: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/tmp2wguuqed.c'
source_filename = "/tmp/tmp2wguuqed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag3110_config(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @i2c_write8(i8 noundef signext %3, i32 noundef 17, i32 noundef 128)
%5 = load i8, ptr %2, align 1
%6 = call i32 @i2c_write8(i8 noundef signext %5, i32 noundef 16, i32 noundef 1)
ret i8 0
}
declare i32 @i2c_write8(i8 noundef signext, 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/tmp2wguuqed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mag3110_config(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @i2c_write8(i8 noundef signext %3, i32 noundef 17, i32 noundef 128)
%5 = load i8, ptr %2, align 1
%6 = call i32 @i2c_write8(i8 noundef signext %5, i32 noundef 16, i32 noundef 1)
ret i8 0
}
declare i32 @i2c_write8(i8 noundef signext, 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/tmpioqc2s_2.c'
source_filename = "/tmp/tmpioqc2s_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%lf, %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%lf+%lfi, %lf%lfi\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quadratic(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x double], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @distinct(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = mul nsw i32 -1, %16
%18 = load i32, ptr %4, align 4
%19 = mul nsw i32 2, %18
%20 = sdiv i32 %17, %19
%21 = sitofp i32 %20 to double
%22 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %21, ptr %22, align 16
%23 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%24 = load double, ptr %23, align 16
%25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %24)
br label %97
26: ; preds = %3
%27 = load i32, ptr %7, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %55
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = mul nsw i32 -1, %30
%32 = load i32, ptr %7, align 4
%33 = call i32 @sqrt(i32 noundef %32)
%34 = add nsw i32 %31, %33
%35 = load i32, ptr %4, align 4
%36 = mul nsw i32 2, %35
%37 = sdiv i32 %34, %36
%38 = sitofp i32 %37 to double
%39 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %38, ptr %39, align 16
%40 = load i32, ptr %5, align 4
%41 = mul nsw i32 -1, %40
%42 = load i32, ptr %7, align 4
%43 = call i32 @sqrt(i32 noundef %42)
%44 = sub nsw i32 %41, %43
%45 = sdiv i32 %44, 2
%46 = load i32, ptr %4, align 4
%47 = mul nsw i32 %45, %46
%48 = sitofp i32 %47 to double
%49 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
store double %48, ptr %49, align 16
%50 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%51 = load double, ptr %50, align 16
%52 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
%53 = load double, ptr %52, align 16
%54 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %51, double noundef %53)
br label %96
55: ; preds = %26
%56 = load i32, ptr %5, align 4
%57 = mul nsw i32 -1, %56
%58 = load i32, ptr %4, align 4
%59 = mul nsw i32 2, %58
%60 = sdiv i32 %57, %59
%61 = sitofp i32 %60 to double
%62 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %61, ptr %62, align 16
%63 = load i32, ptr %7, align 4
%64 = mul nsw i32 -1, %63
%65 = call i32 @sqrt(i32 noundef %64)
%66 = load i32, ptr %4, align 4
%67 = mul nsw i32 2, %66
%68 = sdiv i32 %65, %67
%69 = sitofp i32 %68 to double
%70 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 1
store double %69, ptr %70, align 8
%71 = load i32, ptr %5, align 4
%72 = mul nsw i32 -1, %71
%73 = load i32, ptr %4, align 4
%74 = mul nsw i32 2, %73
%75 = sdiv i32 %72, %74
%76 = sitofp i32 %75 to double
%77 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
store double %76, ptr %77, align 16
%78 = load i32, ptr %7, align 4
%79 = mul nsw i32 -1, %78
%80 = call i32 @sqrt(i32 noundef %79)
%81 = mul nsw i32 -1, %80
%82 = load i32, ptr %4, align 4
%83 = mul nsw i32 2, %82
%84 = sdiv i32 %81, %83
%85 = sitofp i32 %84 to double
%86 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 3
store double %85, ptr %86, align 8
%87 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%88 = load double, ptr %87, align 16
%89 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 1
%90 = load double, ptr %89, align 8
%91 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
%92 = load double, ptr %91, align 16
%93 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 3
%94 = load double, ptr %93, align 8
%95 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %88, double noundef %90, double noundef %92, double noundef %94)
br label %96
96: ; preds = %55, %29
br label %97
97: ; preds = %96, %15
ret void
}
declare i32 @distinct(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpioqc2s_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%lf, %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%lf+%lfi, %lf%lfi\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quadratic(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x double], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 @distinct(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = mul nsw i32 -1, %16
%18 = load i32, ptr %4, align 4
%19 = mul nsw i32 2, %18
%20 = sdiv i32 %17, %19
%21 = sitofp i32 %20 to double
%22 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %21, ptr %22, align 16
%23 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%24 = load double, ptr %23, align 16
%25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %24)
br label %97
26: ; preds = %3
%27 = load i32, ptr %7, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %55
29: ; preds = %26
%30 = load i32, ptr %5, align 4
%31 = mul nsw i32 -1, %30
%32 = load i32, ptr %7, align 4
%33 = call i32 @sqrt(i32 noundef %32)
%34 = add nsw i32 %31, %33
%35 = load i32, ptr %4, align 4
%36 = mul nsw i32 2, %35
%37 = sdiv i32 %34, %36
%38 = sitofp i32 %37 to double
%39 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %38, ptr %39, align 16
%40 = load i32, ptr %5, align 4
%41 = mul nsw i32 -1, %40
%42 = load i32, ptr %7, align 4
%43 = call i32 @sqrt(i32 noundef %42)
%44 = sub nsw i32 %41, %43
%45 = sdiv i32 %44, 2
%46 = load i32, ptr %4, align 4
%47 = mul nsw i32 %45, %46
%48 = sitofp i32 %47 to double
%49 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
store double %48, ptr %49, align 16
%50 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%51 = load double, ptr %50, align 16
%52 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
%53 = load double, ptr %52, align 16
%54 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %51, double noundef %53)
br label %96
55: ; preds = %26
%56 = load i32, ptr %5, align 4
%57 = mul nsw i32 -1, %56
%58 = load i32, ptr %4, align 4
%59 = mul nsw i32 2, %58
%60 = sdiv i32 %57, %59
%61 = sitofp i32 %60 to double
%62 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
store double %61, ptr %62, align 16
%63 = load i32, ptr %7, align 4
%64 = mul nsw i32 -1, %63
%65 = call i32 @sqrt(i32 noundef %64)
%66 = load i32, ptr %4, align 4
%67 = mul nsw i32 2, %66
%68 = sdiv i32 %65, %67
%69 = sitofp i32 %68 to double
%70 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 1
store double %69, ptr %70, align 8
%71 = load i32, ptr %5, align 4
%72 = mul nsw i32 -1, %71
%73 = load i32, ptr %4, align 4
%74 = mul nsw i32 2, %73
%75 = sdiv i32 %72, %74
%76 = sitofp i32 %75 to double
%77 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
store double %76, ptr %77, align 16
%78 = load i32, ptr %7, align 4
%79 = mul nsw i32 -1, %78
%80 = call i32 @sqrt(i32 noundef %79)
%81 = mul nsw i32 -1, %80
%82 = load i32, ptr %4, align 4
%83 = mul nsw i32 2, %82
%84 = sdiv i32 %81, %83
%85 = sitofp i32 %84 to double
%86 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 3
store double %85, ptr %86, align 8
%87 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 0
%88 = load double, ptr %87, align 16
%89 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 1
%90 = load double, ptr %89, align 8
%91 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 2
%92 = load double, ptr %91, align 16
%93 = getelementptr inbounds [4 x double], ptr %8, i64 0, i64 3
%94 = load double, ptr %93, align 8
%95 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %88, double noundef %90, double noundef %92, double noundef %94)
br label %96
96: ; preds = %55, %29
br label %97
97: ; preds = %96, %15
ret void
}
declare i32 @distinct(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
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"}
|
; ModuleID = '/tmp/tmpopd6uoyo.c'
source_filename = "/tmp/tmpopd6uoyo.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getentropy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp ule i64 %6, 256
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = call i64 @getentropy_sysctl(ptr noundef %9, i64 noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %8
store i32 0, ptr %3, align 4
br label %17
15: ; preds = %8, %2
%16 = load i32, ptr @EIO, align 4
store i32 %16, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @getentropy_sysctl(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpopd6uoyo.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getentropy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp ule i64 %6, 256
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load i64, ptr %5, align 8
%11 = call i64 @getentropy_sysctl(ptr noundef %9, i64 noundef %10)
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %8
store i32 0, ptr %3, align 4
br label %17
15: ; preds = %8, %2
%16 = load i32, ptr @EIO, align 4
store i32 %16, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @getentropy_sysctl(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaiim17zh.c'
source_filename = "/tmp/tmpaiim17zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrq() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getach()
store i32 %3, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = call i32 (...) @getach()
store i32 %6, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5, %0
br label %14
9: ; preds = %5
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = shl i32 %11, 8
%13 = or i32 %10, %12
store i32 %13, ptr %1, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @getach(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaiim17zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getrq() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @getach()
store i32 %3, ptr %1, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %0
%6 = call i32 (...) @getach()
store i32 %6, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5, %0
br label %14
9: ; preds = %5
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = shl i32 %11, 8
%13 = or i32 %10, %12
store i32 %13, ptr %1, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @getach(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9lvajfc_.c'
source_filename = "/tmp/tmp9lvajfc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm3df(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @__nv_norm3df(float noundef %7, float noundef %8, float noundef %9)
ret float %10
}
declare float @__nv_norm3df(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9lvajfc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @norm3df(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @__nv_norm3df(float noundef %7, float noundef %8, float noundef %9)
ret float %10
}
declare float @__nv_norm3df(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp27bpla2n.c'
source_filename = "/tmp/tmp27bpla2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [51 x i8], align 16
%3 = alloca [51 x i8], align 16
%4 = alloca [101 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%13 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 0
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %64, %0
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %67
22: ; preds = %15
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr %5, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %55
31: ; preds = %22
%32 = load i32, ptr %9, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %55
34: ; preds = %31
store i32 0, ptr %7, align 4
br label %35
35: ; preds = %51, %34
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %54
42: ; preds = %35
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %42
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %35, !llvm.loop !6
54: ; preds = %35
store i32 1, ptr %9, align 4
br label %55
55: ; preds = %54, %31, %22
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %62
store i8 %59, ptr %63, align 1
br label %64
64: ; preds = %55
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %15, !llvm.loop !8
67: ; preds = %15
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %69
store i8 0, ptr %70, align 1
%71 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%72 = call i32 @printf(ptr noundef @.str.2, ptr noundef %71)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp27bpla2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [51 x i8], align 16
%3 = alloca [51 x i8], align 16
%4 = alloca [101 x i8], align 16
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%13 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 0
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph2, label %77
.lr.ph2: ; preds = %0
br label %21
21: ; preds = %.lr.ph2, %68
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load i8, ptr %5, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %59
30: ; preds = %21
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %59
33: ; preds = %30
store i32 0, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %.lr.ph, label %58
.lr.ph: ; preds = %33
br label %40
40: ; preds = %.lr.ph, %49
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %47
store i8 %44, ptr %48, align 1
br label %49
49: ; preds = %40
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [51 x i8], ptr %3, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %58
58: ; preds = %._crit_edge, %33
store i32 1, ptr %9, align 4
br label %59
59: ; preds = %58, %30, %21
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %66
store i8 %63, ptr %67, align 1
br label %68
68: ; preds = %59
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [51 x i8], ptr %2, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %77
77: ; preds = %._crit_edge3, %0
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %79
store i8 0, ptr %80, align 1
%81 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%82 = call i32 @printf(ptr noundef @.str.2, ptr noundef %81)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphrwz0l47.c'
source_filename = "/tmp/tmphrwz0l47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"fail to read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = trunc i64 %9 to i32
store i32 %10, ptr %8, align 4
br label %11
11: ; preds = %32, %3
%12 = load i32, ptr %8, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %33
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = call i32 @read(i32 noundef %15, ptr noundef %16, i64 noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %31
21: ; preds = %14
%22 = load i64, ptr @errno, align 8
%23 = load i64, ptr @EINTR, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i64, ptr %7, align 8
%27 = trunc i64 %26 to i32
store i32 %27, ptr %8, align 4
br label %30
28: ; preds = %21
%29 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %35
30: ; preds = %25
br label %32
31: ; preds = %14
br label %33
32: ; preds = %30
br label %11, !llvm.loop !6
33: ; preds = %31, %11
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %33, %28
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @read(i32 noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrwz0l47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"fail to read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = trunc i64 %9 to i32
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %31
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = call i32 @read(i32 noundef %14, ptr noundef %15, i64 noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %30
20: ; preds = %13
%21 = load i64, ptr @errno, align 8
%22 = load i64, ptr @EINTR, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i64, ptr %7, align 8
%26 = trunc i64 %25 to i32
store i32 %26, ptr %8, align 4
br label %29
27: ; preds = %20
%28 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %36
29: ; preds = %24
br label %31
30: ; preds = %13
br label %34
31: ; preds = %29
%32 = load i32, ptr %8, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %31
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %34
34: ; preds = %.loopexit, %30
%35 = load i32, ptr %8, align 4
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %34, %27
%37 = load i32, ptr %4, align 4
ret i32 %37
}
declare i32 @read(i32 noundef, ptr noundef, i64 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcujr7sy2.c'
source_filename = "/tmp/tmpcujr7sy2.c"
target datalayout = "e-m:e-p270: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/tmpcujr7sy2.c"
target datalayout = "e-m:e-p270: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/tmphrbg3rjs.c'
source_filename = "/tmp/tmphrbg3rjs.c"
target datalayout = "e-m:e-p270: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/tmphrbg3rjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9_gs3a8i.c'
source_filename = "/tmp/tmp9_gs3a8i.c"
target datalayout = "e-m:e-p270: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/tmp9_gs3a8i.c"
target datalayout = "e-m:e-p270: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/tmptfacqooa.c'
source_filename = "/tmp/tmptfacqooa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetStandardAtmTemperature(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = call i64 (...) @isIP()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load double, ptr %2, align 8
%8 = call double @llvm.fmuladd.f64(double -3.566200e-03, double %7, double 5.900000e+01)
store double %8, ptr %3, align 8
br label %12
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = call double @llvm.fmuladd.f64(double 0xBF7A9FBE76C8B439, double %10, double 1.500000e+01)
store double %11, ptr %3, align 8
br label %12
12: ; preds = %9, %6
%13 = load double, ptr %3, align 8
ret double %13
}
declare i64 @isIP(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptfacqooa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetStandardAtmTemperature(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = call i64 (...) @isIP()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load double, ptr %2, align 8
%8 = call double @llvm.fmuladd.f64(double -3.566200e-03, double %7, double 5.900000e+01)
store double %8, ptr %3, align 8
br label %12
9: ; preds = %1
%10 = load double, ptr %2, align 8
%11 = call double @llvm.fmuladd.f64(double 0xBF7A9FBE76C8B439, double %10, double 1.500000e+01)
store double %11, ptr %3, align 8
br label %12
12: ; preds = %9, %6
%13 = load double, ptr %3, align 8
ret double %13
}
declare i64 @isIP(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyen1bd72.c'
source_filename = "/tmp/tmpyen1bd72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d\0A%d\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = call i32 @ordered_swap(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ordered_swap(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyen1bd72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d\0A%d\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = call i32 @ordered_swap(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ordered_swap(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbxqse0xd.c'
source_filename = "/tmp/tmpbxqse0xd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@putword.first = internal global i32 1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putword(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 @putword.first, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fputc(i8 noundef signext 32, ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fputs(ptr noundef %11, ptr noundef %12)
store i32 0, ptr @putword.first, align 4
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fputs(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/tmpbxqse0xd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@putword.first = internal global i32 1, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putword(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 @putword.first, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fputc(i8 noundef signext 32, ptr noundef %8)
br label %10
10: ; preds = %7, %2
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fputs(ptr noundef %11, ptr noundef %12)
store i32 0, ptr @putword.first, align 4
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
declare i32 @fputs(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/tmpmlx2_mb4.c'
source_filename = "/tmp/tmpmlx2_mb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter a string > \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"The number of syllables is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 19, i32 noundef %8)
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %27, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %30
16: ; preds = %12
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %16
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %12, !llvm.loop !6
30: ; preds = %12
%31 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%35 = load i8, ptr %34, align 2
%36 = sext i8 %35 to i32
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33, i32 noundef %36)
%38 = load i32, ptr %4, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
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/tmpmlx2_mb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter a string > \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"The number of syllables is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 19, i32 noundef %8)
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %5, align 4
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %26
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %22, %15
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
%33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 1
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 2
%37 = load i8, ptr %36, align 2
%38 = sext i8 %37 to i32
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %38)
%40 = load i32, ptr %4, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
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/tmpts46hcaj.c'
source_filename = "/tmp/tmpts46hcaj.c"
target datalayout = "e-m:e-p270: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/tmpts46hcaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_d0en8_i.c'
source_filename = "/tmp/tmp_d0en8_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getgrnam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOSYS, align 4
store i32 %3, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_d0en8_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getgrnam(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ENOSYS, align 4
store i32 %3, ptr @errno, align 4
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphof48aii.c'
source_filename = "/tmp/tmphof48aii.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"stdin isatty ? %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"stdout isatty ? %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"turn %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"type any char to continue\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 %2, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @isatty(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str.1, ptr @.str.2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @STDOUT_FILENO, align 4
%12 = call i32 @isatty(i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16)
br label %18
18: ; preds = %22, %0
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = icmp slt i32 %19, 10
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23)
%25 = call i32 @sleep(i32 noundef 1)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %18, !llvm.loop !6
27: ; preds = %18
ret i32 0
}
declare i32 @isatty(i32 noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphof48aii.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"stdin isatty ? %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"stdout isatty ? %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"turn %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"type any char to continue\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 %2, align 4
%4 = load i32, ptr @STDIN_FILENO, align 4
%5 = call i32 @isatty(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i64
%9 = select i1 %7, ptr @.str.1, ptr @.str.2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @STDOUT_FILENO, align 4
%12 = call i32 @isatty(i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16)
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = icmp slt i32 %18, 10
br i1 %20, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %21
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
%24 = call i32 @sleep(i32 noundef 1)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = icmp slt i32 %26, 10
br i1 %28, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %29
29: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @isatty(i32 noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpego23t4c.c'
source_filename = "/tmp/tmpego23t4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@md_intstring.str = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md_intstring(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2048
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [2048 x i8], ptr @md_intstring.str, i64 0, i64 %9
store i8 0, ptr %10, align 1
br label %11
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %2, align 4
%16 = call i32 @sprintf(ptr noundef @md_intstring.str, ptr noundef @.str, i32 noundef %15)
ret ptr @md_intstring.str
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpego23t4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@md_intstring.str = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md_intstring(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 2048
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %10
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [2048 x i8], ptr @md_intstring.str, i64 0, i64 %8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 2048
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %2, align 4
%17 = call i32 @sprintf(ptr noundef @md_intstring.str, ptr noundef @.str, i32 noundef %16)
ret ptr @md_intstring.str
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp795hahxo.c'
source_filename = "/tmp/tmp795hahxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msl_alloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = call ptr @malloc(i64 noundef %6) #2
%8 = load ptr, ptr %4, align 8
store ptr %7, ptr %8, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %3, align 4
ret i32 %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp795hahxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msl_alloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = call ptr @malloc(i64 noundef %6) #2
%8 = load ptr, ptr %4, align 8
store ptr %7, ptr %8, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %2
store i32 -1, ptr %3, align 4
br label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %11
%14 = load i32, ptr %3, align 4
ret i32 %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqf4590tt.c'
source_filename = "/tmp/tmpqf4590tt.c"
target datalayout = "e-m:e-p270: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/tmpqf4590tt.c"
target datalayout = "e-m:e-p270: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/tmpptm0amhv.c'
source_filename = "/tmp/tmpptm0amhv.c"
target datalayout = "e-m:e-p270: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/tmpptm0amhv.c"
target datalayout = "e-m:e-p270: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/tmpzk67lom2.c'
source_filename = "/tmp/tmpzk67lom2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fullRead(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %25, %3
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %36
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %7, align 4
%17 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 -1, ptr %4, align 4
br label %38
21: ; preds = %13
%22 = load i32, ptr %8, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
br label %36
25: ; preds = %21
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds i8, ptr %27, i64 %28
store ptr %29, ptr %6, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %34, %33
store i32 %35, ptr %7, align 4
br label %10, !llvm.loop !6
36: ; preds = %24, %10
%37 = load i32, ptr %9, align 4
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %36, %20
%39 = load i32, ptr %4, align 4
ret i32 %39
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzk67lom2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fullRead(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %24
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %12
store i32 -1, ptr %4, align 4
br label %39
20: ; preds = %12
%21 = load i32, ptr %8, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %37
24: ; preds = %20
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %6, align 8
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store ptr %28, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %33, %32
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %37
37: ; preds = %.loopexit, %23
%38 = load i32, ptr %9, align 4
store i32 %38, ptr %4, align 4
br label %39
39: ; preds = %37, %19
%40 = load i32, ptr %4, align 4
ret i32 %40
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw3l924s2.c'
source_filename = "/tmp/tmpw3l924s2.c"
target datalayout = "e-m:e-p270: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/tmpw3l924s2.c"
target datalayout = "e-m:e-p270: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/tmp0i9d4s6u.c'
source_filename = "/tmp/tmp0i9d4s6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBClockEnable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1074069504
%9 = zext i1 %8 to i32
%10 = call i32 @ASSERT(i32 noundef %9)
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = load i32, ptr %6, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 4040
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
store volatile i32 %14, ptr %18, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0i9d4s6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBClockEnable(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1074069504
%9 = zext i1 %8 to i32
%10 = call i32 @ASSERT(i32 noundef %9)
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = load i32, ptr %6, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 4040
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
store volatile i32 %14, ptr %18, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9w9ncrcs.c'
source_filename = "/tmp/tmp9w9ncrcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @child() #0 {
%1 = alloca i32, align 4
store i32 100, ptr %1, align 4
br label %2
2: ; preds = %6, %0
%3 = load i32, ptr %1, align 4
%4 = add nsw i32 %3, -1
store i32 %4, ptr %1, align 4
%5 = icmp ne i32 %3, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = call i32 @print1(i32 noundef 100)
br label %2, !llvm.loop !6
8: ; preds = %2
ret void
}
declare i32 @print1(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w9ncrcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @child() #0 {
%1 = alloca i32, align 4
store i32 100, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, -1
store i32 %3, ptr %1, align 4
%4 = icmp ne i32 %2, 0
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = call i32 @print1(i32 noundef 100)
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %1, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %0
ret void
}
declare i32 @print1(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw_7axj88.c'
source_filename = "/tmp/tmpw_7axj88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getcore(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef 1, i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @fatal(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw_7axj88.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getcore(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef 1, i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @fatal(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw49au2ke.c'
source_filename = "/tmp/tmpw49au2ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_uint32(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 = and i32 %6, 65535
%8 = call i32 @set_uint16(ptr noundef %5, i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = ashr i32 %9, 16
%11 = and i32 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 2
store i32 %11, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 24
%16 = and i32 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 3
store i32 %16, ptr %18, align 4
ret void
}
declare i32 @set_uint16(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/tmpw49au2ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_uint32(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 = and i32 %6, 65535
%8 = call i32 @set_uint16(ptr noundef %5, i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = ashr i32 %9, 16
%11 = and i32 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 2
store i32 %11, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 24
%16 = and i32 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 3
store i32 %16, ptr %18, align 4
ret void
}
declare i32 @set_uint16(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/tmpodbk34r8.c'
source_filename = "/tmp/tmpodbk34r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @textfit_near(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @textfit(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @textfit(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpodbk34r8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @textfit_near(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @textfit(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @textfit(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj2xxymg9.c'
source_filename = "/tmp/tmpj2xxymg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @block_socket(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %37
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @F_GETFL, align 4
%13 = call i64 (i32, i32, ...) @fcntl(i32 noundef %11, i32 noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 -1, ptr %3, align 4
br label %37
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr @O_NONBLOCK, align 4
%22 = xor i32 %21, -1
%23 = load i32, ptr %6, align 4
%24 = and i32 %23, %22
store i32 %24, ptr %6, align 4
br label %29
25: ; preds = %17
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = load i32, ptr %6, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %25, %20
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr @F_SETFL, align 4
%32 = load i32, ptr %6, align 4
%33 = call i64 (i32, i32, ...) @fcntl(i32 noundef %30, i32 noundef %31, i32 noundef %32)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
store i32 -1, ptr %3, align 4
br label %37
36: ; preds = %29
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %35, %16, %9
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i64 @fcntl(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/tmpj2xxymg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @block_socket(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %37
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @F_GETFL, align 4
%13 = call i64 (i32, i32, ...) @fcntl(i32 noundef %11, i32 noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 -1, ptr %3, align 4
br label %37
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr @O_NONBLOCK, align 4
%22 = xor i32 %21, -1
%23 = load i32, ptr %6, align 4
%24 = and i32 %23, %22
store i32 %24, ptr %6, align 4
br label %29
25: ; preds = %17
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = load i32, ptr %6, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %25, %20
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr @F_SETFL, align 4
%32 = load i32, ptr %6, align 4
%33 = call i64 (i32, i32, ...) @fcntl(i32 noundef %30, i32 noundef %31, i32 noundef %32)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
store i32 -1, ptr %3, align 4
br label %37
36: ; preds = %29
store i32 0, ptr %3, align 4
br label %37
37: ; preds = %36, %35, %16, %9
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i64 @fcntl(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/tmppay2yo8q.c'
source_filename = "/tmp/tmppay2yo8q.c"
target datalayout = "e-m:e-p270: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/tmppay2yo8q.c"
target datalayout = "e-m:e-p270: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/tmpp24mhbzb.c'
source_filename = "/tmp/tmpp24mhbzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osMalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @calloc(i32 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp24mhbzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osMalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @calloc(i32 noundef %3, i32 noundef 1)
ret ptr %4
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.