llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmppib1piyl.c'
source_filename = "/tmp/tmppib1piyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@make_texture.texture = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @make_texture(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 %7, %8
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr @make_texture.texture, align 8
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %44, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %47
19: ; preds = %15
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %40, %19
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %43
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = ashr i32 %25, 4
%27 = and i32 %26, 1
%28 = load i32, ptr %6, align 4
%29 = ashr i32 %28, 4
%30 = and i32 %29, 1
%31 = xor i32 %27, %30
%32 = load ptr, ptr @make_texture.texture, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 %34, %35
%37 = add nsw i32 %33, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %32, i64 %38
store i32 %31, ptr %39, align 4
br label %40
40: ; preds = %24
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %20, !llvm.loop !6
43: ; preds = %20
br label %44
44: ; preds = %43
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %15, !llvm.loop !8
47: ; preds = %15
%48 = load ptr, ptr @make_texture.texture, align 8
ret ptr %48
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppib1piyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@make_texture.texture = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @make_texture(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 %7, %8
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr @make_texture.texture, align 8
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %51
.lr.ph2: ; preds = %2
br label %18
18: ; preds = %.lr.ph2, %45
store i32 0, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %44
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %38
%23 = load i32, ptr %5, align 4
%24 = ashr i32 %23, 4
%25 = and i32 %24, 1
%26 = load i32, ptr %6, align 4
%27 = ashr i32 %26, 4
%28 = and i32 %27, 1
%29 = xor i32 %25, %28
%30 = load ptr, ptr @make_texture.texture, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %32, %33
%35 = add nsw i32 %31, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %30, i64 %36
store i32 %29, ptr %37, align 4
br label %38
38: ; preds = %22
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %18
br label %45
45: ; preds = %44
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %2
%52 = load ptr, ptr @make_texture.texture, align 8
ret ptr %52
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa4kr8ogp.c'
source_filename = "/tmp/tmpa4kr8ogp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntGauss1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x3FA988368101AE67, ptr %3, align 8
store double 0x3F95A5FCE7375559, ptr %4, align 8
store double 0x3F6AD9AE388B577A, ptr %5, align 8
store double 3.800360e-05, ptr %6, align 8
store double 4.889060e-05, ptr %7, align 8
store double 0x3ED693F3C5E88AA1, ptr %8, align 8
%11 = load double, ptr %2, align 8
%12 = call double @llvm.fabs.f64(double %11)
store double %12, ptr %9, align 8
%13 = load double, ptr %9, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %4, align 8
%17 = load double, ptr %9, align 8
%18 = load double, ptr %5, align 8
%19 = load double, ptr %9, align 8
%20 = load double, ptr %6, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %9, align 8
%24 = load double, ptr %8, align 8
%25 = call double @llvm.fmuladd.f64(double %23, double %24, double %22)
%26 = call double @llvm.fmuladd.f64(double %21, double %25, double %20)
%27 = call double @llvm.fmuladd.f64(double %19, double %26, double %18)
%28 = call double @llvm.fmuladd.f64(double %17, double %27, double %16)
%29 = call double @llvm.fmuladd.f64(double %15, double %28, double %14)
%30 = call double @llvm.fmuladd.f64(double %13, double %29, double 1.000000e+00)
store double %30, ptr %10, align 8
%31 = load double, ptr %10, align 8
%32 = load double, ptr %10, align 8
%33 = fmul double %32, %31
store double %33, ptr %10, align 8
%34 = load double, ptr %10, align 8
%35 = load double, ptr %10, align 8
%36 = fmul double %35, %34
store double %36, ptr %10, align 8
%37 = load double, ptr %10, align 8
%38 = load double, ptr %10, align 8
%39 = fmul double %38, %37
store double %39, ptr %10, align 8
%40 = load double, ptr %10, align 8
%41 = load double, ptr %10, align 8
%42 = fmul double %41, %40
store double %42, ptr %10, align 8
%43 = load double, ptr %10, align 8
%44 = load double, ptr %10, align 8
%45 = fadd double %43, %44
%46 = fdiv double 1.000000e+00, %45
store double %46, ptr %10, align 8
%47 = load double, ptr %2, align 8
%48 = fcmp oge double %47, 0.000000e+00
br i1 %48, label %49, label %52
49: ; preds = %1
%50 = load double, ptr %10, align 8
%51 = fsub double 1.000000e+00, %50
store double %51, ptr %10, align 8
br label %52
52: ; preds = %49, %1
%53 = load double, ptr %10, align 8
ret double %53
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4kr8ogp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntGauss1(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %2, align 8
store double 0x3FA988368101AE67, ptr %3, align 8
store double 0x3F95A5FCE7375559, ptr %4, align 8
store double 0x3F6AD9AE388B577A, ptr %5, align 8
store double 3.800360e-05, ptr %6, align 8
store double 4.889060e-05, ptr %7, align 8
store double 0x3ED693F3C5E88AA1, ptr %8, align 8
%11 = load double, ptr %2, align 8
%12 = call double @llvm.fabs.f64(double %11)
store double %12, ptr %9, align 8
%13 = load double, ptr %9, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %4, align 8
%17 = load double, ptr %9, align 8
%18 = load double, ptr %5, align 8
%19 = load double, ptr %9, align 8
%20 = load double, ptr %6, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %7, align 8
%23 = load double, ptr %9, align 8
%24 = load double, ptr %8, align 8
%25 = call double @llvm.fmuladd.f64(double %23, double %24, double %22)
%26 = call double @llvm.fmuladd.f64(double %21, double %25, double %20)
%27 = call double @llvm.fmuladd.f64(double %19, double %26, double %18)
%28 = call double @llvm.fmuladd.f64(double %17, double %27, double %16)
%29 = call double @llvm.fmuladd.f64(double %15, double %28, double %14)
%30 = call double @llvm.fmuladd.f64(double %13, double %29, double 1.000000e+00)
store double %30, ptr %10, align 8
%31 = load double, ptr %10, align 8
%32 = load double, ptr %10, align 8
%33 = fmul double %32, %31
store double %33, ptr %10, align 8
%34 = load double, ptr %10, align 8
%35 = load double, ptr %10, align 8
%36 = fmul double %35, %34
store double %36, ptr %10, align 8
%37 = load double, ptr %10, align 8
%38 = load double, ptr %10, align 8
%39 = fmul double %38, %37
store double %39, ptr %10, align 8
%40 = load double, ptr %10, align 8
%41 = load double, ptr %10, align 8
%42 = fmul double %41, %40
store double %42, ptr %10, align 8
%43 = load double, ptr %10, align 8
%44 = load double, ptr %10, align 8
%45 = fadd double %43, %44
%46 = fdiv double 1.000000e+00, %45
store double %46, ptr %10, align 8
%47 = load double, ptr %2, align 8
%48 = fcmp oge double %47, 0.000000e+00
br i1 %48, label %49, label %52
49: ; preds = %1
%50 = load double, ptr %10, align 8
%51 = fsub double 1.000000e+00, %50
store double %51, ptr %10, align 8
br label %52
52: ; preds = %49, %1
%53 = load double, ptr %10, align 8
ret double %53
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3xjja7k.c'
source_filename = "/tmp/tmpg3xjja7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstuse() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg3xjja7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstuse() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @foo()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxinplyls.c'
source_filename = "/tmp/tmpxinplyls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_amount_of_rows(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxinplyls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_amount_of_rows(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdtr3gowm.c'
source_filename = "/tmp/tmpdtr3gowm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize_grid(i32 noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store double %3, ptr %8, align 8
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 100
%13 = call i32 @random_initByTime(i32 noundef %12)
store i32 1, ptr %9, align 4
br label %14
14: ; preds = %41, %4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %44
18: ; preds = %14
store i32 1, ptr %10, align 4
br label %19
19: ; preds = %37, %18
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %40
23: ; preds = %19
%24 = call double (...) @rand_double()
%25 = load double, ptr %8, align 8
%26 = fcmp olt double %24, %25
br i1 %26, label %27, label %36
27: ; preds = %23
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i16, ptr %32, i64 %34
store i16 1, ptr %35, align 2
br label %36
36: ; preds = %27, %23
br label %37
37: ; preds = %36
%38 = load i32, ptr %10, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %10, align 4
br label %19, !llvm.loop !6
40: ; preds = %19
br label %41
41: ; preds = %40
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
br label %14, !llvm.loop !8
44: ; preds = %14
ret void
}
declare i32 @random_initByTime(i32 noundef) #1
declare i32 @rand(...) #1
declare double @rand_double(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdtr3gowm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize_grid(i32 noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store double %3, ptr %8, align 8
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 100
%13 = call i32 @random_initByTime(i32 noundef %12)
store i32 1, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph2, label %48
.lr.ph2: ; preds = %4
br label %17
17: ; preds = %.lr.ph2, %42
store i32 1, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %.lr.ph, label %41
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %35
%22 = call double (...) @rand_double()
%23 = load double, ptr %8, align 8
%24 = fcmp olt double %22, %23
br i1 %24, label %25, label %34
25: ; preds = %21
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i16, ptr %30, i64 %32
store i16 1, ptr %33, align 2
br label %34
34: ; preds = %25, %21
br label %35
35: ; preds = %34
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %17
br label %42
42: ; preds = %41
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %4
ret void
}
declare i32 @random_initByTime(i32 noundef) #1
declare i32 @rand(...) #1
declare double @rand_double(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7zpw1np4.c'
source_filename = "/tmp/tmp7zpw1np4.c"
target datalayout = "e-m:e-p270: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/tmp7zpw1np4.c"
target datalayout = "e-m:e-p270: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/tmpezqg315q.c'
source_filename = "/tmp/tmpezqg315q.c"
target datalayout = "e-m:e-p270: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/tmpezqg315q.c"
target datalayout = "e-m:e-p270: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/tmpcaj0ha7w.c'
source_filename = "/tmp/tmpcaj0ha7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FROM_BE64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr %2, ptr %3, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %20, %1
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 4
br i1 %9, label %10, label %23
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = shl i32 %11, 8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = add nsw i32 %12, %18
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = load i32, ptr %4, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcaj0ha7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FROM_BE64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr %2, ptr %3, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %5, align 4
%7 = sext i32 %6 to i64
%8 = icmp ult i64 %7, 4
br i1 %8, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %19
%10 = load i32, ptr %4, align 4
%11 = shl i32 %10, 8
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = add nsw i32 %11, %17
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %9
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = icmp ult i64 %23, 4
br i1 %24, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %1
%26 = load i32, ptr %4, align 4
ret i32 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpex9c9zql.c'
source_filename = "/tmp/tmpex9c9zql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phiinv(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store double %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double -1.000000e+00)
store double %7, ptr %4, align 8
%8 = call double @sqrt(double noundef 2.000000e+00) #4
%9 = load double, ptr %4, align 8
%10 = call double @erfinv(double noundef %9)
%11 = fmul double %8, %10
store double %11, ptr %3, align 8
%12 = load double, ptr %3, align 8
ret double %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare double @erfinv(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmpex9c9zql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phiinv(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
store double %0, ptr %2, align 8
store i32 1, ptr %5, align 4
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double -1.000000e+00)
store double %7, ptr %4, align 8
%8 = call double @sqrt(double noundef 2.000000e+00) #4
%9 = load double, ptr %4, align 8
%10 = call double @erfinv(double noundef %9)
%11 = fmul double %8, %10
store double %11, ptr %3, align 8
%12 = load double, ptr %3, align 8
ret double %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare double @erfinv(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmpue82x8wu.c'
source_filename = "/tmp/tmpue82x8wu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbg_cpu1_read_ctrl(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpue82x8wu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbg_cpu1_read_ctrl(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgfutglkx.c'
source_filename = "/tmp/tmpgfutglkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @f(i32 noundef -255)
ret i32 0
}
declare i32 @f(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/tmpgfutglkx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @f(i32 noundef -255)
ret i32 0
}
declare i32 @f(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/tmpxbr094x2.c'
source_filename = "/tmp/tmpxbr094x2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_delete(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @getTam_lista(ptr noundef %9)
store i32 %10, ptr %8, align 4
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %26, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %15
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %25
25: ; preds = %23, %15
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %11, !llvm.loop !6
29: ; preds = %11
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29
br label %60
33: ; preds = %29
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %6, align 4
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %52, %33
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %55
41: ; preds = %37
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %42, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
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
br label %37, !llvm.loop !8
55: ; preds = %37
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store i32 0, ptr %59, align 4
br label %60
60: ; preds = %55, %32
ret void
}
declare i32 @getTam_lista(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxbr094x2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_delete(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @getTam_lista(ptr noundef %9)
store i32 %10, ptr %8, align 4
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %25
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %14
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %24
24: ; preds = %22, %14
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
%32 = load i32, ptr %7, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %31
br label %64
35: ; preds = %31
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %6, align 4
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph2, label %59
.lr.ph2: ; preds = %35
br label %42
42: ; preds = %.lr.ph2, %53
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %43, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 %48, ptr %52, align 4
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
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %35
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 0, ptr %63, align 4
br label %64
64: ; preds = %59, %34
ret void
}
declare i32 @getTam_lista(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbbivxe2m.c'
source_filename = "/tmp/tmpbbivxe2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"UCP commands:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"?|help\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"exit|quit\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"dir|ls [path]\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"cd path\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"mkdir dirname\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"mknod name mode dev#\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"chmod mode path\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"[b]get cpmfile\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"[b]put uzifile\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"type|cat filename\0A\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"dump filename\0A\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"rm path\0A\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"rmdir dirname\0A\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"df\0A\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"mount dev# path\0A\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"umount path\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
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/tmpbbivxe2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"UCP commands:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"?|help\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"exit|quit\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"dir|ls [path]\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"cd path\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"mkdir dirname\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"mknod name mode dev#\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"chmod mode path\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"[b]get cpmfile\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"[b]put uzifile\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"type|cat filename\0A\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"dump filename\0A\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"rm path\0A\00", align 1
@.str.13 = private unnamed_addr constant [15 x i8] c"rmdir dirname\0A\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"df\0A\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"mount dev# path\0A\00", align 1
@.str.16 = private unnamed_addr constant [13 x i8] c"umount path\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
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/tmpi7rnllrw.c'
source_filename = "/tmp/tmpi7rnllrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shutdownHaskellAndExit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @__coverity_panic__()
ret void
}
declare i32 @__coverity_panic__(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi7rnllrw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shutdownHaskellAndExit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 (...) @__coverity_panic__()
ret void
}
declare i32 @__coverity_panic__(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb5t4i86m.c'
source_filename = "/tmp/tmpb5t4i86m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dmul_rd(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dmul_rd(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dmul_rd(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb5t4i86m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dmul_rd(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dmul_rd(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dmul_rd(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyxchjofd.c'
source_filename = "/tmp/tmpyxchjofd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @CountBitsInInt() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i64 0, ptr %1, align 8
store i32 -1, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp ugt i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = lshr i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = load i64, ptr %1, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %1, align 8
br label %3, !llvm.loop !6
11: ; preds = %3
%12 = load i64, ptr %1, align 8
ret i64 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyxchjofd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @CountBitsInInt() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i64 0, ptr %1, align 8
store i32 -1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ugt i32 %3, 0
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = lshr i32 %6, 1
store i32 %7, ptr %2, align 4
%8 = load i64, ptr %1, align 8
%9 = add i64 %8, 1
store i64 %9, ptr %1, align 8
%10 = load i32, ptr %2, align 4
%11 = icmp ugt i32 %10, 0
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %12
12: ; preds = %._crit_edge, %0
%13 = load i64, ptr %1, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx5fvpddo.c'
source_filename = "/tmp/tmpx5fvpddo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uC0nS3cur17y\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0A +-+ Bang ! +-+ \0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\0A Shut your fucking face, uncle fucka! \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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @__print_sw_title(ptr noundef %11)
store i32 -1, ptr %3, align 4
br label %29
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strlen(ptr noundef @.str)
%18 = call i32 @strncmp(ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @__create_tag(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
br label %28
26: ; preds = %13
%27 = call i32 @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %20
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %8
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @__print_sw_title(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @__create_tag(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx5fvpddo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uC0nS3cur17y\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0A +-+ Bang ! +-+ \0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\0A Shut your fucking face, uncle fucka! \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 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @__print_sw_title(ptr noundef %11)
store i32 -1, ptr %3, align 4
br label %29
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strlen(ptr noundef @.str)
%18 = call i32 @strncmp(ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 @__create_tag(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
br label %28
26: ; preds = %13
%27 = call i32 @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %20
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %8
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @__print_sw_title(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @__create_tag(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdxxtximw.c'
source_filename = "/tmp/tmpdxxtximw.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"Error line %u\0A\00", align 1
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @slavethread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i64 @sigfillset(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, i32 noundef 16)
%9 = call i32 @_exit(i32 noundef 255) #3
unreachable
10: ; preds = %1
%11 = load i32, ptr @SIG_UNBLOCK, align 4
%12 = call i64 @pthread_sigmask(i32 noundef %11, ptr noundef %3, i32 noundef 0)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef 22)
%17 = call i32 @_exit(i32 noundef 255) #3
unreachable
18: ; preds = %10
br label %19
19: ; preds = %18, %19
%20 = call i32 @sleep(i32 noundef 1)
br label %19
}
declare i64 @sigfillset(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i64 @pthread_sigmask(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpdxxtximw.c"
target datalayout = "e-m:e-p270: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 [15 x i8] c"Error line %u\0A\00", align 1
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @slavethread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i64 @sigfillset(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, i32 noundef 16)
%9 = call i32 @_exit(i32 noundef 255) #3
unreachable
10: ; preds = %1
%11 = load i32, ptr @SIG_UNBLOCK, align 4
%12 = call i64 @pthread_sigmask(i32 noundef %11, ptr noundef %3, i32 noundef 0)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef 22)
%17 = call i32 @_exit(i32 noundef 255) #3
unreachable
18: ; preds = %10
br label %19
19: ; preds = %19, %18
%20 = call i32 @sleep(i32 noundef 1)
br label %19
}
declare i64 @sigfillset(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i64 @pthread_sigmask(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpygzkhwr7.c'
source_filename = "/tmp/tmpygzkhwr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpygzkhwr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprub0nrcg.c'
source_filename = "/tmp/tmprub0nrcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
%6 = call i32 @usleep(i32 noundef %5)
ret void
}
declare i32 @usleep(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprub0nrcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @rand()
%4 = load i32, ptr %2, align 4
%5 = srem i32 %3, %4
%6 = call i32 @usleep(i32 noundef %5)
ret void
}
declare i32 @usleep(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpilyh22by.c'
source_filename = "/tmp/tmpilyh22by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reclaim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
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/tmpilyh22by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reclaim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
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/tmpsxvbdg8h.c'
source_filename = "/tmp/tmpsxvbdg8h.c"
target datalayout = "e-m:e-p270: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/tmpsxvbdg8h.c"
target datalayout = "e-m:e-p270: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/tmp05l1joiw.c'
source_filename = "/tmp/tmp05l1joiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"usage: %s [-p socket]\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 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr 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/tmp05l1joiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"usage: %s [-p socket]\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 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr 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/tmpjlkbp_q0.c'
source_filename = "/tmp/tmpjlkbp_q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_waitforkey() #0 {
%1 = call i32 (...) @hugo_getkey()
ret i32 %1
}
declare i32 @hugo_getkey(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjlkbp_q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hugo_waitforkey() #0 {
%1 = call i32 (...) @hugo_getkey()
ret i32 %1
}
declare i32 @hugo_getkey(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsct0z8hr.c'
source_filename = "/tmp/tmpsct0z8hr.c"
target datalayout = "e-m:e-p270: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 { i32, i64 }
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"output range %ld -- %ld \0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"GET %s HTTP/1.1%s\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Host: %s%s\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Range: bytes=%ld-%ld%s\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Connection: close%s\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [16 x i8] c"write: %d : %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"\0Adownloading\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"poll errorrom socket \0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"tiemout rom socket \0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getResource(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [8192 x i8], align 16
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i64, align 8
%25 = alloca i64, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i64, align 8
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca %struct.timeval, align 8
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca [4096 x i8], align 16
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i32 0, ptr %15, align 4
store ptr @.str, ptr %16, align 8
store ptr @.str.1, ptr %17, align 8
%41 = load i32, ptr %14, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %7
%44 = load ptr, ptr %16, align 8
br label %47
45: ; preds = %7
%46 = load ptr, ptr %17, align 8
br label %47
47: ; preds = %45, %43
%48 = phi ptr [ %44, %43 ], [ %46, %45 ]
store ptr %48, ptr %18, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %282
51: ; preds = %47
%52 = load ptr, ptr %12, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %282
54: ; preds = %51
%55 = load ptr, ptr %8, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %282
57: ; preds = %54
%58 = load ptr, ptr %9, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %282
60: ; preds = %57
store i32 8192, ptr %20, align 4
store i32 0, ptr %21, align 4
br label %61
61: ; preds = %161, %60
%62 = load i32, ptr %21, align 4
%63 = load i32, ptr %10, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %164
65: ; preds = %61
%66 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
store ptr %66, ptr %22, align 8
store i32 0, ptr %23, align 4
%67 = load i64, ptr %13, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = sdiv i64 %67, %69
%71 = load i32, ptr %21, align 4
%72 = sext i32 %71 to i64
%73 = mul nsw i64 %70, %72
store i64 %73, ptr %24, align 8
%74 = load i64, ptr %13, align 8
%75 = load i32, ptr %10, align 4
%76 = sext i32 %75 to i64
%77 = sdiv i64 %74, %76
%78 = load i32, ptr %21, align 4
%79 = add nsw i32 %78, 1
%80 = sext i32 %79 to i64
%81 = mul nsw i64 %77, %80
%82 = sub nsw i64 %81, 1
store i64 %82, ptr %25, align 8
%83 = load i32, ptr %21, align 4
%84 = load i32, ptr %10, align 4
%85 = sub nsw i32 %84, 1
%86 = icmp eq i32 %83, %85
br i1 %86, label %87, label %90
87: ; preds = %65
%88 = load i64, ptr %13, align 8
%89 = sub nsw i64 %88, 1
store i64 %89, ptr %25, align 8
br label %90
90: ; preds = %87, %65
%91 = load i64, ptr %24, align 8
%92 = load i64, ptr %25, align 8
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %91, i64 noundef %92)
%94 = load ptr, ptr %22, align 8
%95 = load ptr, ptr %11, align 8
%96 = load ptr, ptr %18, align 8
%97 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.3, ptr noundef %95, ptr noundef %96)
store i32 %97, ptr %23, align 4
%98 = load i32, ptr %23, align 4
%99 = load ptr, ptr %22, align 8
%100 = sext i32 %98 to i64
%101 = getelementptr inbounds i8, ptr %99, i64 %100
store ptr %101, ptr %22, align 8
%102 = load ptr, ptr %22, align 8
%103 = load ptr, ptr %12, align 8
%104 = load ptr, ptr %18, align 8
%105 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %102, ptr noundef @.str.4, ptr noundef %103, ptr noundef %104)
store i32 %105, ptr %23, align 4
%106 = load i32, ptr %23, align 4
%107 = load ptr, ptr %22, align 8
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store ptr %109, ptr %22, align 8
%110 = load ptr, ptr %22, align 8
%111 = load i64, ptr %24, align 8
%112 = load i64, ptr %25, align 8
%113 = load ptr, ptr %18, align 8
%114 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %110, ptr noundef @.str.5, i64 noundef %111, i64 noundef %112, ptr noundef %113)
store i32 %114, ptr %23, align 4
%115 = load i32, ptr %23, align 4
%116 = load ptr, ptr %22, align 8
%117 = sext i32 %115 to i64
%118 = getelementptr inbounds i8, ptr %116, i64 %117
store ptr %118, ptr %22, align 8
%119 = load ptr, ptr %22, align 8
%120 = load ptr, ptr %18, align 8
%121 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %119, ptr noundef @.str.6, ptr noundef %120)
store i32 %121, ptr %23, align 4
%122 = load i32, ptr %23, align 4
%123 = load ptr, ptr %22, align 8
%124 = sext i32 %122 to i64
%125 = getelementptr inbounds i8, ptr %123, i64 %124
store ptr %125, ptr %22, align 8
%126 = load ptr, ptr %22, align 8
%127 = load ptr, ptr %18, align 8
%128 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %126, ptr noundef @.str.7, ptr noundef %127)
store i32 %128, ptr %23, align 4
%129 = load i32, ptr %23, align 4
%130 = load ptr, ptr %22, align 8
%131 = sext i32 %129 to i64
%132 = getelementptr inbounds i8, ptr %130, i64 %131
store ptr %132, ptr %22, align 8
%133 = load ptr, ptr %22, align 8
store i8 0, ptr %133, align 1
%134 = load ptr, ptr %8, align 8
%135 = load i32, ptr %21, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
store i32 %138, ptr %26, align 4
%139 = load i32, ptr %26, align 4
%140 = icmp sge i32 %139, 0
br i1 %140, label %141, label %160
141: ; preds = %90
%142 = load i32, ptr %26, align 4
%143 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
%144 = load ptr, ptr %22, align 8
%145 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
%146 = ptrtoint ptr %144 to i64
%147 = ptrtoint ptr %145 to i64
%148 = sub i64 %146, %147
%149 = trunc i64 %148 to i32
%150 = call i32 @write(i32 noundef %142, ptr noundef %143, i32 noundef %149)
store i32 %150, ptr %27, align 4
%151 = load i32, ptr %27, align 4
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %159
153: ; preds = %141
%154 = load i32, ptr @stderr, align 4
%155 = load i32, ptr %27, align 4
%156 = load i32, ptr %27, align 4
%157 = call ptr @gai_strerror(i32 noundef %156)
%158 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.8, i32 noundef %155, ptr noundef %157)
br label %159
159: ; preds = %153, %141
br label %160
160: ; preds = %159, %90
br label %161
161: ; preds = %160
%162 = load i32, ptr %21, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %21, align 4
br label %61, !llvm.loop !6
164: ; preds = %61
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i64 0, ptr %28, align 8
store i32 0, ptr %29, align 4
br label %166
166: ; preds = %176, %164
%167 = load i32, ptr %29, align 4
%168 = load i32, ptr %10, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %179
170: ; preds = %166
%171 = load i32, ptr %29, align 4
%172 = shl i32 1, %171
%173 = sext i32 %172 to i64
%174 = load i64, ptr %28, align 8
%175 = or i64 %174, %173
store i64 %175, ptr %28, align 8
br label %176
176: ; preds = %170
%177 = load i32, ptr %29, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %29, align 4
br label %166, !llvm.loop !8
179: ; preds = %166
br label %180
180: ; preds = %278, %179
%181 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 0
store i32 10, ptr %181, align 8
%182 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 1
store i64 0, ptr %182, align 8
%183 = call i32 @FD_ZERO(ptr noundef %30)
store i32 -1, ptr %32, align 4
store i32 0, ptr %33, align 4
br label %184
184: ; preds = %209, %180
%185 = load i32, ptr %33, align 4
%186 = load i32, ptr %10, align 4
%187 = icmp slt i32 %185, %186
br i1 %187, label %188, label %212
188: ; preds = %184
%189 = load ptr, ptr %8, align 8
%190 = load i32, ptr %33, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i32, ptr %189, i64 %191
%193 = load i32, ptr %192, align 4
%194 = call i32 @FD_SET(i32 noundef %193, ptr noundef %30)
%195 = load ptr, ptr %8, align 8
%196 = load i32, ptr %33, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i32, ptr %195, i64 %197
%199 = load i32, ptr %198, align 4
%200 = load i32, ptr %32, align 4
%201 = icmp sgt i32 %199, %200
br i1 %201, label %202, label %208
202: ; preds = %188
%203 = load ptr, ptr %8, align 8
%204 = load i32, ptr %33, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i32, ptr %203, i64 %205
%207 = load i32, ptr %206, align 4
store i32 %207, ptr %32, align 4
br label %208
208: ; preds = %202, %188
br label %209
209: ; preds = %208
%210 = load i32, ptr %33, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %33, align 4
br label %184, !llvm.loop !9
212: ; preds = %184
%213 = load i32, ptr %32, align 4
%214 = add nsw i32 %213, 1
%215 = call i32 @select(i32 noundef %214, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef %31)
store i32 %215, ptr %34, align 4
%216 = load i32, ptr %34, align 4
%217 = icmp slt i32 %216, 0
br i1 %217, label %218, label %221
218: ; preds = %212
%219 = load i32, ptr @stderr, align 4
%220 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %219, ptr noundef @.str.10)
br label %221
221: ; preds = %218, %212
%222 = load i32, ptr %34, align 4
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %227
224: ; preds = %221
%225 = load i32, ptr @stderr, align 4
%226 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %225, ptr noundef @.str.11)
br label %227
227: ; preds = %224, %221
%228 = load i32, ptr %34, align 4
%229 = icmp sgt i32 %228, 0
br i1 %229, label %230, label %277
230: ; preds = %227
store i32 0, ptr %35, align 4
br label %231
231: ; preds = %273, %230
%232 = load i32, ptr %35, align 4
%233 = load i32, ptr %10, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %235, label %276
235: ; preds = %231
%236 = load ptr, ptr %8, align 8
%237 = load i32, ptr %35, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i32, ptr %236, i64 %238
%240 = load i32, ptr %239, align 4
store i32 %240, ptr %36, align 4
%241 = load ptr, ptr %9, align 8
%242 = load i32, ptr %35, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds i32, ptr %241, i64 %243
%245 = load i32, ptr %244, align 4
store i32 %245, ptr %37, align 4
%246 = load i32, ptr %36, align 4
%247 = call i64 @FD_ISSET(i32 noundef %246, ptr noundef %30)
%248 = icmp ne i64 %247, 0
br i1 %248, label %249, label %272
249: ; preds = %235
%250 = load i32, ptr %36, align 4
%251 = getelementptr inbounds [4096 x i8], ptr %38, i64 0, i64 0
%252 = call i32 @read(i32 noundef %250, ptr noundef %251, i32 noundef 4096)
store i32 %252, ptr %39, align 4
%253 = load i32, ptr %39, align 4
%254 = icmp sgt i32 %253, 0
br i1 %254, label %255, label %261
255: ; preds = %249
%256 = load i32, ptr %37, align 4
%257 = getelementptr inbounds [4096 x i8], ptr %38, i64 0, i64 0
%258 = load i32, ptr %39, align 4
%259 = call i32 @write(i32 noundef %256, ptr noundef %257, i32 noundef %258)
store i32 %259, ptr %40, align 4
%260 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %261
261: ; preds = %255, %249
%262 = load i32, ptr %39, align 4
%263 = icmp eq i32 %262, 0
br i1 %263, label %264, label %271
264: ; preds = %261
%265 = load i32, ptr %35, align 4
%266 = shl i32 1, %265
%267 = xor i32 %266, -1
%268 = sext i32 %267 to i64
%269 = load i64, ptr %28, align 8
%270 = and i64 %269, %268
store i64 %270, ptr %28, align 8
br label %271
271: ; preds = %264, %261
br label %272
272: ; preds = %271, %235
br label %273
273: ; preds = %272
%274 = load i32, ptr %35, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %35, align 4
br label %231, !llvm.loop !10
276: ; preds = %231
br label %277
277: ; preds = %276, %227
br label %278
278: ; preds = %277
%279 = load i64, ptr %28, align 8
%280 = icmp ne i64 %279, 0
br i1 %280, label %180, label %281, !llvm.loop !11
281: ; preds = %278
br label %282
282: ; preds = %281, %57, %54, %51, %47
%283 = load i32, ptr %15, align 4
ret i32 %283
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
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 i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsct0z8hr.c"
target datalayout = "e-m:e-p270: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 { i32, i64 }
@.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"output range %ld -- %ld \0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"GET %s HTTP/1.1%s\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"Host: %s%s\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Range: bytes=%ld-%ld%s\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Connection: close%s\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [16 x i8] c"write: %d : %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"\0Adownloading\00", align 1
@.str.10 = private unnamed_addr constant [23 x i8] c"poll errorrom socket \0A\00", align 1
@.str.11 = private unnamed_addr constant [21 x i8] c"tiemout rom socket \0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getResource(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [8192 x i8], align 16
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca i64, align 8
%25 = alloca i64, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i64, align 8
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca %struct.timeval, align 8
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca [4096 x i8], align 16
%39 = alloca i32, align 4
%40 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i32 0, ptr %15, align 4
store ptr @.str, ptr %16, align 8
store ptr @.str.1, ptr %17, align 8
%41 = load i32, ptr %14, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %7
%44 = load ptr, ptr %16, align 8
br label %47
45: ; preds = %7
%46 = load ptr, ptr %17, align 8
br label %47
47: ; preds = %45, %43
%48 = phi ptr [ %44, %43 ], [ %46, %45 ]
store ptr %48, ptr %18, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %290
51: ; preds = %47
%52 = load ptr, ptr %12, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %290
54: ; preds = %51
%55 = load ptr, ptr %8, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %290
57: ; preds = %54
%58 = load ptr, ptr %9, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %290
60: ; preds = %57
store i32 8192, ptr %20, align 4
store i32 0, ptr %21, align 4
%61 = load i32, ptr %21, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph, label %166
.lr.ph: ; preds = %60
br label %64
64: ; preds = %.lr.ph, %160
%65 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
store ptr %65, ptr %22, align 8
store i32 0, ptr %23, align 4
%66 = load i64, ptr %13, align 8
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = sdiv i64 %66, %68
%70 = load i32, ptr %21, align 4
%71 = sext i32 %70 to i64
%72 = mul nsw i64 %69, %71
store i64 %72, ptr %24, align 8
%73 = load i64, ptr %13, align 8
%74 = load i32, ptr %10, align 4
%75 = sext i32 %74 to i64
%76 = sdiv i64 %73, %75
%77 = load i32, ptr %21, align 4
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = mul nsw i64 %76, %79
%81 = sub nsw i64 %80, 1
store i64 %81, ptr %25, align 8
%82 = load i32, ptr %21, align 4
%83 = load i32, ptr %10, align 4
%84 = sub nsw i32 %83, 1
%85 = icmp eq i32 %82, %84
br i1 %85, label %86, label %89
86: ; preds = %64
%87 = load i64, ptr %13, align 8
%88 = sub nsw i64 %87, 1
store i64 %88, ptr %25, align 8
br label %89
89: ; preds = %86, %64
%90 = load i64, ptr %24, align 8
%91 = load i64, ptr %25, align 8
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %90, i64 noundef %91)
%93 = load ptr, ptr %22, align 8
%94 = load ptr, ptr %11, align 8
%95 = load ptr, ptr %18, align 8
%96 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %93, ptr noundef @.str.3, ptr noundef %94, ptr noundef %95)
store i32 %96, ptr %23, align 4
%97 = load i32, ptr %23, align 4
%98 = load ptr, ptr %22, align 8
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i8, ptr %98, i64 %99
store ptr %100, ptr %22, align 8
%101 = load ptr, ptr %22, align 8
%102 = load ptr, ptr %12, align 8
%103 = load ptr, ptr %18, align 8
%104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %101, ptr noundef @.str.4, ptr noundef %102, ptr noundef %103)
store i32 %104, ptr %23, align 4
%105 = load i32, ptr %23, align 4
%106 = load ptr, ptr %22, align 8
%107 = sext i32 %105 to i64
%108 = getelementptr inbounds i8, ptr %106, i64 %107
store ptr %108, ptr %22, align 8
%109 = load ptr, ptr %22, align 8
%110 = load i64, ptr %24, align 8
%111 = load i64, ptr %25, align 8
%112 = load ptr, ptr %18, align 8
%113 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.5, i64 noundef %110, i64 noundef %111, ptr noundef %112)
store i32 %113, ptr %23, align 4
%114 = load i32, ptr %23, align 4
%115 = load ptr, ptr %22, align 8
%116 = sext i32 %114 to i64
%117 = getelementptr inbounds i8, ptr %115, i64 %116
store ptr %117, ptr %22, align 8
%118 = load ptr, ptr %22, align 8
%119 = load ptr, ptr %18, align 8
%120 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %118, ptr noundef @.str.6, ptr noundef %119)
store i32 %120, ptr %23, align 4
%121 = load i32, ptr %23, align 4
%122 = load ptr, ptr %22, align 8
%123 = sext i32 %121 to i64
%124 = getelementptr inbounds i8, ptr %122, i64 %123
store ptr %124, ptr %22, align 8
%125 = load ptr, ptr %22, align 8
%126 = load ptr, ptr %18, align 8
%127 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %125, ptr noundef @.str.7, ptr noundef %126)
store i32 %127, ptr %23, align 4
%128 = load i32, ptr %23, align 4
%129 = load ptr, ptr %22, align 8
%130 = sext i32 %128 to i64
%131 = getelementptr inbounds i8, ptr %129, i64 %130
store ptr %131, ptr %22, align 8
%132 = load ptr, ptr %22, align 8
store i8 0, ptr %132, align 1
%133 = load ptr, ptr %8, align 8
%134 = load i32, ptr %21, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %133, i64 %135
%137 = load i32, ptr %136, align 4
store i32 %137, ptr %26, align 4
%138 = load i32, ptr %26, align 4
%139 = icmp sge i32 %138, 0
br i1 %139, label %140, label %159
140: ; preds = %89
%141 = load i32, ptr %26, align 4
%142 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
%143 = load ptr, ptr %22, align 8
%144 = getelementptr inbounds [8192 x i8], ptr %19, i64 0, i64 0
%145 = ptrtoint ptr %143 to i64
%146 = ptrtoint ptr %144 to i64
%147 = sub i64 %145, %146
%148 = trunc i64 %147 to i32
%149 = call i32 @write(i32 noundef %141, ptr noundef %142, i32 noundef %148)
store i32 %149, ptr %27, align 4
%150 = load i32, ptr %27, align 4
%151 = icmp slt i32 %150, 0
br i1 %151, label %152, label %158
152: ; preds = %140
%153 = load i32, ptr @stderr, align 4
%154 = load i32, ptr %27, align 4
%155 = load i32, ptr %27, align 4
%156 = call ptr @gai_strerror(i32 noundef %155)
%157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %153, ptr noundef @.str.8, i32 noundef %154, ptr noundef %156)
br label %158
158: ; preds = %152, %140
br label %159
159: ; preds = %158, %89
br label %160
160: ; preds = %159
%161 = load i32, ptr %21, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %21, align 4
%163 = load i32, ptr %21, align 4
%164 = load i32, ptr %10, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %64, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %160
br label %166
166: ; preds = %._crit_edge, %60
%167 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i64 0, ptr %28, align 8
store i32 0, ptr %29, align 4
%168 = load i32, ptr %29, align 4
%169 = load i32, ptr %10, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %.lr.ph2, label %183
.lr.ph2: ; preds = %166
br label %171
171: ; preds = %.lr.ph2, %177
%172 = load i32, ptr %29, align 4
%173 = shl i32 1, %172
%174 = sext i32 %173 to i64
%175 = load i64, ptr %28, align 8
%176 = or i64 %175, %174
store i64 %176, ptr %28, align 8
br label %177
177: ; preds = %171
%178 = load i32, ptr %29, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %29, align 4
%180 = load i32, ptr %29, align 4
%181 = load i32, ptr %10, align 4
%182 = icmp slt i32 %180, %181
br i1 %182, label %171, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %177
br label %183
183: ; preds = %._crit_edge3, %166
br label %184
184: ; preds = %286, %183
%185 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 0
store i32 10, ptr %185, align 8
%186 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 1
store i64 0, ptr %186, align 8
%187 = call i32 @FD_ZERO(ptr noundef %30)
store i32 -1, ptr %32, align 4
store i32 0, ptr %33, align 4
%188 = load i32, ptr %33, align 4
%189 = load i32, ptr %10, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %.lr.ph5, label %218
.lr.ph5: ; preds = %184
br label %191
191: ; preds = %.lr.ph5, %212
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %33, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i32, ptr %192, i64 %194
%196 = load i32, ptr %195, align 4
%197 = call i32 @FD_SET(i32 noundef %196, ptr noundef %30)
%198 = load ptr, ptr %8, align 8
%199 = load i32, ptr %33, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds i32, ptr %198, i64 %200
%202 = load i32, ptr %201, align 4
%203 = load i32, ptr %32, align 4
%204 = icmp sgt i32 %202, %203
br i1 %204, label %205, label %211
205: ; preds = %191
%206 = load ptr, ptr %8, align 8
%207 = load i32, ptr %33, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds i32, ptr %206, i64 %208
%210 = load i32, ptr %209, align 4
store i32 %210, ptr %32, align 4
br label %211
211: ; preds = %205, %191
br label %212
212: ; preds = %211
%213 = load i32, ptr %33, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %33, align 4
%215 = load i32, ptr %33, align 4
%216 = load i32, ptr %10, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %191, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %212
br label %218
218: ; preds = %._crit_edge6, %184
%219 = load i32, ptr %32, align 4
%220 = add nsw i32 %219, 1
%221 = call i32 @select(i32 noundef %220, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef %31)
store i32 %221, ptr %34, align 4
%222 = load i32, ptr %34, align 4
%223 = icmp slt i32 %222, 0
br i1 %223, label %224, label %227
224: ; preds = %218
%225 = load i32, ptr @stderr, align 4
%226 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %225, ptr noundef @.str.10)
br label %227
227: ; preds = %224, %218
%228 = load i32, ptr %34, align 4
%229 = icmp eq i32 %228, 0
br i1 %229, label %230, label %233
230: ; preds = %227
%231 = load i32, ptr @stderr, align 4
%232 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %231, ptr noundef @.str.11)
br label %233
233: ; preds = %230, %227
%234 = load i32, ptr %34, align 4
%235 = icmp sgt i32 %234, 0
br i1 %235, label %236, label %285
236: ; preds = %233
store i32 0, ptr %35, align 4
%237 = load i32, ptr %35, align 4
%238 = load i32, ptr %10, align 4
%239 = icmp slt i32 %237, %238
br i1 %239, label %.lr.ph8, label %284
.lr.ph8: ; preds = %236
br label %240
240: ; preds = %.lr.ph8, %278
%241 = load ptr, ptr %8, align 8
%242 = load i32, ptr %35, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds i32, ptr %241, i64 %243
%245 = load i32, ptr %244, align 4
store i32 %245, ptr %36, align 4
%246 = load ptr, ptr %9, align 8
%247 = load i32, ptr %35, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds i32, ptr %246, i64 %248
%250 = load i32, ptr %249, align 4
store i32 %250, ptr %37, align 4
%251 = load i32, ptr %36, align 4
%252 = call i64 @FD_ISSET(i32 noundef %251, ptr noundef %30)
%253 = icmp ne i64 %252, 0
br i1 %253, label %254, label %277
254: ; preds = %240
%255 = load i32, ptr %36, align 4
%256 = getelementptr inbounds [4096 x i8], ptr %38, i64 0, i64 0
%257 = call i32 @read(i32 noundef %255, ptr noundef %256, i32 noundef 4096)
store i32 %257, ptr %39, align 4
%258 = load i32, ptr %39, align 4
%259 = icmp sgt i32 %258, 0
br i1 %259, label %260, label %266
260: ; preds = %254
%261 = load i32, ptr %37, align 4
%262 = getelementptr inbounds [4096 x i8], ptr %38, i64 0, i64 0
%263 = load i32, ptr %39, align 4
%264 = call i32 @write(i32 noundef %261, ptr noundef %262, i32 noundef %263)
store i32 %264, ptr %40, align 4
%265 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %266
266: ; preds = %260, %254
%267 = load i32, ptr %39, align 4
%268 = icmp eq i32 %267, 0
br i1 %268, label %269, label %276
269: ; preds = %266
%270 = load i32, ptr %35, align 4
%271 = shl i32 1, %270
%272 = xor i32 %271, -1
%273 = sext i32 %272 to i64
%274 = load i64, ptr %28, align 8
%275 = and i64 %274, %273
store i64 %275, ptr %28, align 8
br label %276
276: ; preds = %269, %266
br label %277
277: ; preds = %276, %240
br label %278
278: ; preds = %277
%279 = load i32, ptr %35, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %35, align 4
%281 = load i32, ptr %35, align 4
%282 = load i32, ptr %10, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %240, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %278
br label %284
284: ; preds = %._crit_edge9, %236
br label %285
285: ; preds = %284, %233
br label %286
286: ; preds = %285
%287 = load i64, ptr %28, align 8
%288 = icmp ne i64 %287, 0
br i1 %288, label %184, label %289, !llvm.loop !11
289: ; preds = %286
br label %290
290: ; preds = %289, %57, %54, %51, %47
%291 = load i32, ptr %15, align 4
ret i32 %291
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
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 i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpt532jh4b.c'
source_filename = "/tmp/tmpt532jh4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i64 (...) @getpid()
%8 = call i32 @printf(ptr noundef @.str, i64 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %16, %2
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 60
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = call i32 @sleep(i32 noundef 10)
br label %16
16: ; preds = %14
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
br label %11, !llvm.loop !6
19: ; preds = %11
ret i32 0
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @getpid(...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt532jh4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i64 (...) @getpid()
%8 = call i32 @printf(ptr noundef @.str, i64 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 60
br i1 %12, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %15
%14 = call i32 @sleep(i32 noundef 10)
br label %15
15: ; preds = %13
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 60
br i1 %19, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @getpid(...) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpejfbrahi.c'
source_filename = "/tmp/tmpejfbrahi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_458(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @__rsign(float noundef %5, float noundef %6)
ret float %7
}
declare float @__rsign(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpejfbrahi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_458(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @__rsign(float noundef %5, float noundef %6)
ret float %7
}
declare float @__rsign(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi86ty0w5.c'
source_filename = "/tmp/tmpi86ty0w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@C_IN = dso_local global i32 0, align 4
@INT16SZ = dso_local global i32 0, align 4
@T_ANY = dso_local global i32 0, align 4
@T_CNAME = dso_local global i32 0, align 4
@T_TXT = 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/tmpi86ty0w5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@C_IN = dso_local global i32 0, align 4
@INT16SZ = dso_local global i32 0, align 4
@T_ANY = dso_local global i32 0, align 4
@T_CNAME = dso_local global i32 0, align 4
@T_TXT = 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/tmpto2p6a_1.c'
source_filename = "/tmp/tmpto2p6a_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpto2p6a_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyycjr94x.c'
source_filename = "/tmp/tmpyycjr94x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n1(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @m(i64 noundef %3)
ret ptr %4
}
declare ptr @m(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyycjr94x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n1(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @m(i64 noundef %3)
ret ptr %4
}
declare ptr @m(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkif8nkxx.c'
source_filename = "/tmp/tmpkif8nkxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/is_dir.c\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"test_file_is_not_recognized_as_dir\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"test_dir_is_not_recognized_as_dir\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"test_trailing_slash_is_ok\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @is_dir_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_file_is_not_recognized_as_dir()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_dir_is_not_recognized_as_dir()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_trailing_slash_is_ok()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i32 (...) @seatest_test_fixture_end()
br label %42
42: ; preds = %40
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_file_is_not_recognized_as_dir(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_dir_is_not_recognized_as_dir(...) #1
declare i32 @test_trailing_slash_is_ok(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkif8nkxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/is_dir.c\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"test_file_is_not_recognized_as_dir\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"test_dir_is_not_recognized_as_dir\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"test_trailing_slash_is_ok\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @is_dir_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_file_is_not_recognized_as_dir()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_dir_is_not_recognized_as_dir()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_trailing_slash_is_ok()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i32 (...) @seatest_test_fixture_end()
br label %42
42: ; preds = %40
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_file_is_not_recognized_as_dir(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_dir_is_not_recognized_as_dir(...) #1
declare i32 @test_trailing_slash_is_ok(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9zmvibyh.c'
source_filename = "/tmp/tmp9zmvibyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %18, %2
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %4, align 8
%14 = icmp ult i64 %12, %13
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %17, label %23
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %3, align 8
br label %6, !llvm.loop !6
23: ; preds = %15
%24 = load i64, ptr %5, align 8
ret i64 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9zmvibyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strnlen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %18, %2
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %4, align 8
%14 = icmp ult i64 %12, %13
br label %15
15: ; preds = %11, %6
%16 = phi i1 [ false, %6 ], [ %14, %11 ]
br i1 %16, label %17, label %23
17: ; preds = %15
br label %18
18: ; preds = %17
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %5, align 8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %3, align 8
br label %6, !llvm.loop !6
23: ; preds = %15
%24 = load i64, ptr %5, align 8
ret i64 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpepo3ejm5.c'
source_filename = "/tmp/tmpepo3ejm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic32_bulk_erase() #0 {
%1 = call i32 (...) @pic32_program_verify()
%2 = call i32 (...) @pic32_erase_device()
%3 = call i32 (...) @pic32_standby()
ret void
}
declare i32 @pic32_program_verify(...) #1
declare i32 @pic32_erase_device(...) #1
declare i32 @pic32_standby(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpepo3ejm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pic32_bulk_erase() #0 {
%1 = call i32 (...) @pic32_program_verify()
%2 = call i32 (...) @pic32_erase_device()
%3 = call i32 (...) @pic32_standby()
ret void
}
declare i32 @pic32_program_verify(...) #1
declare i32 @pic32_erase_device(...) #1
declare i32 @pic32_standby(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3qgo5jdd.c'
source_filename = "/tmp/tmp3qgo5jdd.c"
target datalayout = "e-m:e-p270: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/tmp3qgo5jdd.c"
target datalayout = "e-m:e-p270: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/tmps17rwarc.c'
source_filename = "/tmp/tmps17rwarc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dev_cleanup() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps17rwarc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dev_cleanup() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdco2tsef.c'
source_filename = "/tmp/tmpdco2tsef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@USHRT_MAX = dso_local global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi1u2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i8 noundef zeroext %5, i16 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i16, align 2
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i8 %5, ptr %17, align 1
store i16 %6, ptr %18, align 2
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %95
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %51
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %51
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %47, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i16
%44 = load ptr, ptr %21, align 8
%45 = load i64, ptr %23, align 8
%46 = getelementptr inbounds i16, ptr %44, i64 %45
store i16 %43, ptr %46, align 2
br label %47
47: ; preds = %38
%48 = load i64, ptr %23, align 8
%49 = add nsw i64 %48, 1
store i64 %49, ptr %23, align 8
br label %34, !llvm.loop !6
50: ; preds = %34
br label %94
51: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %52
52: ; preds = %90, %51
%53 = load i64, ptr %23, align 8
%54 = load i64, ptr %13, align 8
%55 = icmp slt i64 %53, %54
br i1 %55, label %56, label %93
56: ; preds = %52
%57 = load ptr, ptr %12, align 8
%58 = load i64, ptr %23, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = sitofp i32 %61 to double
%63 = load double, ptr %14, align 8
%64 = load double, ptr %15, align 8
%65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64)
store double %65, ptr %24, align 8
%66 = load double, ptr %24, align 8
%67 = fcmp olt double %66, -4.900000e-01
br i1 %67, label %68, label %73
68: ; preds = %56
%69 = load ptr, ptr %22, align 8
store i32 -11, ptr %69, align 4
%70 = load ptr, ptr %21, align 8
%71 = load i64, ptr %23, align 8
%72 = getelementptr inbounds i16, ptr %70, i64 %71
store i16 0, ptr %72, align 2
br label %89
73: ; preds = %56
%74 = load double, ptr %24, align 8
%75 = fcmp ogt double %74, 0x40EFFFEFAE147AE1
br i1 %75, label %76, label %82
76: ; preds = %73
%77 = load ptr, ptr %22, align 8
store i32 -11, ptr %77, align 4
%78 = load i16, ptr @USHRT_MAX, align 2
%79 = load ptr, ptr %21, align 8
%80 = load i64, ptr %23, align 8
%81 = getelementptr inbounds i16, ptr %79, i64 %80
store i16 %78, ptr %81, align 2
br label %88
82: ; preds = %73
%83 = load double, ptr %24, align 8
%84 = fptoui double %83 to i16
%85 = load ptr, ptr %21, align 8
%86 = load i64, ptr %23, align 8
%87 = getelementptr inbounds i16, ptr %85, i64 %86
store i16 %84, ptr %87, align 2
br label %88
88: ; preds = %82, %76
br label %89
89: ; preds = %88, %68
br label %90
90: ; preds = %89
%91 = load i64, ptr %23, align 8
%92 = add nsw i64 %91, 1
store i64 %92, ptr %23, align 8
br label %52, !llvm.loop !8
93: ; preds = %52
br label %94
94: ; preds = %93, %50
br label %211
95: ; preds = %11
%96 = load double, ptr %14, align 8
%97 = fcmp oeq double %96, 1.000000e+00
br i1 %97, label %98, label %143
98: ; preds = %95
%99 = load double, ptr %15, align 8
%100 = fcmp oeq double %99, 0.000000e+00
br i1 %100, label %101, label %143
101: ; preds = %98
store i64 0, ptr %23, align 8
br label %102
102: ; preds = %139, %101
%103 = load i64, ptr %23, align 8
%104 = load i64, ptr %13, align 8
%105 = icmp slt i64 %103, %104
br i1 %105, label %106, label %142
106: ; preds = %102
%107 = load ptr, ptr %12, align 8
%108 = load i64, ptr %23, align 8
%109 = getelementptr inbounds i8, ptr %107, i64 %108
%110 = load i8, ptr %109, align 1
%111 = zext i8 %110 to i32
%112 = load i8, ptr %17, align 1
%113 = zext i8 %112 to i32
%114 = icmp eq i32 %111, %113
br i1 %114, label %115, label %129
115: ; preds = %106
%116 = load ptr, ptr %20, align 8
store i32 1, ptr %116, align 4
%117 = load i32, ptr %16, align 4
%118 = icmp eq i32 %117, 1
br i1 %118, label %119, label %124
119: ; preds = %115
%120 = load i16, ptr %18, align 2
%121 = load ptr, ptr %21, align 8
%122 = load i64, ptr %23, align 8
%123 = getelementptr inbounds i16, ptr %121, i64 %122
store i16 %120, ptr %123, align 2
br label %128
124: ; preds = %115
%125 = load ptr, ptr %19, align 8
%126 = load i64, ptr %23, align 8
%127 = getelementptr inbounds i8, ptr %125, i64 %126
store i8 1, ptr %127, align 1
br label %128
128: ; preds = %124, %119
br label %138
129: ; preds = %106
%130 = load ptr, ptr %12, align 8
%131 = load i64, ptr %23, align 8
%132 = getelementptr inbounds i8, ptr %130, i64 %131
%133 = load i8, ptr %132, align 1
%134 = zext i8 %133 to i16
%135 = load ptr, ptr %21, align 8
%136 = load i64, ptr %23, align 8
%137 = getelementptr inbounds i16, ptr %135, i64 %136
store i16 %134, ptr %137, align 2
br label %138
138: ; preds = %129, %128
br label %139
139: ; preds = %138
%140 = load i64, ptr %23, align 8
%141 = add nsw i64 %140, 1
store i64 %141, ptr %23, align 8
br label %102, !llvm.loop !9
142: ; preds = %102
br label %210
143: ; preds = %98, %95
store i64 0, ptr %23, align 8
br label %144
144: ; preds = %206, %143
%145 = load i64, ptr %23, align 8
%146 = load i64, ptr %13, align 8
%147 = icmp slt i64 %145, %146
br i1 %147, label %148, label %209
148: ; preds = %144
%149 = load ptr, ptr %12, align 8
%150 = load i64, ptr %23, align 8
%151 = getelementptr inbounds i8, ptr %149, i64 %150
%152 = load i8, ptr %151, align 1
%153 = zext i8 %152 to i32
%154 = load i8, ptr %17, align 1
%155 = zext i8 %154 to i32
%156 = icmp eq i32 %153, %155
br i1 %156, label %157, label %171
157: ; preds = %148
%158 = load ptr, ptr %20, align 8
store i32 1, ptr %158, align 4
%159 = load i32, ptr %16, align 4
%160 = icmp eq i32 %159, 1
br i1 %160, label %161, label %166
161: ; preds = %157
%162 = load i16, ptr %18, align 2
%163 = load ptr, ptr %21, align 8
%164 = load i64, ptr %23, align 8
%165 = getelementptr inbounds i16, ptr %163, i64 %164
store i16 %162, ptr %165, align 2
br label %170
166: ; preds = %157
%167 = load ptr, ptr %19, align 8
%168 = load i64, ptr %23, align 8
%169 = getelementptr inbounds i8, ptr %167, i64 %168
store i8 1, ptr %169, align 1
br label %170
170: ; preds = %166, %161
br label %205
171: ; preds = %148
%172 = load ptr, ptr %12, align 8
%173 = load i64, ptr %23, align 8
%174 = getelementptr inbounds i8, ptr %172, i64 %173
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = sitofp i32 %176 to double
%178 = load double, ptr %14, align 8
%179 = load double, ptr %15, align 8
%180 = call double @llvm.fmuladd.f64(double %177, double %178, double %179)
store double %180, ptr %24, align 8
%181 = load double, ptr %24, align 8
%182 = fcmp olt double %181, -4.900000e-01
br i1 %182, label %183, label %188
183: ; preds = %171
%184 = load ptr, ptr %22, align 8
store i32 -11, ptr %184, align 4
%185 = load ptr, ptr %21, align 8
%186 = load i64, ptr %23, align 8
%187 = getelementptr inbounds i16, ptr %185, i64 %186
store i16 0, ptr %187, align 2
br label %204
188: ; preds = %171
%189 = load double, ptr %24, align 8
%190 = fcmp ogt double %189, 0x40EFFFEFAE147AE1
br i1 %190, label %191, label %197
191: ; preds = %188
%192 = load ptr, ptr %22, align 8
store i32 -11, ptr %192, align 4
%193 = load i16, ptr @USHRT_MAX, align 2
%194 = load ptr, ptr %21, align 8
%195 = load i64, ptr %23, align 8
%196 = getelementptr inbounds i16, ptr %194, i64 %195
store i16 %193, ptr %196, align 2
br label %203
197: ; preds = %188
%198 = load double, ptr %24, align 8
%199 = fptoui double %198 to i16
%200 = load ptr, ptr %21, align 8
%201 = load i64, ptr %23, align 8
%202 = getelementptr inbounds i16, ptr %200, i64 %201
store i16 %199, ptr %202, align 2
br label %203
203: ; preds = %197, %191
br label %204
204: ; preds = %203, %183
br label %205
205: ; preds = %204, %170
br label %206
206: ; preds = %205
%207 = load i64, ptr %23, align 8
%208 = add nsw i64 %207, 1
store i64 %208, ptr %23, align 8
br label %144, !llvm.loop !10
209: ; preds = %144
br label %210
210: ; preds = %209, %142
br label %211
211: ; preds = %210, %94
%212 = load ptr, ptr %22, align 8
%213 = load i32, ptr %212, align 4
ret i32 %213
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdco2tsef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@USHRT_MAX = dso_local global i16 0, align 2
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi1u2(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i8 noundef zeroext %5, i16 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i16, align 2
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i8 %5, ptr %17, align 1
store i16 %6, ptr %18, align 2
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %99
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %53
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %53
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %52
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %46
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i16
%43 = load ptr, ptr %21, align 8
%44 = load i64, ptr %23, align 8
%45 = getelementptr inbounds i16, ptr %43, i64 %44
store i16 %42, ptr %45, align 2
br label %46
46: ; preds = %37
%47 = load i64, ptr %23, align 8
%48 = add nsw i64 %47, 1
store i64 %48, ptr %23, align 8
%49 = load i64, ptr %23, align 8
%50 = load i64, ptr %13, align 8
%51 = icmp slt i64 %49, %50
br i1 %51, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %46
br label %52
52: ; preds = %._crit_edge9, %33
br label %98
53: ; preds = %30, %27
store i64 0, ptr %23, align 8
%54 = load i64, ptr %23, align 8
%55 = load i64, ptr %13, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %.lr.ph5, label %97
.lr.ph5: ; preds = %53
br label %57
57: ; preds = %.lr.ph5, %91
%58 = load ptr, ptr %12, align 8
%59 = load i64, ptr %23, align 8
%60 = getelementptr inbounds i8, ptr %58, i64 %59
%61 = load i8, ptr %60, align 1
%62 = zext i8 %61 to i32
%63 = sitofp i32 %62 to double
%64 = load double, ptr %14, align 8
%65 = load double, ptr %15, align 8
%66 = call double @llvm.fmuladd.f64(double %63, double %64, double %65)
store double %66, ptr %24, align 8
%67 = load double, ptr %24, align 8
%68 = fcmp olt double %67, -4.900000e-01
br i1 %68, label %69, label %74
69: ; preds = %57
%70 = load ptr, ptr %22, align 8
store i32 -11, ptr %70, align 4
%71 = load ptr, ptr %21, align 8
%72 = load i64, ptr %23, align 8
%73 = getelementptr inbounds i16, ptr %71, i64 %72
store i16 0, ptr %73, align 2
br label %90
74: ; preds = %57
%75 = load double, ptr %24, align 8
%76 = fcmp ogt double %75, 0x40EFFFEFAE147AE1
br i1 %76, label %77, label %83
77: ; preds = %74
%78 = load ptr, ptr %22, align 8
store i32 -11, ptr %78, align 4
%79 = load i16, ptr @USHRT_MAX, align 2
%80 = load ptr, ptr %21, align 8
%81 = load i64, ptr %23, align 8
%82 = getelementptr inbounds i16, ptr %80, i64 %81
store i16 %79, ptr %82, align 2
br label %89
83: ; preds = %74
%84 = load double, ptr %24, align 8
%85 = fptoui double %84 to i16
%86 = load ptr, ptr %21, align 8
%87 = load i64, ptr %23, align 8
%88 = getelementptr inbounds i16, ptr %86, i64 %87
store i16 %85, ptr %88, align 2
br label %89
89: ; preds = %83, %77
br label %90
90: ; preds = %89, %69
br label %91
91: ; preds = %90
%92 = load i64, ptr %23, align 8
%93 = add nsw i64 %92, 1
store i64 %93, ptr %23, align 8
%94 = load i64, ptr %23, align 8
%95 = load i64, ptr %13, align 8
%96 = icmp slt i64 %94, %95
br i1 %96, label %57, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %91
br label %97
97: ; preds = %._crit_edge6, %53
br label %98
98: ; preds = %97, %52
br label %219
99: ; preds = %11
%100 = load double, ptr %14, align 8
%101 = fcmp oeq double %100, 1.000000e+00
br i1 %101, label %102, label %149
102: ; preds = %99
%103 = load double, ptr %15, align 8
%104 = fcmp oeq double %103, 0.000000e+00
br i1 %104, label %105, label %149
105: ; preds = %102
store i64 0, ptr %23, align 8
%106 = load i64, ptr %23, align 8
%107 = load i64, ptr %13, align 8
%108 = icmp slt i64 %106, %107
br i1 %108, label %.lr.ph2, label %148
.lr.ph2: ; preds = %105
br label %109
109: ; preds = %.lr.ph2, %142
%110 = load ptr, ptr %12, align 8
%111 = load i64, ptr %23, align 8
%112 = getelementptr inbounds i8, ptr %110, i64 %111
%113 = load i8, ptr %112, align 1
%114 = zext i8 %113 to i32
%115 = load i8, ptr %17, align 1
%116 = zext i8 %115 to i32
%117 = icmp eq i32 %114, %116
br i1 %117, label %118, label %132
118: ; preds = %109
%119 = load ptr, ptr %20, align 8
store i32 1, ptr %119, align 4
%120 = load i32, ptr %16, align 4
%121 = icmp eq i32 %120, 1
br i1 %121, label %122, label %127
122: ; preds = %118
%123 = load i16, ptr %18, align 2
%124 = load ptr, ptr %21, align 8
%125 = load i64, ptr %23, align 8
%126 = getelementptr inbounds i16, ptr %124, i64 %125
store i16 %123, ptr %126, align 2
br label %131
127: ; preds = %118
%128 = load ptr, ptr %19, align 8
%129 = load i64, ptr %23, align 8
%130 = getelementptr inbounds i8, ptr %128, i64 %129
store i8 1, ptr %130, align 1
br label %131
131: ; preds = %127, %122
br label %141
132: ; preds = %109
%133 = load ptr, ptr %12, align 8
%134 = load i64, ptr %23, align 8
%135 = getelementptr inbounds i8, ptr %133, i64 %134
%136 = load i8, ptr %135, align 1
%137 = zext i8 %136 to i16
%138 = load ptr, ptr %21, align 8
%139 = load i64, ptr %23, align 8
%140 = getelementptr inbounds i16, ptr %138, i64 %139
store i16 %137, ptr %140, align 2
br label %141
141: ; preds = %132, %131
br label %142
142: ; preds = %141
%143 = load i64, ptr %23, align 8
%144 = add nsw i64 %143, 1
store i64 %144, ptr %23, align 8
%145 = load i64, ptr %23, align 8
%146 = load i64, ptr %13, align 8
%147 = icmp slt i64 %145, %146
br i1 %147, label %109, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %142
br label %148
148: ; preds = %._crit_edge3, %105
br label %218
149: ; preds = %102, %99
store i64 0, ptr %23, align 8
%150 = load i64, ptr %23, align 8
%151 = load i64, ptr %13, align 8
%152 = icmp slt i64 %150, %151
br i1 %152, label %.lr.ph, label %217
.lr.ph: ; preds = %149
br label %153
153: ; preds = %.lr.ph, %211
%154 = load ptr, ptr %12, align 8
%155 = load i64, ptr %23, align 8
%156 = getelementptr inbounds i8, ptr %154, i64 %155
%157 = load i8, ptr %156, align 1
%158 = zext i8 %157 to i32
%159 = load i8, ptr %17, align 1
%160 = zext i8 %159 to i32
%161 = icmp eq i32 %158, %160
br i1 %161, label %162, label %176
162: ; preds = %153
%163 = load ptr, ptr %20, align 8
store i32 1, ptr %163, align 4
%164 = load i32, ptr %16, align 4
%165 = icmp eq i32 %164, 1
br i1 %165, label %166, label %171
166: ; preds = %162
%167 = load i16, ptr %18, align 2
%168 = load ptr, ptr %21, align 8
%169 = load i64, ptr %23, align 8
%170 = getelementptr inbounds i16, ptr %168, i64 %169
store i16 %167, ptr %170, align 2
br label %175
171: ; preds = %162
%172 = load ptr, ptr %19, align 8
%173 = load i64, ptr %23, align 8
%174 = getelementptr inbounds i8, ptr %172, i64 %173
store i8 1, ptr %174, align 1
br label %175
175: ; preds = %171, %166
br label %210
176: ; preds = %153
%177 = load ptr, ptr %12, align 8
%178 = load i64, ptr %23, align 8
%179 = getelementptr inbounds i8, ptr %177, i64 %178
%180 = load i8, ptr %179, align 1
%181 = zext i8 %180 to i32
%182 = sitofp i32 %181 to double
%183 = load double, ptr %14, align 8
%184 = load double, ptr %15, align 8
%185 = call double @llvm.fmuladd.f64(double %182, double %183, double %184)
store double %185, ptr %24, align 8
%186 = load double, ptr %24, align 8
%187 = fcmp olt double %186, -4.900000e-01
br i1 %187, label %188, label %193
188: ; preds = %176
%189 = load ptr, ptr %22, align 8
store i32 -11, ptr %189, align 4
%190 = load ptr, ptr %21, align 8
%191 = load i64, ptr %23, align 8
%192 = getelementptr inbounds i16, ptr %190, i64 %191
store i16 0, ptr %192, align 2
br label %209
193: ; preds = %176
%194 = load double, ptr %24, align 8
%195 = fcmp ogt double %194, 0x40EFFFEFAE147AE1
br i1 %195, label %196, label %202
196: ; preds = %193
%197 = load ptr, ptr %22, align 8
store i32 -11, ptr %197, align 4
%198 = load i16, ptr @USHRT_MAX, align 2
%199 = load ptr, ptr %21, align 8
%200 = load i64, ptr %23, align 8
%201 = getelementptr inbounds i16, ptr %199, i64 %200
store i16 %198, ptr %201, align 2
br label %208
202: ; preds = %193
%203 = load double, ptr %24, align 8
%204 = fptoui double %203 to i16
%205 = load ptr, ptr %21, align 8
%206 = load i64, ptr %23, align 8
%207 = getelementptr inbounds i16, ptr %205, i64 %206
store i16 %204, ptr %207, align 2
br label %208
208: ; preds = %202, %196
br label %209
209: ; preds = %208, %188
br label %210
210: ; preds = %209, %175
br label %211
211: ; preds = %210
%212 = load i64, ptr %23, align 8
%213 = add nsw i64 %212, 1
store i64 %213, ptr %23, align 8
%214 = load i64, ptr %23, align 8
%215 = load i64, ptr %13, align 8
%216 = icmp slt i64 %214, %215
br i1 %216, label %153, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %211
br label %217
217: ; preds = %._crit_edge, %149
br label %218
218: ; preds = %217, %148
br label %219
219: ; preds = %218, %98
%220 = load ptr, ptr %22, align 8
%221 = load i32, ptr %220, align 4
ret i32 %221
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp712pe_tg.c'
source_filename = "/tmp/tmp712pe_tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/roswell/roswell/refs/heads/master/src/util-dir.c\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"path\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_namestring(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
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 47
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %3, align 4
br label %8, !llvm.loop !6
25: ; preds = %19
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %38
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
%37 = call ptr @subseq(ptr noundef %34, i32 noundef %36, i32 noundef 0)
br label %41
38: ; preds = %25
%39 = load ptr, ptr %2, align 8
%40 = call ptr @q_internal(ptr noundef %39, ptr noundef @.str, i32 noundef 104)
br label %41
41: ; preds = %38, %33
%42 = phi ptr [ %37, %33 ], [ %40, %38 ]
store ptr %42, ptr %4, align 8
%43 = load ptr, ptr %2, align 8
%44 = call i32 @s_internal(ptr noundef %43, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 105)
%45 = load ptr, ptr %4, align 8
ret ptr %45
}
declare i32 @strlen(ptr noundef) #1
declare ptr @subseq(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp712pe_tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/roswell/roswell/refs/heads/master/src/util-dir.c\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"path\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_namestring(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
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 47
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %3, align 4
br label %8, !llvm.loop !6
25: ; preds = %19
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %38
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
%37 = call ptr @subseq(ptr noundef %34, i32 noundef %36, i32 noundef 0)
br label %41
38: ; preds = %25
%39 = load ptr, ptr %2, align 8
%40 = call ptr @q_internal(ptr noundef %39, ptr noundef @.str, i32 noundef 104)
br label %41
41: ; preds = %38, %33
%42 = phi ptr [ %37, %33 ], [ %40, %38 ]
store ptr %42, ptr %4, align 8
%43 = load ptr, ptr %2, align 8
%44 = call i32 @s_internal(ptr noundef %43, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 105)
%45 = load ptr, ptr %4, align 8
ret ptr %45
}
declare i32 @strlen(ptr noundef) #1
declare ptr @subseq(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw9znxwfi.c'
source_filename = "/tmp/tmpw9znxwfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ziplistNew() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 17, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call ptr @zmalloc(i32 noundef %3)
store ptr %4, ptr %2, align 8
%5 = load i32, ptr %1, align 4
%6 = load ptr, ptr %2, align 8
store i32 %5, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 4
store i32 16, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 8
store i64 0, ptr %10, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %1, align 4
%13 = sub i32 %12, 1
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
store i8 -1, ptr %15, align 1
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare ptr @zmalloc(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/tmpw9znxwfi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ziplistNew() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 17, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call ptr @zmalloc(i32 noundef %3)
store ptr %4, ptr %2, align 8
%5 = load i32, ptr %1, align 4
%6 = load ptr, ptr %2, align 8
store i32 %5, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 4
store i32 16, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 8
store i64 0, ptr %10, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %1, align 4
%13 = sub i32 %12, 1
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
store i8 -1, ptr %15, align 1
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare ptr @zmalloc(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/tmp5ualpk3c.c'
source_filename = "/tmp/tmp5ualpk3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NUMBER\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @C() #0 {
%1 = call ptr @match(ptr noundef @.str)
ret ptr %1
}
declare ptr @match(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ualpk3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NUMBER\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @C() #0 {
%1 = call ptr @match(ptr noundef @.str)
ret ptr %1
}
declare ptr @match(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb0tf23be.c'
source_filename = "/tmp/tmpb0tf23be.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb0tf23be.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd_ihhbo0.c'
source_filename = "/tmp/tmpd_ihhbo0.c"
target datalayout = "e-m:e-p270: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/tmpd_ihhbo0.c"
target datalayout = "e-m:e-p270: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/tmpzokg1s35.c'
source_filename = "/tmp/tmpzokg1s35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzokg1s35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ResetISR() #0 {
%1 = load volatile i32, ptr inttoptr (i64 3758157192 to ptr), align 4
%2 = and i32 %1, -15728641
%3 = or i32 %2, 3145728
%4 = or i32 %3, 12582912
store volatile i32 %4, ptr inttoptr (i64 3758157192 to ptr), align 4
%5 = call i32 (...) @__iar_program_start()
ret void
}
declare i32 @__iar_program_start(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplioy0txg.c'
source_filename = "/tmp/tmplioy0txg.c"
target datalayout = "e-m:e-p270: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/tmplioy0txg.c"
target datalayout = "e-m:e-p270: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/tmprpodjgb2.c'
source_filename = "/tmp/tmprpodjgb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ReadFortranReal(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [101 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 0)
store ptr %15, ptr %11, align 8
%16 = load ptr, ptr %11, align 8
%17 = load ptr, ptr %6, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %20, %25
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 -1, ptr %5, align 4
br label %67
28: ; preds = %4
%29 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 0
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load i32, ptr %8, align 4
%36 = call i32 @strncpy(ptr noundef %29, ptr noundef %34, i32 noundef %35)
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 %38
store i8 0, ptr %39, align 1
store i32 0, ptr %13, align 4
br label %40
40: ; preds = %53, %28
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %56
44: ; preds = %40
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 32
br i1 %50, label %51, label %52
51: ; preds = %44
br label %56
52: ; preds = %44
br label %53
53: ; preds = %52
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
br label %40, !llvm.loop !6
56: ; preds = %51, %40
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp eq i32 %57, %58
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = load ptr, ptr %9, align 8
store double 0.000000e+00, ptr %61, align 8
store i32 1, ptr %5, align 4
br label %67
62: ; preds = %56
%63 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 0
%64 = load ptr, ptr %9, align 8
%65 = call i32 @sscanf(ptr noundef %63, ptr noundef @.str, ptr noundef %64)
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %12, align 4
store i32 %66, ptr %5, align 4
br label %67
67: ; preds = %62, %60, %27
%68 = load i32, ptr %5, align 4
ret i32 %68
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprpodjgb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ReadFortranReal(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [101 x i8], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 0)
store ptr %15, ptr %11, align 8
%16 = load ptr, ptr %11, align 8
%17 = load ptr, ptr %6, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %20, %25
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 -1, ptr %5, align 4
br label %69
28: ; preds = %4
%29 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 0
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load i32, ptr %8, align 4
%36 = call i32 @strncpy(ptr noundef %29, ptr noundef %34, i32 noundef %35)
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 %38
store i8 0, ptr %39, align 1
store i32 0, ptr %13, align 4
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %28
br label %43
43: ; preds = %.lr.ph, %52
%44 = load i32, ptr %13, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 32
br i1 %49, label %50, label %51
50: ; preds = %43
br label %58
51: ; preds = %43
br label %52
52: ; preds = %51
%53 = load i32, ptr %13, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %43, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %52
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %28
br label %58
58: ; preds = %.loopexit, %50
%59 = load i32, ptr %13, align 4
%60 = load i32, ptr %8, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = load ptr, ptr %9, align 8
store double 0.000000e+00, ptr %63, align 8
store i32 1, ptr %5, align 4
br label %69
64: ; preds = %58
%65 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 0
%66 = load ptr, ptr %9, align 8
%67 = call i32 @sscanf(ptr noundef %65, ptr noundef @.str, ptr noundef %66)
store i32 %67, ptr %12, align 4
%68 = load i32, ptr %12, align 4
store i32 %68, ptr %5, align 4
br label %69
69: ; preds = %64, %62, %27
%70 = load i32, ptr %5, align 4
ret i32 %70
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps5i5450t.c'
source_filename = "/tmp/tmps5i5450t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pri_sr_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 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/tmps5i5450t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pri_sr_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 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/tmptrsa4lzv.c'
source_filename = "/tmp/tmptrsa4lzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hButtonWithOnClick(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @hButtonMaybePressed(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 0)
ret void
}
declare i32 @hButtonMaybePressed(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptrsa4lzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hButtonWithOnClick(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @hButtonMaybePressed(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 0)
ret void
}
declare i32 @hButtonMaybePressed(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl1uaimnr.c'
source_filename = "/tmp/tmpl1uaimnr.c"
target datalayout = "e-m:e-p270: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/tmpl1uaimnr.c"
target datalayout = "e-m:e-p270: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/tmp39my6d_c.c'
source_filename = "/tmp/tmp39my6d_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%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 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = call i32 (...) @readcmd()
store i32 %6, ptr %5, align 4
br label %7
7: ; preds = %0, %63
%8 = load i32, ptr %2, align 4
switch i32 %8, label %63 [
i32 0, label %9
i32 1, label %15
i32 2, label %22
i32 3, label %42
i32 4, label %49
]
9: ; preds = %7
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 177
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %2, align 4
br label %14
13: ; preds = %9
store i32 2, ptr %2, align 4
br label %14
14: ; preds = %13, %12
br label %63
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 177
br i1 %17, label %18, label %20
18: ; preds = %15
store i32 3, ptr %2, align 4
%19 = call i32 (...) @readcmd()
store i32 %19, ptr %5, align 4
br label %21
20: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %18
br label %63
22: ; preds = %7
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 177
br i1 %24, label %25, label %40
25: ; preds = %22
store i32 79, ptr %5, align 4
store i32 4, ptr %2, align 4
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %25, %34
%28 = load i32, ptr %4, align 4
%29 = icmp sle i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %27
br label %35
31: ; preds = %27
%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
br label %27
35: ; preds = %30
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %35
br label %79
39: ; preds = %35
br label %41
40: ; preds = %22
br label %79
41: ; preds = %39
br label %63
42: ; preds = %7
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 78
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 4, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %48
46: ; preds = %42
store i32 0, ptr %2, align 4
%47 = call i32 (...) @readcmd()
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %46, %45
br label %63
49: ; preds = %7
%50 = load i32, ptr %3, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load i32, ptr %5, align 4
%54 = icmp ne i32 %53, 78
br i1 %54, label %55, label %56
55: ; preds = %52
br label %79
56: ; preds = %52
br label %62
57: ; preds = %49
%58 = load i32, ptr %5, align 4
%59 = icmp ne i32 %58, 79
br i1 %59, label %60, label %61
60: ; preds = %57
br label %79
61: ; preds = %57
br label %62
62: ; preds = %61, %56
br label %64
63: ; preds = %7, %48, %41, %21, %14
br label %7
64: ; preds = %62
%65 = load i32, ptr %5, align 4
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %64, %73
%67 = load i32, ptr %4, align 4
%68 = icmp sle i32 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %66
br label %74
70: ; preds = %66
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %4, align 4
br label %73
73: ; preds = %70
br label %66
74: ; preds = %69
%75 = load i32, ptr %4, align 4
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %74
br label %79
78: ; preds = %74
store i32 0, ptr %1, align 4
br label %80
79: ; preds = %77, %60, %55, %40, %38
store i32 -1, ptr %1, align 4
br label %80
80: ; preds = %79, %78
%81 = load i32, ptr %1, align 4
ret i32 %81
}
declare i32 @readcmd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39my6d_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%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 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = call i32 (...) @readcmd()
store i32 %6, ptr %5, align 4
br label %7
7: ; preds = %64, %0
%8 = load i32, ptr %2, align 4
switch i32 %8, label %64 [
i32 0, label %9
i32 1, label %15
i32 2, label %22
i32 3, label %43
i32 4, label %50
]
9: ; preds = %7
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 177
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %2, align 4
br label %14
13: ; preds = %9
store i32 2, ptr %2, align 4
br label %14
14: ; preds = %13, %12
br label %64
15: ; preds = %7
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 177
br i1 %17, label %18, label %20
18: ; preds = %15
store i32 3, ptr %2, align 4
%19 = call i32 (...) @readcmd()
store i32 %19, ptr %5, align 4
br label %21
20: ; preds = %15
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %20, %18
br label %64
22: ; preds = %7
%23 = load i32, ptr %5, align 4
%24 = icmp ne i32 %23, 177
br i1 %24, label %25, label %41
25: ; preds = %22
store i32 79, ptr %5, align 4
store i32 4, ptr %2, align 4
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sle i32 %27, 0
br i1 %28, label %29, label %.lr.ph
.lr.ph: ; preds = %25
br label %30
._crit_edge: ; preds = %33
br label %29
29: ; preds = %._crit_edge, %25
br label %36
30: ; preds = %.lr.ph, %33
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %30
%34 = load i32, ptr %4, align 4
%35 = icmp sle i32 %34, 0
br i1 %35, label %._crit_edge, label %30
36: ; preds = %29
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
br label %81
40: ; preds = %36
br label %42
41: ; preds = %22
br label %81
42: ; preds = %40
br label %64
43: ; preds = %7
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 78
br i1 %45, label %46, label %47
46: ; preds = %43
store i32 4, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %49
47: ; preds = %43
store i32 0, ptr %2, align 4
%48 = call i32 (...) @readcmd()
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %47, %46
br label %64
50: ; preds = %7
%51 = load i32, ptr %3, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load i32, ptr %5, align 4
%55 = icmp ne i32 %54, 78
br i1 %55, label %56, label %57
56: ; preds = %53
br label %81
57: ; preds = %53
br label %63
58: ; preds = %50
%59 = load i32, ptr %5, align 4
%60 = icmp ne i32 %59, 79
br i1 %60, label %61, label %62
61: ; preds = %58
br label %81
62: ; preds = %58
br label %63
63: ; preds = %62, %57
br label %65
64: ; preds = %49, %42, %21, %14, %7
br label %7
65: ; preds = %63
%66 = load i32, ptr %5, align 4
store i32 %66, ptr %4, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp sle i32 %67, 0
br i1 %68, label %69, label %.lr.ph2
.lr.ph2: ; preds = %65
br label %70
._crit_edge3: ; preds = %73
br label %69
69: ; preds = %._crit_edge3, %65
br label %76
70: ; preds = %.lr.ph2, %73
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %4, align 4
br label %73
73: ; preds = %70
%74 = load i32, ptr %4, align 4
%75 = icmp sle i32 %74, 0
br i1 %75, label %._crit_edge3, label %70
76: ; preds = %69
%77 = load i32, ptr %4, align 4
%78 = icmp sgt i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %76
br label %81
80: ; preds = %76
store i32 0, ptr %1, align 4
br label %82
81: ; preds = %79, %61, %56, %41, %39
store i32 -1, ptr %1, align 4
br label %82
82: ; preds = %81, %80
%83 = load i32, ptr %1, align 4
ret i32 %83
}
declare i32 @readcmd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg6o52sny.c'
source_filename = "/tmp/tmpg6o52sny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg6o52sny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx0q6cxsb.c'
source_filename = "/tmp/tmpx0q6cxsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"chmod %s %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_chmod(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @url_encode(ptr noundef %10, ptr noundef %11, i32 noundef 1024)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @simple_command(ptr noundef %13, i32 noundef %14, ptr noundef @.str, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0q6cxsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"chmod %s %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_chmod(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @url_encode(ptr noundef %10, ptr noundef %11, i32 noundef 1024)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @simple_command(ptr noundef %13, i32 noundef %14, ptr noundef @.str, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptb6c1zu0.c'
source_filename = "/tmp/tmptb6c1zu0.c"
target datalayout = "e-m:e-p270: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/tmptb6c1zu0.c"
target datalayout = "e-m:e-p270: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_jeen43_.c'
source_filename = "/tmp/tmp_jeen43_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"DAT: timer expired\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_timeout() #0 {
%1 = call i32 @log_msg(ptr noundef @.str)
ret void
}
declare i32 @log_msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_jeen43_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"DAT: timer expired\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_timeout() #0 {
%1 = call i32 @log_msg(ptr noundef @.str)
ret void
}
declare i32 @log_msg(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgm1ij3op.c'
source_filename = "/tmp/tmpgm1ij3op.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"\D0\91\D1\83\D0\B4\D0\B5\D1\82 \D0\B2\D1\8B\D0\BF\D0\BE\D0\BB\D0\BD\D0\B5\D0\BD\D0\B0 \D0\BF\D1\80\D0\BE\D0\B3\D1\80\D0\B0\D0\BC\D0\BC\D0\B0 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Argument count: %d\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0!!! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10)
%12 = load i32, ptr %5, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @execle(ptr noundef %16, ptr noundef %19, ptr noundef %22, i32 noundef 0, ptr noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @execle(ptr noundef, ptr noundef, ptr noundef, 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/tmpgm1ij3op.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"\D0\91\D1\83\D0\B4\D0\B5\D1\82 \D0\B2\D1\8B\D0\BF\D0\BE\D0\BB\D0\BD\D0\B5\D0\BD\D0\B0 \D0\BF\D1\80\D0\BE\D0\B3\D1\80\D0\B0\D0\BC\D0\BC\D0\B0 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Argument count: %d\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0!!! \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10)
%12 = load i32, ptr %5, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = call i32 @execle(ptr noundef %16, ptr noundef %19, ptr noundef %22, i32 noundef 0, ptr noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%26 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @execle(ptr noundef, ptr noundef, ptr noundef, 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/tmp6gx69x9z.c'
source_filename = "/tmp/tmp6gx69x9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @multiplication(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmp6gx69x9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @multiplication(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmp5a5bezs9.c'
source_filename = "/tmp/tmp5a5bezs9.c"
target datalayout = "e-m:e-p270: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/tmp5a5bezs9.c"
target datalayout = "e-m:e-p270: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/tmpgr5se2uq.c'
source_filename = "/tmp/tmpgr5se2uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"usage: %s <positive integer>\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Fibonacci Number %d is %d\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %32
15: ; preds = %2
store i32 -1, ptr %7, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %6, align 4
br label %20
20: ; preds = %25, %15
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = icmp sgt i32 %21, %23
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
%28 = load i32, ptr %7, align 4
%29 = call i32 @fib(i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %29)
br label %20, !llvm.loop !6
31: ; preds = %20
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %10
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fib(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/tmpgr5se2uq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"usage: %s <positive integer>\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Fibonacci Number %d is %d\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %35
15: ; preds = %2
store i32 -1, ptr %7, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = icmp sgt i32 %20, %22
br i1 %23, label %.lr.ph, label %34
.lr.ph: ; preds = %15
br label %24
24: ; preds = %.lr.ph, %24
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
%27 = load i32, ptr %7, align 4
%28 = call i32 @fib(i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26, i32 noundef %28)
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = icmp sgt i32 %30, %32
br i1 %33, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %34
34: ; preds = %._crit_edge, %15
store i32 0, ptr %3, align 4
br label %35
35: ; preds = %34, %10
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fib(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/tmpe_c_tt_5.c'
source_filename = "/tmp/tmpe_c_tt_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_something(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = call i32 (...) @work_hard()
%7 = call i32 (...) @work_hard()
%8 = call i32 (...) @work_hard()
%9 = call i32 (...) @work_hard()
%10 = call i32 (...) @work_hard()
%11 = call i32 (...) @work_hard()
%12 = call i32 (...) @work_hard()
%13 = call i32 (...) @work_hard()
br label %14
14: ; preds = %5, %1
ret void
}
declare i32 @work_hard(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_c_tt_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_something(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = call i32 (...) @work_hard()
%7 = call i32 (...) @work_hard()
%8 = call i32 (...) @work_hard()
%9 = call i32 (...) @work_hard()
%10 = call i32 (...) @work_hard()
%11 = call i32 (...) @work_hard()
%12 = call i32 (...) @work_hard()
%13 = call i32 (...) @work_hard()
br label %14
14: ; preds = %5, %1
ret void
}
declare i32 @work_hard(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr7i3tlrr.c'
source_filename = "/tmp/tmpr7i3tlrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LinearList_Search(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr null, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = call ptr @private_LinearList_Search(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @private_LinearList_Search(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/tmpr7i3tlrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LinearList_Search(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %2
store ptr null, ptr %3, align 8
br label %13
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = call ptr @private_LinearList_Search(ptr noundef %10, i32 noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %9, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @private_LinearList_Search(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/tmpj1be_lc4.c'
source_filename = "/tmp/tmpj1be_lc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%5.2f \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"| %s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c" | %5.2f |\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %47, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %50
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %30, %13
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %33
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %28)
br label %30
30: ; preds = %19
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %4, align 4
%36 = sdiv i32 %35, 2
%37 = icmp eq i32 %34, %36
%38 = zext i1 %37 to i64
%39 = select i1 %37, ptr @.str.3, ptr @.str.4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = load double, ptr %44, align 8
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %45)
br label %47
47: ; preds = %33
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %7, align 4
br label %9, !llvm.loop !8
50: ; preds = %9
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj1be_lc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%5.2f \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"| %s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c" | %5.2f |\0A\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %54
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %48
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %26)
br label %28
28: ; preds = %17
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = sdiv i32 %36, 2
%38 = icmp eq i32 %35, %37
%39 = zext i1 %38 to i64
%40 = select i1 %38, ptr @.str.3, ptr @.str.4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %40)
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %46)
br label %48
48: ; preds = %34
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %54
54: ; preds = %._crit_edge3, %3
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz8m7n0vg.c'
source_filename = "/tmp/tmpz8m7n0vg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_create_lbump(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
%5 = load float, ptr %3, align 4
%6 = call i32 @_get_create_bumpdrop(float noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 100000
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %15
11: ; preds = %1
%12 = load i32, ptr %4, align 4
%13 = ashr i32 %12, 1
%14 = and i32 %13, 1
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @_get_create_bumpdrop(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz8m7n0vg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_create_lbump(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
%5 = load float, ptr %3, align 4
%6 = call i32 @_get_create_bumpdrop(float noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 100000
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %15
11: ; preds = %1
%12 = load i32, ptr %4, align 4
%13 = ashr i32 %12, 1
%14 = and i32 %13, 1
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @_get_create_bumpdrop(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz10of6ti.c'
source_filename = "/tmp/tmpz10of6ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_deriv_65(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%7 = fmul double 0xB6C06D85BF0E5071, %6
%8 = load double, ptr %3, align 8
%9 = call double @pow(double noundef %8, double noundef 3.100000e+01) #3
%10 = fmul double 5.733000e+05, %9
%11 = load double, ptr %4, align 8
%12 = call double @pow(double noundef %11, double noundef 6.200000e+01) #3
%13 = load double, ptr %3, align 8
%14 = call double @pow(double noundef %13, double noundef 2.100000e+01) #3
%15 = fmul double 0x454B309F0BF28AA1, %14
%16 = load double, ptr %4, align 8
%17 = call double @pow(double noundef %16, double noundef 4.200000e+01) #3
%18 = fmul double %15, %17
%19 = call double @llvm.fmuladd.f64(double %10, double %12, double %18)
%20 = load double, ptr %3, align 8
%21 = call double @pow(double noundef %20, double noundef 3.300000e+01) #3
%22 = load double, ptr %4, align 8
%23 = call double @pow(double noundef %22, double noundef 6.600000e+01) #3
%24 = call double @llvm.fmuladd.f64(double %21, double %23, double %19)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 2.500000e+01) #3
%27 = fmul double 0x43DD3246108CF855, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 5.000000e+01) #3
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = load double, ptr %3, align 8
%32 = call double @pow(double noundef %31, double noundef 3.000000e+01) #3
%33 = fmul double 0x41A6279D70000000, %32
%34 = load double, ptr %4, align 8
%35 = call double @pow(double noundef %34, double noundef 6.000000e+01) #3
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %30)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 2.000000e+01) #3
%40 = fmul double 0x459CC34FA1EE5117, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 4.000000e+01) #3
%43 = fneg double %40
%44 = call double @llvm.fmuladd.f64(double %43, double %42, double %37)
%45 = fsub double %44, 0x477473FECFA839AF
%46 = load double, ptr %3, align 8
%47 = call double @pow(double noundef %46, double noundef 2.800000e+01) #3
%48 = fmul double 0x429A19CF04D44200, %47
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, double noundef 5.600000e+01) #3
%51 = fneg double %48
%52 = call double @llvm.fmuladd.f64(double %51, double %50, double %45)
%53 = load double, ptr %3, align 8
%54 = call double @pow(double noundef %53, double noundef 1.900000e+01) #3
%55 = fmul double 0x45E9955FA65DD630, %54
%56 = load double, ptr %4, align 8
%57 = call double @pow(double noundef %56, double noundef 3.800000e+01) #3
%58 = call double @llvm.fmuladd.f64(double %55, double %57, double %52)
%59 = load double, ptr %3, align 8
%60 = call double @pow(double noundef %59, double noundef 3.200000e+01) #3
%61 = fmul double 1.105000e+03, %60
%62 = load double, ptr %4, align 8
%63 = call double @pow(double noundef %62, double noundef 6.400000e+01) #3
%64 = fneg double %61
%65 = call double @llvm.fmuladd.f64(double %64, double %63, double %58)
%66 = load double, ptr %3, align 8
%67 = call double @pow(double noundef %66, double noundef 2.300000e+01) #3
%68 = fmul double 0x449CB1C0D410DCF6, %67
%69 = load double, ptr %4, align 8
%70 = call double @pow(double noundef %69, double noundef 4.600000e+01) #3
%71 = call double @llvm.fmuladd.f64(double %68, double %70, double %65)
%72 = load double, ptr %3, align 8
%73 = call double @pow(double noundef %72, double noundef 2.700000e+01) #3
%74 = fmul double 0x430ADB811299C77E, %73
%75 = load double, ptr %4, align 8
%76 = call double @pow(double noundef %75, double noundef 5.400000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x47933A0A16D119EE, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.400000e+01) #3
%83 = fneg double %80
%84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77)
%85 = load double, ptr %3, align 8
%86 = call double @pow(double noundef %85, double noundef 9.000000e+00) #3
%87 = fmul double 0x4803C50855160C39, %86
%88 = load double, ptr %4, align 8
%89 = call double @pow(double noundef %88, double noundef 1.800000e+01) #3
%90 = call double @llvm.fmuladd.f64(double %87, double %89, double %84)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x481EC73A8363449D, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 1.600000e+01) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = call double @pow(double noundef %98, double noundef 2.200000e+01) #3
%100 = fmul double 0x44F59554939AD2DB, %99
%101 = load double, ptr %4, align 8
%102 = call double @pow(double noundef %101, double noundef 4.400000e+01) #3
%103 = fneg double %100
%104 = call double @llvm.fmuladd.f64(double %103, double %102, double %97)
%105 = load double, ptr %3, align 8
%106 = call double @pow(double noundef %105, double noundef 1.300000e+01) #3
%107 = fmul double 0x47638265C8E87AEF, %106
%108 = load double, ptr %4, align 8
%109 = call double @pow(double noundef %108, double noundef 2.600000e+01) #3
%110 = call double @llvm.fmuladd.f64(double %107, double %109, double %104)
%111 = load double, ptr %3, align 8
%112 = call double @pow(double noundef %111, double noundef 1.600000e+01) #3
%113 = fmul double 0x46B94A4428DFB429, %112
%114 = load double, ptr %4, align 8
%115 = call double @pow(double noundef %114, double noundef 3.200000e+01) #3
%116 = fneg double %113
%117 = call double @llvm.fmuladd.f64(double %116, double %115, double %110)
%118 = load double, ptr %3, align 8
%119 = call double @pow(double noundef %118, double noundef 2.600000e+01) #3
%120 = fmul double 0x4375FF353AED3EE8, %119
%121 = load double, ptr %4, align 8
%122 = call double @pow(double noundef %121, double noundef 5.200000e+01) #3
%123 = fneg double %120
%124 = call double @llvm.fmuladd.f64(double %123, double %122, double %117)
%125 = load double, ptr %3, align 8
%126 = call double @pow(double noundef %125, double noundef 1.700000e+01) #3
%127 = fmul double 0x46780883CC3BEAD2, %126
%128 = load double, ptr %4, align 8
%129 = call double @pow(double noundef %128, double noundef 3.400000e+01) #3
%130 = call double @llvm.fmuladd.f64(double %127, double %129, double %124)
%131 = load double, ptr %3, align 8
%132 = call double @pow(double noundef %131, double noundef 1.800000e+01) #3
%133 = fmul double 0x463322186B437456, %132
%134 = load double, ptr %4, align 8
%135 = call double @pow(double noundef %134, double noundef 3.600000e+01) #3
%136 = fneg double %133
%137 = call double @llvm.fmuladd.f64(double %136, double %135, double %130)
%138 = load double, ptr %3, align 8
%139 = call double @pow(double noundef %138, double noundef 1.500000e+01) #3
%140 = fmul double 0x46F6369058CEB9F9, %139
%141 = load double, ptr %4, align 8
%142 = call double @pow(double noundef %141, double noundef 3.000000e+01) #3
%143 = call double @llvm.fmuladd.f64(double %140, double %142, double %137)
%144 = load double, ptr %3, align 8
%145 = call double @pow(double noundef %144, double noundef 1.000000e+01) #3
%146 = fmul double 0x47E3A094F74ACA78, %145
%147 = load double, ptr %4, align 8
%148 = call double @pow(double noundef %147, double noundef 2.000000e+01) #3
%149 = fneg double %146
%150 = call double @llvm.fmuladd.f64(double %149, double %148, double %143)
%151 = load double, ptr %3, align 8
%152 = call double @pow(double noundef %151, double noundef 2.400000e+01) #3
%153 = fmul double 0x443FCDC1546F69B2, %152
%154 = load double, ptr %4, align 8
%155 = call double @pow(double noundef %154, double noundef 4.800000e+01) #3
%156 = fneg double %153
%157 = call double @llvm.fmuladd.f64(double %156, double %155, double %150)
%158 = load double, ptr %3, align 8
%159 = call double @pow(double noundef %158, double noundef 7.000000e+00) #3
%160 = fmul double 0x48321015449E961A, %159
%161 = load double, ptr %4, align 8
%162 = call double @pow(double noundef %161, double noundef 1.400000e+01) #3
%163 = call double @llvm.fmuladd.f64(double %160, double %162, double %157)
%164 = load double, ptr %3, align 8
%165 = call double @pow(double noundef %164, double noundef 1.100000e+01) #3
%166 = fmul double 0x47BEB59739C6DEBF, %165
%167 = load double, ptr %4, align 8
%168 = call double @pow(double noundef %167, double noundef 2.200000e+01) #3
%169 = call double @llvm.fmuladd.f64(double %166, double %168, double %163)
%170 = load double, ptr %3, align 8
%171 = call double @pow(double noundef %170, double noundef 1.400000e+01) #3
%172 = fmul double 0x473034496608EF4C, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 2.800000e+01) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %169)
%177 = load double, ptr %3, align 8
%178 = call double @pow(double noundef %177, double noundef 5.000000e+00) #3
%179 = fmul double 0x48428BA1A5E16090, %178
%180 = load double, ptr %4, align 8
%181 = call double @pow(double noundef %180, double noundef 1.000000e+01) #3
%182 = call double @llvm.fmuladd.f64(double %179, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 4.000000e+00) #3
%185 = fmul double 0x483D3FC8F77030F8, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 8.000000e+00) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 3.000000e+00) #3
%192 = fmul double 0x482BBD51966F5B09, %191
%193 = load double, ptr %4, align 8
%194 = call double @pow(double noundef %193, double noundef 6.000000e+00) #3
%195 = call double @llvm.fmuladd.f64(double %192, double %194, double %189)
%196 = load double, ptr %3, align 8
%197 = fmul double 0x480B4553BF8AF794, %196
%198 = load double, ptr %3, align 8
%199 = fmul double %197, %198
%200 = load double, ptr %4, align 8
%201 = call double @pow(double noundef %200, double noundef 4.000000e+00) #3
%202 = fneg double %199
%203 = call double @llvm.fmuladd.f64(double %202, double %201, double %195)
%204 = load double, ptr %3, align 8
%205 = fmul double 0x47D4C5CECAE6DA96, %204
%206 = load double, ptr %4, align 8
%207 = fmul double %205, %206
%208 = load double, ptr %4, align 8
%209 = call double @llvm.fmuladd.f64(double %207, double %208, double %203)
%210 = load double, ptr %3, align 8
%211 = call double @pow(double noundef %210, double noundef 6.000000e+00) #3
%212 = fmul double 0x483EF482F10434D3, %211
%213 = load double, ptr %4, align 8
%214 = call double @pow(double noundef %213, double noundef 1.200000e+01) #3
%215 = fneg double %212
%216 = call double @llvm.fmuladd.f64(double %215, double %214, double %209)
%217 = load double, ptr %3, align 8
%218 = call double @pow(double noundef %217, double noundef 2.900000e+01) #3
%219 = fmul double 0x4223ADE59DF70000, %218
%220 = load double, ptr %4, align 8
%221 = call double @pow(double noundef %220, double noundef 5.800000e+01) #3
%222 = call double @llvm.fmuladd.f64(double %219, double %221, double %216)
%223 = fmul double %7, %222
%224 = load double, ptr %3, align 8
%225 = call double @pow(double noundef %224, double noundef 7.500000e-01) #3
%226 = fmul double %223, %225
%227 = call double @sqrt(double noundef 0x437DFD1EE281F468) #3
%228 = fmul double %226, %227
%229 = load double, ptr %3, align 8
%230 = fneg double %229
%231 = load double, ptr %4, align 8
%232 = fmul double %230, %231
%233 = load double, ptr %4, align 8
%234 = fmul double %232, %233
%235 = fdiv double %234, 2.000000e+00
%236 = call double @exp(double noundef %235) #3
%237 = fmul double %228, %236
store double %237, ptr %5, align 8
%238 = load double, ptr %5, align 8
ret double %238
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz10of6ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_deriv_65(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%7 = fmul double 0xB6C06D85BF0E5071, %6
%8 = load double, ptr %3, align 8
%9 = call double @pow(double noundef %8, double noundef 3.100000e+01) #3
%10 = fmul double 5.733000e+05, %9
%11 = load double, ptr %4, align 8
%12 = call double @pow(double noundef %11, double noundef 6.200000e+01) #3
%13 = load double, ptr %3, align 8
%14 = call double @pow(double noundef %13, double noundef 2.100000e+01) #3
%15 = fmul double 0x454B309F0BF28AA1, %14
%16 = load double, ptr %4, align 8
%17 = call double @pow(double noundef %16, double noundef 4.200000e+01) #3
%18 = fmul double %15, %17
%19 = call double @llvm.fmuladd.f64(double %10, double %12, double %18)
%20 = load double, ptr %3, align 8
%21 = call double @pow(double noundef %20, double noundef 3.300000e+01) #3
%22 = load double, ptr %4, align 8
%23 = call double @pow(double noundef %22, double noundef 6.600000e+01) #3
%24 = call double @llvm.fmuladd.f64(double %21, double %23, double %19)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 2.500000e+01) #3
%27 = fmul double 0x43DD3246108CF855, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 5.000000e+01) #3
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = load double, ptr %3, align 8
%32 = call double @pow(double noundef %31, double noundef 3.000000e+01) #3
%33 = fmul double 0x41A6279D70000000, %32
%34 = load double, ptr %4, align 8
%35 = call double @pow(double noundef %34, double noundef 6.000000e+01) #3
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %30)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 2.000000e+01) #3
%40 = fmul double 0x459CC34FA1EE5117, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 4.000000e+01) #3
%43 = fneg double %40
%44 = call double @llvm.fmuladd.f64(double %43, double %42, double %37)
%45 = fsub double %44, 0x477473FECFA839AF
%46 = load double, ptr %3, align 8
%47 = call double @pow(double noundef %46, double noundef 2.800000e+01) #3
%48 = fmul double 0x429A19CF04D44200, %47
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, double noundef 5.600000e+01) #3
%51 = fneg double %48
%52 = call double @llvm.fmuladd.f64(double %51, double %50, double %45)
%53 = load double, ptr %3, align 8
%54 = call double @pow(double noundef %53, double noundef 1.900000e+01) #3
%55 = fmul double 0x45E9955FA65DD630, %54
%56 = load double, ptr %4, align 8
%57 = call double @pow(double noundef %56, double noundef 3.800000e+01) #3
%58 = call double @llvm.fmuladd.f64(double %55, double %57, double %52)
%59 = load double, ptr %3, align 8
%60 = call double @pow(double noundef %59, double noundef 3.200000e+01) #3
%61 = fmul double 1.105000e+03, %60
%62 = load double, ptr %4, align 8
%63 = call double @pow(double noundef %62, double noundef 6.400000e+01) #3
%64 = fneg double %61
%65 = call double @llvm.fmuladd.f64(double %64, double %63, double %58)
%66 = load double, ptr %3, align 8
%67 = call double @pow(double noundef %66, double noundef 2.300000e+01) #3
%68 = fmul double 0x449CB1C0D410DCF6, %67
%69 = load double, ptr %4, align 8
%70 = call double @pow(double noundef %69, double noundef 4.600000e+01) #3
%71 = call double @llvm.fmuladd.f64(double %68, double %70, double %65)
%72 = load double, ptr %3, align 8
%73 = call double @pow(double noundef %72, double noundef 2.700000e+01) #3
%74 = fmul double 0x430ADB811299C77E, %73
%75 = load double, ptr %4, align 8
%76 = call double @pow(double noundef %75, double noundef 5.400000e+01) #3
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %71)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.200000e+01) #3
%80 = fmul double 0x47933A0A16D119EE, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.400000e+01) #3
%83 = fneg double %80
%84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77)
%85 = load double, ptr %3, align 8
%86 = call double @pow(double noundef %85, double noundef 9.000000e+00) #3
%87 = fmul double 0x4803C50855160C39, %86
%88 = load double, ptr %4, align 8
%89 = call double @pow(double noundef %88, double noundef 1.800000e+01) #3
%90 = call double @llvm.fmuladd.f64(double %87, double %89, double %84)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 8.000000e+00) #3
%93 = fmul double 0x481EC73A8363449D, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 1.600000e+01) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = call double @pow(double noundef %98, double noundef 2.200000e+01) #3
%100 = fmul double 0x44F59554939AD2DB, %99
%101 = load double, ptr %4, align 8
%102 = call double @pow(double noundef %101, double noundef 4.400000e+01) #3
%103 = fneg double %100
%104 = call double @llvm.fmuladd.f64(double %103, double %102, double %97)
%105 = load double, ptr %3, align 8
%106 = call double @pow(double noundef %105, double noundef 1.300000e+01) #3
%107 = fmul double 0x47638265C8E87AEF, %106
%108 = load double, ptr %4, align 8
%109 = call double @pow(double noundef %108, double noundef 2.600000e+01) #3
%110 = call double @llvm.fmuladd.f64(double %107, double %109, double %104)
%111 = load double, ptr %3, align 8
%112 = call double @pow(double noundef %111, double noundef 1.600000e+01) #3
%113 = fmul double 0x46B94A4428DFB429, %112
%114 = load double, ptr %4, align 8
%115 = call double @pow(double noundef %114, double noundef 3.200000e+01) #3
%116 = fneg double %113
%117 = call double @llvm.fmuladd.f64(double %116, double %115, double %110)
%118 = load double, ptr %3, align 8
%119 = call double @pow(double noundef %118, double noundef 2.600000e+01) #3
%120 = fmul double 0x4375FF353AED3EE8, %119
%121 = load double, ptr %4, align 8
%122 = call double @pow(double noundef %121, double noundef 5.200000e+01) #3
%123 = fneg double %120
%124 = call double @llvm.fmuladd.f64(double %123, double %122, double %117)
%125 = load double, ptr %3, align 8
%126 = call double @pow(double noundef %125, double noundef 1.700000e+01) #3
%127 = fmul double 0x46780883CC3BEAD2, %126
%128 = load double, ptr %4, align 8
%129 = call double @pow(double noundef %128, double noundef 3.400000e+01) #3
%130 = call double @llvm.fmuladd.f64(double %127, double %129, double %124)
%131 = load double, ptr %3, align 8
%132 = call double @pow(double noundef %131, double noundef 1.800000e+01) #3
%133 = fmul double 0x463322186B437456, %132
%134 = load double, ptr %4, align 8
%135 = call double @pow(double noundef %134, double noundef 3.600000e+01) #3
%136 = fneg double %133
%137 = call double @llvm.fmuladd.f64(double %136, double %135, double %130)
%138 = load double, ptr %3, align 8
%139 = call double @pow(double noundef %138, double noundef 1.500000e+01) #3
%140 = fmul double 0x46F6369058CEB9F9, %139
%141 = load double, ptr %4, align 8
%142 = call double @pow(double noundef %141, double noundef 3.000000e+01) #3
%143 = call double @llvm.fmuladd.f64(double %140, double %142, double %137)
%144 = load double, ptr %3, align 8
%145 = call double @pow(double noundef %144, double noundef 1.000000e+01) #3
%146 = fmul double 0x47E3A094F74ACA78, %145
%147 = load double, ptr %4, align 8
%148 = call double @pow(double noundef %147, double noundef 2.000000e+01) #3
%149 = fneg double %146
%150 = call double @llvm.fmuladd.f64(double %149, double %148, double %143)
%151 = load double, ptr %3, align 8
%152 = call double @pow(double noundef %151, double noundef 2.400000e+01) #3
%153 = fmul double 0x443FCDC1546F69B2, %152
%154 = load double, ptr %4, align 8
%155 = call double @pow(double noundef %154, double noundef 4.800000e+01) #3
%156 = fneg double %153
%157 = call double @llvm.fmuladd.f64(double %156, double %155, double %150)
%158 = load double, ptr %3, align 8
%159 = call double @pow(double noundef %158, double noundef 7.000000e+00) #3
%160 = fmul double 0x48321015449E961A, %159
%161 = load double, ptr %4, align 8
%162 = call double @pow(double noundef %161, double noundef 1.400000e+01) #3
%163 = call double @llvm.fmuladd.f64(double %160, double %162, double %157)
%164 = load double, ptr %3, align 8
%165 = call double @pow(double noundef %164, double noundef 1.100000e+01) #3
%166 = fmul double 0x47BEB59739C6DEBF, %165
%167 = load double, ptr %4, align 8
%168 = call double @pow(double noundef %167, double noundef 2.200000e+01) #3
%169 = call double @llvm.fmuladd.f64(double %166, double %168, double %163)
%170 = load double, ptr %3, align 8
%171 = call double @pow(double noundef %170, double noundef 1.400000e+01) #3
%172 = fmul double 0x473034496608EF4C, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 2.800000e+01) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %169)
%177 = load double, ptr %3, align 8
%178 = call double @pow(double noundef %177, double noundef 5.000000e+00) #3
%179 = fmul double 0x48428BA1A5E16090, %178
%180 = load double, ptr %4, align 8
%181 = call double @pow(double noundef %180, double noundef 1.000000e+01) #3
%182 = call double @llvm.fmuladd.f64(double %179, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 4.000000e+00) #3
%185 = fmul double 0x483D3FC8F77030F8, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 8.000000e+00) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 3.000000e+00) #3
%192 = fmul double 0x482BBD51966F5B09, %191
%193 = load double, ptr %4, align 8
%194 = call double @pow(double noundef %193, double noundef 6.000000e+00) #3
%195 = call double @llvm.fmuladd.f64(double %192, double %194, double %189)
%196 = load double, ptr %3, align 8
%197 = fmul double 0x480B4553BF8AF794, %196
%198 = load double, ptr %3, align 8
%199 = fmul double %197, %198
%200 = load double, ptr %4, align 8
%201 = call double @pow(double noundef %200, double noundef 4.000000e+00) #3
%202 = fneg double %199
%203 = call double @llvm.fmuladd.f64(double %202, double %201, double %195)
%204 = load double, ptr %3, align 8
%205 = fmul double 0x47D4C5CECAE6DA96, %204
%206 = load double, ptr %4, align 8
%207 = fmul double %205, %206
%208 = load double, ptr %4, align 8
%209 = call double @llvm.fmuladd.f64(double %207, double %208, double %203)
%210 = load double, ptr %3, align 8
%211 = call double @pow(double noundef %210, double noundef 6.000000e+00) #3
%212 = fmul double 0x483EF482F10434D3, %211
%213 = load double, ptr %4, align 8
%214 = call double @pow(double noundef %213, double noundef 1.200000e+01) #3
%215 = fneg double %212
%216 = call double @llvm.fmuladd.f64(double %215, double %214, double %209)
%217 = load double, ptr %3, align 8
%218 = call double @pow(double noundef %217, double noundef 2.900000e+01) #3
%219 = fmul double 0x4223ADE59DF70000, %218
%220 = load double, ptr %4, align 8
%221 = call double @pow(double noundef %220, double noundef 5.800000e+01) #3
%222 = call double @llvm.fmuladd.f64(double %219, double %221, double %216)
%223 = fmul double %7, %222
%224 = load double, ptr %3, align 8
%225 = call double @pow(double noundef %224, double noundef 7.500000e-01) #3
%226 = fmul double %223, %225
%227 = call double @sqrt(double noundef 0x437DFD1EE281F468) #3
%228 = fmul double %226, %227
%229 = load double, ptr %3, align 8
%230 = fneg double %229
%231 = load double, ptr %4, align 8
%232 = fmul double %230, %231
%233 = load double, ptr %4, align 8
%234 = fmul double %232, %233
%235 = fdiv double %234, 2.000000e+00
%236 = call double @exp(double noundef %235) #3
%237 = fmul double %228, %236
store double %237, ptr %5, align 8
%238 = load double, ptr %5, align 8
ret double %238
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp88a62tz0.c'
source_filename = "/tmp/tmp88a62tz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %6
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %3, align 8
%20 = call i32 @fputc(i8 noundef signext %18, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fputc(i8 noundef signext 10, ptr noundef %25)
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp88a62tz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putline(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %3, align 8
%19 = call i32 @fputc(i8 noundef signext %17, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %29
29: ; preds = %._crit_edge, %2
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fputc(i8 noundef signext 10, ptr noundef %30)
ret void
}
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpazd1ggsj.c'
source_filename = "/tmp/tmpazd1ggsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WebPFree(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/tmpazd1ggsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WebPFree(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/tmpqc60eyfo.c'
source_filename = "/tmp/tmpqc60eyfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_fillcount(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %1
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 15000
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fread_bo(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %10, i32 noundef 4)
%12 = icmp ne i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 -2, ptr %2, align 4
br label %24
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = and i32 %15, -2147483648
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 0, ptr %2, align 4
br label %24
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19
br label %6, !llvm.loop !6
23: ; preds = %6
store i32 -1, ptr %2, align 4
br label %24
24: ; preds = %23, %18, %13
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @fread_bo(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqc60eyfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_fillcount(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 15000
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %21
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fread_bo(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %9, i32 noundef 4)
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 -2, ptr %2, align 4
br label %25
13: ; preds = %8
%14 = load i32, ptr %4, align 4
%15 = and i32 %14, -2147483648
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %2, align 4
br label %25
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %18
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 15000
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %24
24: ; preds = %._crit_edge, %1
store i32 -1, ptr %2, align 4
br label %25
25: ; preds = %24, %17, %12
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @fread_bo(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpndwdxs_7.c'
source_filename = "/tmp/tmpndwdxs_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"/dev/cpu/%d/msr\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"pwrite\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"pread cpu%d 0x%x = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"pwrite cpu%d 0x%x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @put_msr(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca [32 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%12 = load i32, ptr %4, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%15 = load i32, ptr @O_RDWR, align 4
%16 = call i32 @open(ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %3
%20 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @perror(ptr noundef %20)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %3
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @pread(i32 noundef %24, ptr noundef %7, i32 noundef 8, i32 noundef %25)
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = icmp ne i64 %28, 8
br i1 %29, label %30, label %37
30: ; preds = %23
%31 = call i32 @perror(ptr noundef @.str.1)
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %9, align 4
%35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33, i32 noundef %34)
%36 = call i32 @exit(i32 noundef -2) #3
unreachable
37: ; preds = %23
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %6, align 4
%40 = call i32 @pwrite(i32 noundef %38, ptr noundef %5, i32 noundef 8, i32 noundef %39)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = icmp ne i64 %42, 8
br i1 %43, label %44, label %51
44: ; preds = %37
%45 = call i32 @perror(ptr noundef @.str.1)
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %9, align 4
%49 = call i32 @printf(ptr noundef @.str.3, i32 noundef %46, i32 noundef %47, i32 noundef %48)
%50 = call i32 @exit(i32 noundef -2) #3
unreachable
51: ; preds = %37
%52 = load i32, ptr %10, align 4
%53 = call i32 @close(i32 noundef %52)
%54 = load i64, ptr %7, align 8
ret i64 %54
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pread(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @pwrite(i32 noundef, ptr noundef, i32 noundef, 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" }
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/tmpndwdxs_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"/dev/cpu/%d/msr\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"pwrite\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"pread cpu%d 0x%x = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"pwrite cpu%d 0x%x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @put_msr(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca [32 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%12 = load i32, ptr %4, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12)
%14 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%15 = load i32, ptr @O_RDWR, align 4
%16 = call i32 @open(ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %3
%20 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @perror(ptr noundef %20)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %3
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @pread(i32 noundef %24, ptr noundef %7, i32 noundef 8, i32 noundef %25)
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = icmp ne i64 %28, 8
br i1 %29, label %30, label %37
30: ; preds = %23
%31 = call i32 @perror(ptr noundef @.str.1)
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %9, align 4
%35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33, i32 noundef %34)
%36 = call i32 @exit(i32 noundef -2) #3
unreachable
37: ; preds = %23
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %6, align 4
%40 = call i32 @pwrite(i32 noundef %38, ptr noundef %5, i32 noundef 8, i32 noundef %39)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = icmp ne i64 %42, 8
br i1 %43, label %44, label %51
44: ; preds = %37
%45 = call i32 @perror(ptr noundef @.str.1)
%46 = load i32, ptr %4, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %9, align 4
%49 = call i32 @printf(ptr noundef @.str.3, i32 noundef %46, i32 noundef %47, i32 noundef %48)
%50 = call i32 @exit(i32 noundef -2) #3
unreachable
51: ; preds = %37
%52 = load i32, ptr %10, align 4
%53 = call i32 @close(i32 noundef %52)
%54 = load i64, ptr %7, align 8
ret i64 %54
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pread(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @pwrite(i32 noundef, ptr noundef, i32 noundef, 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" }
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/tmp2xna3frg.c'
source_filename = "/tmp/tmp2xna3frg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"ingrese n\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ingrese m\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"ingrese valor %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"Matriz identidad\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"No es Matriz identidad\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 ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%20 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%21 = load i32, ptr %2, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %3, align 4
%24 = zext i32 %23 to i64
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %4, align 8
%26 = mul nuw i64 %22, %24
%27 = alloca i32, i64 %26, align 16
store i64 %22, ptr %5, align 8
store i64 %24, ptr %6, align 8
store i32 0, ptr %8, align 4
br label %28
28: ; preds = %54, %0
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %57
32: ; preds = %28
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %50, %32
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %53
37: ; preds = %33
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %9, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38, i32 noundef %39)
%41 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = mul nsw i64 %44, %24
%46 = getelementptr inbounds i32, ptr %27, i64 %45
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %42, ptr %49, align 4
br label %50
50: ; preds = %37
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
br label %33, !llvm.loop !6
53: ; preds = %33
br label %54
54: ; preds = %53
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %8, align 4
br label %28, !llvm.loop !8
57: ; preds = %28
store i32 0, ptr %10, align 4
br label %58
58: ; preds = %82, %57
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %85
62: ; preds = %58
store i32 0, ptr %11, align 4
br label %63
63: ; preds = %77, %62
%64 = load i32, ptr %11, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %80
67: ; preds = %63
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = mul nsw i64 %69, %24
%71 = getelementptr inbounds i32, ptr %27, i64 %70
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %75)
br label %77
77: ; preds = %67
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
br label %63, !llvm.loop !9
80: ; preds = %63
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %82
82: ; preds = %80
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %10, align 4
br label %58, !llvm.loop !10
85: ; preds = %58
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %86
86: ; preds = %104, %85
%87 = load i32, ptr %13, align 4
%88 = load i32, ptr %2, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %107
90: ; preds = %86
%91 = load i32, ptr %13, align 4
%92 = sext i32 %91 to i64
%93 = mul nsw i64 %92, %24
%94 = getelementptr inbounds i32, ptr %27, i64 %93
%95 = load i32, ptr %13, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %103
100: ; preds = %90
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %12, align 4
br label %103
103: ; preds = %100, %90
br label %104
104: ; preds = %103
%105 = load i32, ptr %13, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %13, align 4
br label %86, !llvm.loop !11
107: ; preds = %86
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %108
108: ; preds = %135, %107
%109 = load i32, ptr %15, align 4
%110 = load i32, ptr %2, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %138
112: ; preds = %108
store i32 0, ptr %16, align 4
br label %113
113: ; preds = %131, %112
%114 = load i32, ptr %16, align 4
%115 = load i32, ptr %3, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %134
117: ; preds = %113
%118 = load i32, ptr %15, align 4
%119 = sext i32 %118 to i64
%120 = mul nsw i64 %119, %24
%121 = getelementptr inbounds i32, ptr %27, i64 %120
%122 = load i32, ptr %16, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %121, i64 %123
%125 = load i32, ptr %124, align 4
%126 = icmp eq i32 %125, 1
br i1 %126, label %127, label %130
127: ; preds = %117
%128 = load i32, ptr %14, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %14, align 4
br label %130
130: ; preds = %127, %117
br label %131
131: ; preds = %130
%132 = load i32, ptr %16, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %16, align 4
br label %113, !llvm.loop !12
134: ; preds = %113
br label %135
135: ; preds = %134
%136 = load i32, ptr %15, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %15, align 4
br label %108, !llvm.loop !13
138: ; preds = %108
%139 = load i32, ptr %12, align 4
%140 = load i32, ptr %2, align 4
%141 = icmp eq i32 %139, %140
br i1 %141, label %142, label %148
142: ; preds = %138
%143 = load i32, ptr %14, align 4
%144 = load i32, ptr %2, align 4
%145 = icmp eq i32 %143, %144
br i1 %145, label %146, label %148
146: ; preds = %142
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.6)
br label %150
148: ; preds = %142, %138
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %150
150: ; preds = %148, %146
%151 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %151)
%152 = load i32, ptr %1, align 4
ret i32 %152
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xna3frg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"ingrese n\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"ingrese m\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"ingrese valor %d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"Matriz identidad\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"No es Matriz identidad\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 ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%20 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%21 = load i32, ptr %2, align 4
%22 = zext i32 %21 to i64
%23 = load i32, ptr %3, align 4
%24 = zext i32 %23 to i64
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %4, align 8
%26 = mul nuw i64 %22, %24
%27 = alloca i32, i64 %26, align 16
store i64 %22, ptr %5, align 8
store i64 %24, ptr %6, align 8
store i32 0, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %61
.lr.ph2: ; preds = %0
br label %31
31: ; preds = %.lr.ph2, %55
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %54
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %48
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36, i32 noundef %37)
%39 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = mul nsw i64 %42, %24
%44 = getelementptr inbounds i32, ptr %27, i64 %43
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %40, ptr %47, align 4
br label %48
48: ; preds = %35
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %31
br label %55
55: ; preds = %54
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %0
store i32 0, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = load i32, ptr %2, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph8, label %93
.lr.ph8: ; preds = %61
br label %65
65: ; preds = %.lr.ph8, %87
store i32 0, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph5, label %85
.lr.ph5: ; preds = %65
br label %69
69: ; preds = %.lr.ph5, %79
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = mul nsw i64 %71, %24
%73 = getelementptr inbounds i32, ptr %27, i64 %72
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %77)
br label %79
79: ; preds = %69
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %11, align 4
%82 = load i32, ptr %11, align 4
%83 = load i32, ptr %3, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %69, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %79
br label %85
85: ; preds = %._crit_edge6, %65
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %87
87: ; preds = %85
%88 = load i32, ptr %10, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %10, align 4
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %2, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %65, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %87
br label %93
93: ; preds = %._crit_edge9, %61
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %2, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %.lr.ph11, label %117
.lr.ph11: ; preds = %93
br label %97
97: ; preds = %.lr.ph11, %111
%98 = load i32, ptr %13, align 4
%99 = sext i32 %98 to i64
%100 = mul nsw i64 %99, %24
%101 = getelementptr inbounds i32, ptr %27, i64 %100
%102 = load i32, ptr %13, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = icmp eq i32 %105, 1
br i1 %106, label %107, label %110
107: ; preds = %97
%108 = load i32, ptr %12, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %12, align 4
br label %110
110: ; preds = %107, %97
br label %111
111: ; preds = %110
%112 = load i32, ptr %13, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %13, align 4
%114 = load i32, ptr %13, align 4
%115 = load i32, ptr %2, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %97, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %111
br label %117
117: ; preds = %._crit_edge12, %93
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%118 = load i32, ptr %15, align 4
%119 = load i32, ptr %2, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %.lr.ph17, label %152
.lr.ph17: ; preds = %117
br label %121
121: ; preds = %.lr.ph17, %146
store i32 0, ptr %16, align 4
%122 = load i32, ptr %16, align 4
%123 = load i32, ptr %3, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %.lr.ph14, label %145
.lr.ph14: ; preds = %121
br label %125
125: ; preds = %.lr.ph14, %139
%126 = load i32, ptr %15, align 4
%127 = sext i32 %126 to i64
%128 = mul nsw i64 %127, %24
%129 = getelementptr inbounds i32, ptr %27, i64 %128
%130 = load i32, ptr %16, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %138
135: ; preds = %125
%136 = load i32, ptr %14, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %14, align 4
br label %138
138: ; preds = %135, %125
br label %139
139: ; preds = %138
%140 = load i32, ptr %16, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %16, align 4
%142 = load i32, ptr %16, align 4
%143 = load i32, ptr %3, align 4
%144 = icmp slt i32 %142, %143
br i1 %144, label %125, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %139
br label %145
145: ; preds = %._crit_edge15, %121
br label %146
146: ; preds = %145
%147 = load i32, ptr %15, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %15, align 4
%149 = load i32, ptr %15, align 4
%150 = load i32, ptr %2, align 4
%151 = icmp slt i32 %149, %150
br i1 %151, label %121, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %146
br label %152
152: ; preds = %._crit_edge18, %117
%153 = load i32, ptr %12, align 4
%154 = load i32, ptr %2, align 4
%155 = icmp eq i32 %153, %154
br i1 %155, label %156, label %162
156: ; preds = %152
%157 = load i32, ptr %14, align 4
%158 = load i32, ptr %2, align 4
%159 = icmp eq i32 %157, %158
br i1 %159, label %160, label %162
160: ; preds = %156
%161 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.6)
br label %164
162: ; preds = %156, %152
%163 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %164
164: ; preds = %162, %160
%165 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %165)
%166 = load i32, ptr %1, align 4
ret i32 %166
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp9w_l4_im.c'
source_filename = "/tmp/tmp9w_l4_im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_shell.ret = internal global [255 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_shell() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @memcpy(ptr noundef @get_shell.ret, ptr noundef %3, i32 noundef %5)
ret ptr @get_shell.ret
}
declare ptr @getenv(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9w_l4_im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@get_shell.ret = internal global [255 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_shell() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @memcpy(ptr noundef @get_shell.ret, ptr noundef %3, i32 noundef %5)
ret ptr @get_shell.ret
}
declare ptr @getenv(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvm5fs4ls.c'
source_filename = "/tmp/tmpvm5fs4ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtapi_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @vsnprintf(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmpvm5fs4ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtapi_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @vsnprintf(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmpp0yrwozv.c'
source_filename = "/tmp/tmpp0yrwozv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upmouse(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @UpMouse247(i8 noundef zeroext %3)
ret void
}
declare i32 @UpMouse247(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp0yrwozv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upmouse(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @UpMouse247(i8 noundef zeroext %3)
ret void
}
declare i32 @UpMouse247(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplqc04y23.c'
source_filename = "/tmp/tmplqc04y23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_divide(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 = icmp eq i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = load i32, ptr @INT_MIN, align 4
store i32 %12, ptr %5, align 4
br label %20
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr %5, align 4
br label %19
17: ; preds = %13
%18 = load i32, ptr @INT_MAX, align 4
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %17, %16
br label %20
20: ; preds = %19, %11
br label %25
21: ; preds = %2
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = sdiv i32 %22, %23
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %21, %20
%26 = load i32, ptr %5, align 4
ret i32 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplqc04y23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_divide(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 = icmp eq i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = load i32, ptr @INT_MIN, align 4
store i32 %12, ptr %5, align 4
br label %20
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 0, ptr %5, align 4
br label %19
17: ; preds = %13
%18 = load i32, ptr @INT_MAX, align 4
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %17, %16
br label %20
20: ; preds = %19, %11
br label %25
21: ; preds = %2
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = sdiv i32 %22, %23
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %21, %20
%26 = load i32, ptr %5, align 4
ret i32 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3lsymqi_.c'
source_filename = "/tmp/tmp3lsymqi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns2i_(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
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
%13 = load ptr, ptr %7, align 8
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %9, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %11, align 8
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %12, align 8
%24 = load float, ptr %23, align 4
%25 = call i32 @ns2i(float noundef %14, float noundef %16, float noundef %18, float noundef %20, float noundef %22, float noundef %24)
ret void
}
declare i32 @ns2i(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3lsymqi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns2i_(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
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
%13 = load ptr, ptr %7, align 8
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = load float, ptr %15, align 4
%17 = load ptr, ptr %9, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %11, align 8
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %12, align 8
%24 = load float, ptr %23, align 4
%25 = call i32 @ns2i(float noundef %14, float noundef %16, float noundef %18, float noundef %20, float noundef %22, float noundef %24)
ret void
}
declare i32 @ns2i(float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgb5pblq1.c'
source_filename = "/tmp/tmpgb5pblq1.c"
target datalayout = "e-m:e-p270: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/tmpgb5pblq1.c"
target datalayout = "e-m:e-p270: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/tmpy7m5q8ze.c'
source_filename = "/tmp/tmpy7m5q8ze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utoa(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
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %28, %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %8
%17 = load ptr, ptr %3, 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 = call i32 @isu8cont(i8 noundef signext %21)
%23 = icmp ne i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %16
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %24, %16
br label %28
28: ; preds = %27
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
%34 = call ptr @calloc(i32 noundef %33, i32 noundef 1)
store ptr %34, ptr %7, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %37
36: ; preds = %31
store ptr null, ptr %2, align 8
br label %84
37: ; preds = %31
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %38
38: ; preds = %79, %37
%39 = load ptr, ptr %3, 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 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %82
46: ; preds = %38
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i32 @isu8cont(i8 noundef signext %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %78, label %54
54: ; preds = %46
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = call i64 @isascii(i8 noundef zeroext %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %69
62: ; preds = %54
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
br label %70
69: ; preds = %54
br label %70
70: ; preds = %69, %62
%71 = phi i32 [ %68, %62 ], [ 63, %69 ]
%72 = trunc i32 %71 to i8
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %6, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %6, align 4
%76 = sext i32 %74 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
store i8 %72, ptr %77, align 1
br label %78
78: ; preds = %70, %46
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 %38, !llvm.loop !8
82: ; preds = %38
%83 = load ptr, ptr %7, align 8
store ptr %83, ptr %2, align 8
br label %84
84: ; preds = %82, %36
%85 = load ptr, ptr %2, align 8
ret ptr %85
}
declare i32 @isu8cont(i8 noundef signext) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @isascii(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy7m5q8ze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utoa(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
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %27
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @isu8cont(i8 noundef signext %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %15
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %15
br label %27
27: ; preds = %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, 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 = icmp ne i32 %35, 0
br i1 %36, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %37
37: ; preds = %._crit_edge, %1
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
%40 = call ptr @calloc(i32 noundef %39, i32 noundef 1)
store ptr %40, ptr %7, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %43
42: ; preds = %37
store ptr null, ptr %2, align 8
br label %96
43: ; preds = %37
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %.lr.ph2, label %94
.lr.ph2: ; preds = %43
br label %51
51: ; preds = %.lr.ph2, %84
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = call i32 @isu8cont(i8 noundef signext %56)
%58 = icmp ne i32 %57, 0
br i1 %58, label %83, label %59
59: ; preds = %51
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = call i64 @isascii(i8 noundef zeroext %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %59
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
br label %75
74: ; preds = %59
br label %75
75: ; preds = %74, %67
%76 = phi i32 [ %73, %67 ], [ 63, %74 ]
%77 = trunc i32 %76 to i8
%78 = load ptr, ptr %7, align 8
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %6, align 4
%81 = sext i32 %79 to i64
%82 = getelementptr inbounds i8, ptr %78, i64 %81
store i8 %77, ptr %82, align 1
br label %83
83: ; preds = %75, %51
br label %84
84: ; preds = %83
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
%87 = load ptr, ptr %3, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp ne i32 %92, 0
br i1 %93, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %94
94: ; preds = %._crit_edge3, %43
%95 = load ptr, ptr %7, align 8
store ptr %95, ptr %2, align 8
br label %96
96: ; preds = %94, %42
%97 = load ptr, ptr %2, align 8
ret ptr %97
}
declare i32 @isu8cont(i8 noundef signext) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i64 @isascii(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6_hs06ls.c'
source_filename = "/tmp/tmp6_hs06ls.c"
target datalayout = "e-m:e-p270: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/tmp6_hs06ls.c"
target datalayout = "e-m:e-p270: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/tmptnm95px5.c'
source_filename = "/tmp/tmptnm95px5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddMD5(ptr noalias noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = 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
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @md5_write(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @md5_write(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnm95px5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddMD5(ptr noalias noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = 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
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @md5_write(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @md5_write(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf7w5s2ct.c'
source_filename = "/tmp/tmpf7w5s2ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_window_scroll_remove_buffer(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 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
br label %22
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = call ptr @gui_window_scroll_search(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @gui_window_scroll_free(ptr noundef %19, ptr noundef %20)
br label %22
22: ; preds = %11, %18, %12
ret void
}
declare ptr @gui_window_scroll_search(ptr noundef, ptr noundef) #1
declare i32 @gui_window_scroll_free(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/tmpf7w5s2ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_window_scroll_remove_buffer(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 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %12, label %11
11: ; preds = %8, %2
br label %22
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = call ptr @gui_window_scroll_search(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @gui_window_scroll_free(ptr noundef %19, ptr noundef %20)
br label %22
22: ; preds = %18, %12, %11
ret void
}
declare ptr @gui_window_scroll_search(ptr noundef, ptr noundef) #1
declare i32 @gui_window_scroll_free(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/tmpekvdc3vw.c'
source_filename = "/tmp/tmpekvdc3vw.c"
target datalayout = "e-m:e-p270: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/tmpekvdc3vw.c"
target datalayout = "e-m:e-p270: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/tmpfhtc5913.c'
source_filename = "/tmp/tmpfhtc5913.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"MFSM NEW\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"MFSM \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"[MFS EOF MARKER]\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @meta_check_metadatafile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [16 x i32], align 16
%11 = alloca [16 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %7, align 8
store i32 0, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr @O_RDONLY, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %3
%22 = load i32, ptr @errno, align 4
%23 = load i32, ptr @ENOENT, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %4, align 4
br label %136
26: ; preds = %21
store i32 2, ptr %4, align 4
br label %136
27: ; preds = %3
%28 = load i32, ptr %8, align 4
%29 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 8)
%31 = icmp ne i32 %30, 8
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load i32, ptr @errno, align 4
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %9, align 4
store i32 %36, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
37: ; preds = %27
%38 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%39 = call i64 (ptr, ...) @memcmp(ptr noundef %38, ptr noundef @.str, i32 noundef 8)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load i32, ptr %8, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = load ptr, ptr %6, align 8
store i32 1, ptr %44, align 4
store i32 0, ptr %4, align 4
br label %136
45: ; preds = %37
%46 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%47 = call i64 (ptr, ...) @memcmp(ptr noundef %46, ptr noundef @.str.1, i32 noundef 5)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %78
49: ; preds = %45
%50 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%51 = load i32, ptr %50, align 4
%52 = icmp sge i32 %51, 49
br i1 %52, label %53, label %78
53: ; preds = %49
%54 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%55 = load i32, ptr %54, align 4
%56 = icmp sle i32 %55, 57
br i1 %56, label %57, label %78
57: ; preds = %53
%58 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 6
%59 = load i32, ptr %58, align 8
%60 = icmp eq i32 %59, 46
br i1 %60, label %61, label %78
61: ; preds = %57
%62 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%63 = load i32, ptr %62, align 4
%64 = icmp sge i32 %63, 48
br i1 %64, label %65, label %78
65: ; preds = %61
%66 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%67 = load i32, ptr %66, align 4
%68 = icmp sle i32 %67, 57
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%71 = load i32, ptr %70, align 4
%72 = sub nsw i32 %71, 48
%73 = shl i32 %72, 4
%74 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%75 = load i32, ptr %74, align 4
%76 = sub nsw i32 %75, 48
%77 = add nsw i32 %73, %76
store i32 %77, ptr %12, align 4
br label %81
78: ; preds = %65, %61, %57, %53, %49, %45
%79 = load i32, ptr %8, align 4
%80 = call i32 @close(i32 noundef %79)
store i32 3, ptr %4, align 4
br label %136
81: ; preds = %69
%82 = load i32, ptr %12, align 4
%83 = icmp slt i32 %82, 22
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%86 = call i32 @memset(ptr noundef %85, i32 noundef 0, i32 noundef 16)
br label %90
87: ; preds = %81
%88 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%89 = call i32 @memcpy(ptr noundef %88, ptr noundef @.str.2, i32 noundef 16)
br label %90
90: ; preds = %87, %84
%91 = load i32, ptr %8, align 4
%92 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%93 = call i32 @read(i32 noundef %91, ptr noundef %92, i32 noundef 16)
%94 = icmp ne i32 %93, 16
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load i32, ptr @errno, align 4
store i32 %96, ptr %9, align 4
%97 = load i32, ptr %8, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = load i32, ptr %9, align 4
store i32 %99, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
100: ; preds = %90
%101 = load i32, ptr %12, align 4
%102 = icmp slt i32 %101, 32
br i1 %102, label %103, label %108
103: ; preds = %100
%104 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%105 = getelementptr inbounds i32, ptr %104, i64 4
store ptr %105, ptr %13, align 8
%106 = call i32 @get64bit(ptr noundef %13)
%107 = load ptr, ptr %6, align 8
store i32 %106, ptr %107, align 4
br label %114
108: ; preds = %100
%109 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
store ptr %109, ptr %13, align 8
%110 = call i32 @get64bit(ptr noundef %13)
%111 = load ptr, ptr %6, align 8
store i32 %110, ptr %111, align 4
%112 = call i32 @get64bit(ptr noundef %13)
%113 = load ptr, ptr %7, align 8
store i32 %112, ptr %113, align 4
br label %114
114: ; preds = %108, %103
%115 = load i32, ptr %8, align 4
%116 = load i32, ptr @SEEK_END, align 4
%117 = call i32 @lseek(i32 noundef %115, i32 noundef -16, i32 noundef %116)
%118 = load i32, ptr %8, align 4
%119 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%120 = call i32 @read(i32 noundef %118, ptr noundef %119, i32 noundef 16)
%121 = icmp ne i32 %120, 16
br i1 %121, label %122, label %127
122: ; preds = %114
%123 = load i32, ptr @errno, align 4
store i32 %123, ptr %9, align 4
%124 = load i32, ptr %8, align 4
%125 = call i32 @close(i32 noundef %124)
%126 = load i32, ptr %9, align 4
store i32 %126, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
127: ; preds = %114
%128 = load i32, ptr %8, align 4
%129 = call i32 @close(i32 noundef %128)
%130 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%131 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%132 = call i64 (ptr, ...) @memcmp(ptr noundef %130, ptr noundef %131, i32 noundef 16)
%133 = icmp ne i64 %132, 0
br i1 %133, label %134, label %135
134: ; preds = %127
store i32 4, ptr %4, align 4
br label %136
135: ; preds = %127
store i32 0, ptr %4, align 4
br label %136
136: ; preds = %135, %134, %122, %95, %78, %41, %32, %26, %25
%137 = load i32, ptr %4, align 4
ret i32 %137
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @memcmp(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get64bit(ptr noundef) #1
declare i32 @lseek(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/tmpfhtc5913.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"MFSM NEW\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"MFSM \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"[MFS EOF MARKER]\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @meta_check_metadatafile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [16 x i32], align 16
%11 = alloca [16 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %7, align 8
store i32 0, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr @O_RDONLY, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %3
%22 = load i32, ptr @errno, align 4
%23 = load i32, ptr @ENOENT, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 1, ptr %4, align 4
br label %136
26: ; preds = %21
store i32 2, ptr %4, align 4
br label %136
27: ; preds = %3
%28 = load i32, ptr %8, align 4
%29 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 8)
%31 = icmp ne i32 %30, 8
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load i32, ptr @errno, align 4
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %9, align 4
store i32 %36, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
37: ; preds = %27
%38 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%39 = call i64 (ptr, ...) @memcmp(ptr noundef %38, ptr noundef @.str, i32 noundef 8)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load i32, ptr %8, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = load ptr, ptr %6, align 8
store i32 1, ptr %44, align 4
store i32 0, ptr %4, align 4
br label %136
45: ; preds = %37
%46 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%47 = call i64 (ptr, ...) @memcmp(ptr noundef %46, ptr noundef @.str.1, i32 noundef 5)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %78
49: ; preds = %45
%50 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%51 = load i32, ptr %50, align 4
%52 = icmp sge i32 %51, 49
br i1 %52, label %53, label %78
53: ; preds = %49
%54 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%55 = load i32, ptr %54, align 4
%56 = icmp sle i32 %55, 57
br i1 %56, label %57, label %78
57: ; preds = %53
%58 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 6
%59 = load i32, ptr %58, align 8
%60 = icmp eq i32 %59, 46
br i1 %60, label %61, label %78
61: ; preds = %57
%62 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%63 = load i32, ptr %62, align 4
%64 = icmp sge i32 %63, 48
br i1 %64, label %65, label %78
65: ; preds = %61
%66 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%67 = load i32, ptr %66, align 4
%68 = icmp sle i32 %67, 57
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 5
%71 = load i32, ptr %70, align 4
%72 = sub nsw i32 %71, 48
%73 = shl i32 %72, 4
%74 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 7
%75 = load i32, ptr %74, align 4
%76 = sub nsw i32 %75, 48
%77 = add nsw i32 %73, %76
store i32 %77, ptr %12, align 4
br label %81
78: ; preds = %65, %61, %57, %53, %49, %45
%79 = load i32, ptr %8, align 4
%80 = call i32 @close(i32 noundef %79)
store i32 3, ptr %4, align 4
br label %136
81: ; preds = %69
%82 = load i32, ptr %12, align 4
%83 = icmp slt i32 %82, 22
br i1 %83, label %84, label %87
84: ; preds = %81
%85 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%86 = call i32 @memset(ptr noundef %85, i32 noundef 0, i32 noundef 16)
br label %90
87: ; preds = %81
%88 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%89 = call i32 @memcpy(ptr noundef %88, ptr noundef @.str.2, i32 noundef 16)
br label %90
90: ; preds = %87, %84
%91 = load i32, ptr %8, align 4
%92 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%93 = call i32 @read(i32 noundef %91, ptr noundef %92, i32 noundef 16)
%94 = icmp ne i32 %93, 16
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = load i32, ptr @errno, align 4
store i32 %96, ptr %9, align 4
%97 = load i32, ptr %8, align 4
%98 = call i32 @close(i32 noundef %97)
%99 = load i32, ptr %9, align 4
store i32 %99, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
100: ; preds = %90
%101 = load i32, ptr %12, align 4
%102 = icmp slt i32 %101, 32
br i1 %102, label %103, label %108
103: ; preds = %100
%104 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%105 = getelementptr inbounds i32, ptr %104, i64 4
store ptr %105, ptr %13, align 8
%106 = call i32 @get64bit(ptr noundef %13)
%107 = load ptr, ptr %6, align 8
store i32 %106, ptr %107, align 4
br label %114
108: ; preds = %100
%109 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
store ptr %109, ptr %13, align 8
%110 = call i32 @get64bit(ptr noundef %13)
%111 = load ptr, ptr %6, align 8
store i32 %110, ptr %111, align 4
%112 = call i32 @get64bit(ptr noundef %13)
%113 = load ptr, ptr %7, align 8
store i32 %112, ptr %113, align 4
br label %114
114: ; preds = %108, %103
%115 = load i32, ptr %8, align 4
%116 = load i32, ptr @SEEK_END, align 4
%117 = call i32 @lseek(i32 noundef %115, i32 noundef -16, i32 noundef %116)
%118 = load i32, ptr %8, align 4
%119 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%120 = call i32 @read(i32 noundef %118, ptr noundef %119, i32 noundef 16)
%121 = icmp ne i32 %120, 16
br i1 %121, label %122, label %127
122: ; preds = %114
%123 = load i32, ptr @errno, align 4
store i32 %123, ptr %9, align 4
%124 = load i32, ptr %8, align 4
%125 = call i32 @close(i32 noundef %124)
%126 = load i32, ptr %9, align 4
store i32 %126, ptr @errno, align 4
store i32 2, ptr %4, align 4
br label %136
127: ; preds = %114
%128 = load i32, ptr %8, align 4
%129 = call i32 @close(i32 noundef %128)
%130 = getelementptr inbounds [16 x i32], ptr %10, i64 0, i64 0
%131 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%132 = call i64 (ptr, ...) @memcmp(ptr noundef %130, ptr noundef %131, i32 noundef 16)
%133 = icmp ne i64 %132, 0
br i1 %133, label %134, label %135
134: ; preds = %127
store i32 4, ptr %4, align 4
br label %136
135: ; preds = %127
store i32 0, ptr %4, align 4
br label %136
136: ; preds = %135, %134, %122, %95, %78, %41, %32, %26, %25
%137 = load i32, ptr %4, align 4
ret i32 %137
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @memcmp(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get64bit(ptr noundef) #1
declare i32 @lseek(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/tmpqu7xuc21.c'
source_filename = "/tmp/tmpqu7xuc21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @safe_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %35, %33, %3
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %9, align 8
%21 = sub i64 %19, %20
%22 = call i64 @read(i32 noundef %15, ptr noundef %18, i64 noundef %21)
store i64 %22, ptr %8, align 8
%23 = icmp ne i64 %22, 0
br label %24
24: ; preds = %14, %10
%25 = phi i1 [ false, %10 ], [ %23, %14 ]
br i1 %25, label %26, label %39
26: ; preds = %24
%27 = load i64, ptr %8, align 8
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EINTR, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29
br label %10, !llvm.loop !6
34: ; preds = %29
store i64 -1, ptr %4, align 8
br label %41
35: ; preds = %26
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = add i64 %37, %36
store i64 %38, ptr %9, align 8
br label %10, !llvm.loop !6
39: ; preds = %24
%40 = load i64, ptr %9, align 8
store i64 %40, ptr %4, align 8
br label %41
41: ; preds = %39, %34
%42 = load i64, ptr %4, align 8
ret i64 %42
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqu7xuc21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @safe_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %.backedge, %3
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %9, align 8
%21 = sub i64 %19, %20
%22 = call i64 @read(i32 noundef %15, ptr noundef %18, i64 noundef %21)
store i64 %22, ptr %8, align 8
%23 = icmp ne i64 %22, 0
br label %24
24: ; preds = %14, %10
%25 = phi i1 [ false, %10 ], [ %23, %14 ]
br i1 %25, label %26, label %39
26: ; preds = %24
%27 = load i64, ptr %8, align 8
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EINTR, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29
br label %.backedge
.backedge: ; preds = %33, %35
br label %10, !llvm.loop !6
34: ; preds = %29
store i64 -1, ptr %4, align 8
br label %41
35: ; preds = %26
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = add i64 %37, %36
store i64 %38, ptr %9, align 8
br label %.backedge
39: ; preds = %24
%40 = load i64, ptr %9, align 8
store i64 %40, ptr %4, align 8
br label %41
41: ; preds = %39, %34
%42 = load i64, ptr %4, align 8
ret i64 %42
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp25uzbew0.c'
source_filename = "/tmp/tmp25uzbew0.c"
target datalayout = "e-m:e-p270: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/tmp25uzbew0.c"
target datalayout = "e-m:e-p270: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/tmp9i1wza7z.c'
source_filename = "/tmp/tmp9i1wza7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmio_write(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store volatile i32 %5, ptr %6, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9i1wza7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmio_write(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store volatile i32 %5, ptr %6, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3v4vfal.c'
source_filename = "/tmp/tmpg3v4vfal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_MAX = 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/tmpg3v4vfal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DBL_MAX = 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/tmpk2ny_45_.c'
source_filename = "/tmp/tmpk2ny_45_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readdata(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @memcpy(ptr noundef %9, ptr noundef %11, i64 noundef %12)
%14 = load i64, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 %14
store ptr %17, ptr %15, align 8
%18 = load i64, ptr %8, align 8
%19 = trunc i64 %18 to i32
ret i32 %19
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk2ny_45_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readdata(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @memcpy(ptr noundef %9, ptr noundef %11, i64 noundef %12)
%14 = load i64, ptr %8, align 8
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 %14
store ptr %17, ptr %15, align 8
%18 = load i64, ptr %8, align 8
%19 = trunc i64 %18 to i32
ret i32 %19
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl0dfa558.c'
source_filename = "/tmp/tmpl0dfa558.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"EXCEPTION!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"============\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"MEPC: 0x\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0AMCAUSE: 0x\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0AMTVAL: 0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simple_exc_handler() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 (...) @get_mepc()
%5 = call i32 @puthex(i32 noundef %4)
%6 = call i32 @puts(ptr noundef @.str.3)
%7 = call i32 (...) @get_mcause()
%8 = call i32 @puthex(i32 noundef %7)
%9 = call i32 @puts(ptr noundef @.str.4)
%10 = call i32 (...) @get_mtval()
%11 = call i32 @puthex(i32 noundef %10)
%12 = call i32 @putchar(i8 noundef signext 10)
%13 = call i32 (...) @sim_halt()
br label %14
14: ; preds = %0, %14
br label %14
}
declare i32 @puts(ptr noundef) #1
declare i32 @puthex(i32 noundef) #1
declare i32 @get_mepc(...) #1
declare i32 @get_mcause(...) #1
declare i32 @get_mtval(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @sim_halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl0dfa558.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"EXCEPTION!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"============\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"MEPC: 0x\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0AMCAUSE: 0x\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0AMTVAL: 0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simple_exc_handler() #0 {
%1 = call i32 @puts(ptr noundef @.str)
%2 = call i32 @puts(ptr noundef @.str.1)
%3 = call i32 @puts(ptr noundef @.str.2)
%4 = call i32 (...) @get_mepc()
%5 = call i32 @puthex(i32 noundef %4)
%6 = call i32 @puts(ptr noundef @.str.3)
%7 = call i32 (...) @get_mcause()
%8 = call i32 @puthex(i32 noundef %7)
%9 = call i32 @puts(ptr noundef @.str.4)
%10 = call i32 (...) @get_mtval()
%11 = call i32 @puthex(i32 noundef %10)
%12 = call i32 @putchar(i8 noundef signext 10)
%13 = call i32 (...) @sim_halt()
br label %14
14: ; preds = %14, %0
br label %14
}
declare i32 @puts(ptr noundef) #1
declare i32 @puthex(i32 noundef) #1
declare i32 @get_mepc(...) #1
declare i32 @get_mcause(...) #1
declare i32 @get_mtval(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @sim_halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp99yb00ar.c'
source_filename = "/tmp/tmp99yb00ar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%.2f GiB\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%.2f MiB\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%.2f KiB\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%.1f B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filesize_str(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = call i64 @xmalloc(i32 noundef 12)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp uge i64 %6, 1073741824
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %2, align 8
%11 = uitofp i64 %10 to double
%12 = fdiv double %11, 0x41D0000000000000
%13 = call i32 @snprintf(ptr noundef %9, i32 noundef 12, ptr noundef @.str, double noundef %12)
br label %39
14: ; preds = %1
%15 = load i64, ptr %2, align 8
%16 = icmp uge i64 %15, 1048576
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %2, align 8
%20 = uitofp i64 %19 to double
%21 = fdiv double %20, 0x4130000000000000
%22 = call i32 @snprintf(ptr noundef %18, i32 noundef 12, ptr noundef @.str.1, double noundef %21)
br label %38
23: ; preds = %14
%24 = load i64, ptr %2, align 8
%25 = icmp uge i64 %24, 1024
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %2, align 8
%29 = uitofp i64 %28 to double
%30 = fdiv double %29, 1.024000e+03
%31 = call i32 @snprintf(ptr noundef %27, i32 noundef 12, ptr noundef @.str.2, double noundef %30)
br label %37
32: ; preds = %23
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %2, align 8
%35 = uitofp i64 %34 to double
%36 = call i32 @snprintf(ptr noundef %33, i32 noundef 12, ptr noundef @.str.3, double noundef %35)
br label %37
37: ; preds = %32, %26
br label %38
38: ; preds = %37, %17
br label %39
39: ; preds = %38, %8
%40 = load ptr, ptr %3, align 8
ret ptr %40
}
declare i64 @xmalloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp99yb00ar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%.2f GiB\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%.2f MiB\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%.2f KiB\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%.1f B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @filesize_str(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = call i64 @xmalloc(i32 noundef 12)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp uge i64 %6, 1073741824
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %2, align 8
%11 = uitofp i64 %10 to double
%12 = fdiv double %11, 0x41D0000000000000
%13 = call i32 @snprintf(ptr noundef %9, i32 noundef 12, ptr noundef @.str, double noundef %12)
br label %39
14: ; preds = %1
%15 = load i64, ptr %2, align 8
%16 = icmp uge i64 %15, 1048576
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %2, align 8
%20 = uitofp i64 %19 to double
%21 = fdiv double %20, 0x4130000000000000
%22 = call i32 @snprintf(ptr noundef %18, i32 noundef 12, ptr noundef @.str.1, double noundef %21)
br label %38
23: ; preds = %14
%24 = load i64, ptr %2, align 8
%25 = icmp uge i64 %24, 1024
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %2, align 8
%29 = uitofp i64 %28 to double
%30 = fdiv double %29, 1.024000e+03
%31 = call i32 @snprintf(ptr noundef %27, i32 noundef 12, ptr noundef @.str.2, double noundef %30)
br label %37
32: ; preds = %23
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %2, align 8
%35 = uitofp i64 %34 to double
%36 = call i32 @snprintf(ptr noundef %33, i32 noundef 12, ptr noundef @.str.3, double noundef %35)
br label %37
37: ; preds = %32, %26
br label %38
38: ; preds = %37, %17
br label %39
39: ; preds = %38, %8
%40 = load ptr, ptr %3, align 8
ret ptr %40
}
declare i64 @xmalloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv5sutsbc.c'
source_filename = "/tmp/tmpv5sutsbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptys_open(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @open(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/tmpv5sutsbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ptys_open(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @open(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/tmp662p458f.c'
source_filename = "/tmp/tmp662p458f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@O_WRONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp662p458f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@O_WRONLY = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6o58sjmu.c'
source_filename = "/tmp/tmp6o58sjmu.c"
target datalayout = "e-m:e-p270: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/tmp6o58sjmu.c"
target datalayout = "e-m:e-p270: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/tmpa8v97ray.c'
source_filename = "/tmp/tmpa8v97ray.c"
target datalayout = "e-m:e-p270: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/tmpa8v97ray.c"
target datalayout = "e-m:e-p270: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/tmplddw5vi8.c'
source_filename = "/tmp/tmplddw5vi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"tmpfile\00", align 1
@_SC_PAGESIZE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"ftruncate\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/etc/shadow\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call ptr (...) @tmpfile()
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = load i32, ptr @errno, align 4
%12 = call i32 @error(i32 noundef 1, i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %0
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fileno(ptr noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr @_SC_PAGESIZE, align 4
%17 = call i64 @sysconf(i32 noundef %16)
store i64 %17, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = load i64, ptr %4, align 8
%20 = call i64 @ftruncate(i32 noundef %18, i64 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load i32, ptr @errno, align 4
%24 = call i32 @error(i32 noundef 1, i32 noundef %23, ptr noundef @.str.1)
br label %25
25: ; preds = %22, %13
%26 = load i64, ptr %4, align 8
%27 = load i32, ptr @PROT_READ, align 4
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @MAP_SHARED, align 4
%31 = load i32, ptr %3, align 4
%32 = call ptr @mmap(ptr noundef null, i64 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 0)
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr @MAP_FAILED, align 8
%35 = icmp eq ptr %33, %34
br i1 %35, label %36, label %39
36: ; preds = %25
%37 = load i32, ptr @errno, align 4
%38 = call i32 @error(i32 noundef 1, i32 noundef %37, ptr noundef @.str.2)
br label %39
39: ; preds = %36, %25
%40 = load ptr, ptr %2, align 8
%41 = call i32 @fclose(ptr noundef %40)
store ptr null, ptr %2, align 8
store i32 -1, ptr %3, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.3)
%44 = load ptr, ptr %5, align 8
%45 = call i64 @open(ptr noundef %44, i32 noundef 0)
%46 = icmp sge i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %39
%48 = load ptr, ptr %5, align 8
%49 = call i32 @error(i32 noundef 1, i32 noundef 0, ptr noundef %48)
br label %50
50: ; preds = %47, %39
%51 = call i64 (...) @fork()
store i64 %51, ptr %6, align 8
%52 = load i64, ptr %6, align 8
%53 = icmp slt i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, ptr @errno, align 4
%56 = call i32 @error(i32 noundef 1, i32 noundef %55, ptr noundef @.str.4)
br label %57
57: ; preds = %54, %50
%58 = load i64, ptr %6, align 8
%59 = icmp ne i64 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %57
br label %61
61: ; preds = %61, %60
%62 = load ptr, ptr %5, align 8
%63 = call i32 @strcpy(ptr noundef %62, ptr noundef @.str.5)
%64 = load ptr, ptr %5, align 8
%65 = call i32 @strcpy(ptr noundef %64, ptr noundef @.str.3)
br label %61
66: ; preds = %57
br label %67
67: ; preds = %75, %66
%68 = load ptr, ptr %5, align 8
%69 = call i64 @open(ptr noundef %68, i32 noundef 0)
%70 = trunc i64 %69 to i32
store i32 %70, ptr %3, align 4
%71 = icmp sge i32 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %67
%73 = load i32, ptr %3, align 4
%74 = call i32 @close(i32 noundef %73)
br label %75
75: ; preds = %72, %67
br label %67
}
declare ptr @tmpfile(...) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i64 @sysconf(i32 noundef) #1
declare i64 @ftruncate(i32 noundef, i64 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @open(ptr noundef, i32 noundef) #1
declare i64 @fork(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplddw5vi8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"tmpfile\00", align 1
@_SC_PAGESIZE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"ftruncate\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/etc/shadow\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call ptr (...) @tmpfile()
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = load i32, ptr @errno, align 4
%12 = call i32 @error(i32 noundef 1, i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %0
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fileno(ptr noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr @_SC_PAGESIZE, align 4
%17 = call i64 @sysconf(i32 noundef %16)
store i64 %17, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = load i64, ptr %4, align 8
%20 = call i64 @ftruncate(i32 noundef %18, i64 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load i32, ptr @errno, align 4
%24 = call i32 @error(i32 noundef 1, i32 noundef %23, ptr noundef @.str.1)
br label %25
25: ; preds = %22, %13
%26 = load i64, ptr %4, align 8
%27 = load i32, ptr @PROT_READ, align 4
%28 = load i32, ptr @PROT_WRITE, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @MAP_SHARED, align 4
%31 = load i32, ptr %3, align 4
%32 = call ptr @mmap(ptr noundef null, i64 noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef 0)
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr @MAP_FAILED, align 8
%35 = icmp eq ptr %33, %34
br i1 %35, label %36, label %39
36: ; preds = %25
%37 = load i32, ptr @errno, align 4
%38 = call i32 @error(i32 noundef 1, i32 noundef %37, ptr noundef @.str.2)
br label %39
39: ; preds = %36, %25
%40 = load ptr, ptr %2, align 8
%41 = call i32 @fclose(ptr noundef %40)
store ptr null, ptr %2, align 8
store i32 -1, ptr %3, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.3)
%44 = load ptr, ptr %5, align 8
%45 = call i64 @open(ptr noundef %44, i32 noundef 0)
%46 = icmp sge i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %39
%48 = load ptr, ptr %5, align 8
%49 = call i32 @error(i32 noundef 1, i32 noundef 0, ptr noundef %48)
br label %50
50: ; preds = %47, %39
%51 = call i64 (...) @fork()
store i64 %51, ptr %6, align 8
%52 = load i64, ptr %6, align 8
%53 = icmp slt i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i32, ptr @errno, align 4
%56 = call i32 @error(i32 noundef 1, i32 noundef %55, ptr noundef @.str.4)
br label %57
57: ; preds = %54, %50
%58 = load i64, ptr %6, align 8
%59 = icmp ne i64 %58, 0
br i1 %59, label %66, label %60
60: ; preds = %57
br label %61
61: ; preds = %61, %60
%62 = load ptr, ptr %5, align 8
%63 = call i32 @strcpy(ptr noundef %62, ptr noundef @.str.5)
%64 = load ptr, ptr %5, align 8
%65 = call i32 @strcpy(ptr noundef %64, ptr noundef @.str.3)
br label %61
66: ; preds = %57
br label %67
67: ; preds = %75, %66
%68 = load ptr, ptr %5, align 8
%69 = call i64 @open(ptr noundef %68, i32 noundef 0)
%70 = trunc i64 %69 to i32
store i32 %70, ptr %3, align 4
%71 = icmp sge i32 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %67
%73 = load i32, ptr %3, align 4
%74 = call i32 @close(i32 noundef %73)
br label %75
75: ; preds = %72, %67
br label %67
}
declare ptr @tmpfile(...) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
declare i64 @sysconf(i32 noundef) #1
declare i64 @ftruncate(i32 noundef, i64 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @open(ptr noundef, i32 noundef) #1
declare i64 @fork(...) #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"}
|
; ModuleID = '/tmp/tmpho4et9sz.c'
source_filename = "/tmp/tmpho4et9sz.c"
target datalayout = "e-m:e-p270: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/tmpho4et9sz.c"
target datalayout = "e-m:e-p270: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/tmpryvapf8d.c'
source_filename = "/tmp/tmpryvapf8d.c"
target datalayout = "e-m:e-p270: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/tmpryvapf8d.c"
target datalayout = "e-m:e-p270: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/tmp50i7e3cp.c'
source_filename = "/tmp/tmp50i7e3cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50i7e3cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp0uw1hsw.c'
source_filename = "/tmp/tmpp0uw1hsw.c"
target datalayout = "e-m:e-p270: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/tmpp0uw1hsw.c"
target datalayout = "e-m:e-p270: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/tmpj8bmqsjg.c'
source_filename = "/tmp/tmpj8bmqsjg.c"
target datalayout = "e-m:e-p270: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.example_sums.nums = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 6, i32 7, i32 8, i32 9, i32 0], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @example_sums() #0 {
%1 = alloca [10 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.example_sums.nums, i64 40, i1 false)
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @sum(ptr noundef %2, i32 noundef 10)
%4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds i32, ptr %4, i64 2
%6 = call i32 @sum(ptr noundef %5, i32 noundef 6)
%7 = add i32 %3, %6
ret i32 %7
}
; 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 @sum(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj8bmqsjg.c"
target datalayout = "e-m:e-p270: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.example_sums.nums = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 6, i32 7, i32 8, i32 9, i32 0], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @example_sums() #0 {
%1 = alloca [10 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.example_sums.nums, i64 40, i1 false)
%2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @sum(ptr noundef %2, i32 noundef 10)
%4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds i32, ptr %4, i64 2
%6 = call i32 @sum(ptr noundef %5, i32 noundef 6)
%7 = add i32 %3, %6
ret i32 %7
}
; 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 @sum(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_xv4ucd_.c'
source_filename = "/tmp/tmp_xv4ucd_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[in main] i = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"[back in main] 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 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @func1()
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @func1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_xv4ucd_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[in main] i = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"[back in main] 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 3, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @func1()
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @func1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt4gst6k3.c'
source_filename = "/tmp/tmpt4gst6k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Digite ELEMENTO da linha %d, coluna %d damatriz: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0A\0AResultado:\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %30, %0
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 3
br i1 %8, label %9, label %33
9: ; preds = %6
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %26, %9
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 3
br i1 %12, label %13, label %29
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [4 x [4 x i32]], ptr %5, i64 0, i64 %20
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4 x i32], ptr %21, i64 0, i64 %23
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %13
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %6, !llvm.loop !8
33: ; preds = %6
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %35
35: ; preds = %58, %33
%36 = load i32, ptr %2, align 4
%37 = icmp sle i32 %36, 3
br i1 %37, label %38, label %61
38: ; preds = %35
%39 = load i32, ptr %2, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [4 x [4 x i32]], ptr %5, i64 0, i64 %40
%42 = load i32, ptr %2, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [4 x i32], ptr %41, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45)
store i32 1, ptr %4, align 4
br label %47
47: ; preds = %54, %38
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
%51 = icmp sle i32 %48, %50
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %54
54: ; preds = %52
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %47, !llvm.loop !9
57: ; preds = %47
br label %58
58: ; preds = %57
%59 = load i32, ptr %2, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %2, align 4
br label %35, !llvm.loop !10
61: ; preds = %35
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4gst6k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Digite ELEMENTO da linha %d, coluna %d damatriz: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0A\0AResultado:\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 3
br i1 %7, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %30
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %9, 3
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %24
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x [4 x i32]], ptr %5, i64 0, i64 %18
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %11
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp sle i32 %27, 3
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %8
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp sle i32 %33, 3
br i1 %34, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp sle i32 %37, 3
br i1 %38, label %.lr.ph8, label %67
.lr.ph8: ; preds = %35
br label %39
39: ; preds = %.lr.ph8, %62
%40 = load i32, ptr %2, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x [4 x i32]], ptr %5, i64 0, i64 %41
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
store i32 1, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
%51 = icmp sle i32 %48, %50
br i1 %51, label %.lr.ph5, label %61
.lr.ph5: ; preds = %39
br label %52
52: ; preds = %.lr.ph5, %54
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %54
54: ; preds = %52
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %2, align 4
%59 = add nsw i32 %58, 1
%60 = icmp sle i32 %57, %59
br i1 %60, label %52, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %54
br label %61
61: ; preds = %._crit_edge6, %39
br label %62
62: ; preds = %61
%63 = load i32, ptr %2, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %2, align 4
%65 = load i32, ptr %2, align 4
%66 = icmp sle i32 %65, 3
br i1 %66, label %39, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %62
br label %67
67: ; preds = %._crit_edge9, %35
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp989m4aon.c'
source_filename = "/tmp/tmp989m4aon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eraseSpaces(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
br label %5
5: ; preds = %19, %2
%6 = load ptr, ptr %3, align 8
%7 = call signext i8 @fgetc(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
store i8 %7, ptr %8, align 1
br label %9
9: ; preds = %5
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 32
br i1 %13, label %19, label %14
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br label %19
19: ; preds = %14, %9
%20 = phi i1 [ true, %9 ], [ %18, %14 ]
br i1 %20, label %5, label %21, !llvm.loop !6
21: ; preds = %19
ret void
}
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp989m4aon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eraseSpaces(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
br label %5
5: ; preds = %19, %2
%6 = load ptr, ptr %3, align 8
%7 = call signext i8 @fgetc(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
store i8 %7, ptr %8, align 1
br label %9
9: ; preds = %5
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 32
br i1 %13, label %19, label %14
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br label %19
19: ; preds = %14, %9
%20 = phi i1 [ true, %9 ], [ %18, %14 ]
br i1 %20, label %5, label %21, !llvm.loop !6
21: ; preds = %19
ret void
}
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpohhr2eyy.c'
source_filename = "/tmp/tmpohhr2eyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_n25q(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 92, i32 noundef 128, i32 noundef 0, i32 noundef 255)
ret i32 %4
}
declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpohhr2eyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_n25q(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 92, i32 noundef 128, i32 noundef 0, i32 noundef 255)
ret i32 %4
}
declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7gei8v_.c'
source_filename = "/tmp/tmpq7gei8v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nss_sss_getpwent_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = call i32 (...) @sss_nss_lock()
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = call i32 @internal_getpwent_r(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = call i32 (...) @sss_nss_unlock()
%17 = load i32, ptr %9, align 4
ret i32 %17
}
declare i32 @sss_nss_lock(...) #1
declare i32 @internal_getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @sss_nss_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7gei8v_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nss_sss_getpwent_r(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = call i32 (...) @sss_nss_lock()
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = call i32 @internal_getpwent_r(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = call i32 (...) @sss_nss_unlock()
%17 = load i32, ptr %9, align 4
ret i32 %17
}
declare i32 @sss_nss_lock(...) #1
declare i32 @internal_getpwent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @sss_nss_unlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.