llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpilf0zbyi.c'
source_filename = "/tmp/tmpilf0zbyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use126() #0 {
%1 = call i32 (...) @redecl4()
ret void
}
declare i32 @redecl4(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilf0zbyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use126() #0 {
%1 = call i32 (...) @redecl4()
ret void
}
declare i32 @redecl4(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoi4wy1ew.c'
source_filename = "/tmp/tmpoi4wy1ew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_end_section(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
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %11, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = call i64 @isspace(i8 noundef signext %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %4, align 8
br label %6, !llvm.loop !6
14: ; preds = %6
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 125
br i1 %18, label %19, label %20
19: ; preds = %14
store i32 0, ptr %2, align 4
br label %43
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %23
23: ; preds = %28, %20
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %23, !llvm.loop !8
31: ; preds = %23
%32 = load ptr, ptr %4, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 10
br i1 %35, label %41, label %36
36: ; preds = %31
%37 = load ptr, ptr %4, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %36, %31
store i32 1, ptr %2, align 4
br label %43
42: ; preds = %36
store i32 0, ptr %2, align 4
br label %43
43: ; preds = %42, %41, %19
%44 = load i32, ptr %2, align 4
ret i32 %44
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoi4wy1ew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_end_section(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
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isspace(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 125
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %2, align 4
br label %49
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = call i64 @isspace(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %.lr.ph2, label %37
.lr.ph2: ; preds = %23
br label %30
30: ; preds = %.lr.ph2, %30
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = call i64 @isspace(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %37
37: ; preds = %._crit_edge3, %23
%38 = load ptr, ptr %4, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 10
br i1 %41, label %47, label %42
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42, %37
store i32 1, ptr %2, align 4
br label %49
48: ; preds = %42
store i32 0, ptr %2, align 4
br label %49
49: ; preds = %48, %47, %22
%50 = load i32, ptr %2, align 4
ret i32 %50
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphhbfrcp8.c'
source_filename = "/tmp/tmphhbfrcp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ChiSq_1(i32 noundef %0, float noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca double, align 8
store i32 %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = sitofp i32 %6 to double
%8 = fmul double 9.000000e+00, %7
%9 = fdiv double 2.000000e+00, %8
%10 = fsub double 1.000000e+00, %9
%11 = load float, ptr %4, align 4
%12 = call i32 @xp(float noundef %11)
%13 = load i32, ptr %3, align 4
%14 = sitofp i32 %13 to double
%15 = fmul double 9.000000e+00, %14
%16 = fdiv double 2.000000e+00, %15
%17 = call i32 @sqrt(double noundef %16)
%18 = mul nsw i32 %12, %17
%19 = sitofp i32 %18 to double
%20 = fadd double %10, %19
store double %20, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to double
%23 = load double, ptr %5, align 8
%24 = fmul double %22, %23
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
ret double %28
}
declare i32 @xp(float noundef) #1
declare i32 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphhbfrcp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ChiSq_1(i32 noundef %0, float noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca float, align 4
%5 = alloca double, align 8
store i32 %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = sitofp i32 %6 to double
%8 = fmul double 9.000000e+00, %7
%9 = fdiv double 2.000000e+00, %8
%10 = fsub double 1.000000e+00, %9
%11 = load float, ptr %4, align 4
%12 = call i32 @xp(float noundef %11)
%13 = load i32, ptr %3, align 4
%14 = sitofp i32 %13 to double
%15 = fmul double 9.000000e+00, %14
%16 = fdiv double 2.000000e+00, %15
%17 = call i32 @sqrt(double noundef %16)
%18 = mul nsw i32 %12, %17
%19 = sitofp i32 %18 to double
%20 = fadd double %10, %19
store double %20, ptr %5, align 8
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to double
%23 = load double, ptr %5, align 8
%24 = fmul double %22, %23
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
%27 = load double, ptr %5, align 8
%28 = fmul double %26, %27
ret double %28
}
declare i32 @xp(float noundef) #1
declare i32 @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj1pfw59g.c'
source_filename = "/tmp/tmpj1pfw59g.c"
target datalayout = "e-m:e-p270: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/tmpj1pfw59g.c"
target datalayout = "e-m:e-p270: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/tmphy5a2qai.c'
source_filename = "/tmp/tmphy5a2qai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphy5a2qai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_delete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph367_rpr.c'
source_filename = "/tmp/tmph367_rpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"expm1\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph367_rpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::cephes::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"expm1\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_3b0p75r.c'
source_filename = "/tmp/tmp_3b0p75r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @can_capture(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 i8, align 1
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca i8, align 1
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i8, align 1
%20 = alloca i32, align 4
%21 = alloca i8, align 1
%22 = alloca i8, align 1
%23 = alloca i8, align 1
%24 = alloca i32, align 4
%25 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %26
26: ; preds = %83, %2
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 8
br i1 %28, label %29, label %86
29: ; preds = %26
store i32 0, ptr %5, align 4
br label %30
30: ; preds = %79, %29
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %31, 8
br i1 %32, label %33, label %82
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 %35, 8
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %34, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 75
br i1 %43, label %44, label %55
44: ; preds = %33
%45 = load i32, ptr %4, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %55
47: ; preds = %44
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 97
%50 = trunc i32 %49 to i8
store i8 %50, ptr %7, align 1
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 7, %51
%53 = add nsw i32 %52, 49
%54 = trunc i32 %53 to i8
store i8 %54, ptr %8, align 1
br label %78
55: ; preds = %44, %33
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %6, align 4
%58 = mul nsw i32 %57, 8
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %56, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 107
br i1 %65, label %66, label %77
66: ; preds = %55
%67 = load i32, ptr %4, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %77
69: ; preds = %66
%70 = load i32, ptr %5, align 4
%71 = add nsw i32 %70, 97
%72 = trunc i32 %71 to i8
store i8 %72, ptr %7, align 1
%73 = load i32, ptr %6, align 4
%74 = sub nsw i32 7, %73
%75 = add nsw i32 %74, 49
%76 = trunc i32 %75 to i8
store i8 %76, ptr %8, align 1
br label %77
77: ; preds = %69, %66, %55
br label %78
78: ; preds = %77, %47
br label %79
79: ; preds = %78
%80 = load i32, ptr %5, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %5, align 4
br label %30, !llvm.loop !6
82: ; preds = %30
br label %83
83: ; preds = %82
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %6, align 4
br label %26, !llvm.loop !8
86: ; preds = %26
store i32 0, ptr %9, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp eq i32 %87, 1
br i1 %88, label %89, label %300
89: ; preds = %86
%90 = load i8, ptr %7, align 1
%91 = sext i8 %90 to i32
%92 = icmp sgt i32 %91, 97
br i1 %92, label %93, label %111
93: ; preds = %89
%94 = load i8, ptr %8, align 1
%95 = sext i8 %94 to i32
%96 = icmp slt i32 %95, 55
br i1 %96, label %97, label %111
97: ; preds = %93
%98 = load ptr, ptr %3, align 8
%99 = load i8, ptr %7, align 1
%100 = sext i8 %99 to i32
%101 = sub nsw i32 %100, 1
%102 = trunc i32 %101 to i8
%103 = load i8, ptr %8, align 1
%104 = sext i8 %103 to i32
%105 = add nsw i32 %104, 1
%106 = trunc i32 %105 to i8
%107 = call signext i8 @get_piece(ptr noundef %98, i8 noundef signext %102, i8 noundef signext %106)
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 112
br i1 %109, label %110, label %111
110: ; preds = %97
store i32 1, ptr %9, align 4
br label %111
111: ; preds = %110, %97, %93, %89
%112 = load i8, ptr %7, align 1
%113 = sext i8 %112 to i32
%114 = icmp slt i32 %113, 104
br i1 %114, label %115, label %133
115: ; preds = %111
%116 = load i8, ptr %8, align 1
%117 = sext i8 %116 to i32
%118 = icmp slt i32 %117, 55
br i1 %118, label %119, label %133
119: ; preds = %115
%120 = load ptr, ptr %3, align 8
%121 = load i8, ptr %7, align 1
%122 = sext i8 %121 to i32
%123 = add nsw i32 %122, 1
%124 = trunc i32 %123 to i8
%125 = load i8, ptr %8, align 1
%126 = sext i8 %125 to i32
%127 = add nsw i32 %126, 1
%128 = trunc i32 %127 to i8
%129 = call signext i8 @get_piece(ptr noundef %120, i8 noundef signext %124, i8 noundef signext %128)
%130 = sext i8 %129 to i32
%131 = icmp eq i32 %130, 112
br i1 %131, label %132, label %133
132: ; preds = %119
store i32 1, ptr %9, align 4
br label %133
133: ; preds = %132, %119, %115, %111
%134 = load i8, ptr %7, align 1
%135 = sext i8 %134 to i32
%136 = icmp slt i32 %135, 104
br i1 %136, label %137, label %175
137: ; preds = %133
%138 = load i8, ptr %7, align 1
%139 = sext i8 %138 to i32
%140 = add nsw i32 %139, 1
%141 = trunc i32 %140 to i8
store i8 %141, ptr %10, align 1
%142 = load i8, ptr %8, align 1
store i8 %142, ptr %11, align 1
store i32 1, ptr %12, align 4
br label %143
143: ; preds = %171, %137
%144 = load i32, ptr %12, align 4
%145 = icmp eq i32 %144, 1
br i1 %145, label %146, label %150
146: ; preds = %143
%147 = load i8, ptr %10, align 1
%148 = sext i8 %147 to i32
%149 = icmp sle i32 %148, 104
br label %150
150: ; preds = %146, %143
%151 = phi i1 [ false, %143 ], [ %149, %146 ]
br i1 %151, label %152, label %174
152: ; preds = %150
%153 = load ptr, ptr %3, align 8
%154 = load i8, ptr %10, align 1
%155 = load i8, ptr %11, align 1
%156 = call signext i8 @get_piece(ptr noundef %153, i8 noundef signext %154, i8 noundef signext %155)
store i8 %156, ptr %13, align 1
%157 = load i8, ptr %13, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 113
br i1 %159, label %164, label %160
160: ; preds = %152
%161 = load i8, ptr %13, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 114
br i1 %163, label %164, label %165
164: ; preds = %160, %152
store i32 1, ptr %9, align 4
store i32 0, ptr %12, align 4
br label %171
165: ; preds = %160
%166 = load i8, ptr %13, align 1
%167 = sext i8 %166 to i32
%168 = icmp ne i32 %167, 32
br i1 %168, label %169, label %170
169: ; preds = %165
store i32 0, ptr %12, align 4
br label %170
170: ; preds = %169, %165
br label %171
171: ; preds = %170, %164
%172 = load i8, ptr %10, align 1
%173 = add i8 %172, 1
store i8 %173, ptr %10, align 1
br label %143, !llvm.loop !9
174: ; preds = %150
br label %175
175: ; preds = %174, %133
%176 = load i8, ptr %7, align 1
%177 = sext i8 %176 to i32
%178 = icmp sgt i32 %177, 97
br i1 %178, label %179, label %217
179: ; preds = %175
%180 = load i8, ptr %7, align 1
%181 = sext i8 %180 to i32
%182 = sub nsw i32 %181, 1
%183 = trunc i32 %182 to i8
store i8 %183, ptr %14, align 1
%184 = load i8, ptr %8, align 1
store i8 %184, ptr %15, align 1
store i32 1, ptr %16, align 4
br label %185
185: ; preds = %213, %179
%186 = load i32, ptr %16, align 4
%187 = icmp eq i32 %186, 1
br i1 %187, label %188, label %192
188: ; preds = %185
%189 = load i8, ptr %14, align 1
%190 = sext i8 %189 to i32
%191 = icmp sge i32 %190, 97
br label %192
192: ; preds = %188, %185
%193 = phi i1 [ false, %185 ], [ %191, %188 ]
br i1 %193, label %194, label %216
194: ; preds = %192
%195 = load ptr, ptr %3, align 8
%196 = load i8, ptr %14, align 1
%197 = load i8, ptr %15, align 1
%198 = call signext i8 @get_piece(ptr noundef %195, i8 noundef signext %196, i8 noundef signext %197)
store i8 %198, ptr %17, align 1
%199 = load i8, ptr %17, align 1
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %200, 113
br i1 %201, label %206, label %202
202: ; preds = %194
%203 = load i8, ptr %17, align 1
%204 = sext i8 %203 to i32
%205 = icmp eq i32 %204, 114
br i1 %205, label %206, label %207
206: ; preds = %202, %194
store i32 1, ptr %9, align 4
store i32 0, ptr %16, align 4
br label %213
207: ; preds = %202
%208 = load i8, ptr %17, align 1
%209 = sext i8 %208 to i32
%210 = icmp ne i32 %209, 32
br i1 %210, label %211, label %212
211: ; preds = %207
store i32 0, ptr %16, align 4
br label %212
212: ; preds = %211, %207
br label %213
213: ; preds = %212, %206
%214 = load i8, ptr %14, align 1
%215 = add i8 %214, -1
store i8 %215, ptr %14, align 1
br label %185, !llvm.loop !10
216: ; preds = %192
br label %217
217: ; preds = %216, %175
%218 = load i8, ptr %8, align 1
%219 = sext i8 %218 to i32
%220 = icmp slt i32 %219, 56
br i1 %220, label %221, label %259
221: ; preds = %217
%222 = load i8, ptr %7, align 1
store i8 %222, ptr %18, align 1
%223 = load i8, ptr %8, align 1
%224 = sext i8 %223 to i32
%225 = add nsw i32 %224, 1
%226 = trunc i32 %225 to i8
store i8 %226, ptr %19, align 1
store i32 1, ptr %20, align 4
br label %227
227: ; preds = %255, %221
%228 = load i32, ptr %20, align 4
%229 = icmp eq i32 %228, 1
br i1 %229, label %230, label %234
230: ; preds = %227
%231 = load i8, ptr %19, align 1
%232 = sext i8 %231 to i32
%233 = icmp sle i32 %232, 56
br label %234
234: ; preds = %230, %227
%235 = phi i1 [ false, %227 ], [ %233, %230 ]
br i1 %235, label %236, label %258
236: ; preds = %234
%237 = load ptr, ptr %3, align 8
%238 = load i8, ptr %18, align 1
%239 = load i8, ptr %19, align 1
%240 = call signext i8 @get_piece(ptr noundef %237, i8 noundef signext %238, i8 noundef signext %239)
store i8 %240, ptr %21, align 1
%241 = load i8, ptr %21, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 113
br i1 %243, label %248, label %244
244: ; preds = %236
%245 = load i8, ptr %21, align 1
%246 = sext i8 %245 to i32
%247 = icmp eq i32 %246, 114
br i1 %247, label %248, label %249
248: ; preds = %244, %236
store i32 1, ptr %9, align 4
store i32 0, ptr %20, align 4
br label %255
249: ; preds = %244
%250 = load i8, ptr %21, align 1
%251 = sext i8 %250 to i32
%252 = icmp ne i32 %251, 32
br i1 %252, label %253, label %254
253: ; preds = %249
store i32 0, ptr %20, align 4
br label %254
254: ; preds = %253, %249
br label %255
255: ; preds = %254, %248
%256 = load i8, ptr %19, align 1
%257 = add i8 %256, 1
store i8 %257, ptr %19, align 1
br label %227, !llvm.loop !11
258: ; preds = %234
br label %259
259: ; preds = %258, %217
%260 = load i8, ptr %8, align 1
%261 = sext i8 %260 to i32
%262 = icmp sgt i32 %261, 49
br i1 %262, label %263, label %299
263: ; preds = %259
%264 = load i8, ptr %7, align 1
store i8 %264, ptr %22, align 1
%265 = load i8, ptr %8, align 1
%266 = sext i8 %265 to i32
%267 = sub nsw i32 %266, 1
%268 = trunc i32 %267 to i8
store i8 %268, ptr %23, align 1
store i32 1, ptr %24, align 4
br label %269
269: ; preds = %295, %263
store i32 1, ptr %24, align 4
br i1 true, label %270, label %274
270: ; preds = %269
%271 = load i8, ptr %23, align 1
%272 = sext i8 %271 to i32
%273 = icmp sge i32 %272, 49
br label %274
274: ; preds = %270, %269
%275 = phi i1 [ false, %269 ], [ %273, %270 ]
br i1 %275, label %276, label %298
276: ; preds = %274
%277 = load ptr, ptr %3, align 8
%278 = load i8, ptr %22, align 1
%279 = load i8, ptr %23, align 1
%280 = call signext i8 @get_piece(ptr noundef %277, i8 noundef signext %278, i8 noundef signext %279)
store i8 %280, ptr %25, align 1
%281 = load i8, ptr %25, align 1
%282 = sext i8 %281 to i32
%283 = icmp eq i32 %282, 113
br i1 %283, label %288, label %284
284: ; preds = %276
%285 = load i8, ptr %25, align 1
%286 = sext i8 %285 to i32
%287 = icmp eq i32 %286, 114
br i1 %287, label %288, label %289
288: ; preds = %284, %276
store i32 1, ptr %9, align 4
store i32 0, ptr %24, align 4
br label %295
289: ; preds = %284
%290 = load i8, ptr %25, align 1
%291 = sext i8 %290 to i32
%292 = icmp ne i32 %291, 32
br i1 %292, label %293, label %294
293: ; preds = %289
store i32 0, ptr %24, align 4
br label %294
294: ; preds = %293, %289
br label %295
295: ; preds = %294, %288
%296 = load i8, ptr %23, align 1
%297 = add i8 %296, -1
store i8 %297, ptr %23, align 1
br label %269, !llvm.loop !12
298: ; preds = %274
br label %299
299: ; preds = %298, %259
br label %300
300: ; preds = %299, %86
%301 = load i32, ptr %9, align 4
ret i32 %301
}
declare signext i8 @get_piece(ptr noundef, i8 noundef signext, 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_3b0p75r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @can_capture(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 i8, align 1
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca i8, align 1
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i8, align 1
%20 = alloca i32, align 4
%21 = alloca i8, align 1
%22 = alloca i8, align 1
%23 = alloca i8, align 1
%24 = alloca i32, align 4
%25 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 8
br i1 %27, label %.lr.ph2, label %88
.lr.ph2: ; preds = %2
br label %28
28: ; preds = %.lr.ph2, %83
store i32 0, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %.lr.ph, label %82
.lr.ph: ; preds = %28
br label %31
31: ; preds = %.lr.ph, %77
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %33, 8
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %32, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 75
br i1 %41, label %42, label %53
42: ; preds = %31
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %53
45: ; preds = %42
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 97
%48 = trunc i32 %47 to i8
store i8 %48, ptr %7, align 1
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 7, %49
%51 = add nsw i32 %50, 49
%52 = trunc i32 %51 to i8
store i8 %52, ptr %8, align 1
br label %76
53: ; preds = %42, %31
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %6, align 4
%56 = mul nsw i32 %55, 8
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %54, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 107
br i1 %63, label %64, label %75
64: ; preds = %53
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %75
67: ; preds = %64
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, 97
%70 = trunc i32 %69 to i8
store i8 %70, ptr %7, align 1
%71 = load i32, ptr %6, align 4
%72 = sub nsw i32 7, %71
%73 = add nsw i32 %72, 49
%74 = trunc i32 %73 to i8
store i8 %74, ptr %8, align 1
br label %75
75: ; preds = %67, %64, %53
br label %76
76: ; preds = %75, %45
br label %77
77: ; preds = %76
%78 = load i32, ptr %5, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %5, align 4
%80 = load i32, ptr %5, align 4
%81 = icmp slt i32 %80, 8
br i1 %81, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %82
82: ; preds = %._crit_edge, %28
br label %83
83: ; preds = %82
%84 = load i32, ptr %6, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %6, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %86, 8
br i1 %87, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %88
88: ; preds = %._crit_edge3, %2
store i32 0, ptr %9, align 4
%89 = load i32, ptr %4, align 4
%90 = icmp eq i32 %89, 1
br i1 %90, label %91, label %302
91: ; preds = %88
%92 = load i8, ptr %7, align 1
%93 = sext i8 %92 to i32
%94 = icmp sgt i32 %93, 97
br i1 %94, label %95, label %113
95: ; preds = %91
%96 = load i8, ptr %8, align 1
%97 = sext i8 %96 to i32
%98 = icmp slt i32 %97, 55
br i1 %98, label %99, label %113
99: ; preds = %95
%100 = load ptr, ptr %3, align 8
%101 = load i8, ptr %7, align 1
%102 = sext i8 %101 to i32
%103 = sub nsw i32 %102, 1
%104 = trunc i32 %103 to i8
%105 = load i8, ptr %8, align 1
%106 = sext i8 %105 to i32
%107 = add nsw i32 %106, 1
%108 = trunc i32 %107 to i8
%109 = call signext i8 @get_piece(ptr noundef %100, i8 noundef signext %104, i8 noundef signext %108)
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 112
br i1 %111, label %112, label %113
112: ; preds = %99
store i32 1, ptr %9, align 4
br label %113
113: ; preds = %112, %99, %95, %91
%114 = load i8, ptr %7, align 1
%115 = sext i8 %114 to i32
%116 = icmp slt i32 %115, 104
br i1 %116, label %117, label %135
117: ; preds = %113
%118 = load i8, ptr %8, align 1
%119 = sext i8 %118 to i32
%120 = icmp slt i32 %119, 55
br i1 %120, label %121, label %135
121: ; preds = %117
%122 = load ptr, ptr %3, align 8
%123 = load i8, ptr %7, align 1
%124 = sext i8 %123 to i32
%125 = add nsw i32 %124, 1
%126 = trunc i32 %125 to i8
%127 = load i8, ptr %8, align 1
%128 = sext i8 %127 to i32
%129 = add nsw i32 %128, 1
%130 = trunc i32 %129 to i8
%131 = call signext i8 @get_piece(ptr noundef %122, i8 noundef signext %126, i8 noundef signext %130)
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 112
br i1 %133, label %134, label %135
134: ; preds = %121
store i32 1, ptr %9, align 4
br label %135
135: ; preds = %134, %121, %117, %113
%136 = load i8, ptr %7, align 1
%137 = sext i8 %136 to i32
%138 = icmp slt i32 %137, 104
br i1 %138, label %139, label %177
139: ; preds = %135
%140 = load i8, ptr %7, align 1
%141 = sext i8 %140 to i32
%142 = add nsw i32 %141, 1
%143 = trunc i32 %142 to i8
store i8 %143, ptr %10, align 1
%144 = load i8, ptr %8, align 1
store i8 %144, ptr %11, align 1
store i32 1, ptr %12, align 4
br label %145
145: ; preds = %173, %139
%146 = load i32, ptr %12, align 4
%147 = icmp eq i32 %146, 1
br i1 %147, label %148, label %152
148: ; preds = %145
%149 = load i8, ptr %10, align 1
%150 = sext i8 %149 to i32
%151 = icmp sle i32 %150, 104
br label %152
152: ; preds = %148, %145
%153 = phi i1 [ false, %145 ], [ %151, %148 ]
br i1 %153, label %154, label %176
154: ; preds = %152
%155 = load ptr, ptr %3, align 8
%156 = load i8, ptr %10, align 1
%157 = load i8, ptr %11, align 1
%158 = call signext i8 @get_piece(ptr noundef %155, i8 noundef signext %156, i8 noundef signext %157)
store i8 %158, ptr %13, align 1
%159 = load i8, ptr %13, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 113
br i1 %161, label %166, label %162
162: ; preds = %154
%163 = load i8, ptr %13, align 1
%164 = sext i8 %163 to i32
%165 = icmp eq i32 %164, 114
br i1 %165, label %166, label %167
166: ; preds = %162, %154
store i32 1, ptr %9, align 4
store i32 0, ptr %12, align 4
br label %173
167: ; preds = %162
%168 = load i8, ptr %13, align 1
%169 = sext i8 %168 to i32
%170 = icmp ne i32 %169, 32
br i1 %170, label %171, label %172
171: ; preds = %167
store i32 0, ptr %12, align 4
br label %172
172: ; preds = %171, %167
br label %173
173: ; preds = %172, %166
%174 = load i8, ptr %10, align 1
%175 = add i8 %174, 1
store i8 %175, ptr %10, align 1
br label %145, !llvm.loop !9
176: ; preds = %152
br label %177
177: ; preds = %176, %135
%178 = load i8, ptr %7, align 1
%179 = sext i8 %178 to i32
%180 = icmp sgt i32 %179, 97
br i1 %180, label %181, label %219
181: ; preds = %177
%182 = load i8, ptr %7, align 1
%183 = sext i8 %182 to i32
%184 = sub nsw i32 %183, 1
%185 = trunc i32 %184 to i8
store i8 %185, ptr %14, align 1
%186 = load i8, ptr %8, align 1
store i8 %186, ptr %15, align 1
store i32 1, ptr %16, align 4
br label %187
187: ; preds = %215, %181
%188 = load i32, ptr %16, align 4
%189 = icmp eq i32 %188, 1
br i1 %189, label %190, label %194
190: ; preds = %187
%191 = load i8, ptr %14, align 1
%192 = sext i8 %191 to i32
%193 = icmp sge i32 %192, 97
br label %194
194: ; preds = %190, %187
%195 = phi i1 [ false, %187 ], [ %193, %190 ]
br i1 %195, label %196, label %218
196: ; preds = %194
%197 = load ptr, ptr %3, align 8
%198 = load i8, ptr %14, align 1
%199 = load i8, ptr %15, align 1
%200 = call signext i8 @get_piece(ptr noundef %197, i8 noundef signext %198, i8 noundef signext %199)
store i8 %200, ptr %17, align 1
%201 = load i8, ptr %17, align 1
%202 = sext i8 %201 to i32
%203 = icmp eq i32 %202, 113
br i1 %203, label %208, label %204
204: ; preds = %196
%205 = load i8, ptr %17, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %206, 114
br i1 %207, label %208, label %209
208: ; preds = %204, %196
store i32 1, ptr %9, align 4
store i32 0, ptr %16, align 4
br label %215
209: ; preds = %204
%210 = load i8, ptr %17, align 1
%211 = sext i8 %210 to i32
%212 = icmp ne i32 %211, 32
br i1 %212, label %213, label %214
213: ; preds = %209
store i32 0, ptr %16, align 4
br label %214
214: ; preds = %213, %209
br label %215
215: ; preds = %214, %208
%216 = load i8, ptr %14, align 1
%217 = add i8 %216, -1
store i8 %217, ptr %14, align 1
br label %187, !llvm.loop !10
218: ; preds = %194
br label %219
219: ; preds = %218, %177
%220 = load i8, ptr %8, align 1
%221 = sext i8 %220 to i32
%222 = icmp slt i32 %221, 56
br i1 %222, label %223, label %261
223: ; preds = %219
%224 = load i8, ptr %7, align 1
store i8 %224, ptr %18, align 1
%225 = load i8, ptr %8, align 1
%226 = sext i8 %225 to i32
%227 = add nsw i32 %226, 1
%228 = trunc i32 %227 to i8
store i8 %228, ptr %19, align 1
store i32 1, ptr %20, align 4
br label %229
229: ; preds = %257, %223
%230 = load i32, ptr %20, align 4
%231 = icmp eq i32 %230, 1
br i1 %231, label %232, label %236
232: ; preds = %229
%233 = load i8, ptr %19, align 1
%234 = sext i8 %233 to i32
%235 = icmp sle i32 %234, 56
br label %236
236: ; preds = %232, %229
%237 = phi i1 [ false, %229 ], [ %235, %232 ]
br i1 %237, label %238, label %260
238: ; preds = %236
%239 = load ptr, ptr %3, align 8
%240 = load i8, ptr %18, align 1
%241 = load i8, ptr %19, align 1
%242 = call signext i8 @get_piece(ptr noundef %239, i8 noundef signext %240, i8 noundef signext %241)
store i8 %242, ptr %21, align 1
%243 = load i8, ptr %21, align 1
%244 = sext i8 %243 to i32
%245 = icmp eq i32 %244, 113
br i1 %245, label %250, label %246
246: ; preds = %238
%247 = load i8, ptr %21, align 1
%248 = sext i8 %247 to i32
%249 = icmp eq i32 %248, 114
br i1 %249, label %250, label %251
250: ; preds = %246, %238
store i32 1, ptr %9, align 4
store i32 0, ptr %20, align 4
br label %257
251: ; preds = %246
%252 = load i8, ptr %21, align 1
%253 = sext i8 %252 to i32
%254 = icmp ne i32 %253, 32
br i1 %254, label %255, label %256
255: ; preds = %251
store i32 0, ptr %20, align 4
br label %256
256: ; preds = %255, %251
br label %257
257: ; preds = %256, %250
%258 = load i8, ptr %19, align 1
%259 = add i8 %258, 1
store i8 %259, ptr %19, align 1
br label %229, !llvm.loop !11
260: ; preds = %236
br label %261
261: ; preds = %260, %219
%262 = load i8, ptr %8, align 1
%263 = sext i8 %262 to i32
%264 = icmp sgt i32 %263, 49
br i1 %264, label %265, label %301
265: ; preds = %261
%266 = load i8, ptr %7, align 1
store i8 %266, ptr %22, align 1
%267 = load i8, ptr %8, align 1
%268 = sext i8 %267 to i32
%269 = sub nsw i32 %268, 1
%270 = trunc i32 %269 to i8
store i8 %270, ptr %23, align 1
store i32 1, ptr %24, align 4
br label %271
271: ; preds = %297, %265
store i32 1, ptr %24, align 4
br i1 true, label %272, label %276
272: ; preds = %271
%273 = load i8, ptr %23, align 1
%274 = sext i8 %273 to i32
%275 = icmp sge i32 %274, 49
br label %276
276: ; preds = %272, %271
%277 = phi i1 [ false, %271 ], [ %275, %272 ]
br i1 %277, label %278, label %300
278: ; preds = %276
%279 = load ptr, ptr %3, align 8
%280 = load i8, ptr %22, align 1
%281 = load i8, ptr %23, align 1
%282 = call signext i8 @get_piece(ptr noundef %279, i8 noundef signext %280, i8 noundef signext %281)
store i8 %282, ptr %25, align 1
%283 = load i8, ptr %25, align 1
%284 = sext i8 %283 to i32
%285 = icmp eq i32 %284, 113
br i1 %285, label %290, label %286
286: ; preds = %278
%287 = load i8, ptr %25, align 1
%288 = sext i8 %287 to i32
%289 = icmp eq i32 %288, 114
br i1 %289, label %290, label %291
290: ; preds = %286, %278
store i32 1, ptr %9, align 4
store i32 0, ptr %24, align 4
br label %297
291: ; preds = %286
%292 = load i8, ptr %25, align 1
%293 = sext i8 %292 to i32
%294 = icmp ne i32 %293, 32
br i1 %294, label %295, label %296
295: ; preds = %291
store i32 0, ptr %24, align 4
br label %296
296: ; preds = %295, %291
br label %297
297: ; preds = %296, %290
%298 = load i8, ptr %23, align 1
%299 = add i8 %298, -1
store i8 %299, ptr %23, align 1
br label %271, !llvm.loop !12
300: ; preds = %276
br label %301
301: ; preds = %300, %261
br label %302
302: ; preds = %301, %88
%303 = load i32, ptr %9, align 4
ret i32 %303
}
declare signext i8 @get_piece(ptr noundef, i8 noundef signext, 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp4lvu_xfb.c'
source_filename = "/tmp/tmp4lvu_xfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @great_circle_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 1
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = fsub double %9, %12
%14 = fdiv double %13, 2.000000e+00
%15 = call i32 @sin(double noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds double, ptr %16, i64 1
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds double, ptr %19, i64 1
%21 = load double, ptr %20, align 8
%22 = fsub double %18, %21
%23 = fdiv double %22, 2.000000e+00
%24 = call i32 @sin(double noundef %23)
%25 = mul nsw i32 %15, %24
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds double, ptr %26, i64 1
%28 = load double, ptr %27, align 8
%29 = call i32 @cos(double noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %31, align 8
%33 = call i32 @cos(double noundef %32)
%34 = mul nsw i32 %29, %33
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds double, ptr %35, i64 0
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds double, ptr %38, i64 0
%40 = load double, ptr %39, align 8
%41 = fsub double %37, %40
%42 = fdiv double %41, 2.000000e+00
%43 = call i32 @sin(double noundef %42)
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds double, ptr %47, i64 0
%49 = load double, ptr %48, align 8
%50 = fsub double %46, %49
%51 = fdiv double %50, 2.000000e+00
%52 = call i32 @sin(double noundef %51)
%53 = mul nsw i32 %43, %52
%54 = mul nsw i32 %34, %53
%55 = add nsw i32 %25, %54
%56 = call i32 @sqrt(i32 noundef %55)
%57 = call i32 @asin(i32 noundef %56)
%58 = sitofp i32 %57 to double
%59 = fmul double 2.000000e+00, %58
store double %59, ptr %6, align 8
%60 = load double, ptr %6, align 8
%61 = fmul double 6.371000e+06, %60
store double %61, ptr %5, align 8
%62 = load double, ptr %5, align 8
ret double %62
}
declare i32 @asin(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4lvu_xfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @great_circle_distance(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds double, ptr %7, i64 1
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = fsub double %9, %12
%14 = fdiv double %13, 2.000000e+00
%15 = call i32 @sin(double noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds double, ptr %16, i64 1
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds double, ptr %19, i64 1
%21 = load double, ptr %20, align 8
%22 = fsub double %18, %21
%23 = fdiv double %22, 2.000000e+00
%24 = call i32 @sin(double noundef %23)
%25 = mul nsw i32 %15, %24
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds double, ptr %26, i64 1
%28 = load double, ptr %27, align 8
%29 = call i32 @cos(double noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %31, align 8
%33 = call i32 @cos(double noundef %32)
%34 = mul nsw i32 %29, %33
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds double, ptr %35, i64 0
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds double, ptr %38, i64 0
%40 = load double, ptr %39, align 8
%41 = fsub double %37, %40
%42 = fdiv double %41, 2.000000e+00
%43 = call i32 @sin(double noundef %42)
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds double, ptr %47, i64 0
%49 = load double, ptr %48, align 8
%50 = fsub double %46, %49
%51 = fdiv double %50, 2.000000e+00
%52 = call i32 @sin(double noundef %51)
%53 = mul nsw i32 %43, %52
%54 = mul nsw i32 %34, %53
%55 = add nsw i32 %25, %54
%56 = call i32 @sqrt(i32 noundef %55)
%57 = call i32 @asin(i32 noundef %56)
%58 = sitofp i32 %57 to double
%59 = fmul double 2.000000e+00, %58
store double %59, ptr %6, align 8
%60 = load double, ptr %6, align 8
%61 = fmul double 6.371000e+06, %60
store double %61, ptr %5, align 8
%62 = load double, ptr %5, align 8
ret double %62
}
declare i32 @asin(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @sin(double noundef) #1
declare i32 @cos(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmqcxfu1.c'
source_filename = "/tmp/tmpsmqcxfu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_OV7725(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %86 [
i32 1, label %6
i32 2, label %22
i32 3, label %38
i32 4, label %54
i32 5, label %70
]
6: ; preds = %1
%7 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = or i32 %9, 8
%11 = trunc i32 %10 to i8
%12 = zext i8 %11 to i32
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %12)
%14 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = or i32 %16, 4
%18 = trunc i32 %17 to i8
%19 = zext i8 %18 to i32
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %19)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 88)
br label %87
22: ; preds = %1
%23 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%24 = load i8, ptr %3, align 1
%25 = zext i8 %24 to i32
%26 = or i32 %25, 8
%27 = trunc i32 %26 to i8
%28 = zext i8 %27 to i32
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %28)
%30 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%31 = load i8, ptr %3, align 1
%32 = zext i8 %31 to i32
%33 = or i32 %32, 4
%34 = trunc i32 %33 to i8
%35 = zext i8 %34 to i32
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %35)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 56)
br label %87
38: ; preds = %1
%39 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%40 = load i8, ptr %3, align 1
%41 = zext i8 %40 to i32
%42 = and i32 %41, 247
%43 = trunc i32 %42 to i8
%44 = zext i8 %43 to i32
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %44)
%46 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%47 = load i8, ptr %3, align 1
%48 = zext i8 %47 to i32
%49 = or i32 %48, 4
%50 = trunc i32 %49 to i8
%51 = zext i8 %50 to i32
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %51)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 8)
br label %87
54: ; preds = %1
%55 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%56 = load i8, ptr %3, align 1
%57 = zext i8 %56 to i32
%58 = and i32 %57, 247
%59 = trunc i32 %58 to i8
%60 = zext i8 %59 to i32
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %60)
%62 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%63 = load i8, ptr %3, align 1
%64 = zext i8 %63 to i32
%65 = or i32 %64, 4
%66 = trunc i32 %65 to i8
%67 = zext i8 %66 to i32
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %67)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 40)
br label %87
70: ; preds = %1
%71 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%72 = load i8, ptr %3, align 1
%73 = zext i8 %72 to i32
%74 = and i32 %73, 247
%75 = trunc i32 %74 to i8
%76 = zext i8 %75 to i32
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %76)
%78 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%79 = load i8, ptr %3, align 1
%80 = zext i8 %79 to i32
%81 = or i32 %80, 4
%82 = trunc i32 %81 to i8
%83 = zext i8 %82 to i32
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %83)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 72)
br label %87
86: ; preds = %1
br label %87
87: ; preds = %86, %70, %54, %38, %22, %6
ret void
}
declare i32 @VIM_SIF_I2cReadByte(i32 noundef, ptr noundef) #1
declare i32 @VIM_SIF_I2cWriteByte(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/tmpsmqcxfu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_OV7725(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
switch i32 %5, label %86 [
i32 1, label %6
i32 2, label %22
i32 3, label %38
i32 4, label %54
i32 5, label %70
]
6: ; preds = %1
%7 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = or i32 %9, 8
%11 = trunc i32 %10 to i8
%12 = zext i8 %11 to i32
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %12)
%14 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = or i32 %16, 4
%18 = trunc i32 %17 to i8
%19 = zext i8 %18 to i32
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %19)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 88)
br label %87
22: ; preds = %1
%23 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%24 = load i8, ptr %3, align 1
%25 = zext i8 %24 to i32
%26 = or i32 %25, 8
%27 = trunc i32 %26 to i8
%28 = zext i8 %27 to i32
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %28)
%30 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%31 = load i8, ptr %3, align 1
%32 = zext i8 %31 to i32
%33 = or i32 %32, 4
%34 = trunc i32 %33 to i8
%35 = zext i8 %34 to i32
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %35)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 56)
br label %87
38: ; preds = %1
%39 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%40 = load i8, ptr %3, align 1
%41 = zext i8 %40 to i32
%42 = and i32 %41, 247
%43 = trunc i32 %42 to i8
%44 = zext i8 %43 to i32
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %44)
%46 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%47 = load i8, ptr %3, align 1
%48 = zext i8 %47 to i32
%49 = or i32 %48, 4
%50 = trunc i32 %49 to i8
%51 = zext i8 %50 to i32
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %51)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 8)
br label %87
54: ; preds = %1
%55 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%56 = load i8, ptr %3, align 1
%57 = zext i8 %56 to i32
%58 = and i32 %57, 247
%59 = trunc i32 %58 to i8
%60 = zext i8 %59 to i32
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %60)
%62 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%63 = load i8, ptr %3, align 1
%64 = zext i8 %63 to i32
%65 = or i32 %64, 4
%66 = trunc i32 %65 to i8
%67 = zext i8 %66 to i32
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %67)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 40)
br label %87
70: ; preds = %1
%71 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 171, ptr noundef %3)
%72 = load i8, ptr %3, align 1
%73 = zext i8 %72 to i32
%74 = and i32 %73, 247
%75 = trunc i32 %74 to i8
%76 = zext i8 %75 to i32
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 171, i32 noundef %76)
%78 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 166, ptr noundef %3)
%79 = load i8, ptr %3, align 1
%80 = zext i8 %79 to i32
%81 = or i32 %80, 4
%82 = trunc i32 %81 to i8
%83 = zext i8 %82 to i32
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 166, i32 noundef %83)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 155, i32 noundef 72)
br label %87
86: ; preds = %1
br label %87
87: ; preds = %86, %70, %54, %38, %22, %6
ret void
}
declare i32 @VIM_SIF_I2cReadByte(i32 noundef, ptr noundef) #1
declare i32 @VIM_SIF_I2cWriteByte(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/tmpaajrde2k.c'
source_filename = "/tmp/tmpaajrde2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Atul Patil\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Before: %s\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"After: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @snprintf(ptr noundef %3, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5)
%7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @reverse(ptr noundef %7)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @reverse(ptr 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/tmpaajrde2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Atul Patil\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Before: %s\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"After: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @snprintf(ptr noundef %3, i32 noundef 100, ptr noundef @.str, ptr noundef @.str.1)
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5)
%7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @reverse(ptr noundef %7)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.3, ptr noundef %9)
%11 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @reverse(ptr 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/tmpqjf7v2bn.c'
source_filename = "/tmp/tmpqjf7v2bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cstring_split_at_char(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @strchr(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %7, align 8
store i8 0, ptr %13, align 1
br label %18
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strchr(ptr noundef %16, i32 noundef 0)
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %15, %12
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
br label %24
24: ; preds = %21, %18
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
declare ptr @strchr(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/tmpqjf7v2bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cstring_split_at_char(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @strchr(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %7, align 8
store i8 0, ptr %13, align 1
br label %18
15: ; preds = %3
%16 = load ptr, ptr %4, align 8
%17 = call ptr @strchr(ptr noundef %16, i32 noundef 0)
store ptr %17, ptr %7, align 8
br label %18
18: ; preds = %15, %12
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
br label %24
24: ; preds = %21, %18
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
declare ptr @strchr(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/tmp8mf6c84h.c'
source_filename = "/tmp/tmp8mf6c84h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = 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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca [1500 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 i32 1500, ptr %8, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %60
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %6, align 8
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_DGRAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %9, align 4
%24 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %25, ptr %26, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @inet_addr(ptr noundef %29)
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
%33 = call i32 @htons(i32 noundef 5050)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
store i32 %33, ptr %34, align 4
br label %35
35: ; preds = %16, %56
%36 = load i32, ptr %10, align 4
%37 = srem i32 %36, 2
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 1500, ptr %8, align 4
br label %41
40: ; preds = %35
store i32 500, ptr %8, align 4
br label %41
41: ; preds = %40, %39
%42 = getelementptr inbounds [1500 x i8], ptr %12, i64 0, i64 0
%43 = load i32, ptr %8, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp sle i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %41
store i32 0, ptr %3, align 4
br label %60
49: ; preds = %41
%50 = load i32, ptr %9, align 4
%51 = getelementptr inbounds [1500 x i8], ptr %12, i64 0, i64 0
%52 = load i32, ptr %7, align 4
%53 = call i64 @sendto(i32 noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef 0, ptr noundef %11, i32 noundef 12)
%54 = icmp sge i64 0, %53
br i1 %54, label %55, label %56
55: ; preds = %49
store i32 0, ptr %3, align 4
br label %60
56: ; preds = %49
%57 = call i32 @usleep(i32 noundef 10000)
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %10, align 4
br label %35
60: ; preds = %55, %48, %15
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @usleep(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/tmp8mf6c84h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = 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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.sockaddr_in, align 4
%12 = alloca [1500 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 i32 1500, ptr %8, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %60
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %6, align 8
%21 = load i32, ptr @AF_INET, align 4
%22 = load i32, ptr @SOCK_DGRAM, align 4
%23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0)
store i32 %23, ptr %9, align 4
%24 = call i32 @bzero(ptr noundef %11, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2
store i32 %25, ptr %26, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @inet_addr(ptr noundef %29)
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
%33 = call i32 @htons(i32 noundef 5050)
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0
store i32 %33, ptr %34, align 4
br label %35
35: ; preds = %56, %16
%36 = load i32, ptr %10, align 4
%37 = srem i32 %36, 2
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 1500, ptr %8, align 4
br label %41
40: ; preds = %35
store i32 500, ptr %8, align 4
br label %41
41: ; preds = %40, %39
%42 = getelementptr inbounds [1500 x i8], ptr %12, i64 0, i64 0
%43 = load i32, ptr %8, align 4
%44 = load ptr, ptr %6, align 8
%45 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp sle i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %41
store i32 0, ptr %3, align 4
br label %60
49: ; preds = %41
%50 = load i32, ptr %9, align 4
%51 = getelementptr inbounds [1500 x i8], ptr %12, i64 0, i64 0
%52 = load i32, ptr %7, align 4
%53 = call i64 @sendto(i32 noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef 0, ptr noundef %11, i32 noundef 12)
%54 = icmp sge i64 0, %53
br i1 %54, label %55, label %56
55: ; preds = %49
store i32 0, ptr %3, align 4
br label %60
56: ; preds = %49
%57 = call i32 @usleep(i32 noundef 10000)
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %10, align 4
br label %35
60: ; preds = %55, %48, %15
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_afa35c0.c'
source_filename = "/tmp/tmp_afa35c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [110 x i8] c"\0A%s [-c ncols] [-r nrows] [-t num_thr] [-s nsteps] [-d debug] [-f filename] [-W 1|0] [-C CKPTsteps] [-v] [-h]\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c"\0A -d <0|1|2> : <no output | debug info (default) | display interactively> \00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"\0A -s <int> : steps (step num. default=1000)\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"\0A -n <int> : Computation load (default=10000)\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0A -C <int> : CheckPoint freq. (step num. default=500)\00", align 1
@.str.5 = private unnamed_addr constant [85 x i8] c"\0A -t <int> : Threads num ( default = OMP_NUM_THREADS if set, otherwise = cores num\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"\0A -W <1|0> : Write yes|no(default) the grid config into a file \00", align 1
@.str.7 = private unnamed_addr constant [58 x i8] c"\0A -f <string>: filename (default: life_ <filesize>.dat) \00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"\0A -v : version \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\0A -h : help \00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
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/tmp_afa35c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [110 x i8] c"\0A%s [-c ncols] [-r nrows] [-t num_thr] [-s nsteps] [-d debug] [-f filename] [-W 1|0] [-C CKPTsteps] [-v] [-h]\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c"\0A -d <0|1|2> : <no output | debug info (default) | display interactively> \00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"\0A -s <int> : steps (step num. default=1000)\00", align 1
@.str.3 = private unnamed_addr constant [49 x i8] c"\0A -n <int> : Computation load (default=10000)\00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\0A -C <int> : CheckPoint freq. (step num. default=500)\00", align 1
@.str.5 = private unnamed_addr constant [85 x i8] c"\0A -t <int> : Threads num ( default = OMP_NUM_THREADS if set, otherwise = cores num\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"\0A -W <1|0> : Write yes|no(default) the grid config into a file \00", align 1
@.str.7 = private unnamed_addr constant [58 x i8] c"\0A -f <string>: filename (default: life_ <filesize>.dat) \00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"\0A -v : version \00", align 1
@.str.9 = private unnamed_addr constant [15 x i8] c"\0A -h : help \00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 0
%5 = load ptr, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
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/tmpj064xehv.c'
source_filename = "/tmp/tmpj064xehv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"a %c= a + 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0x4194E5FEC4000000, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fadd double %4, 1.000000e+00
store double %5, ptr %3, align 8
%6 = load double, ptr %2, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp oeq double %6, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 61, i32 33
%11 = trunc i32 %10 to i8
%12 = call i32 @printf(ptr noundef @.str, i8 noundef signext %11)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj064xehv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"a %c= a + 1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0x4194E5FEC4000000, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = fadd double %4, 1.000000e+00
store double %5, ptr %3, align 8
%6 = load double, ptr %2, align 8
%7 = load double, ptr %3, align 8
%8 = fcmp oeq double %6, %7
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 61, i32 33
%11 = trunc i32 %10 to i8
%12 = call i32 @printf(ptr noundef @.str, i8 noundef signext %11)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuo27na2g.c'
source_filename = "/tmp/tmpuo27na2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Time for %s (hours minutes seconds): \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %i %i %i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_competitor_time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i64 @convert_to_seconds(i32 noundef %9, i32 noundef %10, i32 noundef %11)
ret i64 %12
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @convert_to_seconds(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/tmpuo27na2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Time for %s (hours minutes seconds): \00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %i %i %i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_competitor_time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i64 @convert_to_seconds(i32 noundef %9, i32 noundef %10, i32 noundef %11)
ret i64 %12
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @convert_to_seconds(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/tmpyswt8w_1.c'
source_filename = "/tmp/tmpyswt8w_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"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %19, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %9, align 1
br label %19
19: ; preds = %15
%20 = load i8, ptr %9, align 1
%21 = call i64 @isspace(i8 noundef zeroext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %23, !llvm.loop !6
23: ; preds = %19
%24 = load i8, ptr %9, align 1
%25 = zext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %31
27: ; preds = %23
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
store i8 %30, ptr %9, align 1
br label %40
31: ; preds = %23
%32 = load i8, ptr %9, align 1
%33 = zext i8 %32 to i32
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %9, align 1
br label %39
39: ; preds = %35, %31
br label %40
40: ; preds = %39, %27
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 16
br i1 %45, label %46, label %66
46: ; preds = %43, %40
%47 = load i8, ptr %9, align 1
%48 = zext i8 %47 to i32
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %66
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %66
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
store i8 %63, ptr %9, align 1
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
store ptr %65, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %66
66: ; preds = %60, %55, %46, %43
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load i8, ptr %9, align 1
%71 = zext i8 %70 to i32
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %69, %66
%76 = load i32, ptr %11, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = load i64, ptr @LONG_MIN, align 8
%80 = sub i64 0, %79
br label %83
81: ; preds = %75
%82 = load i64, ptr @LONG_MAX, align 8
br label %83
83: ; preds = %81, %78
%84 = phi i64 [ %80, %78 ], [ %82, %81 ]
store i64 %84, ptr %10, align 8
%85 = load i64, ptr %10, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = urem i64 %85, %87
%89 = trunc i64 %88 to i32
store i32 %89, ptr %13, align 4
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = load i64, ptr %10, align 8
%93 = udiv i64 %92, %91
store i64 %93, ptr %10, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
br label %94
94: ; preds = %158, %83
%95 = load i8, ptr %9, align 1
%96 = zext i8 %95 to i32
%97 = and i32 %96, -128
%98 = icmp eq i32 %97, 0
br i1 %98, label %100, label %99
99: ; preds = %94
br label %162
100: ; preds = %94
%101 = load i8, ptr %9, align 1
%102 = call i64 @isdigit(i8 noundef zeroext %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %109
104: ; preds = %100
%105 = load i8, ptr %9, align 1
%106 = zext i8 %105 to i32
%107 = sub nsw i32 %106, 48
%108 = trunc i32 %107 to i8
store i8 %108, ptr %9, align 1
br label %125
109: ; preds = %100
%110 = load i8, ptr %9, align 1
%111 = call i64 @isalpha(i8 noundef zeroext %110)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %123
113: ; preds = %109
%114 = load i8, ptr %9, align 1
%115 = call i64 @isupper(i8 noundef zeroext %114)
%116 = icmp ne i64 %115, 0
%117 = zext i1 %116 to i64
%118 = select i1 %116, i32 55, i32 87
%119 = load i8, ptr %9, align 1
%120 = zext i8 %119 to i32
%121 = sub nsw i32 %120, %118
%122 = trunc i32 %121 to i8
store i8 %122, ptr %9, align 1
br label %124
123: ; preds = %109
br label %162
124: ; preds = %113
br label %125
125: ; preds = %124, %104
%126 = load i8, ptr %9, align 1
%127 = zext i8 %126 to i32
%128 = load i32, ptr %6, align 4
%129 = icmp sge i32 %127, %128
br i1 %129, label %130, label %131
130: ; preds = %125
br label %162
131: ; preds = %125
%132 = load i32, ptr %12, align 4
%133 = icmp slt i32 %132, 0
br i1 %133, label %147, label %134
134: ; preds = %131
%135 = load i64, ptr %8, align 8
%136 = load i64, ptr %10, align 8
%137 = icmp ugt i64 %135, %136
br i1 %137, label %147, label %138
138: ; preds = %134
%139 = load i64, ptr %8, align 8
%140 = load i64, ptr %10, align 8
%141 = icmp eq i64 %139, %140
br i1 %141, label %142, label %148
142: ; preds = %138
%143 = load i8, ptr %9, align 1
%144 = zext i8 %143 to i32
%145 = load i32, ptr %13, align 4
%146 = icmp sgt i32 %144, %145
br i1 %146, label %147, label %148
147: ; preds = %142, %134, %131
store i32 -1, ptr %12, align 4
br label %157
148: ; preds = %142, %138
store i32 1, ptr %12, align 4
%149 = load i32, ptr %6, align 4
%150 = sext i32 %149 to i64
%151 = load i64, ptr %8, align 8
%152 = mul i64 %151, %150
store i64 %152, ptr %8, align 8
%153 = load i8, ptr %9, align 1
%154 = zext i8 %153 to i64
%155 = load i64, ptr %8, align 8
%156 = add i64 %155, %154
store i64 %156, ptr %8, align 8
br label %157
157: ; preds = %148, %147
br label %158
158: ; preds = %157
%159 = load ptr, ptr %7, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %7, align 8
%161 = load i8, ptr %159, align 1
store i8 %161, ptr %9, align 1
br label %94
162: ; preds = %130, %123, %99
%163 = load i32, ptr %12, align 4
%164 = icmp slt i32 %163, 0
br i1 %164, label %165, label %174
165: ; preds = %162
%166 = load i32, ptr %11, align 4
%167 = icmp ne i32 %166, 0
br i1 %167, label %168, label %170
168: ; preds = %165
%169 = load i64, ptr @LONG_MIN, align 8
br label %172
170: ; preds = %165
%171 = load i64, ptr @LONG_MAX, align 8
br label %172
172: ; preds = %170, %168
%173 = phi i64 [ %169, %168 ], [ %171, %170 ]
store i64 %173, ptr %8, align 8
br label %181
174: ; preds = %162
%175 = load i32, ptr %11, align 4
%176 = icmp ne i32 %175, 0
br i1 %176, label %177, label %180
177: ; preds = %174
%178 = load i64, ptr %8, align 8
%179 = sub i64 0, %178
store i64 %179, ptr %8, align 8
br label %180
180: ; preds = %177, %174
br label %181
181: ; preds = %180, %172
%182 = load ptr, ptr %5, align 8
%183 = icmp ne ptr %182, null
br i1 %183, label %184, label %195
184: ; preds = %181
%185 = load i32, ptr %12, align 4
%186 = icmp ne i32 %185, 0
br i1 %186, label %187, label %190
187: ; preds = %184
%188 = load ptr, ptr %7, align 8
%189 = getelementptr inbounds i8, ptr %188, i64 -1
br label %192
190: ; preds = %184
%191 = load ptr, ptr %4, align 8
br label %192
192: ; preds = %190, %187
%193 = phi ptr [ %189, %187 ], [ %191, %190 ]
%194 = load ptr, ptr %5, align 8
store ptr %193, ptr %194, align 8
br label %195
195: ; preds = %192, %181
%196 = load i64, ptr %8, align 8
ret i64 %196
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @isalpha(i8 noundef zeroext) #1
declare i64 @isupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyswt8w_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"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %19, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %9, align 1
br label %19
19: ; preds = %15
%20 = load i8, ptr %9, align 1
%21 = call i64 @isspace(i8 noundef zeroext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %23, !llvm.loop !6
23: ; preds = %19
%24 = load i8, ptr %9, align 1
%25 = zext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %31
27: ; preds = %23
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
store i8 %30, ptr %9, align 1
br label %40
31: ; preds = %23
%32 = load i8, ptr %9, align 1
%33 = zext i8 %32 to i32
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %9, align 1
br label %39
39: ; preds = %35, %31
br label %40
40: ; preds = %39, %27
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 16
br i1 %45, label %46, label %66
46: ; preds = %43, %40
%47 = load i8, ptr %9, align 1
%48 = zext i8 %47 to i32
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %66
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %66
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
store i8 %63, ptr %9, align 1
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
store ptr %65, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %66
66: ; preds = %60, %55, %46, %43
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load i8, ptr %9, align 1
%71 = zext i8 %70 to i32
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %69, %66
%76 = load i32, ptr %11, align 4
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = load i64, ptr @LONG_MIN, align 8
%80 = sub i64 0, %79
br label %83
81: ; preds = %75
%82 = load i64, ptr @LONG_MAX, align 8
br label %83
83: ; preds = %81, %78
%84 = phi i64 [ %80, %78 ], [ %82, %81 ]
store i64 %84, ptr %10, align 8
%85 = load i64, ptr %10, align 8
%86 = load i32, ptr %6, align 4
%87 = sext i32 %86 to i64
%88 = urem i64 %85, %87
%89 = trunc i64 %88 to i32
store i32 %89, ptr %13, align 4
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = load i64, ptr %10, align 8
%93 = udiv i64 %92, %91
store i64 %93, ptr %10, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
%94 = load i8, ptr %9, align 1
%95 = zext i8 %94 to i32
%96 = and i32 %95, -128
%97 = icmp eq i32 %96, 0
br i1 %97, label %.lr.ph, label %98
.lr.ph: ; preds = %83
br label %99
._crit_edge: ; preds = %157
br label %98
98: ; preds = %._crit_edge, %83
br label %165
99: ; preds = %.lr.ph, %157
%100 = load i8, ptr %9, align 1
%101 = call i64 @isdigit(i8 noundef zeroext %100)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %108
103: ; preds = %99
%104 = load i8, ptr %9, align 1
%105 = zext i8 %104 to i32
%106 = sub nsw i32 %105, 48
%107 = trunc i32 %106 to i8
store i8 %107, ptr %9, align 1
br label %124
108: ; preds = %99
%109 = load i8, ptr %9, align 1
%110 = call i64 @isalpha(i8 noundef zeroext %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %122
112: ; preds = %108
%113 = load i8, ptr %9, align 1
%114 = call i64 @isupper(i8 noundef zeroext %113)
%115 = icmp ne i64 %114, 0
%116 = zext i1 %115 to i64
%117 = select i1 %115, i32 55, i32 87
%118 = load i8, ptr %9, align 1
%119 = zext i8 %118 to i32
%120 = sub nsw i32 %119, %117
%121 = trunc i32 %120 to i8
store i8 %121, ptr %9, align 1
br label %123
122: ; preds = %108
br label %165
123: ; preds = %112
br label %124
124: ; preds = %123, %103
%125 = load i8, ptr %9, align 1
%126 = zext i8 %125 to i32
%127 = load i32, ptr %6, align 4
%128 = icmp sge i32 %126, %127
br i1 %128, label %129, label %130
129: ; preds = %124
br label %165
130: ; preds = %124
%131 = load i32, ptr %12, align 4
%132 = icmp slt i32 %131, 0
br i1 %132, label %146, label %133
133: ; preds = %130
%134 = load i64, ptr %8, align 8
%135 = load i64, ptr %10, align 8
%136 = icmp ugt i64 %134, %135
br i1 %136, label %146, label %137
137: ; preds = %133
%138 = load i64, ptr %8, align 8
%139 = load i64, ptr %10, align 8
%140 = icmp eq i64 %138, %139
br i1 %140, label %141, label %147
141: ; preds = %137
%142 = load i8, ptr %9, align 1
%143 = zext i8 %142 to i32
%144 = load i32, ptr %13, align 4
%145 = icmp sgt i32 %143, %144
br i1 %145, label %146, label %147
146: ; preds = %141, %133, %130
store i32 -1, ptr %12, align 4
br label %156
147: ; preds = %141, %137
store i32 1, ptr %12, align 4
%148 = load i32, ptr %6, align 4
%149 = sext i32 %148 to i64
%150 = load i64, ptr %8, align 8
%151 = mul i64 %150, %149
store i64 %151, ptr %8, align 8
%152 = load i8, ptr %9, align 1
%153 = zext i8 %152 to i64
%154 = load i64, ptr %8, align 8
%155 = add i64 %154, %153
store i64 %155, ptr %8, align 8
br label %156
156: ; preds = %147, %146
br label %157
157: ; preds = %156
%158 = load ptr, ptr %7, align 8
%159 = getelementptr inbounds i8, ptr %158, i32 1
store ptr %159, ptr %7, align 8
%160 = load i8, ptr %158, align 1
store i8 %160, ptr %9, align 1
%161 = load i8, ptr %9, align 1
%162 = zext i8 %161 to i32
%163 = and i32 %162, -128
%164 = icmp eq i32 %163, 0
br i1 %164, label %99, label %._crit_edge
165: ; preds = %129, %122, %98
%166 = load i32, ptr %12, align 4
%167 = icmp slt i32 %166, 0
br i1 %167, label %168, label %177
168: ; preds = %165
%169 = load i32, ptr %11, align 4
%170 = icmp ne i32 %169, 0
br i1 %170, label %171, label %173
171: ; preds = %168
%172 = load i64, ptr @LONG_MIN, align 8
br label %175
173: ; preds = %168
%174 = load i64, ptr @LONG_MAX, align 8
br label %175
175: ; preds = %173, %171
%176 = phi i64 [ %172, %171 ], [ %174, %173 ]
store i64 %176, ptr %8, align 8
br label %184
177: ; preds = %165
%178 = load i32, ptr %11, align 4
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %183
180: ; preds = %177
%181 = load i64, ptr %8, align 8
%182 = sub i64 0, %181
store i64 %182, ptr %8, align 8
br label %183
183: ; preds = %180, %177
br label %184
184: ; preds = %183, %175
%185 = load ptr, ptr %5, align 8
%186 = icmp ne ptr %185, null
br i1 %186, label %187, label %198
187: ; preds = %184
%188 = load i32, ptr %12, align 4
%189 = icmp ne i32 %188, 0
br i1 %189, label %190, label %193
190: ; preds = %187
%191 = load ptr, ptr %7, align 8
%192 = getelementptr inbounds i8, ptr %191, i64 -1
br label %195
193: ; preds = %187
%194 = load ptr, ptr %4, align 8
br label %195
195: ; preds = %193, %190
%196 = phi ptr [ %192, %190 ], [ %194, %193 ]
%197 = load ptr, ptr %5, align 8
store ptr %196, ptr %197, align 8
br label %198
198: ; preds = %195, %184
%199 = load i64, ptr %8, align 8
ret i64 %199
}
declare i64 @isspace(i8 noundef zeroext) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @isalpha(i8 noundef zeroext) #1
declare i64 @isupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1_fkgk98.c'
source_filename = "/tmp/tmp1_fkgk98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_fkgk98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4hyan6zc.c'
source_filename = "/tmp/tmp4hyan6zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [9999 x double], align 16
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %65, %0
%9 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %70
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
br label %70
16: ; preds = %12
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %26, %16
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %29
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %23
%25 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %21
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %17, !llvm.loop !6
29: ; preds = %17
store i32 0, ptr %6, align 4
br label %30
30: ; preds = %62, %29
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %65
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %36
%38 = load double, ptr %37, align 8
%39 = fcmp olt double %38, 0.000000e+00
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %40, %34
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %45
%47 = load double, ptr %46, align 8
%48 = fcmp ogt double %47, 0.000000e+00
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %49, %43
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %54
%56 = load double, ptr %55, align 8
%57 = fcmp oeq double %56, 0.000000e+00
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
br label %61
61: ; preds = %58, %52
br label %62
62: ; preds = %61
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
br label %30, !llvm.loop !8
65: ; preds = %30
%66 = load i32, ptr %2, align 4
%67 = load i32, ptr %4, align 4
%68 = load i32, ptr %3, align 4
%69 = call i32 @printf(ptr noundef @.str.2, i32 noundef %66, i32 noundef %67, i32 noundef %68)
br label %8, !llvm.loop !9
70: ; preds = %15, %8
ret i32 0
}
declare i64 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hyan6zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [9999 x double], align 16
store i32 0, ptr %1, align 4
%8 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %68
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
br label %76
15: ; preds = %11
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %30
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %24
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %21
%23 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %15
store i32 0, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %68
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %62
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %36
%38 = load double, ptr %37, align 8
%39 = fcmp olt double %38, 0.000000e+00
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %40, %34
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %45
%47 = load double, ptr %46, align 8
%48 = fcmp ogt double %47, 0.000000e+00
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %49, %43
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9999 x double], ptr %7, i64 0, i64 %54
%56 = load double, ptr %55, align 8
%57 = fcmp oeq double %56, 0.000000e+00
br i1 %57, label %58, label %61
58: ; preds = %52
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
br label %61
61: ; preds = %58, %52
br label %62
62: ; preds = %61
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %5, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %30
%69 = load i32, ptr %2, align 4
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %3, align 4
%72 = call i32 @printf(ptr noundef @.str.2, i32 noundef %69, i32 noundef %70, i32 noundef %71)
%73 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
%74 = load i64, ptr @EOF, align 8
%75 = icmp ne i64 %73, %74
br i1 %75, label %11, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %68
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %76
76: ; preds = %.loopexit, %14
ret i32 0
}
declare i64 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpok_zo1ks.c'
source_filename = "/tmp/tmpok_zo1ks.c"
target datalayout = "e-m:e-p270: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.first_name = private unnamed_addr constant [4 x i8] c"Zad\00", align 1
@__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1
@.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"You have %f awesome super powers.\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %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 i32, align 4
%7 = alloca float, align 4
%8 = alloca double, align 8
%9 = alloca i8, align 1
%10 = alloca [4 x i8], align 1
%11 = alloca [5 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
store float 0x4002C28F60000000, ptr %7, align 4
store double 0x40EBBAAE809D4952, ptr %8, align 8
store i8 65, ptr %9, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false)
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
%14 = load float, ptr %7, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15)
%17 = load double, ptr %8, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17)
%19 = load i8, ptr %9, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %22)
%24 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %24)
%26 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%27 = load i8, ptr %9, align 1
%28 = sext i8 %27 to i32
%29 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, i32 noundef %28, ptr noundef %29)
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 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpok_zo1ks.c"
target datalayout = "e-m:e-p270: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.first_name = private unnamed_addr constant [4 x i8] c"Zad\00", align 1
@__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1
@.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"You have %f awesome super powers.\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %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 i32, align 4
%7 = alloca float, align 4
%8 = alloca double, align 8
%9 = alloca i8, align 1
%10 = alloca [4 x i8], align 1
%11 = alloca [5 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
store float 0x4002C28F60000000, ptr %7, align 4
store double 0x40EBBAAE809D4952, ptr %8, align 8
store i8 65, ptr %9, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false)
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
%14 = load float, ptr %7, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15)
%17 = load double, ptr %8, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17)
%19 = load i8, ptr %9, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %22)
%24 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %24)
%26 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%27 = load i8, ptr %9, align 1
%28 = sext i8 %27 to i32
%29 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, i32 noundef %28, ptr noundef %29)
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 @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"}
|
; ModuleID = '/tmp/tmp6lm6b5x1.c'
source_filename = "/tmp/tmp6lm6b5x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksplit_core(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %14, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %15, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
br label %22
22: ; preds = %185, %4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %15, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %188
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %102
29: ; preds = %26
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = call i64 @isspace(i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %29
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %91
46: ; preds = %38, %29
%47 = load i32, ptr %12, align 4
%48 = call i64 @isgraph(i32 noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %90
50: ; preds = %46
br label %51
51: ; preds = %50
%52 = load ptr, ptr %8, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %85
54: ; preds = %51
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %11, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %78
62: ; preds = %54
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load i32, ptr %11, align 4
%67 = shl i32 %66, 1
br label %69
68: ; preds = %62
br label %69
69: ; preds = %68, %65
%70 = phi i32 [ %67, %65 ], [ 2, %68 ]
store i32 %70, ptr %11, align 4
%71 = load ptr, ptr %14, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = mul i64 4, %73
%75 = trunc i64 %74 to i32
%76 = call i64 @realloc(ptr noundef %71, i32 noundef %75)
%77 = inttoptr i64 %76 to ptr
store ptr %77, ptr %14, align 8
br label %78
78: ; preds = %69, %54
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %14, align 8
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %10, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i32, ptr %80, i64 %83
store i32 %79, ptr %84, align 4
br label %88
85: ; preds = %51
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %10, align 4
br label %88
88: ; preds = %85, %78
br label %89
89: ; preds = %88
br label %90
90: ; preds = %89, %46
br label %101
91: ; preds = %38
%92 = load i32, ptr %12, align 4
%93 = call i64 @isspace(i32 noundef %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %98, label %95
95: ; preds = %91
%96 = load i32, ptr %12, align 4
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %95, %91
%99 = load i32, ptr %9, align 4
store i32 %99, ptr %13, align 4
br label %100
100: ; preds = %98, %95
br label %101
101: ; preds = %100, %90
br label %178
102: ; preds = %26
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %9, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = load i32, ptr %6, align 4
%110 = icmp eq i32 %108, %109
br i1 %110, label %119, label %111
111: ; preds = %102
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %167
119: ; preds = %111, %102
%120 = load i32, ptr %12, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %166
122: ; preds = %119
%123 = load i32, ptr %12, align 4
%124 = load i32, ptr %6, align 4
%125 = icmp ne i32 %123, %124
br i1 %125, label %126, label %166
126: ; preds = %122
br label %127
127: ; preds = %126
%128 = load ptr, ptr %8, align 8
%129 = icmp ne ptr %128, null
br i1 %129, label %130, label %161
130: ; preds = %127
%131 = load ptr, ptr %5, align 8
%132 = load i32, ptr %9, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %131, i64 %133
store i8 0, ptr %134, align 1
%135 = load i32, ptr %10, align 4
%136 = load i32, ptr %11, align 4
%137 = icmp eq i32 %135, %136
br i1 %137, label %138, label %154
138: ; preds = %130
%139 = load i32, ptr %11, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %144
141: ; preds = %138
%142 = load i32, ptr %11, align 4
%143 = shl i32 %142, 1
br label %145
144: ; preds = %138
br label %145
145: ; preds = %144, %141
%146 = phi i32 [ %143, %141 ], [ 2, %144 ]
store i32 %146, ptr %11, align 4
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %11, align 4
%149 = sext i32 %148 to i64
%150 = mul i64 4, %149
%151 = trunc i64 %150 to i32
%152 = call i64 @realloc(ptr noundef %147, i32 noundef %151)
%153 = inttoptr i64 %152 to ptr
store ptr %153, ptr %14, align 8
br label %154
154: ; preds = %145, %130
%155 = load i32, ptr %13, align 4
%156 = load ptr, ptr %14, align 8
%157 = load i32, ptr %10, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %10, align 4
%159 = sext i32 %157 to i64
%160 = getelementptr inbounds i32, ptr %156, i64 %159
store i32 %155, ptr %160, align 4
br label %164
161: ; preds = %127
%162 = load i32, ptr %10, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %10, align 4
br label %164
164: ; preds = %161, %154
br label %165
165: ; preds = %164
br label %166
166: ; preds = %165, %122, %119
br label %177
167: ; preds = %111
%168 = load i32, ptr %12, align 4
%169 = load i32, ptr %6, align 4
%170 = icmp eq i32 %168, %169
br i1 %170, label %174, label %171
171: ; preds = %167
%172 = load i32, ptr %12, align 4
%173 = icmp eq i32 %172, 0
br i1 %173, label %174, label %176
174: ; preds = %171, %167
%175 = load i32, ptr %9, align 4
store i32 %175, ptr %13, align 4
br label %176
176: ; preds = %174, %171
br label %177
177: ; preds = %176, %166
br label %178
178: ; preds = %177, %101
%179 = load ptr, ptr %5, align 8
%180 = load i32, ptr %9, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i8, ptr %179, i64 %181
%183 = load i8, ptr %182, align 1
%184 = sext i8 %183 to i32
store i32 %184, ptr %12, align 4
br label %185
185: ; preds = %178
%186 = load i32, ptr %9, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %9, align 4
br label %22, !llvm.loop !6
188: ; preds = %22
%189 = load i32, ptr %11, align 4
%190 = load ptr, ptr %7, align 8
store i32 %189, ptr %190, align 4
%191 = load ptr, ptr %14, align 8
%192 = load ptr, ptr %8, align 8
store ptr %191, ptr %192, align 8
%193 = load i32, ptr %10, align 4
ret i32 %193
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i64 @isgraph(i32 noundef) #1
declare i64 @realloc(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/tmp6lm6b5x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksplit_core(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %14, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %15, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %12, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %15, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph, label %190
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %184
%26 = load i32, ptr %6, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %101
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = call i64 @isspace(i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %45, label %37
37: ; preds = %28
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %90
45: ; preds = %37, %28
%46 = load i32, ptr %12, align 4
%47 = call i64 @isgraph(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %89
49: ; preds = %45
br label %50
50: ; preds = %49
%51 = load ptr, ptr %8, align 8
%52 = icmp ne ptr %51, null
br i1 %52, label %53, label %84
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %77
61: ; preds = %53
%62 = load i32, ptr %11, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load i32, ptr %11, align 4
%66 = shl i32 %65, 1
br label %68
67: ; preds = %61
br label %68
68: ; preds = %67, %64
%69 = phi i32 [ %66, %64 ], [ 2, %67 ]
store i32 %69, ptr %11, align 4
%70 = load ptr, ptr %14, align 8
%71 = load i32, ptr %11, align 4
%72 = sext i32 %71 to i64
%73 = mul i64 4, %72
%74 = trunc i64 %73 to i32
%75 = call i64 @realloc(ptr noundef %70, i32 noundef %74)
%76 = inttoptr i64 %75 to ptr
store ptr %76, ptr %14, align 8
br label %77
77: ; preds = %68, %53
%78 = load i32, ptr %13, align 4
%79 = load ptr, ptr %14, align 8
%80 = load i32, ptr %10, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %10, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
store i32 %78, ptr %83, align 4
br label %87
84: ; preds = %50
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %10, align 4
br label %87
87: ; preds = %84, %77
br label %88
88: ; preds = %87
br label %89
89: ; preds = %88, %45
br label %100
90: ; preds = %37
%91 = load i32, ptr %12, align 4
%92 = call i64 @isspace(i32 noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %97, label %94
94: ; preds = %90
%95 = load i32, ptr %12, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %94, %90
%98 = load i32, ptr %9, align 4
store i32 %98, ptr %13, align 4
br label %99
99: ; preds = %97, %94
br label %100
100: ; preds = %99, %89
br label %177
101: ; preds = %25
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = load i32, ptr %6, align 4
%109 = icmp eq i32 %107, %108
br i1 %109, label %118, label %110
110: ; preds = %101
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %9, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %166
118: ; preds = %110, %101
%119 = load i32, ptr %12, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %165
121: ; preds = %118
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp ne i32 %122, %123
br i1 %124, label %125, label %165
125: ; preds = %121
br label %126
126: ; preds = %125
%127 = load ptr, ptr %8, align 8
%128 = icmp ne ptr %127, null
br i1 %128, label %129, label %160
129: ; preds = %126
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %9, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %130, i64 %132
store i8 0, ptr %133, align 1
%134 = load i32, ptr %10, align 4
%135 = load i32, ptr %11, align 4
%136 = icmp eq i32 %134, %135
br i1 %136, label %137, label %153
137: ; preds = %129
%138 = load i32, ptr %11, align 4
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %143
140: ; preds = %137
%141 = load i32, ptr %11, align 4
%142 = shl i32 %141, 1
br label %144
143: ; preds = %137
br label %144
144: ; preds = %143, %140
%145 = phi i32 [ %142, %140 ], [ 2, %143 ]
store i32 %145, ptr %11, align 4
%146 = load ptr, ptr %14, align 8
%147 = load i32, ptr %11, align 4
%148 = sext i32 %147 to i64
%149 = mul i64 4, %148
%150 = trunc i64 %149 to i32
%151 = call i64 @realloc(ptr noundef %146, i32 noundef %150)
%152 = inttoptr i64 %151 to ptr
store ptr %152, ptr %14, align 8
br label %153
153: ; preds = %144, %129
%154 = load i32, ptr %13, align 4
%155 = load ptr, ptr %14, align 8
%156 = load i32, ptr %10, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %10, align 4
%158 = sext i32 %156 to i64
%159 = getelementptr inbounds i32, ptr %155, i64 %158
store i32 %154, ptr %159, align 4
br label %163
160: ; preds = %126
%161 = load i32, ptr %10, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %10, align 4
br label %163
163: ; preds = %160, %153
br label %164
164: ; preds = %163
br label %165
165: ; preds = %164, %121, %118
br label %176
166: ; preds = %110
%167 = load i32, ptr %12, align 4
%168 = load i32, ptr %6, align 4
%169 = icmp eq i32 %167, %168
br i1 %169, label %173, label %170
170: ; preds = %166
%171 = load i32, ptr %12, align 4
%172 = icmp eq i32 %171, 0
br i1 %172, label %173, label %175
173: ; preds = %170, %166
%174 = load i32, ptr %9, align 4
store i32 %174, ptr %13, align 4
br label %175
175: ; preds = %173, %170
br label %176
176: ; preds = %175, %165
br label %177
177: ; preds = %176, %100
%178 = load ptr, ptr %5, align 8
%179 = load i32, ptr %9, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8, ptr %178, i64 %180
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
store i32 %183, ptr %12, align 4
br label %184
184: ; preds = %177
%185 = load i32, ptr %9, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %9, align 4
%187 = load i32, ptr %9, align 4
%188 = load i32, ptr %15, align 4
%189 = icmp sle i32 %187, %188
br i1 %189, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %184
br label %190
190: ; preds = %._crit_edge, %4
%191 = load i32, ptr %11, align 4
%192 = load ptr, ptr %7, align 8
store i32 %191, ptr %192, align 4
%193 = load ptr, ptr %14, align 8
%194 = load ptr, ptr %8, align 8
store ptr %193, ptr %194, align 8
%195 = load i32, ptr %10, align 4
ret i32 %195
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i32 noundef) #1
declare i64 @isgraph(i32 noundef) #1
declare i64 @realloc(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/tmp5hpstuw0.c'
source_filename = "/tmp/tmp5hpstuw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apic_init() #0 {
%1 = call i32 (...) @apic_info()
ret void
}
declare i32 @apic_info(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5hpstuw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apic_init() #0 {
%1 = call i32 (...) @apic_info()
ret void
}
declare i32 @apic_info(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo6y6fxmj.c'
source_filename = "/tmp/tmpo6y6fxmj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @block_median_filter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %18, align 4
store i32 0, ptr %13, align 4
br label %27
27: ; preds = %262, %6
%28 = load i32, ptr %13, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %265
32: ; preds = %27
store i32 0, ptr %14, align 4
br label %33
33: ; preds = %258, %32
%34 = load i32, ptr %14, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %34, %36
br i1 %37, label %38, label %261
38: ; preds = %33
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %39, align 4
%41 = sdiv i32 %40, 2
store i32 %41, ptr %19, align 4
store i32 0, ptr %20, align 4
%42 = load ptr, ptr %11, align 8
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %44, align 4
%46 = mul nsw i32 %43, %45
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %47, align 4
%49 = mul nsw i32 %46, %48
%50 = zext i32 %49 to i64
%51 = call ptr @llvm.stacksave()
store ptr %51, ptr %21, align 8
%52 = alloca i32, i64 %50, align 16
store i64 %50, ptr %22, align 8
store i32 0, ptr %16, align 4
br label %53
53: ; preds = %161, %38
%54 = load i32, ptr %16, align 4
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %55, align 4
%57 = icmp slt i32 %54, %56
br i1 %57, label %58, label %164
58: ; preds = %53
store i32 0, ptr %17, align 4
br label %59
59: ; preds = %157, %58
%60 = load i32, ptr %17, align 4
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %61, align 4
%63 = icmp slt i32 %60, %62
br i1 %63, label %64, label %160
64: ; preds = %59
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %16, align 4
%67 = add nsw i32 %65, %66
%68 = load i32, ptr %19, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %71
70: ; preds = %64
br label %77
71: ; preds = %64
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %16, align 4
%74 = add nsw i32 %72, %73
%75 = load i32, ptr %19, align 4
%76 = sub nsw i32 %74, %75
br label %77
77: ; preds = %71, %70
%78 = phi i32 [ -1, %70 ], [ %76, %71 ]
store i32 %78, ptr %23, align 4
%79 = load i32, ptr %23, align 4
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %80, align 4
%82 = sub nsw i32 %81, 1
%83 = icmp sgt i32 %79, %82
br i1 %83, label %84, label %85
84: ; preds = %77
br label %87
85: ; preds = %77
%86 = load i32, ptr %23, align 4
br label %87
87: ; preds = %85, %84
%88 = phi i32 [ -1, %84 ], [ %86, %85 ]
store i32 %88, ptr %23, align 4
%89 = load i32, ptr %14, align 4
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %89, %90
%92 = load i32, ptr %19, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %94, label %95
94: ; preds = %87
br label %101
95: ; preds = %87
%96 = load i32, ptr %14, align 4
%97 = load i32, ptr %17, align 4
%98 = add nsw i32 %96, %97
%99 = load i32, ptr %19, align 4
%100 = sub nsw i32 %98, %99
br label %101
101: ; preds = %95, %94
%102 = phi i32 [ -1, %94 ], [ %100, %95 ]
store i32 %102, ptr %24, align 4
%103 = load i32, ptr %24, align 4
%104 = load ptr, ptr %9, align 8
%105 = load i32, ptr %104, align 4
%106 = sub nsw i32 %105, 1
%107 = icmp sgt i32 %103, %106
br i1 %107, label %108, label %109
108: ; preds = %101
br label %111
109: ; preds = %101
%110 = load i32, ptr %24, align 4
br label %111
111: ; preds = %109, %108
%112 = phi i32 [ -1, %108 ], [ %110, %109 ]
store i32 %112, ptr %24, align 4
%113 = load i32, ptr %23, align 4
%114 = icmp ne i32 %113, -1
br i1 %114, label %115, label %156
115: ; preds = %111
%116 = load i32, ptr %24, align 4
%117 = icmp ne i32 %116, -1
br i1 %117, label %118, label %156
118: ; preds = %115
store i32 0, ptr %15, align 4
br label %119
119: ; preds = %148, %118
%120 = load i32, ptr %15, align 4
%121 = load ptr, ptr %10, align 8
%122 = load i32, ptr %121, align 4
%123 = icmp slt i32 %120, %122
br i1 %123, label %124, label %151
124: ; preds = %119
%125 = load ptr, ptr %7, align 8
%126 = load ptr, ptr %9, align 8
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr %23, align 4
%129 = mul nsw i32 %127, %128
%130 = load i32, ptr %24, align 4
%131 = add nsw i32 %129, %130
%132 = load ptr, ptr %8, align 8
%133 = load i32, ptr %132, align 4
%134 = load ptr, ptr %9, align 8
%135 = load i32, ptr %134, align 4
%136 = mul nsw i32 %133, %135
%137 = load i32, ptr %15, align 4
%138 = mul nsw i32 %136, %137
%139 = add nsw i32 %131, %138
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i32, ptr %125, i64 %140
%142 = load i32, ptr %141, align 4
%143 = load i32, ptr %20, align 4
%144 = load i32, ptr %15, align 4
%145 = add nsw i32 %143, %144
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %52, i64 %146
store i32 %142, ptr %147, align 4
br label %148
148: ; preds = %124
%149 = load i32, ptr %15, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %15, align 4
br label %119, !llvm.loop !6
151: ; preds = %119
%152 = load ptr, ptr %10, align 8
%153 = load i32, ptr %152, align 4
%154 = load i32, ptr %20, align 4
%155 = add nsw i32 %154, %153
store i32 %155, ptr %20, align 4
br label %156
156: ; preds = %151, %115, %111
br label %157
157: ; preds = %156
%158 = load i32, ptr %17, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %17, align 4
br label %59, !llvm.loop !8
160: ; preds = %59
br label %161
161: ; preds = %160
%162 = load i32, ptr %16, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %16, align 4
br label %53, !llvm.loop !9
164: ; preds = %53
%165 = load i32, ptr %20, align 4
%166 = mul nsw i32 255, %165
store i32 %166, ptr %25, align 4
store i32 0, ptr %16, align 4
br label %167
167: ; preds = %218, %164
%168 = load i32, ptr %16, align 4
%169 = load i32, ptr %20, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %171, label %223
171: ; preds = %167
store i32 0, ptr %26, align 4
store i32 0, ptr %17, align 4
br label %172
172: ; preds = %205, %171
%173 = load i32, ptr %17, align 4
%174 = load i32, ptr %20, align 4
%175 = icmp slt i32 %173, %174
br i1 %175, label %176, label %210
176: ; preds = %172
store i32 0, ptr %15, align 4
br label %177
177: ; preds = %201, %176
%178 = load i32, ptr %15, align 4
%179 = load ptr, ptr %10, align 8
%180 = load i32, ptr %179, align 4
%181 = icmp slt i32 %178, %180
br i1 %181, label %182, label %204
182: ; preds = %177
%183 = load i32, ptr %16, align 4
%184 = load i32, ptr %15, align 4
%185 = add nsw i32 %183, %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %52, i64 %186
%188 = load i32, ptr %187, align 4
%189 = load i32, ptr %17, align 4
%190 = load i32, ptr %15, align 4
%191 = add nsw i32 %189, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i32, ptr %52, i64 %192
%194 = load i32, ptr %193, align 4
%195 = sub nsw i32 %188, %194
%196 = call i64 @abs(i32 noundef %195)
%197 = load i32, ptr %26, align 4
%198 = sext i32 %197 to i64
%199 = add nsw i64 %198, %196
%200 = trunc i64 %199 to i32
store i32 %200, ptr %26, align 4
br label %201
201: ; preds = %182
%202 = load i32, ptr %15, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %15, align 4
br label %177, !llvm.loop !10
204: ; preds = %177
br label %205
205: ; preds = %204
%206 = load ptr, ptr %10, align 8
%207 = load i32, ptr %206, align 4
%208 = load i32, ptr %17, align 4
%209 = add nsw i32 %208, %207
store i32 %209, ptr %17, align 4
br label %172, !llvm.loop !11
210: ; preds = %172
%211 = load i32, ptr %26, align 4
%212 = load i32, ptr %25, align 4
%213 = icmp slt i32 %211, %212
br i1 %213, label %214, label %217
214: ; preds = %210
%215 = load i32, ptr %26, align 4
store i32 %215, ptr %25, align 4
%216 = load i32, ptr %16, align 4
store i32 %216, ptr %18, align 4
br label %217
217: ; preds = %214, %210
br label %218
218: ; preds = %217
%219 = load ptr, ptr %10, align 8
%220 = load i32, ptr %219, align 4
%221 = load i32, ptr %16, align 4
%222 = add nsw i32 %221, %220
store i32 %222, ptr %16, align 4
br label %167, !llvm.loop !12
223: ; preds = %167
store i32 0, ptr %15, align 4
br label %224
224: ; preds = %253, %223
%225 = load i32, ptr %15, align 4
%226 = load ptr, ptr %10, align 8
%227 = load i32, ptr %226, align 4
%228 = icmp slt i32 %225, %227
br i1 %228, label %229, label %256
229: ; preds = %224
%230 = load i32, ptr %18, align 4
%231 = load i32, ptr %15, align 4
%232 = add nsw i32 %230, %231
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, ptr %52, i64 %233
%235 = load i32, ptr %234, align 4
%236 = load ptr, ptr %12, align 8
%237 = load ptr, ptr %9, align 8
%238 = load i32, ptr %237, align 4
%239 = load i32, ptr %13, align 4
%240 = mul nsw i32 %238, %239
%241 = load i32, ptr %14, align 4
%242 = add nsw i32 %240, %241
%243 = load ptr, ptr %8, align 8
%244 = load i32, ptr %243, align 4
%245 = load ptr, ptr %9, align 8
%246 = load i32, ptr %245, align 4
%247 = mul nsw i32 %244, %246
%248 = load i32, ptr %15, align 4
%249 = mul nsw i32 %247, %248
%250 = add nsw i32 %242, %249
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i32, ptr %236, i64 %251
store i32 %235, ptr %252, align 4
br label %253
253: ; preds = %229
%254 = load i32, ptr %15, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %15, align 4
br label %224, !llvm.loop !13
256: ; preds = %224
%257 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %257)
br label %258
258: ; preds = %256
%259 = load i32, ptr %14, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %14, align 4
br label %33, !llvm.loop !14
261: ; preds = %33
br label %262
262: ; preds = %261
%263 = load i32, ptr %13, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %13, align 4
br label %27, !llvm.loop !15
265: ; preds = %27
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @abs(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6y6fxmj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @block_median_filter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %18, align 4
store i32 0, ptr %13, align 4
%27 = load i32, ptr %13, align 4
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %27, %29
br i1 %30, label %.lr.ph23, label %290
.lr.ph23: ; preds = %6
br label %31
31: ; preds = %.lr.ph23, %283
store i32 0, ptr %14, align 4
%32 = load i32, ptr %14, align 4
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %33, align 4
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph20, label %282
.lr.ph20: ; preds = %31
br label %36
36: ; preds = %.lr.ph20, %275
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %37, align 4
%39 = sdiv i32 %38, 2
store i32 %39, ptr %19, align 4
store i32 0, ptr %20, align 4
%40 = load ptr, ptr %11, align 8
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %11, align 8
%43 = load i32, ptr %42, align 4
%44 = mul nsw i32 %41, %43
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %45, align 4
%47 = mul nsw i32 %44, %46
%48 = zext i32 %47 to i64
%49 = call ptr @llvm.stacksave()
store ptr %49, ptr %21, align 8
%50 = alloca i32, i64 %48, align 16
store i64 %48, ptr %22, align 8
store i32 0, ptr %16, align 4
%51 = load i32, ptr %16, align 4
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %52, align 4
%54 = icmp slt i32 %51, %53
br i1 %54, label %.lr.ph5, label %171
.lr.ph5: ; preds = %36
br label %55
55: ; preds = %.lr.ph5, %164
store i32 0, ptr %17, align 4
%56 = load i32, ptr %17, align 4
%57 = load ptr, ptr %11, align 8
%58 = load i32, ptr %57, align 4
%59 = icmp slt i32 %56, %58
br i1 %59, label %.lr.ph2, label %163
.lr.ph2: ; preds = %55
br label %60
60: ; preds = %.lr.ph2, %156
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %16, align 4
%63 = add nsw i32 %61, %62
%64 = load i32, ptr %19, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %67
66: ; preds = %60
br label %73
67: ; preds = %60
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %16, align 4
%70 = add nsw i32 %68, %69
%71 = load i32, ptr %19, align 4
%72 = sub nsw i32 %70, %71
br label %73
73: ; preds = %67, %66
%74 = phi i32 [ -1, %66 ], [ %72, %67 ]
store i32 %74, ptr %23, align 4
%75 = load i32, ptr %23, align 4
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %76, align 4
%78 = sub nsw i32 %77, 1
%79 = icmp sgt i32 %75, %78
br i1 %79, label %80, label %81
80: ; preds = %73
br label %83
81: ; preds = %73
%82 = load i32, ptr %23, align 4
br label %83
83: ; preds = %81, %80
%84 = phi i32 [ -1, %80 ], [ %82, %81 ]
store i32 %84, ptr %23, align 4
%85 = load i32, ptr %14, align 4
%86 = load i32, ptr %17, align 4
%87 = add nsw i32 %85, %86
%88 = load i32, ptr %19, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %91
90: ; preds = %83
br label %97
91: ; preds = %83
%92 = load i32, ptr %14, align 4
%93 = load i32, ptr %17, align 4
%94 = add nsw i32 %92, %93
%95 = load i32, ptr %19, align 4
%96 = sub nsw i32 %94, %95
br label %97
97: ; preds = %91, %90
%98 = phi i32 [ -1, %90 ], [ %96, %91 ]
store i32 %98, ptr %24, align 4
%99 = load i32, ptr %24, align 4
%100 = load ptr, ptr %9, align 8
%101 = load i32, ptr %100, align 4
%102 = sub nsw i32 %101, 1
%103 = icmp sgt i32 %99, %102
br i1 %103, label %104, label %105
104: ; preds = %97
br label %107
105: ; preds = %97
%106 = load i32, ptr %24, align 4
br label %107
107: ; preds = %105, %104
%108 = phi i32 [ -1, %104 ], [ %106, %105 ]
store i32 %108, ptr %24, align 4
%109 = load i32, ptr %23, align 4
%110 = icmp ne i32 %109, -1
br i1 %110, label %111, label %155
111: ; preds = %107
%112 = load i32, ptr %24, align 4
%113 = icmp ne i32 %112, -1
br i1 %113, label %114, label %155
114: ; preds = %111
store i32 0, ptr %15, align 4
%115 = load i32, ptr %15, align 4
%116 = load ptr, ptr %10, align 8
%117 = load i32, ptr %116, align 4
%118 = icmp slt i32 %115, %117
br i1 %118, label %.lr.ph, label %150
.lr.ph: ; preds = %114
br label %119
119: ; preds = %.lr.ph, %143
%120 = load ptr, ptr %7, align 8
%121 = load ptr, ptr %9, align 8
%122 = load i32, ptr %121, align 4
%123 = load i32, ptr %23, align 4
%124 = mul nsw i32 %122, %123
%125 = load i32, ptr %24, align 4
%126 = add nsw i32 %124, %125
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %9, align 8
%130 = load i32, ptr %129, align 4
%131 = mul nsw i32 %128, %130
%132 = load i32, ptr %15, align 4
%133 = mul nsw i32 %131, %132
%134 = add nsw i32 %126, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %120, i64 %135
%137 = load i32, ptr %136, align 4
%138 = load i32, ptr %20, align 4
%139 = load i32, ptr %15, align 4
%140 = add nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, ptr %50, i64 %141
store i32 %137, ptr %142, align 4
br label %143
143: ; preds = %119
%144 = load i32, ptr %15, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %15, align 4
%146 = load i32, ptr %15, align 4
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %147, align 4
%149 = icmp slt i32 %146, %148
br i1 %149, label %119, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %143
br label %150
150: ; preds = %._crit_edge, %114
%151 = load ptr, ptr %10, align 8
%152 = load i32, ptr %151, align 4
%153 = load i32, ptr %20, align 4
%154 = add nsw i32 %153, %152
store i32 %154, ptr %20, align 4
br label %155
155: ; preds = %150, %111, %107
br label %156
156: ; preds = %155
%157 = load i32, ptr %17, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %17, align 4
%159 = load i32, ptr %17, align 4
%160 = load ptr, ptr %11, align 8
%161 = load i32, ptr %160, align 4
%162 = icmp slt i32 %159, %161
br i1 %162, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %156
br label %163
163: ; preds = %._crit_edge3, %55
br label %164
164: ; preds = %163
%165 = load i32, ptr %16, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %16, align 4
%167 = load i32, ptr %16, align 4
%168 = load ptr, ptr %11, align 8
%169 = load i32, ptr %168, align 4
%170 = icmp slt i32 %167, %169
br i1 %170, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %164
br label %171
171: ; preds = %._crit_edge6, %36
%172 = load i32, ptr %20, align 4
%173 = mul nsw i32 255, %172
store i32 %173, ptr %25, align 4
store i32 0, ptr %16, align 4
%174 = load i32, ptr %16, align 4
%175 = load i32, ptr %20, align 4
%176 = icmp slt i32 %174, %175
br i1 %176, label %.lr.ph14, label %237
.lr.ph14: ; preds = %171
br label %177
177: ; preds = %.lr.ph14, %229
store i32 0, ptr %26, align 4
store i32 0, ptr %17, align 4
%178 = load i32, ptr %17, align 4
%179 = load i32, ptr %20, align 4
%180 = icmp slt i32 %178, %179
br i1 %180, label %.lr.ph11, label %221
.lr.ph11: ; preds = %177
br label %181
181: ; preds = %.lr.ph11, %213
store i32 0, ptr %15, align 4
%182 = load i32, ptr %15, align 4
%183 = load ptr, ptr %10, align 8
%184 = load i32, ptr %183, align 4
%185 = icmp slt i32 %182, %184
br i1 %185, label %.lr.ph8, label %212
.lr.ph8: ; preds = %181
br label %186
186: ; preds = %.lr.ph8, %205
%187 = load i32, ptr %16, align 4
%188 = load i32, ptr %15, align 4
%189 = add nsw i32 %187, %188
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %50, i64 %190
%192 = load i32, ptr %191, align 4
%193 = load i32, ptr %17, align 4
%194 = load i32, ptr %15, align 4
%195 = add nsw i32 %193, %194
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %50, i64 %196
%198 = load i32, ptr %197, align 4
%199 = sub nsw i32 %192, %198
%200 = call i64 @abs(i32 noundef %199)
%201 = load i32, ptr %26, align 4
%202 = sext i32 %201 to i64
%203 = add nsw i64 %202, %200
%204 = trunc i64 %203 to i32
store i32 %204, ptr %26, align 4
br label %205
205: ; preds = %186
%206 = load i32, ptr %15, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %15, align 4
%208 = load i32, ptr %15, align 4
%209 = load ptr, ptr %10, align 8
%210 = load i32, ptr %209, align 4
%211 = icmp slt i32 %208, %210
br i1 %211, label %186, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %205
br label %212
212: ; preds = %._crit_edge9, %181
br label %213
213: ; preds = %212
%214 = load ptr, ptr %10, align 8
%215 = load i32, ptr %214, align 4
%216 = load i32, ptr %17, align 4
%217 = add nsw i32 %216, %215
store i32 %217, ptr %17, align 4
%218 = load i32, ptr %17, align 4
%219 = load i32, ptr %20, align 4
%220 = icmp slt i32 %218, %219
br i1 %220, label %181, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %213
br label %221
221: ; preds = %._crit_edge12, %177
%222 = load i32, ptr %26, align 4
%223 = load i32, ptr %25, align 4
%224 = icmp slt i32 %222, %223
br i1 %224, label %225, label %228
225: ; preds = %221
%226 = load i32, ptr %26, align 4
store i32 %226, ptr %25, align 4
%227 = load i32, ptr %16, align 4
store i32 %227, ptr %18, align 4
br label %228
228: ; preds = %225, %221
br label %229
229: ; preds = %228
%230 = load ptr, ptr %10, align 8
%231 = load i32, ptr %230, align 4
%232 = load i32, ptr %16, align 4
%233 = add nsw i32 %232, %231
store i32 %233, ptr %16, align 4
%234 = load i32, ptr %16, align 4
%235 = load i32, ptr %20, align 4
%236 = icmp slt i32 %234, %235
br i1 %236, label %177, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %229
br label %237
237: ; preds = %._crit_edge15, %171
store i32 0, ptr %15, align 4
%238 = load i32, ptr %15, align 4
%239 = load ptr, ptr %10, align 8
%240 = load i32, ptr %239, align 4
%241 = icmp slt i32 %238, %240
br i1 %241, label %.lr.ph17, label %273
.lr.ph17: ; preds = %237
br label %242
242: ; preds = %.lr.ph17, %266
%243 = load i32, ptr %18, align 4
%244 = load i32, ptr %15, align 4
%245 = add nsw i32 %243, %244
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds i32, ptr %50, i64 %246
%248 = load i32, ptr %247, align 4
%249 = load ptr, ptr %12, align 8
%250 = load ptr, ptr %9, align 8
%251 = load i32, ptr %250, align 4
%252 = load i32, ptr %13, align 4
%253 = mul nsw i32 %251, %252
%254 = load i32, ptr %14, align 4
%255 = add nsw i32 %253, %254
%256 = load ptr, ptr %8, align 8
%257 = load i32, ptr %256, align 4
%258 = load ptr, ptr %9, align 8
%259 = load i32, ptr %258, align 4
%260 = mul nsw i32 %257, %259
%261 = load i32, ptr %15, align 4
%262 = mul nsw i32 %260, %261
%263 = add nsw i32 %255, %262
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds i32, ptr %249, i64 %264
store i32 %248, ptr %265, align 4
br label %266
266: ; preds = %242
%267 = load i32, ptr %15, align 4
%268 = add nsw i32 %267, 1
store i32 %268, ptr %15, align 4
%269 = load i32, ptr %15, align 4
%270 = load ptr, ptr %10, align 8
%271 = load i32, ptr %270, align 4
%272 = icmp slt i32 %269, %271
br i1 %272, label %242, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %266
br label %273
273: ; preds = %._crit_edge18, %237
%274 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %274)
br label %275
275: ; preds = %273
%276 = load i32, ptr %14, align 4
%277 = add nsw i32 %276, 1
store i32 %277, ptr %14, align 4
%278 = load i32, ptr %14, align 4
%279 = load ptr, ptr %9, align 8
%280 = load i32, ptr %279, align 4
%281 = icmp slt i32 %278, %280
br i1 %281, label %36, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %275
br label %282
282: ; preds = %._crit_edge21, %31
br label %283
283: ; preds = %282
%284 = load i32, ptr %13, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %13, align 4
%286 = load i32, ptr %13, align 4
%287 = load ptr, ptr %8, align 8
%288 = load i32, ptr %287, align 4
%289 = icmp slt i32 %286, %288
br i1 %289, label %31, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %283
br label %290
290: ; preds = %._crit_edge24, %6
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i64 @abs(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpgihxows3.c'
source_filename = "/tmp/tmpgihxows3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pair_last(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
9: ; preds = %1
br label %10
10: ; preds = %14, %9
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @pair_next(ptr noundef %12)
store ptr %13, ptr %4, align 8
br label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %10, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %8
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @pair_next(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpgihxows3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pair_last(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
9: ; preds = %1
br label %10
10: ; preds = %14, %9
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call ptr @pair_next(ptr noundef %12)
store ptr %13, ptr %4, align 8
br label %14
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %10, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %8
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @pair_next(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu4g72tzs.c'
source_filename = "/tmp/tmpu4g72tzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func_j()
ret i32 0
}
declare i32 @func_j(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu4g72tzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func_j()
ret i32 0
}
declare i32 @func_j(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1zh8ftnj.c'
source_filename = "/tmp/tmp1zh8ftnj.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tlog_timestamp() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1zh8ftnj.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tlog_timestamp() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpup09mtx5.c'
source_filename = "/tmp/tmpup09mtx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPINonBlockingReadCount(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 16
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 40
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
%14 = load volatile i64, ptr %13, align 8
%15 = trunc i64 %14 to i32
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpup09mtx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPINonBlockingReadCount(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %6, 16
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 40
%10 = load i32, ptr %5, align 4
%11 = add nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %12 to ptr
%14 = load volatile i64, ptr %13, align 8
%15 = trunc i64 %14 to i32
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0syvms7d.c'
source_filename = "/tmp/tmp0syvms7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 -1, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp eq i32 %3, %4
%6 = zext i1 %5 to i32
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp ne i32 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %1, align 4
%24 = load i32, ptr %1, align 4
%25 = icmp sle i32 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %1, align 4
%30 = icmp sge i32 %28, %29
%31 = zext i1 %30 to i32
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = icmp sge i32 %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp sgt i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
%43 = load i32, ptr %1, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp ult i32 %43, %44
%46 = zext i1 %45 to i32
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
%48 = load i32, ptr %1, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp ule i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @printf(ptr noundef @.str, i32 noundef %51)
%53 = load i32, ptr %1, align 4
%54 = load i32, ptr %1, align 4
%55 = icmp ule i32 %53, %54
%56 = zext i1 %55 to i32
%57 = call i32 @printf(ptr noundef @.str, i32 noundef %56)
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %1, align 4
%60 = icmp uge i32 %58, %59
%61 = zext i1 %60 to i32
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %1, align 4
%64 = load i32, ptr %1, align 4
%65 = icmp uge i32 %63, %64
%66 = zext i1 %65 to i32
%67 = call i32 @printf(ptr noundef @.str, i32 noundef %66)
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %1, align 4
%70 = icmp ugt i32 %68, %69
%71 = zext i1 %70 to i32
%72 = call i32 @printf(ptr noundef @.str, i32 noundef %71)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0syvms7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 -1, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp eq i32 %3, %4
%6 = zext i1 %5 to i32
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp ne i32 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
%16 = zext i1 %15 to i32
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp sle i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %1, align 4
%24 = load i32, ptr %1, align 4
%25 = icmp sle i32 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %1, align 4
%30 = icmp sge i32 %28, %29
%31 = zext i1 %30 to i32
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %1, align 4
%34 = load i32, ptr %1, align 4
%35 = icmp sge i32 %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp sgt i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
%43 = load i32, ptr %1, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp ult i32 %43, %44
%46 = zext i1 %45 to i32
%47 = call i32 @printf(ptr noundef @.str, i32 noundef %46)
%48 = load i32, ptr %1, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp ule i32 %48, %49
%51 = zext i1 %50 to i32
%52 = call i32 @printf(ptr noundef @.str, i32 noundef %51)
%53 = load i32, ptr %1, align 4
%54 = load i32, ptr %1, align 4
%55 = icmp ule i32 %53, %54
%56 = zext i1 %55 to i32
%57 = call i32 @printf(ptr noundef @.str, i32 noundef %56)
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %1, align 4
%60 = icmp uge i32 %58, %59
%61 = zext i1 %60 to i32
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %1, align 4
%64 = load i32, ptr %1, align 4
%65 = icmp uge i32 %63, %64
%66 = zext i1 %65 to i32
%67 = call i32 @printf(ptr noundef @.str, i32 noundef %66)
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %1, align 4
%70 = icmp ugt i32 %68, %69
%71 = zext i1 %70 to i32
%72 = call i32 @printf(ptr noundef @.str, i32 noundef %71)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf7ml0xgs.c'
source_filename = "/tmp/tmpf7ml0xgs.c"
target datalayout = "e-m:e-p270: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/tmpf7ml0xgs.c"
target datalayout = "e-m:e-p270: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/tmp95ysng_h.c'
source_filename = "/tmp/tmp95ysng_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret i32 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/tmp95ysng_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret i32 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/tmp0xjhlw88.c'
source_filename = "/tmp/tmp0xjhlw88.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"select()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kbhit() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
%4 = alloca i32, align 4
%5 = call i32 @FD_ZERO(ptr noundef %2)
%6 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
store i64 0, ptr %7, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
store i64 0, ptr %8, align 8
%9 = call i32 @select(i32 noundef 1, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %3)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %19
14: ; preds = %0
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 1, ptr %1, align 4
br label %19
18: ; preds = %14
store i32 0, ptr %1, align 4
br label %19
19: ; preds = %18, %17, %12
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xjhlw88.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"select()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kbhit() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
%4 = alloca i32, align 4
%5 = call i32 @FD_ZERO(ptr noundef %2)
%6 = call i32 @FD_SET(i32 noundef 0, ptr noundef %2)
%7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
store i64 0, ptr %7, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
store i64 0, ptr %8, align 8
%9 = call i32 @select(i32 noundef 1, ptr noundef %2, ptr noundef null, ptr noundef null, ptr noundef %3)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %19
14: ; preds = %0
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 1, ptr %1, align 4
br label %19
18: ; preds = %14
store i32 0, ptr %1, align 4
br label %19
19: ; preds = %18, %17, %12
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp4h9_n82.c'
source_filename = "/tmp/tmpp4h9_n82.c"
target datalayout = "e-m:e-p270: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/tmpp4h9_n82.c"
target datalayout = "e-m:e-p270: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_vu6yeoo.c'
source_filename = "/tmp/tmp_vu6yeoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @url_encode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = mul nsw i32 %8, 3
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 @bzero(ptr noundef %13, i32 noundef %15)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %35, %1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %24, label %40
24: ; preds = %17
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i8 noundef zeroext %33)
br label %35
35: ; preds = %24
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 3
store i32 %39, ptr %6, align 4
br label %17, !llvm.loop !6
40: ; preds = %17
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vu6yeoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @url_encode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = mul nsw i32 %8, 3
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 @bzero(ptr noundef %13, i32 noundef %15)
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %.lr.ph, label %45
.lr.ph: ; preds = %1
br label %23
23: ; preds = %.lr.ph, %34
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str, i8 noundef zeroext %32)
br label %34
34: ; preds = %23
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 3
store i32 %38, ptr %6, align 4
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %45
45: ; preds = %._crit_edge, %1
%46 = load ptr, ptr %3, align 8
ret ptr %46
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpca9enqzd.c'
source_filename = "/tmp/tmpca9enqzd.c"
target datalayout = "e-m:e-p270: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/tmpca9enqzd.c"
target datalayout = "e-m:e-p270: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/tmpky0cfj8y.c'
source_filename = "/tmp/tmpky0cfj8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter an integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Integer entered by you is %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpky0cfj8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter an integer\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Integer entered by you is %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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbnld1vgs.c'
source_filename = "/tmp/tmpbnld1vgs.c"
target datalayout = "e-m:e-p270: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/tmpbnld1vgs.c"
target datalayout = "e-m:e-p270: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/tmp9bbxecv_.c'
source_filename = "/tmp/tmp9bbxecv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9bbxecv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd338l2ty.c'
source_filename = "/tmp/tmpd338l2ty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_inner_node(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 @is_leaf(ptr noundef %3)
%5 = icmp ne i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @is_root(ptr noundef %7)
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %6, %1
%12 = phi i1 [ false, %1 ], [ %10, %6 ]
%13 = zext i1 %12 to i32
ret i32 %13
}
declare i32 @is_leaf(ptr noundef) #1
declare i32 @is_root(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd338l2ty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_inner_node(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 @is_leaf(ptr noundef %3)
%5 = icmp ne i32 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @is_root(ptr noundef %7)
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %6, %1
%12 = phi i1 [ false, %1 ], [ %10, %6 ]
%13 = zext i1 %12 to i32
ret i32 %13
}
declare i32 @is_leaf(ptr noundef) #1
declare i32 @is_root(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph79g17an.c'
source_filename = "/tmp/tmph79g17an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i: %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 10
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
%13 = load i32, ptr %2, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph79g17an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"i: %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 10
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvpr7zqf6.c'
source_filename = "/tmp/tmpvpr7zqf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvpr7zqf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo8lxn7nt.c'
source_filename = "/tmp/tmpo8lxn7nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %86, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %87
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %45, %10
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
br label %14
14: ; preds = %35, %13
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double %16, 1.000000e+00
%18 = load i32, ptr %3, align 4
%19 = call i32 @sqrt(i32 noundef %18)
%20 = sitofp i32 %19 to double
%21 = fcmp ole double %17, %20
br i1 %21, label %22, label %38
22: ; preds = %14
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = srem i32 %23, %24
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %5, align 4
br label %38
28: ; preds = %22
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 2
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %4, align 4
br label %34
34: ; preds = %31, %28
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 2
store i32 %37, ptr %4, align 4
br label %14, !llvm.loop !6
38: ; preds = %27, %14
%39 = load i32, ptr %5, align 4
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %3, align 4
%43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42)
br label %48
44: ; preds = %38
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %3, align 4
br label %13
48: ; preds = %41
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %83, %48
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
br label %52
52: ; preds = %73, %51
%53 = load i32, ptr %4, align 4
%54 = sitofp i32 %53 to double
%55 = fmul double %54, 1.000000e+00
%56 = load i32, ptr %3, align 4
%57 = call i32 @sqrt(i32 noundef %56)
%58 = sitofp i32 %57 to double
%59 = fcmp ole double %55, %58
br i1 %59, label %60, label %76
60: ; preds = %52
%61 = load i32, ptr %3, align 4
%62 = load i32, ptr %4, align 4
%63 = srem i32 %61, %62
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %60
store i32 0, ptr %5, align 4
br label %76
66: ; preds = %60
%67 = load i32, ptr %4, align 4
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %4, align 4
br label %72
72: ; preds = %69, %66
br label %73
73: ; preds = %72
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 2
store i32 %75, ptr %4, align 4
br label %52, !llvm.loop !8
76: ; preds = %65, %52
%77 = load i32, ptr %5, align 4
%78 = icmp eq i32 %77, 1
br i1 %78, label %79, label %82
79: ; preds = %76
%80 = load i32, ptr %3, align 4
%81 = call i32 @printf(ptr noundef @.str.2, i32 noundef %80)
br label %86
82: ; preds = %76
br label %83
83: ; preds = %82
%84 = load i32, ptr %3, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %3, align 4
br label %51
86: ; preds = %79
br label %6, !llvm.loop !9
87: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8lxn7nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph3, label %99
.lr.ph3: ; preds = %0
br label %9
9: ; preds = %.lr.ph3, %95
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %12
12: ; preds = %49, %9
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to double
%15 = load i32, ptr %3, align 4
%16 = call i32 @sqrt(i32 noundef %15)
%17 = sitofp i32 %16 to double
%18 = fcmp ole double %14, %17
br i1 %18, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %32
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %4, align 4
%22 = srem i32 %20, %21
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %19
store i32 0, ptr %5, align 4
br label %42
25: ; preds = %19
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %28, %25
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 2
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double %36, 1.000000e+00
%38 = load i32, ptr %3, align 4
%39 = call i32 @sqrt(i32 noundef %38)
%40 = sitofp i32 %39 to double
%41 = fcmp ole double %37, %40
br i1 %41, label %19, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %32
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %12
br label %42
42: ; preds = %.loopexit1, %24
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %3, align 4
%47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46)
br label %52
48: ; preds = %42
br label %49
49: ; preds = %48
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %3, align 4
br label %12
52: ; preds = %45
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %92, %52
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = sitofp i32 %56 to double
%58 = load i32, ptr %3, align 4
%59 = call i32 @sqrt(i32 noundef %58)
%60 = sitofp i32 %59 to double
%61 = fcmp ole double %57, %60
br i1 %61, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %55
br label %62
62: ; preds = %.lr.ph2, %75
%63 = load i32, ptr %3, align 4
%64 = load i32, ptr %4, align 4
%65 = srem i32 %63, %64
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %62
store i32 0, ptr %5, align 4
br label %85
68: ; preds = %62
%69 = load i32, ptr %4, align 4
%70 = icmp eq i32 %69, 2
br i1 %70, label %71, label %74
71: ; preds = %68
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %4, align 4
br label %74
74: ; preds = %71, %68
br label %75
75: ; preds = %74
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 2
store i32 %77, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = sitofp i32 %78 to double
%80 = fmul double %79, 1.000000e+00
%81 = load i32, ptr %3, align 4
%82 = call i32 @sqrt(i32 noundef %81)
%83 = sitofp i32 %82 to double
%84 = fcmp ole double %80, %83
br i1 %84, label %62, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %75
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %55
br label %85
85: ; preds = %.loopexit, %67
%86 = load i32, ptr %5, align 4
%87 = icmp eq i32 %86, 1
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load i32, ptr %3, align 4
%90 = call i32 @printf(ptr noundef @.str.2, i32 noundef %89)
br label %95
91: ; preds = %85
br label %92
92: ; preds = %91
%93 = load i32, ptr %3, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %3, align 4
br label %55
95: ; preds = %88
%96 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%97 = load i64, ptr @EOF, align 8
%98 = icmp ne i64 %96, %97
br i1 %98, label %9, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %95
br label %99
99: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpd96i383x.c'
source_filename = "/tmp/tmpd96i383x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @get_short_be(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i16 0, ptr %2, align 2
br label %26
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
%14 = zext i8 %13 to i32
%15 = shl i32 %14, 8
%16 = trunc i32 %15 to i16
store i16 %16, ptr %4, align 2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i8, ptr %17, align 1
%20 = zext i8 %19 to i32
%21 = load i16, ptr %4, align 2
%22 = sext i16 %21 to i32
%23 = add nsw i32 %22, %20
%24 = trunc i32 %23 to i16
store i16 %24, ptr %4, align 2
%25 = load i16, ptr %4, align 2
store i16 %25, ptr %2, align 2
br label %26
26: ; preds = %10, %9
%27 = load i16, ptr %2, align 2
ret i16 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd96i383x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16 @get_short_be(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i16 0, ptr %2, align 2
br label %26
10: ; preds = %1
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
%14 = zext i8 %13 to i32
%15 = shl i32 %14, 8
%16 = trunc i32 %15 to i16
store i16 %16, ptr %4, align 2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i8, ptr %17, align 1
%20 = zext i8 %19 to i32
%21 = load i16, ptr %4, align 2
%22 = sext i16 %21 to i32
%23 = add nsw i32 %22, %20
%24 = trunc i32 %23 to i16
store i16 %24, ptr %4, align 2
%25 = load i16, ptr %4, align 2
store i16 %25, ptr %2, align 2
br label %26
26: ; preds = %10, %9
%27 = load i16, ptr %2, align 2
ret i16 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjly38qed.c'
source_filename = "/tmp/tmpjly38qed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c" --value=NUMBER\09\09background tone value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_params(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjly38qed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c" --value=NUMBER\09\09background tone value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_params(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3pys8yad.c'
source_filename = "/tmp/tmp3pys8yad.c"
target datalayout = "e-m:e-p270: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/tmp3pys8yad.c"
target datalayout = "e-m:e-p270: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/tmp0qrimhrd.c'
source_filename = "/tmp/tmp0qrimhrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
br label %17
17: ; preds = %50, %14
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %53
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %4, align 1
%24 = load i8, ptr %4, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %31, label %27
27: ; preds = %21
%28 = load i8, ptr %4, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %49
31: ; preds = %27, %21
%32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %2, align 8
%36 = ptrtoint ptr %34 to i64
%37 = ptrtoint ptr %35 to i64
%38 = sub i64 %36, %37
%39 = trunc i64 %38 to i32
%40 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = load ptr, ptr %2, align 8
%43 = ptrtoint ptr %41 to i64
%44 = ptrtoint ptr %42 to i64
%45 = sub i64 %43, %44
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%48 = call i32 @Q_mkdir(ptr noundef %47)
br label %49
49: ; preds = %31, %27
br label %50
50: ; preds = %49
%51 = load ptr, ptr %3, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %3, align 8
br label %17, !llvm.loop !6
53: ; preds = %17
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0qrimhrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 58
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %11, %1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %3, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %55
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %49
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %4, align 1
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 92
br i1 %29, label %30, label %48
30: ; preds = %26, %20
%31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %3, align 8
%34 = load ptr, ptr %2, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = trunc i64 %37 to i32
%39 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %38)
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %2, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%47 = call i32 @Q_mkdir(ptr noundef %46)
br label %48
48: ; preds = %30, %26
br label %49
49: ; preds = %48
%50 = load ptr, ptr %3, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %3, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = icmp ne i8 %53, 0
br i1 %54, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %14
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Q_mkdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2kinmvqe.c'
source_filename = "/tmp/tmp2kinmvqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @dummy(i32 noundef 4, i32 noundef %4)
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @dummy(i32 noundef 5, i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = call i32 @dummy(i32 noundef 6, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @dummy(i32 noundef 7, i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = call i32 @dummy(i32 noundef 8, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = sub nsw i32 %17, %18
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @dummy(i32 noundef 9, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 @dummy(i32 noundef 10, i32 noundef %22)
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @dummy(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/tmp2kinmvqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @dummy(i32 noundef 4, i32 noundef %4)
%6 = load i32, ptr %2, align 4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @dummy(i32 noundef 5, i32 noundef %7)
%9 = load i32, ptr %3, align 4
%10 = call i32 @dummy(i32 noundef 6, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @dummy(i32 noundef 7, i32 noundef %13)
%15 = load i32, ptr %3, align 4
%16 = call i32 @dummy(i32 noundef 8, i32 noundef %15)
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = sub nsw i32 %17, %18
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @dummy(i32 noundef 9, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = call i32 @dummy(i32 noundef 10, i32 noundef %22)
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @dummy(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/tmpyfczm7ng.c'
source_filename = "/tmp/tmpyfczm7ng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x64() #0 {
%1 = call i32 @isgraph(i32 noundef 100) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 505, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyfczm7ng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isgraph should be 1 for d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x64() #0 {
%1 = call i32 @isgraph(i32 noundef 100) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 505, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp23c7lhl_.c'
source_filename = "/tmp/tmp23c7lhl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_512(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [25 x i32], align 16
%8 = alloca [72 x i32], align 16
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = getelementptr inbounds [25 x i32], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = call i32 @keccak_absorb(ptr noundef %10, i32 noundef 72, ptr noundef %11, i64 noundef %12, i32 noundef 6)
%14 = getelementptr inbounds [72 x i32], ptr %8, i64 0, i64 0
%15 = getelementptr inbounds [25 x i32], ptr %7, i64 0, i64 0
%16 = call i32 @keccak_squeezeblocks(ptr noundef %14, i32 noundef 1, ptr noundef %15, i32 noundef 72)
store i64 0, ptr %9, align 8
br label %17
17: ; preds = %27, %3
%18 = load i64, ptr %9, align 8
%19 = icmp ult i64 %18, 64
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds [72 x i32], ptr %8, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %9, align 8
%26 = getelementptr inbounds i32, ptr %24, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %20
%28 = load i64, ptr %9, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %9, align 8
br label %17, !llvm.loop !6
30: ; preds = %17
ret void
}
declare i32 @keccak_absorb(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @keccak_squeezeblocks(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp23c7lhl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_512(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [25 x i32], align 16
%8 = alloca [72 x i32], align 16
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = getelementptr inbounds [25 x i32], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %6, align 8
%13 = call i32 @keccak_absorb(ptr noundef %10, i32 noundef 72, ptr noundef %11, i64 noundef %12, i32 noundef 6)
%14 = getelementptr inbounds [72 x i32], ptr %8, i64 0, i64 0
%15 = getelementptr inbounds [25 x i32], ptr %7, i64 0, i64 0
%16 = call i32 @keccak_squeezeblocks(ptr noundef %14, i32 noundef 1, ptr noundef %15, i32 noundef 72)
store i64 0, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = icmp ult i64 %17, 64
br i1 %18, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %26
%20 = load i64, ptr %9, align 8
%21 = getelementptr inbounds [72 x i32], ptr %8, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %19
%27 = load i64, ptr %9, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp ult i64 %29, 64
br i1 %30, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %3
ret void
}
declare i32 @keccak_absorb(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @keccak_squeezeblocks(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpageztkf1.c'
source_filename = "/tmp/tmpageztkf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0AA file to encrpt/decrypt Base-64 data\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Version 0.0.1\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Author: Andrew Chang\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"main() build time: 15:14:47, Mar 16 2022\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"----START----\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"----ENDS-----\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @printf(ptr noundef @.str.4)
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @_testDecodeMain(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str.5)
%16 = load i32, ptr %6, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @_testDecodeMain(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpageztkf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"\0AA file to encrpt/decrypt Base-64 data\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Version 0.0.1\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Author: Andrew Chang\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"main() build time: 15:14:47, Mar 16 2022\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"----START----\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"----ENDS-----\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 @printf(ptr noundef @.str.3)
%11 = call i32 @printf(ptr noundef @.str.4)
%12 = load i32, ptr %4, align 4
%13 = load ptr, ptr %5, align 8
%14 = call i32 @_testDecodeMain(i32 noundef %12, ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = call i32 @printf(ptr noundef @.str.5)
%16 = load i32, ptr %6, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @_testDecodeMain(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcy2392x7.c'
source_filename = "/tmp/tmpcy2392x7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"USE: toporobot2survex [input Toporobot file] [destination Survex folder]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"[input toporobot file] must be a Toporobot .Tab file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret i32 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/tmpcy2392x7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"USE: toporobot2survex [input Toporobot file] [destination Survex folder]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"[input toporobot file] must be a Toporobot .Tab file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret i32 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/tmplpeqfppr.c'
source_filename = "/tmp/tmplpeqfppr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"00\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hxtoa(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [3 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = 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
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
store i32 %17, ptr %7, align 4
store ptr @.str, ptr %8, align 8
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %11, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %12, align 8
%24 = load ptr, ptr %9, align 8
%25 = call i32 @strcpy(ptr noundef %24, ptr noundef @.str.1)
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %3
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 256
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %28, %3
br label %32
32: ; preds = %65, %31
br label %33
33: ; preds = %32
%34 = load i32, ptr %7, align 4
%35 = sdiv i32 %34, 16
store i32 %35, ptr %13, align 4
%36 = load i32, ptr %13, align 4
%37 = icmp ugt i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %33
%39 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %13, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.2, i8 noundef signext %44)
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%48 = call i32 @strcat(ptr noundef %46, ptr noundef %47)
%49 = load i32, ptr %13, align 4
%50 = mul i32 16, %49
%51 = load i32, ptr %7, align 4
%52 = sub i32 %51, %50
store i32 %52, ptr %7, align 4
br label %65
53: ; preds = %33
%54 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %7, align 4
%57 = srem i32 %56, 16
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %55, i64 %58
%60 = load i8, ptr %59, align 1
%61 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.2, i8 noundef signext %60)
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%64 = call i32 @strcat(ptr noundef %62, ptr noundef %63)
br label %66
65: ; preds = %38
br label %32
66: ; preds = %53
%67 = load ptr, ptr %9, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %73, label %69
69: ; preds = %66
%70 = load ptr, ptr %9, align 8
%71 = call i32 @strlen(ptr noundef %70)
%72 = icmp ult i32 %71, 1
br i1 %72, label %73, label %76
73: ; preds = %69, %66
%74 = load ptr, ptr %9, align 8
%75 = call i32 @strcpy(ptr noundef %74, ptr noundef @.str.3)
br label %76
76: ; preds = %73, %69
br label %77
77: ; preds = %82, %76
%78 = load ptr, ptr %9, align 8
%79 = call i32 @strlen(ptr noundef %78)
%80 = load i32, ptr %6, align 4
%81 = icmp ult i32 %79, %80
br i1 %81, label %82, label %89
82: ; preds = %77
%83 = load ptr, ptr %9, align 8
%84 = call i32 @strcpy(ptr noundef %23, ptr noundef %83)
%85 = load ptr, ptr %9, align 8
%86 = call i32 @strcpy(ptr noundef %85, ptr noundef @.str.4)
%87 = load ptr, ptr %9, align 8
%88 = call i32 @strcat(ptr noundef %87, ptr noundef %23)
br label %77, !llvm.loop !6
89: ; preds = %77
%90 = load ptr, ptr %9, align 8
%91 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %91)
ret ptr %90
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplpeqfppr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"00\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hxtoa(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [3 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = 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
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
store i32 %17, ptr %7, align 4
store ptr @.str, ptr %8, align 8
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %9, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %11, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %12, align 8
%24 = load ptr, ptr %9, align 8
%25 = call i32 @strcpy(ptr noundef %24, ptr noundef @.str.1)
%26 = load i32, ptr %7, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %3
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 256
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %28, %3
br label %32
32: ; preds = %65, %31
br label %33
33: ; preds = %32
%34 = load i32, ptr %7, align 4
%35 = sdiv i32 %34, 16
store i32 %35, ptr %13, align 4
%36 = load i32, ptr %13, align 4
%37 = icmp ugt i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %33
%39 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %13, align 4
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.2, i8 noundef signext %44)
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%48 = call i32 @strcat(ptr noundef %46, ptr noundef %47)
%49 = load i32, ptr %13, align 4
%50 = mul i32 16, %49
%51 = load i32, ptr %7, align 4
%52 = sub i32 %51, %50
store i32 %52, ptr %7, align 4
br label %65
53: ; preds = %33
%54 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %7, align 4
%57 = srem i32 %56, 16
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %55, i64 %58
%60 = load i8, ptr %59, align 1
%61 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.2, i8 noundef signext %60)
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%64 = call i32 @strcat(ptr noundef %62, ptr noundef %63)
br label %66
65: ; preds = %38
br label %32
66: ; preds = %53
%67 = load ptr, ptr %9, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %73, label %69
69: ; preds = %66
%70 = load ptr, ptr %9, align 8
%71 = call i32 @strlen(ptr noundef %70)
%72 = icmp ult i32 %71, 1
br i1 %72, label %73, label %76
73: ; preds = %69, %66
%74 = load ptr, ptr %9, align 8
%75 = call i32 @strcpy(ptr noundef %74, ptr noundef @.str.3)
br label %76
76: ; preds = %73, %69
%77 = load ptr, ptr %9, align 8
%78 = call i32 @strlen(ptr noundef %77)
%79 = load i32, ptr %6, align 4
%80 = icmp ult i32 %78, %79
br i1 %80, label %.lr.ph, label %92
.lr.ph: ; preds = %76
br label %81
81: ; preds = %.lr.ph, %81
%82 = load ptr, ptr %9, align 8
%83 = call i32 @strcpy(ptr noundef %23, ptr noundef %82)
%84 = load ptr, ptr %9, align 8
%85 = call i32 @strcpy(ptr noundef %84, ptr noundef @.str.4)
%86 = load ptr, ptr %9, align 8
%87 = call i32 @strcat(ptr noundef %86, ptr noundef %23)
%88 = load ptr, ptr %9, align 8
%89 = call i32 @strlen(ptr noundef %88)
%90 = load i32, ptr %6, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %81, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %92
92: ; preds = %._crit_edge, %76
%93 = load ptr, ptr %9, align 8
%94 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %94)
ret ptr %93
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp_hzwsf0l.c'
source_filename = "/tmp/tmp_hzwsf0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Please, enter some string:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"****\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Replaced string: %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 [2048 x i8], align 16
%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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false)
%8 = call i32 @puts(ptr noundef @.str)
%9 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @replace(ptr noundef %11, ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @printf(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = call i32 @delete_string(ptr noundef %15)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @puts(ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare ptr @replace(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @delete_string(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hzwsf0l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Please, enter some string:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"****\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Replaced string: %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 [2048 x i8], align 16
%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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false)
%8 = call i32 @puts(ptr noundef @.str)
%9 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @replace(ptr noundef %11, ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @printf(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = call i32 @delete_string(ptr noundef %15)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @puts(ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare ptr @replace(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @delete_string(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfbr6h2ny.c'
source_filename = "/tmp/tmpfbr6h2ny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arrays_match(0, a, b)\00", align 1
@.str.1 = private unnamed_addr constant [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/mergesort/mergesort_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_empty_list() #0 {
%1 = alloca [0 x i32], align 4
%2 = alloca [0 x i32], align 4
%3 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @mergesort(i32 noundef 0, ptr noundef %3)
%5 = getelementptr inbounds [0 x i32], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0
%7 = call i64 @arrays_match(i32 noundef 0, ptr noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
%9 = call i32 @_assert_true(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 22)
ret void
}
declare i32 @mergesort(i32 noundef, ptr noundef) #1
declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @arrays_match(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/tmpfbr6h2ny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arrays_match(0, a, b)\00", align 1
@.str.1 = private unnamed_addr constant [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/mergesort/mergesort_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_empty_list() #0 {
%1 = alloca [0 x i32], align 4
%2 = alloca [0 x i32], align 4
%3 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @mergesort(i32 noundef 0, ptr noundef %3)
%5 = getelementptr inbounds [0 x i32], ptr %1, i64 0, i64 0
%6 = getelementptr inbounds [0 x i32], ptr %2, i64 0, i64 0
%7 = call i64 @arrays_match(i32 noundef 0, ptr noundef %5, ptr noundef %6)
%8 = trunc i64 %7 to i32
%9 = call i32 @_assert_true(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 22)
ret void
}
declare i32 @mergesort(i32 noundef, ptr noundef) #1
declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @arrays_match(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/tmpstu_vczk.c'
source_filename = "/tmp/tmpstu_vczk.c"
target datalayout = "e-m:e-p270: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/tmpstu_vczk.c"
target datalayout = "e-m:e-p270: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/tmpvtfn6tyj.c'
source_filename = "/tmp/tmpvtfn6tyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @SIGALRM, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sigismember(ptr noundef %1, i32 noundef %5)
store i32 %6, ptr %3, align 4
ret void
}
declare i32 @sigismember(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/tmpvtfn6tyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGALRM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = load i32, ptr @SIGALRM, align 4
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @sigismember(ptr noundef %1, i32 noundef %5)
store i32 %6, ptr %3, align 4
ret void
}
declare i32 @sigismember(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/tmp8piiyyqg.c'
source_filename = "/tmp/tmp8piiyyqg.c"
target datalayout = "e-m:e-p270: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/tmp8piiyyqg.c"
target datalayout = "e-m:e-p270: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/tmp2p2lg799.c'
source_filename = "/tmp/tmp2p2lg799.c"
target datalayout = "e-m:e-p270: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/tmp2p2lg799.c"
target datalayout = "e-m:e-p270: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/tmpybtytg9j.c'
source_filename = "/tmp/tmpybtytg9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @net_getc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i8], align 1
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 1)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
12: ; preds = %1
%13 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybtytg9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @net_getc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i8], align 1
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 1)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sle i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
12: ; preds = %1
%13 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
store i32 %15, ptr %2, align 4
br label %16
16: ; preds = %12, %11
%17 = load i32, ptr %2, align 4
ret i32 %17
}
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"}
|
; ModuleID = '/tmp/tmpeym8g0cb.c'
source_filename = "/tmp/tmpeym8g0cb.c"
target datalayout = "e-m:e-p270: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
@O_ACCMODE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeym8g0cb.c"
target datalayout = "e-m:e-p270: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
@O_ACCMODE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppn1984tv.c'
source_filename = "/tmp/tmppn1984tv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d\0A%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %40, %0
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%11 = load i64, ptr @EOF, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %41
13: ; preds = %9
store i32 0, ptr %5, align 4
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %27, %13
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %30
18: ; preds = %14
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %20
%22 = load float, ptr %21, align 4
%23 = load float, ptr %4, align 4
%24 = fcmp oeq float %22, %23
br i1 %24, label %25, label %26
25: ; preds = %18
store i32 1, ptr %5, align 4
br label %30
26: ; preds = %18
br label %27
27: ; preds = %26
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
br label %14, !llvm.loop !6
30: ; preds = %25, %14
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %30
%34 = load float, ptr %4, align 4
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %36
store float %34, ptr %37, align 4
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %40
40: ; preds = %33, %30
br label %9, !llvm.loop !8
41: ; preds = %9
store i32 0, ptr %8, align 4
br label %42
42: ; preds = %54, %41
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %57
46: ; preds = %42
%47 = load float, ptr %3, align 4
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %49
%51 = load float, ptr %50, align 4
%52 = call float @fmod(float noundef %51, i32 noundef 5)
%53 = fadd float %47, %52
store float %53, ptr %3, align 4
br label %54
54: ; preds = %46
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %8, align 4
br label %42, !llvm.loop !9
57: ; preds = %42
%58 = load i32, ptr %6, align 4
%59 = load float, ptr %3, align 4
%60 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58, float noundef %59)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare float @fmod(float noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppn1984tv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"%d\0A%.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %.lr.ph1, label %45
.lr.ph1: ; preds = %0
br label %12
12: ; preds = %.lr.ph1, %41
store i32 0, ptr %5, align 4
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %25
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = load float, ptr %4, align 4
%22 = fcmp oeq float %20, %21
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 1, ptr %5, align 4
br label %31
24: ; preds = %16
br label %25
25: ; preds = %24
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %25
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %31
31: ; preds = %.loopexit, %23
%32 = load i32, ptr %5, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %31
%35 = load float, ptr %4, align 4
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %37
store float %35, ptr %38, align 4
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %34, %31
%42 = call i64 @scanf(ptr noundef @.str, ptr noundef %4)
%43 = load i64, ptr @EOF, align 8
%44 = icmp ne i64 %42, %43
br i1 %44, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %41
br label %45
45: ; preds = %._crit_edge, %0
store i32 0, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph3, label %63
.lr.ph3: ; preds = %45
br label %49
49: ; preds = %.lr.ph3, %57
%50 = load float, ptr %3, align 4
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %52
%54 = load float, ptr %53, align 4
%55 = call float @fmod(float noundef %54, i32 noundef 5)
%56 = fadd float %50, %55
store float %56, ptr %3, align 4
br label %57
57: ; preds = %49
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %6, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %49, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %57
br label %63
63: ; preds = %._crit_edge4, %45
%64 = load i32, ptr %6, align 4
%65 = load float, ptr %3, align 4
%66 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64, float noundef %65)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare float @fmod(float noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzia496px.c'
source_filename = "/tmp/tmpzia496px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzia496px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv2psg94j.c'
source_filename = "/tmp/tmpv2psg94j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_run() #0 {
%1 = call i32 (...) @test_random_int()
%2 = call i32 (...) @test_random_char()
%3 = call i32 (...) @test_random_long()
%4 = call i32 (...) @test_random_llong()
%5 = call i32 (...) @test_prandom_seed()
%6 = call i32 (...) @test_prandom_int_range()
%7 = call i32 (...) @test_prandom_double_range()
ret void
}
declare i32 @test_random_int(...) #1
declare i32 @test_random_char(...) #1
declare i32 @test_random_long(...) #1
declare i32 @test_random_llong(...) #1
declare i32 @test_prandom_seed(...) #1
declare i32 @test_prandom_int_range(...) #1
declare i32 @test_prandom_double_range(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv2psg94j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_run() #0 {
%1 = call i32 (...) @test_random_int()
%2 = call i32 (...) @test_random_char()
%3 = call i32 (...) @test_random_long()
%4 = call i32 (...) @test_random_llong()
%5 = call i32 (...) @test_prandom_seed()
%6 = call i32 (...) @test_prandom_int_range()
%7 = call i32 (...) @test_prandom_double_range()
ret void
}
declare i32 @test_random_int(...) #1
declare i32 @test_random_char(...) #1
declare i32 @test_random_long(...) #1
declare i32 @test_random_llong(...) #1
declare i32 @test_prandom_seed(...) #1
declare i32 @test_prandom_int_range(...) #1
declare i32 @test_prandom_double_range(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk0kmed77.c'
source_filename = "/tmp/tmpk0kmed77.c"
target datalayout = "e-m:e-p270: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/tmpk0kmed77.c"
target datalayout = "e-m:e-p270: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/tmp0iw28qej.c'
source_filename = "/tmp/tmp0iw28qej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_get_adr(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 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = getelementptr inbounds i32, ptr %8, i64 3
%10 = load i32, ptr %9, align 4
%11 = shl i32 %10, 24
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4
%18 = shl i32 %17, 16
%19 = or i32 %11, %18
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = getelementptr inbounds i32, ptr %23, i64 1
%25 = load i32, ptr %24, align 4
%26 = shl i32 %25, 8
%27 = or i32 %19, %26
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = or i32 %27, %32
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0iw28qej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_get_adr(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 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = getelementptr inbounds i32, ptr %8, i64 3
%10 = load i32, ptr %9, align 4
%11 = shl i32 %10, 24
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4
%18 = shl i32 %17, 16
%19 = or i32 %11, %18
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = getelementptr inbounds i32, ptr %23, i64 1
%25 = load i32, ptr %24, align 4
%26 = shl i32 %25, 8
%27 = or i32 %19, %26
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = or i32 %27, %32
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxnk7_xlx.c'
source_filename = "/tmp/tmpxnk7_xlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1203 x i8] c"Usage: Call from the same directory where your data files are located and pass\0A the following arguments:\0A -ext WLX Set the extension of the data files to the argument WLX\0A -dbg n Set the level of debug messages (default 0, no messages)\0A -la Extract the atlas of the levels\0A -lh e l Extract the header data for the specified level (level and episode given as numbers)\0A -lm e l m Extract the specified map for the specified level (map in the range 0 - 2)\0A -po Extract the picture offsets\0A -pt Extract the picture table\0A -pic m Extract the picture with the specified magic number\0A -tex m Extract the texture with the specified magic number\0A -spr m Extract the sprite with the specified magic number\0A -snd m f Extract the sound effect with the specified magic number and format\0A -mus m Extract the music track with the specified magic number\0AThe output is printed to the standard output, so you'll want to redirect it into\0Aanother file or pipe it into another program.\0AArguments are processed in the order they are given, so if for exapmle you want\0Ato specify the extension you have to do it before trying to extract an asset.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxnk7_xlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1203 x i8] c"Usage: Call from the same directory where your data files are located and pass\0A the following arguments:\0A -ext WLX Set the extension of the data files to the argument WLX\0A -dbg n Set the level of debug messages (default 0, no messages)\0A -la Extract the atlas of the levels\0A -lh e l Extract the header data for the specified level (level and episode given as numbers)\0A -lm e l m Extract the specified map for the specified level (map in the range 0 - 2)\0A -po Extract the picture offsets\0A -pt Extract the picture table\0A -pic m Extract the picture with the specified magic number\0A -tex m Extract the texture with the specified magic number\0A -spr m Extract the sprite with the specified magic number\0A -snd m f Extract the sound effect with the specified magic number and format\0A -mus m Extract the music track with the specified magic number\0AThe output is printed to the standard output, so you'll want to redirect it into\0Aanother file or pipe it into another program.\0AArguments are processed in the order they are given, so if for exapmle you want\0Ato specify the extension you have to do it before trying to extract an asset.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfbi09_3n.c'
source_filename = "/tmp/tmpfbi09_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbi09_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgvxgn_vo.c'
source_filename = "/tmp/tmpgvxgn_vo.c"
target datalayout = "e-m:e-p270: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/tmpgvxgn_vo.c"
target datalayout = "e-m:e-p270: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/tmpo8exg2hd.c'
source_filename = "/tmp/tmpo8exg2hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @constant()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @f()
%5 = call i32 (...) @constant()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
ret void
}
declare i32 @constant(...) #1
declare i32 @f(...) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8exg2hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @constant()
store i32 %3, ptr %1, align 4
%4 = call i32 (...) @f()
%5 = call i32 (...) @constant()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %6, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
ret void
}
declare i32 @constant(...) #1
declare i32 @f(...) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcteg45gl.c'
source_filename = "/tmp/tmpcteg45gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcteg45gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyyf32p9k.c'
source_filename = "/tmp/tmpyyf32p9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yasm_errwarn_cleanup() #0 {
%1 = call i32 (...) @yasm_error_clear()
%2 = call i32 (...) @yasm_warn_clear()
ret void
}
declare i32 @yasm_error_clear(...) #1
declare i32 @yasm_warn_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyyf32p9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yasm_errwarn_cleanup() #0 {
%1 = call i32 (...) @yasm_error_clear()
%2 = call i32 (...) @yasm_warn_clear()
ret void
}
declare i32 @yasm_error_clear(...) #1
declare i32 @yasm_warn_clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoe7p7_6c.c'
source_filename = "/tmp/tmpoe7p7_6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_unit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds double, ptr %4, i64 0
%6 = load double, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
%16 = fmul double %12, %15
%17 = call double @llvm.fmuladd.f64(double %6, double %9, double %16)
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds double, ptr %18, i64 2
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds double, ptr %21, i64 2
%23 = load double, ptr %22, align 8
%24 = call double @llvm.fmuladd.f64(double %20, double %23, double %17)
%25 = call double @sqrt(double noundef %24) #3
store double %25, ptr %3, align 8
%26 = load double, ptr %3, align 8
%27 = fcmp une double %26, 0.000000e+00
br i1 %27, label %28, label %44
28: ; preds = %1
%29 = load double, ptr %3, align 8
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
%33 = fdiv double %32, %29
store double %33, ptr %31, align 8
%34 = load double, ptr %3, align 8
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %36, align 8
%38 = fdiv double %37, %34
store double %38, ptr %36, align 8
%39 = load double, ptr %3, align 8
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds double, ptr %40, i64 2
%42 = load double, ptr %41, align 8
%43 = fdiv double %42, %39
store double %43, ptr %41, align 8
br label %44
44: ; preds = %28, %1
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpoe7p7_6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_unit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds double, ptr %4, i64 0
%6 = load double, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds double, ptr %7, i64 0
%9 = load double, ptr %8, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds double, ptr %10, i64 1
%12 = load double, ptr %11, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
%16 = fmul double %12, %15
%17 = call double @llvm.fmuladd.f64(double %6, double %9, double %16)
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds double, ptr %18, i64 2
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds double, ptr %21, i64 2
%23 = load double, ptr %22, align 8
%24 = call double @llvm.fmuladd.f64(double %20, double %23, double %17)
%25 = call double @sqrt(double noundef %24) #3
store double %25, ptr %3, align 8
%26 = load double, ptr %3, align 8
%27 = fcmp une double %26, 0.000000e+00
br i1 %27, label %28, label %44
28: ; preds = %1
%29 = load double, ptr %3, align 8
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
%33 = fdiv double %32, %29
store double %33, ptr %31, align 8
%34 = load double, ptr %3, align 8
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %36, align 8
%38 = fdiv double %37, %34
store double %38, ptr %36, align 8
%39 = load double, ptr %3, align 8
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds double, ptr %40, i64 2
%42 = load double, ptr %41, align 8
%43 = fdiv double %42, %39
store double %43, ptr %41, align 8
br label %44
44: ; preds = %28, %1
%45 = load ptr, ptr %2, align 8
ret ptr %45
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmp4nz5igi5.c'
source_filename = "/tmp/tmp4nz5igi5.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"(%s:%d: error: %d [%s]) Length of memory to read must be word-aligned\0A\00", align 1
@.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dismantl/linux-injector/refs/heads/master/ptrace.c\00", align 1
@errno = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1
@PTRACE_POKEDATA = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [84 x i8] c"(%s:%d: error: %d [%s]) Failed to write memory to target process %d at location %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptrace_writemem(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
br label %14
14: ; preds = %4
%15 = load i64, ptr %9, align 8
%16 = urem i64 %15, 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %30, label %18
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @errno, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
br label %27
24: ; preds = %18
%25 = load i64, ptr @errno, align 8
%26 = call ptr @strerror(i64 noundef %25)
br label %27
27: ; preds = %24, %23
%28 = phi ptr [ @.str.2, %23 ], [ %26, %24 ]
%29 = call i32 (i32, ptr, ptr, i32, i64, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 265, i64 noundef %20, ptr noundef %28)
store i64 0, ptr @errno, align 8
br label %77
30: ; preds = %14
br label %31
31: ; preds = %30
%32 = load i64, ptr %9, align 8
%33 = udiv i64 %32, 8
store i64 %33, ptr %10, align 8
%34 = load ptr, ptr %8, align 8
store ptr %34, ptr %11, align 8
store i64 0, ptr %12, align 8
br label %35
35: ; preds = %73, %31
%36 = load i64, ptr %12, align 8
%37 = load i64, ptr %10, align 8
%38 = icmp ult i64 %36, %37
br i1 %38, label %39, label %76
39: ; preds = %35
%40 = load i32, ptr @PTRACE_POKEDATA, align 4
%41 = load i32, ptr %6, align 4
%42 = load ptr, ptr %7, align 8
%43 = load i64, ptr %12, align 8
%44 = mul i64 %43, 8
%45 = getelementptr i8, ptr %42, i64 %44
%46 = load ptr, ptr %11, align 8
%47 = load i64, ptr %12, align 8
%48 = getelementptr inbounds ptr, ptr %46, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = call i64 @ptrace(i32 noundef %40, i32 noundef %41, ptr noundef %45, ptr noundef %49)
store i64 %50, ptr %13, align 8
br label %51
51: ; preds = %39
%52 = load i64, ptr %13, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %71, label %54
54: ; preds = %51
%55 = load i32, ptr @stderr, align 4
%56 = load i64, ptr @errno, align 8
%57 = load i64, ptr @errno, align 8
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54
br label %63
60: ; preds = %54
%61 = load i64, ptr @errno, align 8
%62 = call ptr @strerror(i64 noundef %61)
br label %63
63: ; preds = %60, %59
%64 = phi ptr [ @.str.2, %59 ], [ %62, %60 ]
%65 = load i32, ptr %6, align 4
%66 = load ptr, ptr %7, align 8
%67 = load i64, ptr %12, align 8
%68 = mul i64 %67, 8
%69 = getelementptr i8, ptr %66, i64 %68
%70 = call i32 (i32, ptr, ptr, i32, i64, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 272, i64 noundef %56, ptr noundef %64, i32 noundef %65, ptr noundef %69)
store i64 0, ptr @errno, align 8
br label %77
71: ; preds = %51
br label %72
72: ; preds = %71
br label %73
73: ; preds = %72
%74 = load i64, ptr %12, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %12, align 8
br label %35, !llvm.loop !6
76: ; preds = %35
store i32 1, ptr %5, align 4
br label %78
77: ; preds = %63, %27
store i32 0, ptr %5, align 4
br label %78
78: ; preds = %77, %76
%79 = load i32, ptr %5, align 4
ret i32 %79
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
declare i64 @ptrace(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4nz5igi5.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"(%s:%d: error: %d [%s]) Length of memory to read must be word-aligned\0A\00", align 1
@.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dismantl/linux-injector/refs/heads/master/ptrace.c\00", align 1
@errno = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1
@PTRACE_POKEDATA = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [84 x i8] c"(%s:%d: error: %d [%s]) Failed to write memory to target process %d at location %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptrace_writemem(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
br label %14
14: ; preds = %4
%15 = load i64, ptr %9, align 8
%16 = urem i64 %15, 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %30, label %18
18: ; preds = %14
%19 = load i32, ptr @stderr, align 4
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @errno, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
br label %27
24: ; preds = %18
%25 = load i64, ptr @errno, align 8
%26 = call ptr @strerror(i64 noundef %25)
br label %27
27: ; preds = %24, %23
%28 = phi ptr [ @.str.2, %23 ], [ %26, %24 ]
%29 = call i32 (i32, ptr, ptr, i32, i64, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 265, i64 noundef %20, ptr noundef %28)
store i64 0, ptr @errno, align 8
br label %79
30: ; preds = %14
br label %31
31: ; preds = %30
%32 = load i64, ptr %9, align 8
%33 = udiv i64 %32, 8
store i64 %33, ptr %10, align 8
%34 = load ptr, ptr %8, align 8
store ptr %34, ptr %11, align 8
store i64 0, ptr %12, align 8
%35 = load i64, ptr %12, align 8
%36 = load i64, ptr %10, align 8
%37 = icmp ult i64 %35, %36
br i1 %37, label %.lr.ph, label %78
.lr.ph: ; preds = %31
br label %38
38: ; preds = %.lr.ph, %72
%39 = load i32, ptr @PTRACE_POKEDATA, align 4
%40 = load i32, ptr %6, align 4
%41 = load ptr, ptr %7, align 8
%42 = load i64, ptr %12, align 8
%43 = mul i64 %42, 8
%44 = getelementptr i8, ptr %41, i64 %43
%45 = load ptr, ptr %11, align 8
%46 = load i64, ptr %12, align 8
%47 = getelementptr inbounds ptr, ptr %45, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = call i64 @ptrace(i32 noundef %39, i32 noundef %40, ptr noundef %44, ptr noundef %48)
store i64 %49, ptr %13, align 8
br label %50
50: ; preds = %38
%51 = load i64, ptr %13, align 8
%52 = icmp eq i64 %51, 0
br i1 %52, label %70, label %53
53: ; preds = %50
%54 = load i32, ptr @stderr, align 4
%55 = load i64, ptr @errno, align 8
%56 = load i64, ptr @errno, align 8
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53
br label %62
59: ; preds = %53
%60 = load i64, ptr @errno, align 8
%61 = call ptr @strerror(i64 noundef %60)
br label %62
62: ; preds = %59, %58
%63 = phi ptr [ @.str.2, %58 ], [ %61, %59 ]
%64 = load i32, ptr %6, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i64, ptr %12, align 8
%67 = mul i64 %66, 8
%68 = getelementptr i8, ptr %65, i64 %67
%69 = call i32 (i32, ptr, ptr, i32, i64, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 272, i64 noundef %55, ptr noundef %63, i32 noundef %64, ptr noundef %68)
store i64 0, ptr @errno, align 8
br label %79
70: ; preds = %50
br label %71
71: ; preds = %70
br label %72
72: ; preds = %71
%73 = load i64, ptr %12, align 8
%74 = add i64 %73, 1
store i64 %74, ptr %12, align 8
%75 = load i64, ptr %12, align 8
%76 = load i64, ptr %10, align 8
%77 = icmp ult i64 %75, %76
br i1 %77, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %78
78: ; preds = %._crit_edge, %31
store i32 1, ptr %5, align 4
br label %80
79: ; preds = %62, %27
store i32 0, ptr %5, align 4
br label %80
80: ; preds = %79, %78
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
declare i64 @ptrace(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0_w1baun.c'
source_filename = "/tmp/tmp0_w1baun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @BuildWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %12, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
store i32 %9, ptr %3, align 4
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %4, align 8
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %6, label %15, !llvm.loop !6
15: ; preds = %12
%16 = load ptr, ptr %2, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0_w1baun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @BuildWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %12, %1
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
store i32 %9, ptr %3, align 4
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %4, align 8
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %6, label %15, !llvm.loop !6
15: ; preds = %12
%16 = load ptr, ptr %2, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1w564tz0.c'
source_filename = "/tmp/tmp1w564tz0.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i64, i64 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/ttyACM0\00", align 1
@CS8 = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@B9600 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"wrote %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"~out9=1~\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"~out9=0~\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @termios_test() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.termios, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr @.str, ptr %4, align 8
%6 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 40)
%7 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 4
store i64 0, ptr %7, align 8
%8 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 3
store i64 0, ptr %8, align 8
%9 = load i32, ptr @CS8, align 4
%10 = load i32, ptr @CREAD, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @CLOCAL, align 4
%13 = or i32 %11, %12
%14 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
store i32 %13, ptr %14, align 8
%15 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 2
store i64 0, ptr %15, align 8
%16 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%17 = load ptr, ptr %16, align 8
%18 = load i64, ptr @VMIN, align 8
%19 = getelementptr inbounds i32, ptr %17, i64 %18
store i32 1, ptr %19, align 4
%20 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%21 = load ptr, ptr %20, align 8
%22 = load i64, ptr @VTIME, align 8
%23 = getelementptr inbounds i32, ptr %21, i64 %22
store i32 5, ptr %23, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr @O_RDWR, align 4
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = or i32 %25, %26
%28 = call i32 @open(ptr noundef %24, i32 noundef %27)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %0
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %59
33: ; preds = %0
%34 = load i32, ptr @B9600, align 4
%35 = call i32 @cfsetospeed(ptr noundef %2, i32 noundef %34)
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr @TCSANOW, align 4
%38 = call i32 @tcsetattr(i32 noundef %36, i32 noundef %37, ptr noundef %2)
store i32 0, ptr %5, align 4
br label %39
39: ; preds = %53, %33
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %40, 3
br i1 %41, label %42, label %56
42: ; preds = %39
%43 = load i32, ptr %3, align 4
%44 = call i32 @strlen(ptr noundef @.str.3)
%45 = call i32 @write(i32 noundef %43, ptr noundef @.str.3, i32 noundef %44)
%46 = call i32 @printf(ptr noundef @.str.2, i32 noundef %45)
%47 = call i32 @sleep(i32 noundef 1)
%48 = load i32, ptr %3, align 4
%49 = call i32 @strlen(ptr noundef @.str.4)
%50 = call i32 @write(i32 noundef %48, ptr noundef @.str.4, i32 noundef %49)
%51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %50)
%52 = call i32 @sleep(i32 noundef 1)
br label %53
53: ; preds = %42
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %39, !llvm.loop !6
56: ; preds = %39
%57 = load i32, ptr %3, align 4
%58 = call i32 @close(i32 noundef %57)
store i32 0, ptr %1, align 4
br label %59
59: ; preds = %56, %31
%60 = load i32, ptr %1, align 4
ret i32 %60
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w564tz0.c"
target datalayout = "e-m:e-p270: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.termios = type { i32, ptr, i64, i64, i64 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/ttyACM0\00", align 1
@CS8 = dso_local global i32 0, align 4
@CREAD = dso_local global i32 0, align 4
@CLOCAL = dso_local global i32 0, align 4
@VMIN = dso_local global i64 0, align 8
@VTIME = dso_local global i64 0, align 8
@O_RDWR = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@B9600 = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"wrote %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"~out9=1~\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"~out9=0~\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @termios_test() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.termios, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr @.str, ptr %4, align 8
%6 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 40)
%7 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 4
store i64 0, ptr %7, align 8
%8 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 3
store i64 0, ptr %8, align 8
%9 = load i32, ptr @CS8, align 4
%10 = load i32, ptr @CREAD, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @CLOCAL, align 4
%13 = or i32 %11, %12
%14 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 0
store i32 %13, ptr %14, align 8
%15 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 2
store i64 0, ptr %15, align 8
%16 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%17 = load ptr, ptr %16, align 8
%18 = load i64, ptr @VMIN, align 8
%19 = getelementptr inbounds i32, ptr %17, i64 %18
store i32 1, ptr %19, align 4
%20 = getelementptr inbounds %struct.termios, ptr %2, i32 0, i32 1
%21 = load ptr, ptr %20, align 8
%22 = load i64, ptr @VTIME, align 8
%23 = getelementptr inbounds i32, ptr %21, i64 %22
store i32 5, ptr %23, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr @O_RDWR, align 4
%26 = load i32, ptr @O_NONBLOCK, align 4
%27 = or i32 %25, %26
%28 = call i32 @open(ptr noundef %24, i32 noundef %27)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %0
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %60
33: ; preds = %0
%34 = load i32, ptr @B9600, align 4
%35 = call i32 @cfsetospeed(ptr noundef %2, i32 noundef %34)
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr @TCSANOW, align 4
%38 = call i32 @tcsetattr(i32 noundef %36, i32 noundef %37, ptr noundef %2)
store i32 0, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %39, 3
br i1 %40, label %.lr.ph, label %57
.lr.ph: ; preds = %33
br label %41
41: ; preds = %.lr.ph, %52
%42 = load i32, ptr %3, align 4
%43 = call i32 @strlen(ptr noundef @.str.3)
%44 = call i32 @write(i32 noundef %42, ptr noundef @.str.3, i32 noundef %43)
%45 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44)
%46 = call i32 @sleep(i32 noundef 1)
%47 = load i32, ptr %3, align 4
%48 = call i32 @strlen(ptr noundef @.str.4)
%49 = call i32 @write(i32 noundef %47, ptr noundef @.str.4, i32 noundef %48)
%50 = call i32 @printf(ptr noundef @.str.2, i32 noundef %49)
%51 = call i32 @sleep(i32 noundef 1)
br label %52
52: ; preds = %41
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %55, 3
br i1 %56, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %57
57: ; preds = %._crit_edge, %33
%58 = load i32, ptr %3, align 4
%59 = call i32 @close(i32 noundef %58)
store i32 0, ptr %1, align 4
br label %60
60: ; preds = %57, %31
%61 = load i32, ptr %1, align 4
ret i32 %61
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnrzsvh2o.c'
source_filename = "/tmp/tmpnrzsvh2o.c"
target datalayout = "e-m:e-p270: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/tmpnrzsvh2o.c"
target datalayout = "e-m:e-p270: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/tmpnqfc6o6j.c'
source_filename = "/tmp/tmpnqfc6o6j.c"
target datalayout = "e-m:e-p270: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/tmpnqfc6o6j.c"
target datalayout = "e-m:e-p270: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/tmpo14ka68i.c'
source_filename = "/tmp/tmpo14ka68i.c"
target datalayout = "e-m:e-p270: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/tmpo14ka68i.c"
target datalayout = "e-m:e-p270: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/tmps68vzd2v.c'
source_filename = "/tmp/tmps68vzd2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %23, %0
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = call i32 @foo(i32 noundef %11)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = call i64 @is_odd(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load i32, ptr %3, align 4
store i32 %17, ptr %4, align 4
br label %22
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = srem i32 %19, 3
%21 = call i32 @foo(i32 noundef %20)
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %18, %16
br label %23
23: ; preds = %22
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %6, !llvm.loop !6
26: ; preds = %6
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %27)
%29 = load i32, ptr %4, align 4
ret i32 %29
}
declare i32 @foo(i32 noundef) #1
declare i64 @is_odd(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps68vzd2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 3, ptr %3, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %3, align 4
%11 = call i32 @foo(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i64 @is_odd(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %4, align 4
br label %21
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = srem i32 %18, 3
%20 = call i32 @foo(i32 noundef %19)
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %17, %15
br label %22
22: ; preds = %21
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %4, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
%31 = load i32, ptr %4, align 4
ret i32 %31
}
declare i32 @foo(i32 noundef) #1
declare i64 @is_odd(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpag13bdfl.c'
source_filename = "/tmp/tmpag13bdfl.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"Usage: subreaper <cmd> [args...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"set_subreaper\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"execv\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
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 slt i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
ret i32 2
12: ; preds = %2
%13 = call i64 @prctl(i32 noundef 36, i32 noundef 1)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @perror(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr @SIGCHLD, align 4
%19 = load i32, ptr @SIG_IGN, align 4
%20 = call i32 @signal(i32 noundef %18, i32 noundef %19)
%21 = call i64 (...) @fork()
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %17
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = load i64, ptr %6, align 8
%32 = call i32 @waitpid(i64 noundef %31, i32 noundef 0, i32 noundef 0)
%33 = call i32 @exit(i32 noundef 0) #3
unreachable
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = call i32 @execvp(ptr noundef %37, ptr noundef %39)
%41 = call i32 @perror(ptr noundef @.str.3)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @prctl(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpag13bdfl.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"Usage: subreaper <cmd> [args...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"set_subreaper\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"execv\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
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 slt i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str)
ret i32 2
12: ; preds = %2
%13 = call i64 @prctl(i32 noundef 36, i32 noundef 1)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @perror(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr @SIGCHLD, align 4
%19 = load i32, ptr @SIG_IGN, align 4
%20 = call i32 @signal(i32 noundef %18, i32 noundef %19)
%21 = call i64 (...) @fork()
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef 1) #3
unreachable
27: ; preds = %17
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = load i64, ptr %6, align 8
%32 = call i32 @waitpid(i64 noundef %31, i32 noundef 0, i32 noundef 0)
%33 = call i32 @exit(i32 noundef 0) #3
unreachable
34: ; preds = %27
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 1
%40 = call i32 @execvp(ptr noundef %37, ptr noundef %39)
%41 = call i32 @perror(ptr noundef @.str.3)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i64 @prctl(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp5bdwptj9.c'
source_filename = "/tmp/tmp5bdwptj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 0, %9
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
store i8 45, ptr %11, align 1
br label %22
13: ; preds = %2
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 48, ptr %18, align 1
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 0, ptr %20, align 1
br label %30
21: ; preds = %13
br label %22
22: ; preds = %21, %8
%23 = load i32, ptr %3, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @itoa_fn(i32 noundef %23, ptr noundef %24)
store i32 %25, ptr %5, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %22, %16
ret void
}
declare i32 @itoa_fn(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5bdwptj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 0, %9
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
store i8 45, ptr %11, align 1
br label %22
13: ; preds = %2
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 48, ptr %18, align 1
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 0, ptr %20, align 1
br label %30
21: ; preds = %13
br label %22
22: ; preds = %21, %8
%23 = load i32, ptr %3, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @itoa_fn(i32 noundef %23, ptr noundef %24)
store i32 %25, ptr %5, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
br label %30
30: ; preds = %22, %16
ret void
}
declare i32 @itoa_fn(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpncwvoxtj.c'
source_filename = "/tmp/tmpncwvoxtj.c"
target datalayout = "e-m:e-p270: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/tmpncwvoxtj.c"
target datalayout = "e-m:e-p270: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/tmppwvgsdk9.c'
source_filename = "/tmp/tmppwvgsdk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkPDFFileByFile(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store float -1.000000e+00, ptr %2, align 4
br label %92
11: ; preds = %1
store float 0.000000e+00, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i64 @hasAcceptableSize(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %4, align 4
%17 = fadd float %16, 5.000000e-01
store float %17, ptr %4, align 4
br label %19
18: ; preds = %11
store float -2.000000e+00, ptr %2, align 4
br label %92
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call signext i16 @producerStringPresent(ptr noundef %20)
store i16 %21, ptr %5, align 2
store i16 0, ptr %6, align 2
%22 = load i16, ptr %5, align 2
%23 = icmp ne i16 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load float, ptr %4, align 4
%26 = fadd float %25, 1.000000e+00
store float %26, ptr %4, align 4
br label %36
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = call signext i16 @trailerContainsHTML(ptr noundef %28)
store i16 %29, ptr %6, align 2
%30 = load i16, ptr %6, align 2
%31 = icmp ne i16 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load float, ptr %4, align 4
%34 = fadd float %33, 2.500000e-01
store float %34, ptr %4, align 4
br label %35
35: ; preds = %32, %27
br label %36
36: ; preds = %35, %24
%37 = load ptr, ptr %3, align 8
%38 = call i64 @hasCorrectPDFVersion(ptr noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load float, ptr %4, align 4
%42 = fadd float %41, 1.000000e+00
store float %42, ptr %4, align 4
br label %43
43: ; preds = %40, %36
%44 = load ptr, ptr %3, align 8
%45 = call i64 @hasCorrectSignature(ptr noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load float, ptr %4, align 4
%49 = fadd float %48, 2.000000e+00
store float %49, ptr %4, align 4
br label %50
50: ; preds = %47, %43
%51 = load ptr, ptr %3, align 8
%52 = call i64 @hasImageHexcode(ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load float, ptr %4, align 4
%56 = fadd float %55, 2.000000e+00
store float %56, ptr %4, align 4
br label %57
57: ; preds = %54, %50
store i32 0, ptr %7, align 4
%58 = load i16, ptr %6, align 2
%59 = icmp ne i16 %58, 0
br i1 %59, label %72, label %60
60: ; preds = %57
%61 = load ptr, ptr %3, align 8
%62 = call i32 @checkXrefTable(ptr noundef %61)
%63 = load i32, ptr %7, align 4
%64 = icmp sge i32 %63, 75
br i1 %64, label %65, label %71
65: ; preds = %60
%66 = load i32, ptr %7, align 4
%67 = icmp sle i32 %66, 80
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load float, ptr %4, align 4
%70 = fadd float %69, 1.000000e+00
store float %70, ptr %4, align 4
br label %71
71: ; preds = %68, %65, %60
br label %72
72: ; preds = %71, %57
%73 = load i16, ptr %5, align 2
%74 = icmp ne i16 %73, 0
br i1 %74, label %90, label %75
75: ; preds = %72
%76 = load i16, ptr %6, align 2
%77 = icmp ne i16 %76, 0
br i1 %77, label %90, label %78
78: ; preds = %75
%79 = load i32, ptr %7, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %90
81: ; preds = %78
%82 = load ptr, ptr %3, align 8
%83 = load i32, ptr %7, align 4
%84 = call i64 @producerStringWithXrefEntries(ptr noundef %82, i32 noundef %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %81
%87 = load float, ptr %4, align 4
%88 = fadd float %87, 1.000000e+00
store float %88, ptr %4, align 4
br label %89
89: ; preds = %86, %81
br label %90
90: ; preds = %89, %78, %75, %72
%91 = load float, ptr %4, align 4
store float %91, ptr %2, align 4
br label %92
92: ; preds = %90, %18, %10
%93 = load float, ptr %2, align 4
ret float %93
}
declare i64 @hasAcceptableSize(ptr noundef) #1
declare signext i16 @producerStringPresent(ptr noundef) #1
declare signext i16 @trailerContainsHTML(ptr noundef) #1
declare i64 @hasCorrectPDFVersion(ptr noundef) #1
declare i64 @hasCorrectSignature(ptr noundef) #1
declare i64 @hasImageHexcode(ptr noundef) #1
declare i32 @checkXrefTable(ptr noundef) #1
declare i64 @producerStringWithXrefEntries(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/tmppwvgsdk9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkPDFFileByFile(ptr noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca ptr, align 8
%4 = alloca float, align 4
%5 = alloca i16, align 2
%6 = alloca i16, align 2
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store float -1.000000e+00, ptr %2, align 4
br label %92
11: ; preds = %1
store float 0.000000e+00, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i64 @hasAcceptableSize(ptr noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load float, ptr %4, align 4
%17 = fadd float %16, 5.000000e-01
store float %17, ptr %4, align 4
br label %19
18: ; preds = %11
store float -2.000000e+00, ptr %2, align 4
br label %92
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = call signext i16 @producerStringPresent(ptr noundef %20)
store i16 %21, ptr %5, align 2
store i16 0, ptr %6, align 2
%22 = load i16, ptr %5, align 2
%23 = icmp ne i16 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load float, ptr %4, align 4
%26 = fadd float %25, 1.000000e+00
store float %26, ptr %4, align 4
br label %36
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = call signext i16 @trailerContainsHTML(ptr noundef %28)
store i16 %29, ptr %6, align 2
%30 = load i16, ptr %6, align 2
%31 = icmp ne i16 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load float, ptr %4, align 4
%34 = fadd float %33, 2.500000e-01
store float %34, ptr %4, align 4
br label %35
35: ; preds = %32, %27
br label %36
36: ; preds = %35, %24
%37 = load ptr, ptr %3, align 8
%38 = call i64 @hasCorrectPDFVersion(ptr noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load float, ptr %4, align 4
%42 = fadd float %41, 1.000000e+00
store float %42, ptr %4, align 4
br label %43
43: ; preds = %40, %36
%44 = load ptr, ptr %3, align 8
%45 = call i64 @hasCorrectSignature(ptr noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load float, ptr %4, align 4
%49 = fadd float %48, 2.000000e+00
store float %49, ptr %4, align 4
br label %50
50: ; preds = %47, %43
%51 = load ptr, ptr %3, align 8
%52 = call i64 @hasImageHexcode(ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load float, ptr %4, align 4
%56 = fadd float %55, 2.000000e+00
store float %56, ptr %4, align 4
br label %57
57: ; preds = %54, %50
store i32 0, ptr %7, align 4
%58 = load i16, ptr %6, align 2
%59 = icmp ne i16 %58, 0
br i1 %59, label %72, label %60
60: ; preds = %57
%61 = load ptr, ptr %3, align 8
%62 = call i32 @checkXrefTable(ptr noundef %61)
%63 = load i32, ptr %7, align 4
%64 = icmp sge i32 %63, 75
br i1 %64, label %65, label %71
65: ; preds = %60
%66 = load i32, ptr %7, align 4
%67 = icmp sle i32 %66, 80
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = load float, ptr %4, align 4
%70 = fadd float %69, 1.000000e+00
store float %70, ptr %4, align 4
br label %71
71: ; preds = %68, %65, %60
br label %72
72: ; preds = %71, %57
%73 = load i16, ptr %5, align 2
%74 = icmp ne i16 %73, 0
br i1 %74, label %90, label %75
75: ; preds = %72
%76 = load i16, ptr %6, align 2
%77 = icmp ne i16 %76, 0
br i1 %77, label %90, label %78
78: ; preds = %75
%79 = load i32, ptr %7, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %90
81: ; preds = %78
%82 = load ptr, ptr %3, align 8
%83 = load i32, ptr %7, align 4
%84 = call i64 @producerStringWithXrefEntries(ptr noundef %82, i32 noundef %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %81
%87 = load float, ptr %4, align 4
%88 = fadd float %87, 1.000000e+00
store float %88, ptr %4, align 4
br label %89
89: ; preds = %86, %81
br label %90
90: ; preds = %89, %78, %75, %72
%91 = load float, ptr %4, align 4
store float %91, ptr %2, align 4
br label %92
92: ; preds = %90, %18, %10
%93 = load float, ptr %2, align 4
ret float %93
}
declare i64 @hasAcceptableSize(ptr noundef) #1
declare signext i16 @producerStringPresent(ptr noundef) #1
declare signext i16 @trailerContainsHTML(ptr noundef) #1
declare i64 @hasCorrectPDFVersion(ptr noundef) #1
declare i64 @hasCorrectSignature(ptr noundef) #1
declare i64 @hasImageHexcode(ptr noundef) #1
declare i32 @checkXrefTable(ptr noundef) #1
declare i64 @producerStringWithXrefEntries(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/tmpg5o5s5d4.c'
source_filename = "/tmp/tmpg5o5s5d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"INFO: test was started\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"INFO: test was finished\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg5o5s5d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"INFO: test was started\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"INFO: test was finished\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp771t0grt.c'
source_filename = "/tmp/tmp771t0grt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"look\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"go\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"I don't know how to '%s'.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseAndExecute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %36
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 0, ptr %2, align 4
br label %37
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = call i32 @executeLook(ptr noundef %21)
br label %34
23: ; preds = %16
%24 = load ptr, ptr %4, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
%29 = call i32 @executeGo(ptr noundef %28)
br label %33
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = call i32 @printf(ptr noundef @.str.4, ptr noundef %31)
br label %33
33: ; preds = %30, %27
br label %34
34: ; preds = %33, %20
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35, %1
store i32 1, ptr %2, align 4
br label %37
37: ; preds = %36, %15
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @executeLook(ptr noundef) #1
declare i32 @executeGo(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/tmp771t0grt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c" \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"look\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"go\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"I don't know how to '%s'.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseAndExecute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
%8 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %36
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 0, ptr %2, align 4
br label %37
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.2)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = call i32 @executeLook(ptr noundef %21)
br label %34
23: ; preds = %16
%24 = load ptr, ptr %4, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
%29 = call i32 @executeGo(ptr noundef %28)
br label %33
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = call i32 @printf(ptr noundef @.str.4, ptr noundef %31)
br label %33
33: ; preds = %30, %27
br label %34
34: ; preds = %33, %20
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35, %1
store i32 1, ptr %2, align 4
br label %37
37: ; preds = %36, %15
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @executeLook(ptr noundef) #1
declare i32 @executeGo(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/tmp2hqa9kxf.c'
source_filename = "/tmp/tmp2hqa9kxf.c"
target datalayout = "e-m:e-p270: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/tmp2hqa9kxf.c"
target datalayout = "e-m:e-p270: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/tmp8oin_i8_.c'
source_filename = "/tmp/tmp8oin_i8_.c"
target datalayout = "e-m:e-p270: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/tmp8oin_i8_.c"
target datalayout = "e-m:e-p270: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/tmpvx3mfpab.c'
source_filename = "/tmp/tmpvx3mfpab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qe_malloc_dup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @malloc(i64 noundef %6) #3
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
br label %15
15: ; preds = %10, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpvx3mfpab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qe_malloc_dup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @malloc(i64 noundef %6) #3
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
br label %15
15: ; preds = %10, %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpnhz70o63.c'
source_filename = "/tmp/tmpnhz70o63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"zlibversion(): Error\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"zlibVersion: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testzlibVersion() #0 {
%1 = alloca ptr, align 8
store ptr null, ptr %1, align 8
%2 = call ptr (...) @zlibVersion()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %5, %0
%8 = load ptr, ptr %1, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
ret void
}
declare ptr @zlibVersion(...) #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/tmpnhz70o63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"zlibversion(): Error\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"zlibVersion: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testzlibVersion() #0 {
%1 = alloca ptr, align 8
store ptr null, ptr %1, align 8
%2 = call ptr (...) @zlibVersion()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %5, %0
%8 = load ptr, ptr %1, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %8)
ret void
}
declare ptr @zlibVersion(...) #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/tmpwj136fe8.c'
source_filename = "/tmp/tmpwj136fe8.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 }
%struct.timeval = type { i64, i32 }
@.str = private unnamed_addr constant [59 x i8] c"Invalid number input, number of connections resets to 100\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"ERROR on setsockopt\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"ERROR on connect\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"ERROR on send\00", align 1
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"ERROR on recv\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Result:\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c" The total number of loops : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c" The min time of latency : %lld us\0A\00", align 1
@.str.9 = private unnamed_addr constant [47 x i8] c" The max time of latency : %lld us\0A\00", align 1
@.str.10 = private unnamed_addr constant [46 x i8] c" The average time of latency : %Lf us\0A\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c" Number of Packets Dropped : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @client_count_tcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.addrinfo, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca %struct.timeval, align 8
%17 = alloca %struct.timeval, align 8
%18 = alloca %struct.timeval, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca x86_fp80, align 16
%23 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i64 -1, ptr %20, align 8
store i64 -1, ptr %21, align 8
store x86_fp80 0xK00000000000000000000, ptr %22, align 16
%24 = load ptr, ptr %6, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %30
28: ; preds = %3
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 100, ptr %11, align 4
br label %30
30: ; preds = %28, %3
%31 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 20)
%32 = load i32, ptr @AF_INET, align 4
%33 = getelementptr inbounds %struct.addrinfo, ptr %9, i32 0, i32 4
store i32 %32, ptr %33, align 4
%34 = load i32, ptr @SOCK_STREAM, align 4
%35 = getelementptr inbounds %struct.addrinfo, ptr %9, i32 0, i32 3
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %5, align 8
%38 = call i32 @getaddrinfo(ptr noundef %36, ptr noundef %37, ptr noundef %9, ptr noundef %10)
store i32 %38, ptr %8, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %30
%41 = load i32, ptr %8, align 4
%42 = call ptr @gai_strerror(i32 noundef %41)
%43 = call i32 @perror(ptr noundef %42)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %30
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 4
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 3
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 2
%54 = load i32, ptr %53, align 4
%55 = call i32 @socket(i32 noundef %48, i32 noundef %51, i32 noundef %54)
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %45
%59 = call i32 @perror(ptr noundef @.str.1)
%60 = call i32 @exit(i32 noundef -1) #3
unreachable
61: ; preds = %45
%62 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 0
store i64 0, ptr %62, align 8
%63 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 1
store i32 500000, ptr %63, align 8
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr @SOL_SOCKET, align 4
%66 = load i32, ptr @SO_RCVTIMEO, align 4
%67 = call i64 @setsockopt(i32 noundef %64, i32 noundef %65, i32 noundef %66, ptr noundef %18, i32 noundef 16)
%68 = icmp slt i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = call i32 @perror(ptr noundef @.str.2)
%71 = call i32 @exit(i32 noundef -1) #3
unreachable
72: ; preds = %61
%73 = load i32, ptr %7, align 4
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds %struct.addrinfo, ptr %74, i32 0, i32 1
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds %struct.addrinfo, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = call i32 @connect(i32 noundef %73, i32 noundef %76, i32 noundef %79)
store i32 %80, ptr %8, align 4
%81 = load i32, ptr %8, align 4
%82 = icmp eq i32 %81, -1
br i1 %82, label %83, label %88
83: ; preds = %72
%84 = call i32 @perror(ptr noundef @.str.3)
%85 = load i32, ptr %7, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 @exit(i32 noundef -1) #3
unreachable
88: ; preds = %72
br label %89
89: ; preds = %171, %133, %88
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %11, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %186
93: ; preds = %89
store i32 0, ptr %23, align 4
%94 = call i32 @gettimeofday(ptr noundef %16, ptr noundef null)
%95 = load i32, ptr %7, align 4
%96 = call i32 @send(i32 noundef %95, ptr noundef %12, i32 noundef 4, i32 noundef 0)
store i32 %96, ptr %8, align 4
%97 = load i32, ptr %8, align 4
%98 = icmp slt i32 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %93
%100 = call i32 @perror(ptr noundef @.str.4)
%101 = call i32 @exit(i32 noundef -1) #3
unreachable
102: ; preds = %93
%103 = load i32, ptr %12, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %12, align 4
br label %105
105: ; preds = %128, %102
%106 = load i32, ptr %7, align 4
%107 = call i32 @recv(i32 noundef %106, ptr noundef %13, i32 noundef 4, i32 noundef 0)
store i32 %107, ptr %8, align 4
%108 = load i32, ptr %8, align 4
%109 = icmp slt i32 %108, 0
br i1 %109, label %110, label %119
110: ; preds = %105
%111 = load i64, ptr @errno, align 8
%112 = load i64, ptr @EAGAIN, align 8
%113 = icmp eq i64 %111, %112
br i1 %113, label %114, label %115
114: ; preds = %110
store i32 -1, ptr %23, align 4
br label %118
115: ; preds = %110
%116 = call i32 @perror(ptr noundef @.str.5)
%117 = call i32 @exit(i32 noundef -1) #3
unreachable
118: ; preds = %114
br label %119
119: ; preds = %118, %105
br label %120
120: ; preds = %119
%121 = load i32, ptr %13, align 4
%122 = load i32, ptr %12, align 4
%123 = sub nsw i32 %122, 1
%124 = icmp ne i32 %121, %123
br i1 %124, label %128, label %125
125: ; preds = %120
%126 = load i32, ptr %23, align 4
%127 = icmp ne i32 %126, 0
br label %128
128: ; preds = %125, %120
%129 = phi i1 [ true, %120 ], [ %127, %125 ]
br i1 %129, label %105, label %130, !llvm.loop !6
130: ; preds = %128
%131 = load i32, ptr %23, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %136
133: ; preds = %130
%134 = load i32, ptr %14, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %14, align 4
br label %89, !llvm.loop !8
136: ; preds = %130
%137 = load i32, ptr %15, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %15, align 4
%139 = call i32 @gettimeofday(ptr noundef %17, ptr noundef null)
%140 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0
%141 = load i64, ptr %140, align 8
%142 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%143 = load i64, ptr %142, align 8
%144 = sub nsw i64 %141, %143
%145 = mul nsw i64 %144, 1000000
%146 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%147 = load i32, ptr %146, align 8
%148 = sext i32 %147 to i64
%149 = add nsw i64 %145, %148
%150 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1
%151 = load i32, ptr %150, align 8
%152 = sext i32 %151 to i64
%153 = sub nsw i64 %149, %152
store i64 %153, ptr %19, align 8
%154 = load i64, ptr %20, align 8
%155 = icmp eq i64 %154, -1
br i1 %155, label %160, label %156
156: ; preds = %136
%157 = load i64, ptr %19, align 8
%158 = load i64, ptr %20, align 8
%159 = icmp slt i64 %157, %158
br i1 %159, label %160, label %162
160: ; preds = %156, %136
%161 = load i64, ptr %19, align 8
store i64 %161, ptr %20, align 8
br label %162
162: ; preds = %160, %156
%163 = load i64, ptr %21, align 8
%164 = icmp eq i64 %163, -1
br i1 %164, label %169, label %165
165: ; preds = %162
%166 = load i64, ptr %19, align 8
%167 = load i64, ptr %21, align 8
%168 = icmp sgt i64 %166, %167
br i1 %168, label %169, label %171
169: ; preds = %165, %162
%170 = load i64, ptr %19, align 8
store i64 %170, ptr %21, align 8
br label %171
171: ; preds = %169, %165
%172 = load x86_fp80, ptr %22, align 16
%173 = load i32, ptr %15, align 4
%174 = sub nsw i32 %173, 1
%175 = sitofp i32 %174 to x86_fp80
%176 = fmul x86_fp80 %172, %175
%177 = load i32, ptr %15, align 4
%178 = sitofp i32 %177 to x86_fp80
%179 = fdiv x86_fp80 %176, %178
%180 = load i64, ptr %19, align 8
%181 = sitofp i64 %180 to x86_fp80
%182 = load i32, ptr %15, align 4
%183 = sitofp i32 %182 to x86_fp80
%184 = fdiv x86_fp80 %181, %183
%185 = fadd x86_fp80 %179, %184
store x86_fp80 %185, ptr %22, align 16
br label %89, !llvm.loop !8
186: ; preds = %89
%187 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%188 = load i32, ptr %11, align 4
%189 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %188)
%190 = load i64, ptr %20, align 8
%191 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %190)
%192 = load i64, ptr %21, align 8
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %192)
%194 = load x86_fp80, ptr %22, align 16
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, x86_fp80 noundef %194)
%196 = load i32, ptr %14, align 4
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %196)
%198 = load ptr, ptr %10, align 8
%199 = call i32 @freeaddrinfo(ptr noundef %198)
%200 = load i32, ptr %7, align 4
%201 = call i32 @close(i32 noundef %200)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpwj136fe8.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 }
%struct.timeval = type { i64, i32 }
@.str = private unnamed_addr constant [59 x i8] c"Invalid number input, number of connections resets to 100\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"ERROR on setsockopt\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"ERROR on connect\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"ERROR on send\00", align 1
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"ERROR on recv\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Result:\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c" The total number of loops : %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c" The min time of latency : %lld us\0A\00", align 1
@.str.9 = private unnamed_addr constant [47 x i8] c" The max time of latency : %lld us\0A\00", align 1
@.str.10 = private unnamed_addr constant [46 x i8] c" The average time of latency : %Lf us\0A\00", align 1
@.str.11 = private unnamed_addr constant [42 x i8] c" Number of Packets Dropped : %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @client_count_tcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.addrinfo, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca %struct.timeval, align 8
%17 = alloca %struct.timeval, align 8
%18 = alloca %struct.timeval, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca x86_fp80, align 16
%23 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i64 -1, ptr %20, align 8
store i64 -1, ptr %21, align 8
store x86_fp80 0xK00000000000000000000, ptr %22, align 16
%24 = load ptr, ptr %6, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 1
br i1 %27, label %28, label %30
28: ; preds = %3
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 100, ptr %11, align 4
br label %30
30: ; preds = %28, %3
%31 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 20)
%32 = load i32, ptr @AF_INET, align 4
%33 = getelementptr inbounds %struct.addrinfo, ptr %9, i32 0, i32 4
store i32 %32, ptr %33, align 4
%34 = load i32, ptr @SOCK_STREAM, align 4
%35 = getelementptr inbounds %struct.addrinfo, ptr %9, i32 0, i32 3
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %5, align 8
%38 = call i32 @getaddrinfo(ptr noundef %36, ptr noundef %37, ptr noundef %9, ptr noundef %10)
store i32 %38, ptr %8, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %45
40: ; preds = %30
%41 = load i32, ptr %8, align 4
%42 = call ptr @gai_strerror(i32 noundef %41)
%43 = call i32 @perror(ptr noundef %42)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %30
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 4
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 3
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 2
%54 = load i32, ptr %53, align 4
%55 = call i32 @socket(i32 noundef %48, i32 noundef %51, i32 noundef %54)
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %61
58: ; preds = %45
%59 = call i32 @perror(ptr noundef @.str.1)
%60 = call i32 @exit(i32 noundef -1) #3
unreachable
61: ; preds = %45
%62 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 0
store i64 0, ptr %62, align 8
%63 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 1
store i32 500000, ptr %63, align 8
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr @SOL_SOCKET, align 4
%66 = load i32, ptr @SO_RCVTIMEO, align 4
%67 = call i64 @setsockopt(i32 noundef %64, i32 noundef %65, i32 noundef %66, ptr noundef %18, i32 noundef 16)
%68 = icmp slt i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = call i32 @perror(ptr noundef @.str.2)
%71 = call i32 @exit(i32 noundef -1) #3
unreachable
72: ; preds = %61
%73 = load i32, ptr %7, align 4
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds %struct.addrinfo, ptr %74, i32 0, i32 1
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds %struct.addrinfo, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = call i32 @connect(i32 noundef %73, i32 noundef %76, i32 noundef %79)
store i32 %80, ptr %8, align 4
%81 = load i32, ptr %8, align 4
%82 = icmp eq i32 %81, -1
br i1 %82, label %83, label %88
83: ; preds = %72
%84 = call i32 @perror(ptr noundef @.str.3)
%85 = load i32, ptr %7, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 @exit(i32 noundef -1) #3
unreachable
88: ; preds = %72
%89 = load i32, ptr %12, align 4
%90 = load i32, ptr %11, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph, label %188
.lr.ph: ; preds = %88
br label %92
92: ; preds = %.lr.ph, %.backedge
store i32 0, ptr %23, align 4
%93 = call i32 @gettimeofday(ptr noundef %16, ptr noundef null)
%94 = load i32, ptr %7, align 4
%95 = call i32 @send(i32 noundef %94, ptr noundef %12, i32 noundef 4, i32 noundef 0)
store i32 %95, ptr %8, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %92
%99 = call i32 @perror(ptr noundef @.str.4)
%100 = call i32 @exit(i32 noundef -1) #3
unreachable
101: ; preds = %92
%102 = load i32, ptr %12, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %12, align 4
br label %104
104: ; preds = %127, %101
%105 = load i32, ptr %7, align 4
%106 = call i32 @recv(i32 noundef %105, ptr noundef %13, i32 noundef 4, i32 noundef 0)
store i32 %106, ptr %8, align 4
%107 = load i32, ptr %8, align 4
%108 = icmp slt i32 %107, 0
br i1 %108, label %109, label %118
109: ; preds = %104
%110 = load i64, ptr @errno, align 8
%111 = load i64, ptr @EAGAIN, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %114
113: ; preds = %109
store i32 -1, ptr %23, align 4
br label %117
114: ; preds = %109
%115 = call i32 @perror(ptr noundef @.str.5)
%116 = call i32 @exit(i32 noundef -1) #3
unreachable
117: ; preds = %113
br label %118
118: ; preds = %117, %104
br label %119
119: ; preds = %118
%120 = load i32, ptr %13, align 4
%121 = load i32, ptr %12, align 4
%122 = sub nsw i32 %121, 1
%123 = icmp ne i32 %120, %122
br i1 %123, label %127, label %124
124: ; preds = %119
%125 = load i32, ptr %23, align 4
%126 = icmp ne i32 %125, 0
br label %127
127: ; preds = %124, %119
%128 = phi i1 [ true, %119 ], [ %126, %124 ]
br i1 %128, label %104, label %129, !llvm.loop !6
129: ; preds = %127
%130 = load i32, ptr %23, align 4
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %138
132: ; preds = %129
%133 = load i32, ptr %14, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %14, align 4
br label %.backedge
.backedge: ; preds = %132, %173
%135 = load i32, ptr %12, align 4
%136 = load i32, ptr %11, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %92, label %._crit_edge, !llvm.loop !8
138: ; preds = %129
%139 = load i32, ptr %15, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %15, align 4
%141 = call i32 @gettimeofday(ptr noundef %17, ptr noundef null)
%142 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 0
%143 = load i64, ptr %142, align 8
%144 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 0
%145 = load i64, ptr %144, align 8
%146 = sub nsw i64 %143, %145
%147 = mul nsw i64 %146, 1000000
%148 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%149 = load i32, ptr %148, align 8
%150 = sext i32 %149 to i64
%151 = add nsw i64 %147, %150
%152 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1
%153 = load i32, ptr %152, align 8
%154 = sext i32 %153 to i64
%155 = sub nsw i64 %151, %154
store i64 %155, ptr %19, align 8
%156 = load i64, ptr %20, align 8
%157 = icmp eq i64 %156, -1
br i1 %157, label %162, label %158
158: ; preds = %138
%159 = load i64, ptr %19, align 8
%160 = load i64, ptr %20, align 8
%161 = icmp slt i64 %159, %160
br i1 %161, label %162, label %164
162: ; preds = %158, %138
%163 = load i64, ptr %19, align 8
store i64 %163, ptr %20, align 8
br label %164
164: ; preds = %162, %158
%165 = load i64, ptr %21, align 8
%166 = icmp eq i64 %165, -1
br i1 %166, label %171, label %167
167: ; preds = %164
%168 = load i64, ptr %19, align 8
%169 = load i64, ptr %21, align 8
%170 = icmp sgt i64 %168, %169
br i1 %170, label %171, label %173
171: ; preds = %167, %164
%172 = load i64, ptr %19, align 8
store i64 %172, ptr %21, align 8
br label %173
173: ; preds = %171, %167
%174 = load x86_fp80, ptr %22, align 16
%175 = load i32, ptr %15, align 4
%176 = sub nsw i32 %175, 1
%177 = sitofp i32 %176 to x86_fp80
%178 = fmul x86_fp80 %174, %177
%179 = load i32, ptr %15, align 4
%180 = sitofp i32 %179 to x86_fp80
%181 = fdiv x86_fp80 %178, %180
%182 = load i64, ptr %19, align 8
%183 = sitofp i64 %182 to x86_fp80
%184 = load i32, ptr %15, align 4
%185 = sitofp i32 %184 to x86_fp80
%186 = fdiv x86_fp80 %183, %185
%187 = fadd x86_fp80 %181, %186
store x86_fp80 %187, ptr %22, align 16
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %188
188: ; preds = %._crit_edge, %88
%189 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%190 = load i32, ptr %11, align 4
%191 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %190)
%192 = load i64, ptr %20, align 8
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %192)
%194 = load i64, ptr %21, align 8
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %194)
%196 = load x86_fp80, ptr %22, align 16
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, x86_fp80 noundef %196)
%198 = load i32, ptr %14, align 4
%199 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %198)
%200 = load ptr, ptr %10, align 8
%201 = call i32 @freeaddrinfo(ptr noundef %200)
%202 = load i32, ptr %7, align 4
%203 = call i32 @close(i32 noundef %202)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpb7qr34d0.c'
source_filename = "/tmp/tmpb7qr34d0.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Usage %s <checkpoint-file> <unit>\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Checkpoint unit should be > 0 and < 100\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Checkpoint file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Checkpoint unit: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"Error setting the checkpoint filename from within the process\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"Make sure you are running this program via mosrun\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"Unit %d done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = 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 0, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @strdup(ptr noundef %23)
store ptr %24, ptr %9, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %29, 1
br i1 %30, label %34, label %31
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = icmp sgt i32 %32, 100
br i1 %33, label %34, label %38
34: ; preds = %31, %20
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.1)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %31
%39 = load ptr, ptr %9, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %39)
%41 = load i32, ptr %10, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = call i32 @setCheckpointFile(ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %51, label %46
46: ; preds = %38
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.4)
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %83
51: ; preds = %38
store i32 0, ptr %7, align 4
br label %52
52: ; preds = %79, %51
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %53, 100
br i1 %54, label %55, label %82
55: ; preds = %52
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %56
56: ; preds = %64, %55
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %57, 500000000
br i1 %58, label %59, label %67
59: ; preds = %56
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %7, align 4
%62 = mul nsw i32 %61, 2
%63 = add nsw i32 %60, %62
store i32 %63, ptr %8, align 4
br label %64
64: ; preds = %59
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
br label %56, !llvm.loop !6
67: ; preds = %56
%68 = load i32, ptr %7, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68)
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %78
73: ; preds = %67
%74 = call i32 (...) @triggerCheckpoint()
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %73
store i32 0, ptr %3, align 4
br label %83
77: ; preds = %73
br label %78
78: ; preds = %77, %67
br label %79
79: ; preds = %78
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
br label %52, !llvm.loop !8
82: ; preds = %52
store i32 1, ptr %3, align 4
br label %83
83: ; preds = %82, %76, %46
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strdup(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setCheckpointFile(ptr noundef) #1
declare i32 @triggerCheckpoint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpb7qr34d0.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Usage %s <checkpoint-file> <unit>\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Checkpoint unit should be > 0 and < 100\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Checkpoint file: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Checkpoint unit: %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"Error setting the checkpoint filename from within the process\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"Make sure you are running this program via mosrun\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"Unit %d done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = 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 0, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @strdup(ptr noundef %23)
store ptr %24, ptr %9, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp slt i32 %29, 1
br i1 %30, label %34, label %31
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = icmp sgt i32 %32, 100
br i1 %33, label %34, label %38
34: ; preds = %31, %20
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.1)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %31
%39 = load ptr, ptr %9, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %39)
%41 = load i32, ptr %10, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = call i32 @setCheckpointFile(ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %51, label %46
46: ; preds = %38
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.4)
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %85
51: ; preds = %38
store i32 0, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 100
br i1 %53, label %.lr.ph2, label %84
.lr.ph2: ; preds = %51
br label %54
54: ; preds = %.lr.ph2, %79
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = icmp slt i32 %55, 500000000
br i1 %56, label %.lr.ph, label %67
.lr.ph: ; preds = %54
br label %57
57: ; preds = %.lr.ph, %62
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = mul nsw i32 %59, 2
%61 = add nsw i32 %58, %60
store i32 %61, ptr %8, align 4
br label %62
62: ; preds = %57
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = icmp slt i32 %65, 500000000
br i1 %66, label %57, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %54
%68 = load i32, ptr %7, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %68)
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %78
73: ; preds = %67
%74 = call i32 (...) @triggerCheckpoint()
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %73
store i32 0, ptr %3, align 4
br label %85
77: ; preds = %73
br label %78
78: ; preds = %77, %67
br label %79
79: ; preds = %78
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp slt i32 %82, 100
br i1 %83, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %84
84: ; preds = %._crit_edge3, %51
store i32 1, ptr %3, align 4
br label %85
85: ; preds = %84, %76, %46
%86 = load i32, ptr %3, align 4
ret i32 %86
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strdup(ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setCheckpointFile(ptr noundef) #1
declare i32 @triggerCheckpoint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpppi4du1z.c'
source_filename = "/tmp/tmpppi4du1z.c"
target datalayout = "e-m:e-p270: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/tmpppi4du1z.c"
target datalayout = "e-m:e-p270: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/tmp7q1f5v8p.c'
source_filename = "/tmp/tmp7q1f5v8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"tutorialspoint\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 5)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strlen(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strlen(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @printf(ptr noundef @.str.2, ptr noundef %12)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7q1f5v8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"tutorialspoint\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @malloc(i32 noundef 5)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strlen(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = call ptr @strlen(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @printf(ptr noundef @.str.2, ptr noundef %12)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1oqji0e5.c'
source_filename = "/tmp/tmp1oqji0e5.c"
target datalayout = "e-m:e-p270: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/tmp1oqji0e5.c"
target datalayout = "e-m:e-p270: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/tmpwfetng7t.c'
source_filename = "/tmp/tmpwfetng7t.c"
target datalayout = "e-m:e-p270: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/tmpwfetng7t.c"
target datalayout = "e-m:e-p270: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/tmppngbk8gm.c'
source_filename = "/tmp/tmppngbk8gm.c"
target datalayout = "e-m:e-p270: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/tmppngbk8gm.c"
target datalayout = "e-m:e-p270: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/tmpzdnvza7p.c'
source_filename = "/tmp/tmpzdnvza7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for ^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x5e() #0 {
%1 = call i64 @isbdigit(i32 noundef 94)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 475, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpzdnvza7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for ^\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x5e() #0 {
%1 = call i64 @isbdigit(i32 noundef 94)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 475, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpsf9ev416.c'
source_filename = "/tmp/tmpsf9ev416.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %0, %33
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %6
br label %36
10: ; preds = %6
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
br label %12
12: ; preds = %32, %10
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %12
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %32
24: ; preds = %16
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %4, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
br label %31
29: ; preds = %24
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %31
31: ; preds = %29, %28
br label %32
32: ; preds = %31, %21
br label %12, !llvm.loop !6
33: ; preds = %12
%34 = load i32, ptr %3, align 4
%35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34)
br label %6
36: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsf9ev416.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %.lr.ph2
.lr.ph2: ; preds = %0
br label %9
._crit_edge3: ; preds = %34
br label %8
8: ; preds = %._crit_edge3, %0
br label %39
9: ; preds = %.lr.ph2, %34
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 1, ptr %4, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %34
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %30
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %30
22: ; preds = %14
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %4, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
br label %29
27: ; preds = %22
%28 = load i32, ptr %5, align 4
store i32 %28, ptr %3, align 4
store i32 1, ptr %4, align 4
br label %29
29: ; preds = %27, %26
br label %30
30: ; preds = %29, %19
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %2, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %34
34: ; preds = %._crit_edge, %9
%35 = load i32, ptr %3, align 4
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%38 = icmp ne i32 %37, 1
br i1 %38, label %._crit_edge3, label %9
39: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdlcctzt2.c'
source_filename = "/tmp/tmpdlcctzt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trivial_hash_func(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 %4, align 8
%6 = call i32 @siphash24_compress(ptr noundef %3, i32 noundef 8, ptr noundef %5)
ret void
}
declare i32 @siphash24_compress(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdlcctzt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trivial_hash_func(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 %4, align 8
%6 = call i32 @siphash24_compress(ptr noundef %3, i32 noundef 8, ptr noundef %5)
ret void
}
declare i32 @siphash24_compress(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptxawfjfk.c'
source_filename = "/tmp/tmptxawfjfk.c"
target datalayout = "e-m:e-p270: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/tmptxawfjfk.c"
target datalayout = "e-m:e-p270: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/tmpbu8k6_8z.c'
source_filename = "/tmp/tmpbu8k6_8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E() #0 {
%1 = call i32 (...) @T()
%2 = call i32 (...) @R()
ret void
}
declare i32 @T(...) #1
declare i32 @R(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu8k6_8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E() #0 {
%1 = call i32 (...) @T()
%2 = call i32 (...) @R()
ret void
}
declare i32 @T(...) #1
declare i32 @R(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxp9r55se.c'
source_filename = "/tmp/tmpxp9r55se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open(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 = ptrtoint ptr %5 to i64
%7 = load i32, ptr %4, align 4
%8 = call i32 @syscall_2(i32 noundef 4, i64 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @syscall_2(i32 noundef, i64 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/tmpxp9r55se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open(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 = ptrtoint ptr %5 to i64
%7 = load i32, ptr %4, align 4
%8 = call i32 @syscall_2(i32 noundef 4, i64 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @syscall_2(i32 noundef, i64 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.