llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpztbf_q5p.c'
source_filename = "/tmp/tmpztbf_q5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x78() #0 {
%1 = call i64 @isxdigit(i32 noundef 120)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 605, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpztbf_q5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x78() #0 {
%1 = call i64 @isxdigit(i32 noundef 120)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 605, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(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/tmpqx4vp4dl.c'
source_filename = "/tmp/tmpqx4vp4dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vec_max(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%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 float, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load float, ptr @FLT_MAX, align 4
%13 = fneg float %12
store float %13, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %34, %4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = load float, ptr %22, align 4
%24 = load float, ptr %10, align 4
%25 = fcmp ogt float %23, %24
br i1 %25, label %26, label %33
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds float, ptr %27, i64 %29
%31 = load float, ptr %30, align 4
store float %31, ptr %10, align 4
%32 = load i32, ptr %9, align 4
store i32 %32, ptr %11, align 4
br label %33
33: ; preds = %26, %18
br label %34
34: ; preds = %33
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %14, !llvm.loop !6
37: ; preds = %14
%38 = load ptr, ptr %7, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i32, ptr %11, align 4
%42 = load ptr, ptr %7, align 8
store i32 %41, ptr %42, align 4
br label %43
43: ; preds = %40, %37
%44 = load ptr, ptr %6, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load float, ptr %10, align 4
%48 = load ptr, ptr %6, align 8
store float %47, ptr %48, align 4
br label %49
49: ; preds = %46, %43
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqx4vp4dl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_MAX = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vec_max(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%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 float, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load float, ptr @FLT_MAX, align 4
%13 = fneg float %12
store float %13, ptr %10, align 4
store i32 -1, ptr %11, align 4
store i32 0, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %33
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %18, i64 %20
%22 = load float, ptr %21, align 4
%23 = load float, ptr %10, align 4
%24 = fcmp ogt float %22, %23
br i1 %24, label %25, label %32
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %26, i64 %28
%30 = load float, ptr %29, align 4
store float %30, ptr %10, align 4
%31 = load i32, ptr %9, align 4
store i32 %31, ptr %11, align 4
br label %32
32: ; preds = %25, %17
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %4
%40 = load ptr, ptr %7, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, ptr %11, align 4
%44 = load ptr, ptr %7, align 8
store i32 %43, ptr %44, align 4
br label %45
45: ; preds = %42, %39
%46 = load ptr, ptr %6, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load float, ptr %10, align 4
%50 = load ptr, ptr %6, align 8
store float %49, ptr %50, align 4
br label %51
51: ; preds = %48, %45
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8yvt92ke.c'
source_filename = "/tmp/tmp8yvt92ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Set_Lum(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 16
%11 = and i32 %10, 255
%12 = sitofp i32 %11 to double
%13 = load i32, ptr %3, align 4
%14 = ashr i32 %13, 8
%15 = and i32 %14, 255
%16 = sitofp i32 %15 to double
%17 = fmul double %16, 5.900000e-01
%18 = call double @llvm.fmuladd.f64(double %12, double 3.000000e-01, double %17)
%19 = load i32, ptr %3, align 4
%20 = and i32 %19, 255
%21 = sitofp i32 %20 to double
%22 = call double @llvm.fmuladd.f64(double %21, double 1.100000e-01, double %18)
%23 = load i32, ptr %4, align 4
%24 = ashr i32 %23, 16
%25 = and i32 %24, 255
%26 = sitofp i32 %25 to double
%27 = load i32, ptr %4, align 4
%28 = ashr i32 %27, 8
%29 = and i32 %28, 255
%30 = sitofp i32 %29 to double
%31 = fmul double %30, 5.900000e-01
%32 = call double @llvm.fmuladd.f64(double %26, double 3.000000e-01, double %31)
%33 = load i32, ptr %4, align 4
%34 = and i32 %33, 255
%35 = sitofp i32 %34 to double
%36 = call double @llvm.fmuladd.f64(double %35, double 1.100000e-01, double %32)
%37 = fsub double %22, %36
%38 = fptosi double %37 to i32
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %4, align 4
%40 = ashr i32 %39, 16
%41 = and i32 %40, 255
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %4, align 4
%43 = ashr i32 %42, 8
%44 = and i32 %43, 255
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %4, align 4
%46 = and i32 %45, 255
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, %53
store i32 %55, ptr %8, align 4
%56 = load i32, ptr %6, align 4
%57 = shl i32 %56, 16
%58 = load i32, ptr %7, align 4
%59 = shl i32 %58, 8
%60 = add nsw i32 %57, %59
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %60, %61
%63 = call i32 @Clip_Color(i32 noundef %62)
ret i32 %63
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @Clip_Color(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 nosync nounwind speculatable willreturn memory(none) }
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/tmp8yvt92ke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Set_Lum(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 16
%11 = and i32 %10, 255
%12 = sitofp i32 %11 to double
%13 = load i32, ptr %3, align 4
%14 = ashr i32 %13, 8
%15 = and i32 %14, 255
%16 = sitofp i32 %15 to double
%17 = fmul double %16, 5.900000e-01
%18 = call double @llvm.fmuladd.f64(double %12, double 3.000000e-01, double %17)
%19 = load i32, ptr %3, align 4
%20 = and i32 %19, 255
%21 = sitofp i32 %20 to double
%22 = call double @llvm.fmuladd.f64(double %21, double 1.100000e-01, double %18)
%23 = load i32, ptr %4, align 4
%24 = ashr i32 %23, 16
%25 = and i32 %24, 255
%26 = sitofp i32 %25 to double
%27 = load i32, ptr %4, align 4
%28 = ashr i32 %27, 8
%29 = and i32 %28, 255
%30 = sitofp i32 %29 to double
%31 = fmul double %30, 5.900000e-01
%32 = call double @llvm.fmuladd.f64(double %26, double 3.000000e-01, double %31)
%33 = load i32, ptr %4, align 4
%34 = and i32 %33, 255
%35 = sitofp i32 %34 to double
%36 = call double @llvm.fmuladd.f64(double %35, double 1.100000e-01, double %32)
%37 = fsub double %22, %36
%38 = fptosi double %37 to i32
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %4, align 4
%40 = ashr i32 %39, 16
%41 = and i32 %40, 255
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %4, align 4
%43 = ashr i32 %42, 8
%44 = and i32 %43, 255
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %4, align 4
%46 = and i32 %45, 255
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, %53
store i32 %55, ptr %8, align 4
%56 = load i32, ptr %6, align 4
%57 = shl i32 %56, 16
%58 = load i32, ptr %7, align 4
%59 = shl i32 %58, 8
%60 = add nsw i32 %57, %59
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %60, %61
%63 = call i32 @Clip_Color(i32 noundef %62)
ret i32 %63
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @Clip_Color(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 nosync nounwind speculatable willreturn memory(none) }
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/tmp2x9qxeio.c'
source_filename = "/tmp/tmp2x9qxeio.c"
target datalayout = "e-m:e-p270: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/tmp2x9qxeio.c"
target datalayout = "e-m:e-p270: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/tmpkdif54xa.c'
source_filename = "/tmp/tmpkdif54xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appaserver_link_tail_half(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load ptr, ptr %14, align 8
%22 = call ptr @appaserver_link_get_tail_half(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21)
ret ptr %22
}
declare ptr @appaserver_link_get_tail_half(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkdif54xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @appaserver_link_tail_half(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load ptr, ptr %14, align 8
%22 = call ptr @appaserver_link_get_tail_half(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, ptr noundef %21)
ret ptr %22
}
declare ptr @appaserver_link_get_tail_half(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3d_wzn8_.c'
source_filename = "/tmp/tmp3d_wzn8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_dobldobl_Laurent_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2 x 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 ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc4c(i32 noundef 556, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc4c(i32 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/tmp3d_wzn8_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_dobldobl_Laurent_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [2 x 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 ptr %3, ptr %8, align 8
%11 = load i32, ptr %6, align 4
%12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %13, ptr %14, align 4
%15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %8, align 8
%18 = call i32 @_ada_use_c2phc4c(i32 noundef 556, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %10, align 4
ret i32 %19
}
declare i32 @_ada_use_c2phc4c(i32 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/tmp14t1h78g.c'
source_filename = "/tmp/tmp14t1h78g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vec2ang(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i32, ptr @M_PI, align 4
%10 = mul nsw i32 2, %9
%11 = sitofp i32 %10 to double
store double %11, ptr %8, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 1
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds double, ptr %21, i64 1
%23 = load double, ptr %22, align 8
%24 = fmul double %20, %23
%25 = call double @llvm.fmuladd.f64(double %14, double %17, double %24)
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 2
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds double, ptr %29, i64 2
%31 = load double, ptr %30, align 8
%32 = call double @llvm.fmuladd.f64(double %28, double %31, double %25)
%33 = call double @sqrt(double noundef %32) #3
store double %33, ptr %7, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds double, ptr %34, i64 2
%36 = load double, ptr %35, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
%39 = call double @acos(double noundef %38) #3
%40 = load ptr, ptr %5, align 8
store double %39, ptr %40, align 8
%41 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %41, align 8
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = fcmp une double %44, 0.000000e+00
br i1 %45, label %51, label %46
46: ; preds = %3
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds double, ptr %47, i64 1
%49 = load double, ptr %48, align 8
%50 = fcmp une double %49, 0.000000e+00
br i1 %50, label %51, label %69
51: ; preds = %46, %3
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds double, ptr %52, i64 1
%54 = load double, ptr %53, align 8
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
%57 = load double, ptr %56, align 8
%58 = call double @atan2(double noundef %54, double noundef %57) #3
%59 = load ptr, ptr %6, align 8
store double %58, ptr %59, align 8
%60 = load ptr, ptr %6, align 8
%61 = load double, ptr %60, align 8
%62 = fcmp olt double %61, 0.000000e+00
br i1 %62, label %63, label %68
63: ; preds = %51
%64 = load double, ptr %8, align 8
%65 = load ptr, ptr %6, align 8
%66 = load double, ptr %65, align 8
%67 = fadd double %66, %64
store double %67, ptr %65, align 8
br label %68
68: ; preds = %63, %51
br label %69
69: ; preds = %68, %46
ret void
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @acos(double noundef) #1
; Function Attrs: nounwind
declare double @atan2(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 = { 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/tmp14t1h78g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vec2ang(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i32, ptr @M_PI, align 4
%10 = mul nsw i32 2, %9
%11 = sitofp i32 %10 to double
store double %11, ptr %8, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds double, ptr %18, i64 1
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds double, ptr %21, i64 1
%23 = load double, ptr %22, align 8
%24 = fmul double %20, %23
%25 = call double @llvm.fmuladd.f64(double %14, double %17, double %24)
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds double, ptr %26, i64 2
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds double, ptr %29, i64 2
%31 = load double, ptr %30, align 8
%32 = call double @llvm.fmuladd.f64(double %28, double %31, double %25)
%33 = call double @sqrt(double noundef %32) #3
store double %33, ptr %7, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds double, ptr %34, i64 2
%36 = load double, ptr %35, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
%39 = call double @acos(double noundef %38) #3
%40 = load ptr, ptr %5, align 8
store double %39, ptr %40, align 8
%41 = load ptr, ptr %6, align 8
store double 0.000000e+00, ptr %41, align 8
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = fcmp une double %44, 0.000000e+00
br i1 %45, label %51, label %46
46: ; preds = %3
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds double, ptr %47, i64 1
%49 = load double, ptr %48, align 8
%50 = fcmp une double %49, 0.000000e+00
br i1 %50, label %51, label %69
51: ; preds = %46, %3
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds double, ptr %52, i64 1
%54 = load double, ptr %53, align 8
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
%57 = load double, ptr %56, align 8
%58 = call double @atan2(double noundef %54, double noundef %57) #3
%59 = load ptr, ptr %6, align 8
store double %58, ptr %59, align 8
%60 = load ptr, ptr %6, align 8
%61 = load double, ptr %60, align 8
%62 = fcmp olt double %61, 0.000000e+00
br i1 %62, label %63, label %68
63: ; preds = %51
%64 = load double, ptr %8, align 8
%65 = load ptr, ptr %6, align 8
%66 = load double, ptr %65, align 8
%67 = fadd double %66, %64
store double %67, ptr %65, align 8
br label %68
68: ; preds = %63, %51
br label %69
69: ; preds = %68, %46
ret void
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @acos(double noundef) #1
; Function Attrs: nounwind
declare double @atan2(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 = { 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/tmpmh_4ufhf.c'
source_filename = "/tmp/tmpmh_4ufhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"Enter duration of flight to London from Seattle in hours: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Please enter a valid duration.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @getDuration() #0 {
%1 = alloca float, align 4
%2 = call i32 @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %4
4: ; preds = %7, %0
%5 = load float, ptr %1, align 4
%6 = fcmp ole float %5, 0.000000e+00
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = call i32 @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %4, !llvm.loop !6
10: ; preds = %4
%11 = load float, ptr %1, align 4
ret float %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmh_4ufhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"Enter duration of flight to London from Seattle in hours: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Please enter a valid duration.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @getDuration() #0 {
%1 = alloca float, align 4
%2 = call i32 @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load float, ptr %1, align 4
%5 = fcmp ole float %4, 0.000000e+00
br i1 %5, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%9 = load float, ptr %1, align 4
%10 = fcmp ole float %9, 0.000000e+00
br i1 %10, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
%12 = load float, ptr %1, align 4
ret float %12
}
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"}
|
; ModuleID = '/tmp/tmpx03k8lb2.c'
source_filename = "/tmp/tmpx03k8lb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NI_NUMERICHOST = 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/tmpx03k8lb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NI_NUMERICHOST = 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/tmpfs9l1cwl.c'
source_filename = "/tmp/tmpfs9l1cwl.c"
target datalayout = "e-m:e-p270: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/tmpfs9l1cwl.c"
target datalayout = "e-m:e-p270: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/tmp6eh0y8nv.c'
source_filename = "/tmp/tmp6eh0y8nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [9 x [9 x i32]], align 16
%7 = alloca [9 x [9 x i32]], align 16
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i64 @ft_error(i32 noundef %9, ptr noundef %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %48
14: ; preds = %2
store i32 1, ptr %8, align 4
br label %15
15: ; preds = %42, %14
%16 = load i32, ptr %8, align 4
%17 = icmp sle i32 %16, 9
br i1 %17, label %18, label %45
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%21 = call i32 @ft_initial(ptr noundef %19, ptr noundef %20)
%22 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%23 = load i32, ptr %8, align 4
%24 = call i32 @ft_check_sudoku(ptr noundef %22, i32 noundef 0, i32 noundef %23)
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %25, 2
br i1 %26, label %27, label %31
27: ; preds = %18
%28 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%29 = getelementptr inbounds [9 x [9 x i32]], ptr %7, i64 0, i64 0
%30 = call i32 @ft_copy(ptr noundef %28, ptr noundef %29)
br label %42
31: ; preds = %18
%32 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%33 = getelementptr inbounds [9 x [9 x i32]], ptr %7, i64 0, i64 0
%34 = call i64 @ft_diff(ptr noundef %32, ptr noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %31
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %37, 2
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 (...) @ft_print_error()
store i32 %40, ptr %3, align 4
br label %48
41: ; preds = %36, %31
br label %42
42: ; preds = %41, %27
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %15, !llvm.loop !6
45: ; preds = %15
%46 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%47 = call i32 @ft_print_sudoku(ptr noundef %46)
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %45, %39, %13
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i64 @ft_error(i32 noundef, ptr noundef) #1
declare i32 @ft_initial(ptr noundef, ptr noundef) #1
declare i32 @ft_check_sudoku(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ft_copy(ptr noundef, ptr noundef) #1
declare i64 @ft_diff(ptr noundef, ptr noundef) #1
declare i32 @ft_print_error(...) #1
declare i32 @ft_print_sudoku(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/tmp6eh0y8nv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [9 x [9 x i32]], align 16
%7 = alloca [9 x [9 x i32]], align 16
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i64 @ft_error(i32 noundef %9, ptr noundef %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %49
14: ; preds = %2
store i32 1, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sle i32 %15, 9
br i1 %16, label %.lr.ph, label %46
.lr.ph: ; preds = %14
br label %17
17: ; preds = %.lr.ph, %41
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%20 = call i32 @ft_initial(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%22 = load i32, ptr %8, align 4
%23 = call i32 @ft_check_sudoku(ptr noundef %21, i32 noundef 0, i32 noundef %22)
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, 2
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%28 = getelementptr inbounds [9 x [9 x i32]], ptr %7, i64 0, i64 0
%29 = call i32 @ft_copy(ptr noundef %27, ptr noundef %28)
br label %41
30: ; preds = %17
%31 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%32 = getelementptr inbounds [9 x [9 x i32]], ptr %7, i64 0, i64 0
%33 = call i64 @ft_diff(ptr noundef %31, ptr noundef %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load i32, ptr %8, align 4
%37 = icmp sgt i32 %36, 2
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (...) @ft_print_error()
store i32 %39, ptr %3, align 4
br label %49
40: ; preds = %35, %30
br label %41
41: ; preds = %40, %26
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp sle i32 %44, 9
br i1 %45, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %14
%47 = getelementptr inbounds [9 x [9 x i32]], ptr %6, i64 0, i64 0
%48 = call i32 @ft_print_sudoku(ptr noundef %47)
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %46, %38, %13
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare i64 @ft_error(i32 noundef, ptr noundef) #1
declare i32 @ft_initial(ptr noundef, ptr noundef) #1
declare i32 @ft_check_sudoku(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ft_copy(ptr noundef, ptr noundef) #1
declare i64 @ft_diff(ptr noundef, ptr noundef) #1
declare i32 @ft_print_error(...) #1
declare i32 @ft_print_sudoku(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/tmpfn04gsw1.c'
source_filename = "/tmp/tmpfn04gsw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @putchar(i8 noundef signext 92)
ret i32 0
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfn04gsw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @putchar(i8 noundef signext 92)
ret i32 0
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxvq38zca.c'
source_filename = "/tmp/tmpxvq38zca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateAirDensity(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp olt double %5, 1.100000e+04
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = call double @llvm.fmuladd.f64(double -6.490000e-03, double %8, double 1.504000e+01)
store double %9, ptr %3, align 8
%10 = load double, ptr %3, align 8
%11 = fadd double %10, 2.731000e+02
%12 = fdiv double %11, 2.880800e+02
%13 = call double @pow(double noundef %12, double noundef 5.256000e+00) #3
%14 = fmul double 1.012900e+02, %13
store double %14, ptr %4, align 8
br label %32
15: ; preds = %1
%16 = load double, ptr %2, align 8
%17 = fcmp olt double %16, 2.500000e+04
br i1 %17, label %18, label %23
18: ; preds = %15
store double -5.646000e+01, ptr %3, align 8
%19 = load double, ptr %2, align 8
%20 = call double @llvm.fmuladd.f64(double -1.570000e-04, double %19, double 1.730000e+00)
%21 = call double @exp(double noundef %20) #3
%22 = fmul double 2.265000e+01, %21
store double %22, ptr %4, align 8
br label %31
23: ; preds = %15
%24 = load double, ptr %2, align 8
%25 = call double @llvm.fmuladd.f64(double 2.990000e-03, double %24, double -1.312100e+02)
store double %25, ptr %3, align 8
%26 = load double, ptr %3, align 8
%27 = fadd double %26, 2.731000e+02
%28 = fdiv double %27, 2.166000e+02
%29 = call double @pow(double noundef %28, double noundef -1.138800e+01) #3
%30 = fmul double 2.488000e+00, %29
store double %30, ptr %4, align 8
br label %31
31: ; preds = %23, %18
br label %32
32: ; preds = %31, %7
%33 = load double, ptr %4, align 8
%34 = load double, ptr %3, align 8
%35 = fadd double %34, 2.731000e+02
%36 = fmul double 2.869000e-01, %35
%37 = fdiv double %33, %36
ret double %37
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @exp(double 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 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 = { 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/tmpxvq38zca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateAirDensity(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp olt double %5, 1.100000e+04
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = call double @llvm.fmuladd.f64(double -6.490000e-03, double %8, double 1.504000e+01)
store double %9, ptr %3, align 8
%10 = load double, ptr %3, align 8
%11 = fadd double %10, 2.731000e+02
%12 = fdiv double %11, 2.880800e+02
%13 = call double @pow(double noundef %12, double noundef 5.256000e+00) #3
%14 = fmul double 1.012900e+02, %13
store double %14, ptr %4, align 8
br label %32
15: ; preds = %1
%16 = load double, ptr %2, align 8
%17 = fcmp olt double %16, 2.500000e+04
br i1 %17, label %18, label %23
18: ; preds = %15
store double -5.646000e+01, ptr %3, align 8
%19 = load double, ptr %2, align 8
%20 = call double @llvm.fmuladd.f64(double -1.570000e-04, double %19, double 1.730000e+00)
%21 = call double @exp(double noundef %20) #3
%22 = fmul double 2.265000e+01, %21
store double %22, ptr %4, align 8
br label %31
23: ; preds = %15
%24 = load double, ptr %2, align 8
%25 = call double @llvm.fmuladd.f64(double 2.990000e-03, double %24, double -1.312100e+02)
store double %25, ptr %3, align 8
%26 = load double, ptr %3, align 8
%27 = fadd double %26, 2.731000e+02
%28 = fdiv double %27, 2.166000e+02
%29 = call double @pow(double noundef %28, double noundef -1.138800e+01) #3
%30 = fmul double 2.488000e+00, %29
store double %30, ptr %4, align 8
br label %31
31: ; preds = %23, %18
br label %32
32: ; preds = %31, %7
%33 = load double, ptr %4, align 8
%34 = load double, ptr %3, align 8
%35 = fadd double %34, 2.731000e+02
%36 = fmul double 2.869000e-01, %35
%37 = fdiv double %33, %36
ret double %37
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nounwind
declare double @exp(double 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 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 = { 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/tmpjyyq8xs9.c'
source_filename = "/tmp/tmpjyyq8xs9.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@_NSIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pselect(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, ptr noalias noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [2 x i64], align 16
%14 = alloca %struct.timespec, align 4
store i32 %0, ptr %7, align 4
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
%15 = getelementptr inbounds [2 x i64], ptr %13, i64 0, i64 0
%16 = load ptr, ptr %12, align 8
%17 = ptrtoint ptr %16 to i64
store i64 %17, ptr %15, align 8
%18 = getelementptr inbounds i64, ptr %15, i64 1
%19 = load i32, ptr @_NSIG, align 4
%20 = sdiv i32 %19, 8
%21 = sext i32 %20 to i64
store i64 %21, ptr %18, align 8
%22 = load ptr, ptr %11, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = load ptr, ptr %11, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %25, i64 4, i1 false)
br label %26
26: ; preds = %24, %6
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %26
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %33
%36 = phi ptr [ %14, %33 ], [ null, %34 ]
%37 = getelementptr inbounds [2 x i64], ptr %13, i64 0, i64 0
%38 = call i32 @syscall_cp(i32 noundef 335, i32 noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %36, ptr noundef %37)
ret i32 %38
}
; 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 @syscall_cp(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjyyq8xs9.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@_NSIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pselect(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, ptr noalias noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [2 x i64], align 16
%14 = alloca %struct.timespec, align 4
store i32 %0, ptr %7, align 4
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
%15 = getelementptr inbounds [2 x i64], ptr %13, i64 0, i64 0
%16 = load ptr, ptr %12, align 8
%17 = ptrtoint ptr %16 to i64
store i64 %17, ptr %15, align 8
%18 = getelementptr inbounds i64, ptr %15, i64 1
%19 = load i32, ptr @_NSIG, align 4
%20 = sdiv i32 %19, 8
%21 = sext i32 %20 to i64
store i64 %21, ptr %18, align 8
%22 = load ptr, ptr %11, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %6
%25 = load ptr, ptr %11, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %25, i64 4, i1 false)
br label %26
26: ; preds = %24, %6
%27 = load i32, ptr %7, align 4
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %26
br label %35
34: ; preds = %26
br label %35
35: ; preds = %34, %33
%36 = phi ptr [ %14, %33 ], [ null, %34 ]
%37 = getelementptr inbounds [2 x i64], ptr %13, i64 0, i64 0
%38 = call i32 @syscall_cp(i32 noundef 335, i32 noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %36, ptr noundef %37)
ret i32 %38
}
; 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 @syscall_cp(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpskwxxt61.c'
source_filename = "/tmp/tmpskwxxt61.c"
target datalayout = "e-m:e-p270: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.teste_fatoracao_4x4.a = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.100000e+01, double 9.000000e+00, double 2.400000e+01, double 2.000000e+00], [4 x double] [double 1.000000e+00, double 5.000000e+00, double 2.000000e+00, double 6.000000e+00], [4 x double] [double 3.000000e+00, double 1.700000e+01, double 1.800000e+01, double 1.000000e+00], [4 x double] [double 2.000000e+00, double 5.000000e+00, double 7.000000e+00, double 1.000000e+00]], align 16
@__const.teste_fatoracao_4x4.l = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 2.727300e-01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 9.091000e-02, double 2.875000e-01, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.818200e-01, double 2.312500e-01, double 3.600000e-03, double 1.000000e+00]], align 16
@__const.teste_fatoracao_4x4.u = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.100000e+01, double 9.000000e+00, double 2.400000e+01, double 2.000000e+00], [4 x double] [double 0.000000e+00, double 0x402D174538EF34D7, double 0x4026E8BAC710CB29, double 4.545500e-01], [4 x double] [double 0.000000e+00, double 0.000000e+00, double -3.475000e+00, double 5.687500e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 5.107900e-01]], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @teste_fatoracao_4x4() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x [4 x double]], align 16
%3 = alloca [4 x [4 x double]], align 16
%4 = alloca [4 x [4 x double]], align 16
%5 = alloca [4 x [4 x double]], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 4, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.teste_fatoracao_4x4.a, i64 128, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.teste_fatoracao_4x4.l, i64 128, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.teste_fatoracao_4x4.u, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false)
%13 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 0
%14 = getelementptr inbounds [4 x double], ptr %13, i32 0, i32 0
store double 1.000000e+00, ptr %14, align 16
%15 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 1
%16 = getelementptr inbounds [4 x double], ptr %15, i32 0, i32 2
store double 1.000000e+00, ptr %16, align 16
%17 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 2
%18 = getelementptr inbounds [4 x double], ptr %17, i32 0, i32 1
store double 1.000000e+00, ptr %18, align 8
%19 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 3
%20 = getelementptr inbounds [4 x double], ptr %19, i32 0, i32 3
store double 1.000000e+00, ptr %20, align 8
%21 = load i32, ptr %1, align 4
%22 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 0
%23 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0
%24 = call ptr @matriz_valores_quadrada(i32 noundef %21, ptr noundef %23)
store ptr %24, ptr %6, align 8
%25 = load i32, ptr %1, align 4
%26 = call ptr @matriz_quadrada_nula(i32 noundef %25)
store ptr %26, ptr %7, align 8
%27 = load i32, ptr %1, align 4
%28 = call ptr @matriz_quadrada_nula(i32 noundef %27)
store ptr %28, ptr %8, align 8
%29 = load i32, ptr %1, align 4
%30 = call ptr @matriz_quadrada_nula(i32 noundef %29)
store ptr %30, ptr %9, align 8
%31 = load i32, ptr %1, align 4
%32 = getelementptr inbounds [4 x [4 x double]], ptr %3, i64 0, i64 0
%33 = getelementptr inbounds [4 x double], ptr %32, i64 0, i64 0
%34 = call ptr @matriz_valores_quadrada(i32 noundef %31, ptr noundef %33)
store ptr %34, ptr %11, align 8
%35 = load i32, ptr %1, align 4
%36 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
%37 = getelementptr inbounds [4 x double], ptr %36, i64 0, i64 0
%38 = call ptr @matriz_valores_quadrada(i32 noundef %35, ptr noundef %37)
store ptr %38, ptr %12, align 8
%39 = load i32, ptr %1, align 4
%40 = getelementptr inbounds [4 x [4 x double]], ptr %5, i64 0, i64 0
%41 = getelementptr inbounds [4 x double], ptr %40, i64 0, i64 0
%42 = call ptr @matriz_valores_quadrada(i32 noundef %39, ptr noundef %41)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %1, align 4
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @fatoracao_lu(ptr noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %1, align 4
%54 = call i32 @imprime_teste_fatoracao_lu(ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = call i32 @free(ptr noundef %55)
store ptr null, ptr %6, align 8
%57 = load ptr, ptr %7, align 8
%58 = call i32 @free(ptr noundef %57)
store ptr null, ptr %7, align 8
%59 = load ptr, ptr %8, align 8
%60 = call i32 @free(ptr noundef %59)
store ptr null, ptr %8, align 8
%61 = load ptr, ptr %9, align 8
%62 = call i32 @free(ptr noundef %61)
store ptr null, ptr %9, align 8
%63 = load ptr, ptr %10, align 8
%64 = call i32 @free(ptr noundef %63)
store ptr null, ptr %10, align 8
%65 = load ptr, ptr %11, align 8
%66 = call i32 @free(ptr noundef %65)
store ptr null, ptr %11, align 8
%67 = load ptr, ptr %12, align 8
%68 = call i32 @free(ptr noundef %67)
store ptr null, ptr %12, align 8
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @matriz_valores_quadrada(i32 noundef, ptr noundef) #3
declare ptr @matriz_quadrada_nula(i32 noundef) #3
declare i32 @fatoracao_lu(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3
declare i32 @imprime_teste_fatoracao_lu(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @free(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpskwxxt61.c"
target datalayout = "e-m:e-p270: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.teste_fatoracao_4x4.a = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.100000e+01, double 9.000000e+00, double 2.400000e+01, double 2.000000e+00], [4 x double] [double 1.000000e+00, double 5.000000e+00, double 2.000000e+00, double 6.000000e+00], [4 x double] [double 3.000000e+00, double 1.700000e+01, double 1.800000e+01, double 1.000000e+00], [4 x double] [double 2.000000e+00, double 5.000000e+00, double 7.000000e+00, double 1.000000e+00]], align 16
@__const.teste_fatoracao_4x4.l = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 2.727300e-01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 9.091000e-02, double 2.875000e-01, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.818200e-01, double 2.312500e-01, double 3.600000e-03, double 1.000000e+00]], align 16
@__const.teste_fatoracao_4x4.u = private unnamed_addr constant [4 x [4 x double]] [[4 x double] [double 1.100000e+01, double 9.000000e+00, double 2.400000e+01, double 2.000000e+00], [4 x double] [double 0.000000e+00, double 0x402D174538EF34D7, double 0x4026E8BAC710CB29, double 4.545500e-01], [4 x double] [double 0.000000e+00, double 0.000000e+00, double -3.475000e+00, double 5.687500e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 5.107900e-01]], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @teste_fatoracao_4x4() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x [4 x double]], align 16
%3 = alloca [4 x [4 x double]], align 16
%4 = alloca [4 x [4 x double]], align 16
%5 = alloca [4 x [4 x double]], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 4, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.teste_fatoracao_4x4.a, i64 128, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.teste_fatoracao_4x4.l, i64 128, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.teste_fatoracao_4x4.u, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false)
%13 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 0
%14 = getelementptr inbounds [4 x double], ptr %13, i32 0, i32 0
store double 1.000000e+00, ptr %14, align 16
%15 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 1
%16 = getelementptr inbounds [4 x double], ptr %15, i32 0, i32 2
store double 1.000000e+00, ptr %16, align 16
%17 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 2
%18 = getelementptr inbounds [4 x double], ptr %17, i32 0, i32 1
store double 1.000000e+00, ptr %18, align 8
%19 = getelementptr inbounds [4 x [4 x double]], ptr %5, i32 0, i32 3
%20 = getelementptr inbounds [4 x double], ptr %19, i32 0, i32 3
store double 1.000000e+00, ptr %20, align 8
%21 = load i32, ptr %1, align 4
%22 = getelementptr inbounds [4 x [4 x double]], ptr %2, i64 0, i64 0
%23 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 0
%24 = call ptr @matriz_valores_quadrada(i32 noundef %21, ptr noundef %23)
store ptr %24, ptr %6, align 8
%25 = load i32, ptr %1, align 4
%26 = call ptr @matriz_quadrada_nula(i32 noundef %25)
store ptr %26, ptr %7, align 8
%27 = load i32, ptr %1, align 4
%28 = call ptr @matriz_quadrada_nula(i32 noundef %27)
store ptr %28, ptr %8, align 8
%29 = load i32, ptr %1, align 4
%30 = call ptr @matriz_quadrada_nula(i32 noundef %29)
store ptr %30, ptr %9, align 8
%31 = load i32, ptr %1, align 4
%32 = getelementptr inbounds [4 x [4 x double]], ptr %3, i64 0, i64 0
%33 = getelementptr inbounds [4 x double], ptr %32, i64 0, i64 0
%34 = call ptr @matriz_valores_quadrada(i32 noundef %31, ptr noundef %33)
store ptr %34, ptr %11, align 8
%35 = load i32, ptr %1, align 4
%36 = getelementptr inbounds [4 x [4 x double]], ptr %4, i64 0, i64 0
%37 = getelementptr inbounds [4 x double], ptr %36, i64 0, i64 0
%38 = call ptr @matriz_valores_quadrada(i32 noundef %35, ptr noundef %37)
store ptr %38, ptr %12, align 8
%39 = load i32, ptr %1, align 4
%40 = getelementptr inbounds [4 x [4 x double]], ptr %5, i64 0, i64 0
%41 = getelementptr inbounds [4 x double], ptr %40, i64 0, i64 0
%42 = call ptr @matriz_valores_quadrada(i32 noundef %39, ptr noundef %41)
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %1, align 4
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @fatoracao_lu(ptr noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %1, align 4
%54 = call i32 @imprime_teste_fatoracao_lu(ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = call i32 @free(ptr noundef %55)
store ptr null, ptr %6, align 8
%57 = load ptr, ptr %7, align 8
%58 = call i32 @free(ptr noundef %57)
store ptr null, ptr %7, align 8
%59 = load ptr, ptr %8, align 8
%60 = call i32 @free(ptr noundef %59)
store ptr null, ptr %8, align 8
%61 = load ptr, ptr %9, align 8
%62 = call i32 @free(ptr noundef %61)
store ptr null, ptr %9, align 8
%63 = load ptr, ptr %10, align 8
%64 = call i32 @free(ptr noundef %63)
store ptr null, ptr %10, align 8
%65 = load ptr, ptr %11, align 8
%66 = call i32 @free(ptr noundef %65)
store ptr null, ptr %11, align 8
%67 = load ptr, ptr %12, align 8
%68 = call i32 @free(ptr noundef %67)
store ptr null, ptr %12, align 8
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @matriz_valores_quadrada(i32 noundef, ptr noundef) #3
declare ptr @matriz_quadrada_nula(i32 noundef) #3
declare i32 @fatoracao_lu(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3
declare i32 @imprime_teste_fatoracao_lu(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @free(ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa_an1zd2.c'
source_filename = "/tmp/tmpa_an1zd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_0xffff_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %33, %3
%9 = load i32, ptr %7, align 4
%10 = sext i32 %9 to i64
%11 = icmp ult i64 %10, 80
br i1 %11, label %12, label %36
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = icmp sgt i32 %17, 20
br i1 %18, label %19, label %26
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = and i32 %24, 65535
br label %27
26: ; preds = %12
br label %27
27: ; preds = %26, %19
%28 = phi i32 [ %25, %19 ], [ 0, %26 ]
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
br label %33
33: ; preds = %27
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %8, !llvm.loop !6
36: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa_an1zd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_0xffff_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = sext i32 %8 to i64
%10 = icmp ult i64 %9, 80
br i1 %10, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %32
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %16, 20
br i1 %17, label %18, label %25
18: ; preds = %11
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = and i32 %23, 65535
br label %26
25: ; preds = %11
br label %26
26: ; preds = %25, %18
%27 = phi i32 [ %24, %18 ], [ 0, %25 ]
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %26
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = icmp ult i64 %36, 80
br i1 %37, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphdpn_sqt.c'
source_filename = "/tmp/tmphdpn_sqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %25
6: ; preds = %1
br label %7
7: ; preds = %21, %6
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %24
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = call i64 @isupper(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i32, ptr %3, align 4
%18 = call signext i8 @tolower(i32 noundef %17)
%19 = load ptr, ptr %2, align 8
store i8 %18, ptr %19, align 1
br label %20
20: ; preds = %16, %12
br label %21
21: ; preds = %20
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %2, align 8
br label %7, !llvm.loop !6
24: ; preds = %7
br label %25
25: ; preds = %24, %1
ret void
}
declare i64 @isupper(i32 noundef) #1
declare signext i8 @tolower(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/tmphdpn_sqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %28
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %6
br label %11
11: ; preds = %.lr.ph, %20
%12 = load i32, ptr %3, align 4
%13 = call i64 @isupper(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = call signext i8 @tolower(i32 noundef %16)
%18 = load ptr, ptr %2, align 8
store i8 %17, ptr %18, align 1
br label %19
19: ; preds = %15, %11
br label %20
20: ; preds = %19
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %2, align 8
%23 = load ptr, ptr %2, align 8
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
store i32 %25, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %6
br label %28
28: ; preds = %27, %1
ret void
}
declare i64 @isupper(i32 noundef) #1
declare signext i8 @tolower(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/tmp3b6a1l1d.c'
source_filename = "/tmp/tmp3b6a1l1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_mm_pause() #0 {
call void @llvm.x86.sse2.pause()
ret void
}
; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3b6a1l1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_mm_pause() #0 {
call void @llvm.x86.sse2.pause()
ret void
}
; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpre62a121.c'
source_filename = "/tmp/tmpre62a121.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr %1, 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/tmpre62a121.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = add nsw i32 %2, 1
store i32 %3, ptr %1, 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/tmpp4xmfhh8.c'
source_filename = "/tmp/tmpp4xmfhh8.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@GetDate.time_str = internal global [15 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [24 x i8] c"%4d%02d%02d%02d%02d%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetDate() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = call ptr @localtime(ptr noundef %1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 1900
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 2
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 5
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 4
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 @sprintf(ptr noundef @GetDate.time_str, ptr noundef @.str, i32 noundef %8, i32 noundef %12, i32 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24)
ret ptr @GetDate.time_str
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp4xmfhh8.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@GetDate.time_str = internal global [15 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [24 x i8] c"%4d%02d%02d%02d%02d%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @GetDate() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = call i32 @time(ptr noundef %1)
%4 = call ptr @localtime(ptr noundef %1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 1900
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 2
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 5
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 4
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 3
%24 = load i32, ptr %23, align 4
%25 = call i32 @sprintf(ptr noundef @GetDate.time_str, ptr noundef @.str, i32 noundef %8, i32 noundef %12, i32 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24)
ret ptr @GetDate.time_str
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpges5xb8s.c'
source_filename = "/tmp/tmpges5xb8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idfExponential(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 = fneg double %5
%7 = load double, ptr %4, align 8
%8 = fsub double 1.000000e+00, %7
%9 = call double @log(double noundef %8) #2
%10 = fmul double %6, %9
ret double %10
}
; Function Attrs: nounwind
declare double @log(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 = { 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/tmpges5xb8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idfExponential(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 = fneg double %5
%7 = load double, ptr %4, align 8
%8 = fsub double 1.000000e+00, %7
%9 = call double @log(double noundef %8) #2
%10 = fmul double %6, %9
ret double %10
}
; Function Attrs: nounwind
declare double @log(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 = { 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/tmpy14342ud.c'
source_filename = "/tmp/tmpy14342ud.c"
target datalayout = "e-m:e-p270: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/tmpy14342ud.c"
target datalayout = "e-m:e-p270: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/tmpi95chqe9.c'
source_filename = "/tmp/tmpi95chqe9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please input the value of n:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"sum=%f\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 float, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %22, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = sitofp i32 %13 to float
%15 = load i32, ptr %3, align 4
%16 = sitofp i32 %15 to float
%17 = fdiv float 1.000000e+00, %16
%18 = load float, ptr %5, align 4
%19 = call float @llvm.fmuladd.f32(float %14, float %17, float %18)
store float %19, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = mul nsw i32 %20, -1
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %12
%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 = %8
%26 = load float, ptr %5, align 4
%27 = fpext float %26 to double
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %27)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi95chqe9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please input the value of n:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"sum=%f\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 float, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to float
%14 = load i32, ptr %3, align 4
%15 = sitofp i32 %14 to float
%16 = fdiv float 1.000000e+00, %15
%17 = load float, ptr %5, align 4
%18 = call float @llvm.fmuladd.f32(float %13, float %16, float %17)
store float %18, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = mul nsw i32 %19, -1
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %11
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
%28 = load float, ptr %5, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %29)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6zcekgc4.c'
source_filename = "/tmp/tmp6zcekgc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipow(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %15, %2
%8 = load i64, ptr %6, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = load i64, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = mul nsw i64 %13, %12
store i64 %14, ptr %5, align 8
br label %15
15: ; preds = %11
%16 = load i64, ptr %6, align 8
%17 = add nsw i64 %16, 1
store i64 %17, ptr %6, align 8
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = load i64, ptr %5, align 8
ret i64 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6zcekgc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipow(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp slt i64 %7, %8
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %14
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = mul nsw i64 %12, %11
store i64 %13, ptr %5, align 8
br label %14
14: ; preds = %10
%15 = load i64, ptr %6, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %6, align 8
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %2
%21 = load i64, ptr %5, align 8
ret i64 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0ej1e5xa.c'
source_filename = "/tmp/tmp0ej1e5xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_HAL_Delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ej1e5xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_HAL_Delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul i32 %3, 1000
%5 = call i32 @usleep(i32 noundef %4)
ret void
}
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp963drw9q.c'
source_filename = "/tmp/tmp963drw9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @tolower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isupper(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = xor i32 %7, 32
br label %11
9: ; preds = %1
%10 = load i32, ptr %2, align 4
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ %10, %9 ]
ret i32 %12
}
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp963drw9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define dso_local i32 @tolower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isupper(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = xor i32 %7, 32
br label %11
9: ; preds = %1
%10 = load i32, ptr %2, align 4
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ %10, %9 ]
ret i32 %12
}
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0g_q7p9j.c'
source_filename = "/tmp/tmp0g_q7p9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [93 x i8] c"getString: Limit %i outside UINT boundaries? For no limit, pass the function a limit of (0).\00", align 1
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"\0ACharacter limit of %i reached. About to retry...\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"3...\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"2...\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"1...\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"Retry: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getString(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @UINT_MAX, align 4
%12 = icmp ugt i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15)
store ptr null, ptr %2, align 8
br label %164
17: ; preds = %1
br label %18
18: ; preds = %130, %67, %17
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgetc(i32 noundef %19)
store i32 %20, ptr %7, align 4
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp ne i32 %23, %24
br label %26
26: ; preds = %22, %18
%27 = phi i1 [ false, %18 ], [ %25, %22 ]
br i1 %27, label %28, label %138
28: ; preds = %26
%29 = load i32, ptr %6, align 4
%30 = add i32 %29, 1
%31 = load i32, ptr %5, align 4
%32 = icmp ugt i32 %30, %31
br i1 %32, label %33, label %130
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = icmp ugt i32 %34, 0
br i1 %35, label %36, label %87
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
store i32 32, ptr %5, align 4
br label %86
40: ; preds = %36
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @UINT_MAX, align 4
%43 = udiv i32 %42, 2
%44 = icmp ule i32 %41, %43
br i1 %44, label %45, label %53
45: ; preds = %40
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %3, align 4
%48 = udiv i32 %47, 2
%49 = icmp ule i32 %46, %48
br i1 %49, label %50, label %53
50: ; preds = %45
%51 = load i32, ptr %5, align 4
%52 = mul i32 %51, 2
store i32 %52, ptr %5, align 4
br label %85
53: ; preds = %45, %40
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr @UINT_MAX, align 4
%56 = udiv i32 %55, 2
%57 = icmp ule i32 %54, %56
br i1 %57, label %58, label %81
58: ; preds = %53
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %3, align 4
%61 = udiv i32 %60, 2
%62 = icmp ugt i32 %59, %61
br i1 %62, label %63, label %81
63: ; preds = %58
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %79
67: ; preds = %63
%68 = load i32, ptr @stderr, align 4
%69 = load i32, ptr %3, align 4
%70 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.1, i32 noundef %69)
%71 = call i32 @sleep(i32 noundef 1)
%72 = call i32 @printf(ptr noundef @.str.2)
%73 = call i32 @sleep(i32 noundef 1)
%74 = call i32 @printf(ptr noundef @.str.3)
%75 = call i32 @sleep(i32 noundef 1)
%76 = call i32 @printf(ptr noundef @.str.4)
%77 = call i32 @sleep(i32 noundef 1)
%78 = call i32 @printf(ptr noundef @.str.5)
br label %18, !llvm.loop !6
79: ; preds = %63
%80 = load i32, ptr %3, align 4
store i32 %80, ptr %5, align 4
br label %84
81: ; preds = %58, %53
%82 = load ptr, ptr %4, align 8
%83 = call i32 @free(ptr noundef %82)
store ptr null, ptr %2, align 8
br label %164
84: ; preds = %79
br label %85
85: ; preds = %84, %50
br label %86
86: ; preds = %85, %39
br label %116
87: ; preds = %33
%88 = load i32, ptr %3, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %115
90: ; preds = %87
%91 = load i32, ptr %5, align 4
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %94
93: ; preds = %90
store i32 32, ptr %5, align 4
br label %114
94: ; preds = %90
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr @UINT_MAX, align 4
%97 = udiv i32 %96, 2
%98 = icmp ule i32 %95, %97
br i1 %98, label %99, label %102
99: ; preds = %94
%100 = load i32, ptr %5, align 4
%101 = mul i32 %100, 2
store i32 %101, ptr %5, align 4
br label %113
102: ; preds = %94
%103 = load i32, ptr %5, align 4
%104 = load i32, ptr @UINT_MAX, align 4
%105 = udiv i32 %104, 2
%106 = icmp ule i32 %103, %105
br i1 %106, label %107, label %109
107: ; preds = %102
%108 = load i32, ptr %3, align 4
store i32 %108, ptr %5, align 4
br label %112
109: ; preds = %102
%110 = load ptr, ptr %4, align 8
%111 = call i32 @free(ptr noundef %110)
store ptr null, ptr %2, align 8
br label %164
112: ; preds = %107
br label %113
113: ; preds = %112, %99
br label %114
114: ; preds = %113, %93
br label %115
115: ; preds = %114, %87
br label %116
116: ; preds = %115, %86
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %5, align 4
%119 = zext i32 %118 to i64
%120 = mul i64 %119, 1
%121 = trunc i64 %120 to i32
%122 = call ptr @realloc(ptr noundef %117, i32 noundef %121)
store ptr %122, ptr %8, align 8
%123 = load ptr, ptr %8, align 8
%124 = icmp eq ptr %123, null
br i1 %124, label %125, label %128
125: ; preds = %116
%126 = load ptr, ptr %4, align 8
%127 = call i32 @free(ptr noundef %126)
store ptr null, ptr %2, align 8
br label %164
128: ; preds = %116
%129 = load ptr, ptr %8, align 8
store ptr %129, ptr %4, align 8
br label %130
130: ; preds = %128, %28
%131 = load i32, ptr %7, align 4
%132 = trunc i32 %131 to i8
%133 = load ptr, ptr %4, align 8
%134 = load i32, ptr %6, align 4
%135 = add i32 %134, 1
store i32 %135, ptr %6, align 4
%136 = zext i32 %134 to i64
%137 = getelementptr inbounds i8, ptr %133, i64 %136
store i8 %132, ptr %137, align 1
br label %18, !llvm.loop !6
138: ; preds = %26
%139 = load i32, ptr %6, align 4
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %146
141: ; preds = %138
%142 = load i32, ptr %7, align 4
%143 = load i32, ptr @EOF, align 4
%144 = icmp eq i32 %142, %143
br i1 %144, label %145, label %146
145: ; preds = %141
store ptr null, ptr %2, align 8
br label %164
146: ; preds = %141, %138
%147 = load i32, ptr %6, align 4
%148 = add i32 %147, 1
%149 = zext i32 %148 to i64
%150 = mul i64 %149, 1
%151 = trunc i64 %150 to i32
%152 = call ptr @malloc(i32 noundef %151)
store ptr %152, ptr %9, align 8
%153 = load ptr, ptr %9, align 8
%154 = load ptr, ptr %4, align 8
%155 = load i32, ptr %6, align 4
%156 = call i32 @strncpy(ptr noundef %153, ptr noundef %154, i32 noundef %155)
%157 = load ptr, ptr %4, align 8
%158 = call i32 @free(ptr noundef %157)
%159 = load ptr, ptr %9, align 8
%160 = load i32, ptr %6, align 4
%161 = zext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %159, i64 %161
store i8 0, ptr %162, align 1
%163 = load ptr, ptr %9, align 8
store ptr %163, ptr %2, align 8
br label %164
164: ; preds = %146, %145, %125, %109, %81, %13
%165 = load ptr, ptr %2, align 8
ret ptr %165
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0g_q7p9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT_MAX = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [93 x i8] c"getString: Limit %i outside UINT boundaries? For no limit, pass the function a limit of (0).\00", align 1
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"\0ACharacter limit of %i reached. About to retry...\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"3...\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"2...\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"1...\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"Retry: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getString(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr null, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr @UINT_MAX, align 4
%12 = icmp ugt i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %1
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15)
store ptr null, ptr %2, align 8
br label %164
17: ; preds = %1
br label %18
18: ; preds = %.backedge, %17
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgetc(i32 noundef %19)
store i32 %20, ptr %7, align 4
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp ne i32 %23, %24
br label %26
26: ; preds = %22, %18
%27 = phi i1 [ false, %18 ], [ %25, %22 ]
br i1 %27, label %28, label %138
28: ; preds = %26
%29 = load i32, ptr %6, align 4
%30 = add i32 %29, 1
%31 = load i32, ptr %5, align 4
%32 = icmp ugt i32 %30, %31
br i1 %32, label %33, label %130
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = icmp ugt i32 %34, 0
br i1 %35, label %36, label %87
36: ; preds = %33
%37 = load i32, ptr %5, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
store i32 32, ptr %5, align 4
br label %86
40: ; preds = %36
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr @UINT_MAX, align 4
%43 = udiv i32 %42, 2
%44 = icmp ule i32 %41, %43
br i1 %44, label %45, label %53
45: ; preds = %40
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %3, align 4
%48 = udiv i32 %47, 2
%49 = icmp ule i32 %46, %48
br i1 %49, label %50, label %53
50: ; preds = %45
%51 = load i32, ptr %5, align 4
%52 = mul i32 %51, 2
store i32 %52, ptr %5, align 4
br label %85
53: ; preds = %45, %40
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr @UINT_MAX, align 4
%56 = udiv i32 %55, 2
%57 = icmp ule i32 %54, %56
br i1 %57, label %58, label %81
58: ; preds = %53
%59 = load i32, ptr %5, align 4
%60 = load i32, ptr %3, align 4
%61 = udiv i32 %60, 2
%62 = icmp ugt i32 %59, %61
br i1 %62, label %63, label %81
63: ; preds = %58
%64 = load i32, ptr %5, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %79
67: ; preds = %63
%68 = load i32, ptr @stderr, align 4
%69 = load i32, ptr %3, align 4
%70 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.1, i32 noundef %69)
%71 = call i32 @sleep(i32 noundef 1)
%72 = call i32 @printf(ptr noundef @.str.2)
%73 = call i32 @sleep(i32 noundef 1)
%74 = call i32 @printf(ptr noundef @.str.3)
%75 = call i32 @sleep(i32 noundef 1)
%76 = call i32 @printf(ptr noundef @.str.4)
%77 = call i32 @sleep(i32 noundef 1)
%78 = call i32 @printf(ptr noundef @.str.5)
br label %.backedge
.backedge: ; preds = %67, %130
br label %18, !llvm.loop !6
79: ; preds = %63
%80 = load i32, ptr %3, align 4
store i32 %80, ptr %5, align 4
br label %84
81: ; preds = %58, %53
%82 = load ptr, ptr %4, align 8
%83 = call i32 @free(ptr noundef %82)
store ptr null, ptr %2, align 8
br label %164
84: ; preds = %79
br label %85
85: ; preds = %84, %50
br label %86
86: ; preds = %85, %39
br label %116
87: ; preds = %33
%88 = load i32, ptr %3, align 4
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %115
90: ; preds = %87
%91 = load i32, ptr %5, align 4
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %94
93: ; preds = %90
store i32 32, ptr %5, align 4
br label %114
94: ; preds = %90
%95 = load i32, ptr %5, align 4
%96 = load i32, ptr @UINT_MAX, align 4
%97 = udiv i32 %96, 2
%98 = icmp ule i32 %95, %97
br i1 %98, label %99, label %102
99: ; preds = %94
%100 = load i32, ptr %5, align 4
%101 = mul i32 %100, 2
store i32 %101, ptr %5, align 4
br label %113
102: ; preds = %94
%103 = load i32, ptr %5, align 4
%104 = load i32, ptr @UINT_MAX, align 4
%105 = udiv i32 %104, 2
%106 = icmp ule i32 %103, %105
br i1 %106, label %107, label %109
107: ; preds = %102
%108 = load i32, ptr %3, align 4
store i32 %108, ptr %5, align 4
br label %112
109: ; preds = %102
%110 = load ptr, ptr %4, align 8
%111 = call i32 @free(ptr noundef %110)
store ptr null, ptr %2, align 8
br label %164
112: ; preds = %107
br label %113
113: ; preds = %112, %99
br label %114
114: ; preds = %113, %93
br label %115
115: ; preds = %114, %87
br label %116
116: ; preds = %115, %86
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %5, align 4
%119 = zext i32 %118 to i64
%120 = mul i64 %119, 1
%121 = trunc i64 %120 to i32
%122 = call ptr @realloc(ptr noundef %117, i32 noundef %121)
store ptr %122, ptr %8, align 8
%123 = load ptr, ptr %8, align 8
%124 = icmp eq ptr %123, null
br i1 %124, label %125, label %128
125: ; preds = %116
%126 = load ptr, ptr %4, align 8
%127 = call i32 @free(ptr noundef %126)
store ptr null, ptr %2, align 8
br label %164
128: ; preds = %116
%129 = load ptr, ptr %8, align 8
store ptr %129, ptr %4, align 8
br label %130
130: ; preds = %128, %28
%131 = load i32, ptr %7, align 4
%132 = trunc i32 %131 to i8
%133 = load ptr, ptr %4, align 8
%134 = load i32, ptr %6, align 4
%135 = add i32 %134, 1
store i32 %135, ptr %6, align 4
%136 = zext i32 %134 to i64
%137 = getelementptr inbounds i8, ptr %133, i64 %136
store i8 %132, ptr %137, align 1
br label %.backedge
138: ; preds = %26
%139 = load i32, ptr %6, align 4
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %146
141: ; preds = %138
%142 = load i32, ptr %7, align 4
%143 = load i32, ptr @EOF, align 4
%144 = icmp eq i32 %142, %143
br i1 %144, label %145, label %146
145: ; preds = %141
store ptr null, ptr %2, align 8
br label %164
146: ; preds = %141, %138
%147 = load i32, ptr %6, align 4
%148 = add i32 %147, 1
%149 = zext i32 %148 to i64
%150 = mul i64 %149, 1
%151 = trunc i64 %150 to i32
%152 = call ptr @malloc(i32 noundef %151)
store ptr %152, ptr %9, align 8
%153 = load ptr, ptr %9, align 8
%154 = load ptr, ptr %4, align 8
%155 = load i32, ptr %6, align 4
%156 = call i32 @strncpy(ptr noundef %153, ptr noundef %154, i32 noundef %155)
%157 = load ptr, ptr %4, align 8
%158 = call i32 @free(ptr noundef %157)
%159 = load ptr, ptr %9, align 8
%160 = load i32, ptr %6, align 4
%161 = zext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %159, i64 %161
store i8 0, ptr %162, align 1
%163 = load ptr, ptr %9, align 8
store ptr %163, ptr %2, align 8
br label %164
164: ; preds = %146, %145, %125, %109, %81, %13
%165 = load ptr, ptr %2, align 8
ret ptr %165
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fgetc(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb_0ubipg.c'
source_filename = "/tmp/tmpb_0ubipg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ld ix,(ogptr)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CR_Original() #0 {
%1 = call i32 @WriteInstruction(ptr noundef @.str)
ret void
}
declare i32 @WriteInstruction(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/tmpb_0ubipg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ld ix,(ogptr)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CR_Original() #0 {
%1 = call i32 @WriteInstruction(ptr noundef @.str)
ret void
}
declare i32 @WriteInstruction(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/tmptpynhkek.c'
source_filename = "/tmp/tmptpynhkek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @message2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptpynhkek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"World!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @message2() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplycsnuz9.c'
source_filename = "/tmp/tmplycsnuz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"...\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0AFIN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca i32, align 4
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
%4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @read(i32 noundef 0, ptr noundef %4, i32 noundef 256)
store i32 %5, ptr %2, align 4
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @write(i32 noundef 1, ptr noundef %6, i32 noundef 2)
%8 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 3)
%9 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds i8, ptr %9, i64 2
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 2
%13 = call i32 @write(i32 noundef 1, ptr noundef %10, i32 noundef %12)
%14 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplycsnuz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"...\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0AFIN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca i32, align 4
%3 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
%4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @read(i32 noundef 0, ptr noundef %4, i32 noundef 256)
store i32 %5, ptr %2, align 4
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = call i32 @write(i32 noundef 1, ptr noundef %6, i32 noundef 2)
%8 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 3)
%9 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%10 = getelementptr inbounds i8, ptr %9, i64 2
%11 = load i32, ptr %2, align 4
%12 = sub nsw i32 %11, 2
%13 = call i32 @write(i32 noundef 1, ptr noundef %10, i32 noundef %12)
%14 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmpcjiquhs9.c'
source_filename = "/tmp/tmpcjiquhs9.c"
target datalayout = "e-m:e-p270: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/tmpcjiquhs9.c"
target datalayout = "e-m:e-p270: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_yvifmrd.c'
source_filename = "/tmp/tmp_yvifmrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"usage: %s <leftfile> <foundfile>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 3
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
store i32 -1, ptr %3, align 4
br label %144
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %8, align 8
%31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.1)
store ptr %31, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %39
33: ; preds = %23
%34 = load i32, ptr @stderr, align 4
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr @errno, align 4
%37 = call ptr @strerror(i32 noundef %36)
%38 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %35, ptr noundef %37)
store i32 -1, ptr %3, align 4
br label %144
39: ; preds = %23
%40 = load ptr, ptr %9, align 8
%41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.1)
store ptr %41, ptr %7, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr @stderr, align 4
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr @errno, align 4
%47 = call ptr @strerror(i32 noundef %46)
%48 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.2, ptr noundef %45, ptr noundef %47)
store i32 -1, ptr %3, align 4
br label %144
49: ; preds = %39
%50 = load i32, ptr @BUFSIZ, align 4
%51 = zext i32 %50 to i64
%52 = call ptr @llvm.stacksave()
store ptr %52, ptr %11, align 8
%53 = alloca i8, i64 %51, align 16
store i64 %51, ptr %12, align 8
%54 = load i32, ptr @BUFSIZ, align 4
%55 = zext i32 %54 to i64
%56 = alloca i8, i64 %55, align 16
store i64 %55, ptr %13, align 8
store i32 0, ptr %10, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr @BUFSIZ, align 4
%59 = call i32 @fgetl(ptr noundef %57, i32 noundef %58, ptr noundef %53)
store i32 %59, ptr %10, align 4
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %64
61: ; preds = %49
%62 = load i32, ptr @BUFSIZ, align 4
%63 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %62)
br label %64
64: ; preds = %61, %49
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr @BUFSIZ, align 4
%67 = call i32 @fgetl(ptr noundef %65, i32 noundef %66, ptr noundef %56)
%68 = icmp eq i32 %67, -1
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load i32, ptr @BUFSIZ, align 4
%71 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %70)
br label %72
72: ; preds = %69, %64
store i32 1, ptr %14, align 4
br label %73
73: ; preds = %137, %72
%74 = load ptr, ptr %6, align 8
%75 = call i32 @feof(ptr noundef %74)
%76 = icmp ne i32 %75, 0
br i1 %76, label %82, label %77
77: ; preds = %73
%78 = load ptr, ptr %7, align 8
%79 = call i32 @feof(ptr noundef %78)
%80 = icmp ne i32 %79, 0
%81 = xor i1 %80, true
br label %82
82: ; preds = %77, %73
%83 = phi i1 [ false, %73 ], [ %81, %77 ]
br i1 %83, label %84, label %138
84: ; preds = %82
%85 = load i32, ptr %10, align 4
%86 = call i32 @cmp_cache(ptr noundef %53, ptr noundef %56, i32 noundef %85)
store i32 %86, ptr %14, align 4
%87 = load i32, ptr %14, align 4
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %111
89: ; preds = %84
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %56, i64 %91
%93 = getelementptr inbounds i8, ptr %92, i64 1
%94 = call i32 @printf(ptr noundef @.str.3, ptr noundef %93)
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr @BUFSIZ, align 4
%97 = call i32 @fgetl(ptr noundef %95, i32 noundef %96, ptr noundef %53)
store i32 %97, ptr %10, align 4
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %102
99: ; preds = %89
%100 = load i32, ptr @BUFSIZ, align 4
%101 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %100)
br label %102
102: ; preds = %99, %89
%103 = load ptr, ptr %7, align 8
%104 = load i32, ptr @BUFSIZ, align 4
%105 = call i32 @fgetl(ptr noundef %103, i32 noundef %104, ptr noundef %56)
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %110
107: ; preds = %102
%108 = load i32, ptr @BUFSIZ, align 4
%109 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %108)
br label %110
110: ; preds = %107, %102
br label %137
111: ; preds = %84
%112 = load i32, ptr %14, align 4
%113 = icmp sgt i32 %112, 0
br i1 %113, label %114, label %123
114: ; preds = %111
%115 = load ptr, ptr %7, align 8
%116 = load i32, ptr @BUFSIZ, align 4
%117 = call i32 @fgetl(ptr noundef %115, i32 noundef %116, ptr noundef %56)
%118 = icmp eq i32 %117, -1
br i1 %118, label %119, label %122
119: ; preds = %114
%120 = load i32, ptr @BUFSIZ, align 4
%121 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %120)
br label %122
122: ; preds = %119, %114
br label %136
123: ; preds = %111
%124 = load i32, ptr %14, align 4
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %135
126: ; preds = %123
%127 = load ptr, ptr %6, align 8
%128 = load i32, ptr @BUFSIZ, align 4
%129 = call i32 @fgetl(ptr noundef %127, i32 noundef %128, ptr noundef %53)
store i32 %129, ptr %10, align 4
%130 = icmp eq i32 %129, -1
br i1 %130, label %131, label %134
131: ; preds = %126
%132 = load i32, ptr @BUFSIZ, align 4
%133 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %132)
br label %134
134: ; preds = %131, %126
br label %135
135: ; preds = %134, %123
br label %136
136: ; preds = %135, %122
br label %137
137: ; preds = %136, %110
br label %73, !llvm.loop !6
138: ; preds = %82
%139 = load ptr, ptr %6, align 8
%140 = call i32 @fclose(ptr noundef %139)
%141 = load ptr, ptr %7, align 8
%142 = call i32 @fclose(ptr noundef %141)
store i32 0, ptr %3, align 4
%143 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %143)
br label %144
144: ; preds = %138, %43, %33, %17
%145 = load i32, ptr %3, align 4
ret i32 %145
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @fgetl(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @cmp_cache(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_yvifmrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"usage: %s <leftfile> <foundfile>\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = 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
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 3
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21)
store i32 -1, ptr %3, align 4
br label %144
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %9, align 8
%30 = load ptr, ptr %8, align 8
%31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.1)
store ptr %31, ptr %6, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %39
33: ; preds = %23
%34 = load i32, ptr @stderr, align 4
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr @errno, align 4
%37 = call ptr @strerror(i32 noundef %36)
%38 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %35, ptr noundef %37)
store i32 -1, ptr %3, align 4
br label %144
39: ; preds = %23
%40 = load ptr, ptr %9, align 8
%41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.1)
store ptr %41, ptr %7, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, ptr @stderr, align 4
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr @errno, align 4
%47 = call ptr @strerror(i32 noundef %46)
%48 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.2, ptr noundef %45, ptr noundef %47)
store i32 -1, ptr %3, align 4
br label %144
49: ; preds = %39
%50 = load i32, ptr @BUFSIZ, align 4
%51 = zext i32 %50 to i64
%52 = call ptr @llvm.stacksave()
store ptr %52, ptr %11, align 8
%53 = alloca i8, i64 %51, align 16
store i64 %51, ptr %12, align 8
%54 = load i32, ptr @BUFSIZ, align 4
%55 = zext i32 %54 to i64
%56 = alloca i8, i64 %55, align 16
store i64 %55, ptr %13, align 8
store i32 0, ptr %10, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr @BUFSIZ, align 4
%59 = call i32 @fgetl(ptr noundef %57, i32 noundef %58, ptr noundef %53)
store i32 %59, ptr %10, align 4
%60 = icmp eq i32 %59, -1
br i1 %60, label %61, label %64
61: ; preds = %49
%62 = load i32, ptr @BUFSIZ, align 4
%63 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %62)
br label %64
64: ; preds = %61, %49
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr @BUFSIZ, align 4
%67 = call i32 @fgetl(ptr noundef %65, i32 noundef %66, ptr noundef %56)
%68 = icmp eq i32 %67, -1
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load i32, ptr @BUFSIZ, align 4
%71 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %70)
br label %72
72: ; preds = %69, %64
store i32 1, ptr %14, align 4
br label %73
73: ; preds = %137, %72
%74 = load ptr, ptr %6, align 8
%75 = call i32 @feof(ptr noundef %74)
%76 = icmp ne i32 %75, 0
br i1 %76, label %82, label %77
77: ; preds = %73
%78 = load ptr, ptr %7, align 8
%79 = call i32 @feof(ptr noundef %78)
%80 = icmp ne i32 %79, 0
%81 = xor i1 %80, true
br label %82
82: ; preds = %77, %73
%83 = phi i1 [ false, %73 ], [ %81, %77 ]
br i1 %83, label %84, label %138
84: ; preds = %82
%85 = load i32, ptr %10, align 4
%86 = call i32 @cmp_cache(ptr noundef %53, ptr noundef %56, i32 noundef %85)
store i32 %86, ptr %14, align 4
%87 = load i32, ptr %14, align 4
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %111
89: ; preds = %84
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %56, i64 %91
%93 = getelementptr inbounds i8, ptr %92, i64 1
%94 = call i32 @printf(ptr noundef @.str.3, ptr noundef %93)
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr @BUFSIZ, align 4
%97 = call i32 @fgetl(ptr noundef %95, i32 noundef %96, ptr noundef %53)
store i32 %97, ptr %10, align 4
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %102
99: ; preds = %89
%100 = load i32, ptr @BUFSIZ, align 4
%101 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %100)
br label %102
102: ; preds = %99, %89
%103 = load ptr, ptr %7, align 8
%104 = load i32, ptr @BUFSIZ, align 4
%105 = call i32 @fgetl(ptr noundef %103, i32 noundef %104, ptr noundef %56)
%106 = icmp eq i32 %105, -1
br i1 %106, label %107, label %110
107: ; preds = %102
%108 = load i32, ptr @BUFSIZ, align 4
%109 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %108)
br label %110
110: ; preds = %107, %102
br label %137
111: ; preds = %84
%112 = load i32, ptr %14, align 4
%113 = icmp sgt i32 %112, 0
br i1 %113, label %114, label %123
114: ; preds = %111
%115 = load ptr, ptr %7, align 8
%116 = load i32, ptr @BUFSIZ, align 4
%117 = call i32 @fgetl(ptr noundef %115, i32 noundef %116, ptr noundef %56)
%118 = icmp eq i32 %117, -1
br i1 %118, label %119, label %122
119: ; preds = %114
%120 = load i32, ptr @BUFSIZ, align 4
%121 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef %120)
br label %122
122: ; preds = %119, %114
br label %136
123: ; preds = %111
%124 = load i32, ptr %14, align 4
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %135
126: ; preds = %123
%127 = load ptr, ptr %6, align 8
%128 = load i32, ptr @BUFSIZ, align 4
%129 = call i32 @fgetl(ptr noundef %127, i32 noundef %128, ptr noundef %53)
store i32 %129, ptr %10, align 4
%130 = icmp eq i32 %129, -1
br i1 %130, label %131, label %134
131: ; preds = %126
%132 = load i32, ptr @BUFSIZ, align 4
%133 = call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef %132)
br label %134
134: ; preds = %131, %126
br label %135
135: ; preds = %134, %123
br label %136
136: ; preds = %135, %122
br label %137
137: ; preds = %136, %110
br label %73, !llvm.loop !6
138: ; preds = %82
%139 = load ptr, ptr %6, align 8
%140 = call i32 @fclose(ptr noundef %139)
%141 = load ptr, ptr %7, align 8
%142 = call i32 @fclose(ptr noundef %141)
store i32 0, ptr %3, align 4
%143 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %143)
br label %144
144: ; preds = %138, %43, %33, %17
%145 = load i32, ptr %3, align 4
ret i32 %145
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @fgetl(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @cmp_cache(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyoh51g9a.c'
source_filename = "/tmp/tmpyoh51g9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @num_factors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 %0, ptr %2, align 4
store i32 2, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call double @sqrt(i32 noundef %6)
store double %7, ptr %5, align 8
store i32 2, ptr %3, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to double
%11 = load double, ptr %5, align 8
%12 = fcmp ole double %10, %11
br i1 %12, label %13, label %25
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = srem i32 %14, %15
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 2
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %18, %13
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 = %8
%26 = load i32, ptr %4, align 4
ret i32 %26
}
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyoh51g9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @num_factors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 %0, ptr %2, align 4
store i32 2, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = call double @sqrt(i32 noundef %6)
store double %7, ptr %5, align 8
store i32 2, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = sitofp i32 %8 to double
%10 = load double, ptr %5, align 8
%11 = fcmp ole double %9, %10
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %21
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 2
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %17, %12
br label %21
21: ; preds = %20
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = load double, ptr %5, align 8
%27 = fcmp ole double %25, %26
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %1
%29 = load i32, ptr %4, align 4
ret i32 %29
}
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9uz76uc1.c'
source_filename = "/tmp/tmp9uz76uc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @start() #0 {
%1 = call i32 (...) @db_init()
%2 = call i32 (...) @listen_for_new_connections()
ret void
}
declare i32 @db_init(...) #1
declare i32 @listen_for_new_connections(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9uz76uc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @start() #0 {
%1 = call i32 (...) @db_init()
%2 = call i32 (...) @listen_for_new_connections()
ret void
}
declare i32 @db_init(...) #1
declare i32 @listen_for_new_connections(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk4wwbv5w.c'
source_filename = "/tmp/tmpk4wwbv5w.c"
target datalayout = "e-m:e-p270: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/tmpk4wwbv5w.c"
target datalayout = "e-m:e-p270: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/tmpovxvj8ux.c'
source_filename = "/tmp/tmpovxvj8ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed!\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"My child pid is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @puts(ptr noundef @.str)
br label %18
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 (...) @child()
br label %17
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 (...) @wait()
br label %17
17: ; preds = %13, %11
br label %18
18: ; preds = %17, %6
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @child(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @wait(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpovxvj8ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed!\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"My child pid is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @puts(ptr noundef @.str)
br label %18
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 (...) @child()
br label %17
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 (...) @wait()
br label %17
17: ; preds = %13, %11
br label %18
18: ; preds = %17, %6
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @child(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @wait(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5z1l3ckd.c'
source_filename = "/tmp/tmp5z1l3ckd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %25
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @quicksort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @quicksort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %25
25: ; preds = %12, %11
ret void
}
declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5z1l3ckd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %3
br label %25
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @partition(ptr noundef %13, i32 noundef %14, i32 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %19, 1
call void @quicksort(ptr noundef %17, i32 noundef %18, i32 noundef %20)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
call void @quicksort(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %25
25: ; preds = %12, %11
ret void
}
declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0zehzeoy.c'
source_filename = "/tmp/tmp0zehzeoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UnflattenDouble(ptr noundef %0, double noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store double 0x43E0000000000000, ptr %7, align 8
%10 = load double, ptr %5, align 8
%11 = fdiv double %10, 0x43E0000000000000
store double %11, ptr %8, align 8
%12 = load double, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = call double @ldexp(double noundef %12, i32 noundef %14) #2
store double %15, ptr %9, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %3
%19 = load double, ptr %9, align 8
%20 = load ptr, ptr %4, align 8
store double %19, ptr %20, align 8
br label %21
21: ; preds = %18, %3
%22 = load double, ptr %9, align 8
ret double %22
}
; Function Attrs: nounwind
declare double @ldexp(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmp0zehzeoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UnflattenDouble(ptr noundef %0, double noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store double 0x43E0000000000000, ptr %7, align 8
%10 = load double, ptr %5, align 8
%11 = fdiv double %10, 0x43E0000000000000
store double %11, ptr %8, align 8
%12 = load double, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = call double @ldexp(double noundef %12, i32 noundef %14) #2
store double %15, ptr %9, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %3
%19 = load double, ptr %9, align 8
%20 = load ptr, ptr %4, align 8
store double %19, ptr %20, align 8
br label %21
21: ; preds = %18, %3
%22 = load double, ptr %9, align 8
ret double %22
}
; Function Attrs: nounwind
declare double @ldexp(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmpngv1zur5.c'
source_filename = "/tmp/tmpngv1zur5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ddb_scripts(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
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (...) @usage()
br label %9
9: ; preds = %7, %2
%10 = call i32 @ddb_list_scripts(ptr noundef null)
ret void
}
declare i32 @usage(...) #1
declare i32 @ddb_list_scripts(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/tmpngv1zur5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ddb_scripts(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
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (...) @usage()
br label %9
9: ; preds = %7, %2
%10 = call i32 @ddb_list_scripts(ptr noundef null)
ret void
}
declare i32 @usage(...) #1
declare i32 @ddb_list_scripts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_l4rp2_p.c'
source_filename = "/tmp/tmp_l4rp2_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_double(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 double @atof(ptr noundef %3)
ret double %4
}
declare double @atof(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_l4rp2_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_double(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 double @atof(ptr noundef %3)
ret double %4
}
declare double @atof(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/tmp6431nxp9.c'
source_filename = "/tmp/tmp6431nxp9.c"
target datalayout = "e-m:e-p270: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/tmp6431nxp9.c"
target datalayout = "e-m:e-p270: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/tmplv3g2gqo.c'
source_filename = "/tmp/tmplv3g2gqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_alloc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [32 x i32], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %13
store i32 0, ptr %14, align 4
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %9, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %17
store i32 0, ptr %18, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %21
store i32 196620, ptr %22, align 4
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %25
store i32 12, ptr %26, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %29
store i32 12, ptr %30, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %34
store i32 %31, ptr %35, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %39
store i32 %36, ptr %40, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %48
store i32 0, ptr %49, align 4
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 4
%53 = trunc i64 %52 to i32
%54 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0
store i32 %53, ptr %54, align 16
%55 = load i32, ptr %5, align 4
%56 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0
%57 = call i32 @mbox_property(i32 noundef %55, ptr noundef %56)
%58 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 5
%59 = load i32, ptr %58, align 4
ret i32 %59
}
declare i32 @mbox_property(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplv3g2gqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_alloc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [32 x i32], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %13
store i32 0, ptr %14, align 4
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %9, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %17
store i32 0, ptr %18, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %9, align 4
%21 = sext i32 %19 to i64
%22 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %21
store i32 196620, ptr %22, align 4
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %25
store i32 12, ptr %26, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %29
store i32 12, ptr %30, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %34
store i32 %31, ptr %35, align 4
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %39
store i32 %36, ptr %40, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 %48
store i32 0, ptr %49, align 4
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 4
%53 = trunc i64 %52 to i32
%54 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0
store i32 %53, ptr %54, align 16
%55 = load i32, ptr %5, align 4
%56 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0
%57 = call i32 @mbox_property(i32 noundef %55, ptr noundef %56)
%58 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 5
%59 = load i32, ptr %58, align 4
ret i32 %59
}
declare i32 @mbox_property(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7ju_h5js.c'
source_filename = "/tmp/tmp7ju_h5js.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__vector_unused_irq() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 (...) @mcal_cpu_nop()
br label %1
}
declare i32 @mcal_cpu_nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ju_h5js.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__vector_unused_irq() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 (...) @mcal_cpu_nop()
br label %1
}
declare i32 @mcal_cpu_nop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_ssaqx8i.c'
source_filename = "/tmp/tmp_ssaqx8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ssaqx8i.c"
target datalayout = "e-m:e-p270: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/tmpjd3c3dj3.c'
source_filename = "/tmp/tmpjd3c3dj3.c"
target datalayout = "e-m:e-p270: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/tmpjd3c3dj3.c"
target datalayout = "e-m:e-p270: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/tmpgihbm20l.c'
source_filename = "/tmp/tmpgihbm20l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example9() #0 {
%1 = alloca [42 x [42 x i32]], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %25, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 42
br i1 %9, label %10, label %28
10: ; preds = %7
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %21, %10
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 42
br i1 %13, label %14, label %24
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 %16
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [42 x i32], ptr %17, i64 0, i64 %19
store i32 0, ptr %20, align 4
br label %21
21: ; preds = %14
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %11, !llvm.loop !6
24: ; preds = %11
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %7, !llvm.loop !8
28: ; preds = %7
%29 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 14
%30 = getelementptr inbounds [42 x i32], ptr %29, i64 0, i64 0
store i32 3, ptr %30, align 16
%31 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 0
%32 = getelementptr inbounds [42 x i32], ptr %31, i64 7
store ptr %32, ptr %2, align 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds [42 x i32], ptr %33, i64 1
%35 = getelementptr inbounds [42 x i32], ptr %34, i64 6
%36 = getelementptr inbounds [42 x i32], ptr %35, i64 0, i64 0
store ptr %36, ptr %3, align 8
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 3
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 noundef %40)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgihbm20l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example9() #0 {
%1 = alloca [42 x [42 x i32]], align 16
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 42
br i1 %8, label %.lr.ph2, label %30
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %25
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 42
br i1 %11, label %.lr.ph, label %24
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %19
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 %14
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [42 x i32], ptr %15, i64 0, i64 %17
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %12
%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 = icmp slt i32 %22, 42
br i1 %23, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %9
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 42
br i1 %29, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %0
%31 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 14
%32 = getelementptr inbounds [42 x i32], ptr %31, i64 0, i64 0
store i32 3, ptr %32, align 16
%33 = getelementptr inbounds [42 x [42 x i32]], ptr %1, i64 0, i64 0
%34 = getelementptr inbounds [42 x i32], ptr %33, i64 7
store ptr %34, ptr %2, align 8
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds [42 x i32], ptr %35, i64 1
%37 = getelementptr inbounds [42 x i32], ptr %36, i64 6
%38 = getelementptr inbounds [42 x i32], ptr %37, i64 0, i64 0
store ptr %38, ptr %3, align 8
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %39, align 4
%41 = icmp eq i32 %40, 3
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa4htxs5k.c'
source_filename = "/tmp/tmpa4htxs5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EX_OSERR = 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/tmpa4htxs5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EBADF = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EX_OSERR = 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/tmptgc1isfg.c'
source_filename = "/tmp/tmptgc1isfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_getyx(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = call i32 @getyx(ptr noundef %7, i32 noundef %9, i32 noundef %11)
ret void
}
declare i32 @getyx(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptgc1isfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_getyx(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = call i32 @getyx(ptr noundef %7, i32 noundef %9, i32 noundef %11)
ret void
}
declare i32 @getyx(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxa3ioekc.c'
source_filename = "/tmp/tmpxa3ioekc.c"
target datalayout = "e-m:e-p270: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/tmpxa3ioekc.c"
target datalayout = "e-m:e-p270: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/tmpje00sbz_.c'
source_filename = "/tmp/tmpje00sbz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpje00sbz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"max\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd7hs20l1.c'
source_filename = "/tmp/tmpd7hs20l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rvoc() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [6 x i8], align 1
br label %4
4: ; preds = %54, %0
%5 = call i32 (...) @rnum()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %4
br label %59
9: ; preds = %4
%10 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
store i8 0, ptr %11, align 1
br label %12
12: ; preds = %35, %9
%13 = call i32 (...) @next()
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %1, align 8
store i8 %14, ptr %15, align 1
%16 = sext i8 %14 to i32
%17 = icmp eq i32 %16, 9
br i1 %17, label %33, label %18
18: ; preds = %12
%19 = load ptr, ptr %1, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %33, label %23
23: ; preds = %18
%24 = load ptr, ptr %1, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %33, label %28
28: ; preds = %23
%29 = load ptr, ptr %1, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %33, label %34
33: ; preds = %28, %23, %18, %12
br label %38
34: ; preds = %28
br label %35
35: ; preds = %34
%36 = load ptr, ptr %1, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %1, align 8
br label %12
38: ; preds = %33
%39 = load ptr, ptr %1, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 10
br i1 %42, label %43, label %54
43: ; preds = %38
%44 = load ptr, ptr %1, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 10
br i1 %47, label %48, label %54
48: ; preds = %43
br label %49
49: ; preds = %52, %48
%50 = call i32 (...) @next()
%51 = icmp ne i32 %50, 10
br i1 %51, label %52, label %53
52: ; preds = %49
br label %49, !llvm.loop !6
53: ; preds = %49
br label %54
54: ; preds = %53, %43, %38
%55 = load ptr, ptr %1, align 8
store i8 0, ptr %55, align 1
%56 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%57 = load i32, ptr %2, align 4
%58 = call i32 @vocab(ptr noundef %56, i32 noundef -2, i32 noundef %57)
br label %4
59: ; preds = %8
ret void
}
declare i32 @rnum(...) #1
declare i32 @next(...) #1
declare i32 @vocab(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7hs20l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rvoc() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [6 x i8], align 1
%4 = call i32 (...) @rnum()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %.lr.ph5
.lr.ph5: ; preds = %0
br label %8
._crit_edge6: ; preds = %56
br label %7
7: ; preds = %._crit_edge6, %0
br label %64
8: ; preds = %.lr.ph5, %56
%9 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
store i8 0, ptr %10, align 1
%11 = call i32 (...) @next()
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %1, align 8
store i8 %12, ptr %13, align 1
%14 = sext i8 %12 to i32
%15 = icmp eq i32 %14, 9
br i1 %15, label %31, label %.lr.ph
.lr.ph: ; preds = %8
br label %16
16: ; preds = %.lr.ph, %33
%17 = load ptr, ptr %1, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 10
br i1 %20, label %._crit_edge2, label %21
21: ; preds = %16
%22 = load ptr, ptr %1, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %._crit_edge1, label %26
26: ; preds = %21
%27 = load ptr, ptr %1, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 32
br i1 %30, label %._crit_edge, label %32
._crit_edge: ; preds = %26
br label %31
._crit_edge1: ; preds = %21
br label %31
._crit_edge2: ; preds = %16
br label %31
._crit_edge3: ; preds = %33
br label %31
31: ; preds = %._crit_edge3, %._crit_edge2, %._crit_edge1, %._crit_edge, %8
br label %41
32: ; preds = %26
br label %33
33: ; preds = %32
%34 = load ptr, ptr %1, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %1, align 8
%36 = call i32 (...) @next()
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %1, align 8
store i8 %37, ptr %38, align 1
%39 = sext i8 %37 to i32
%40 = icmp eq i32 %39, 9
br i1 %40, label %._crit_edge3, label %16
41: ; preds = %31
%42 = load ptr, ptr %1, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 10
br i1 %45, label %46, label %56
46: ; preds = %41
%47 = load ptr, ptr %1, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 10
br i1 %50, label %51, label %56
51: ; preds = %46
br label %52
52: ; preds = %52, %51
%53 = call i32 (...) @next()
%54 = icmp ne i32 %53, 10
br i1 %54, label %52, label %55, !llvm.loop !6
55: ; preds = %52
br label %56
56: ; preds = %55, %46, %41
%57 = load ptr, ptr %1, align 8
store i8 0, ptr %57, align 1
%58 = getelementptr inbounds [6 x i8], ptr %3, i64 0, i64 0
%59 = load i32, ptr %2, align 4
%60 = call i32 @vocab(ptr noundef %58, i32 noundef -2, i32 noundef %59)
%61 = call i32 (...) @rnum()
store i32 %61, ptr %2, align 4
%62 = load i32, ptr %2, align 4
%63 = icmp slt i32 %62, 0
br i1 %63, label %._crit_edge6, label %8
64: ; preds = %7
ret void
}
declare i32 @rnum(...) #1
declare i32 @next(...) #1
declare i32 @vocab(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptczrto9c.c'
source_filename = "/tmp/tmptczrto9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = call i32 @_merge_sort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @_merge_sort(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptczrto9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 %6, 1
%8 = call i32 @_merge_sort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @_merge_sort(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0sfap2pq.c'
source_filename = "/tmp/tmp0sfap2pq.c"
target datalayout = "e-m:e-p270: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/tmp0sfap2pq.c"
target datalayout = "e-m:e-p270: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/tmp527f16_g.c'
source_filename = "/tmp/tmp527f16_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"resource-rule-%6c.summary\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_rule_number(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @path_basename(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%11 = call ptr @xxstrdup(ptr noundef %10)
ret ptr %11
}
declare ptr @path_basename(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @xxstrdup(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/tmp527f16_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"resource-rule-%6c.summary\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_rule_number(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @path_basename(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%11 = call ptr @xxstrdup(ptr noundef %10)
ret ptr %11
}
declare ptr @path_basename(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @xxstrdup(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/tmpcep234pq.c'
source_filename = "/tmp/tmpcep234pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Table\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c" n 2^n\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"--- -------\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"%2i %3i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 10
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %14, 2
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %10
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcep234pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Table\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c" n 2^n\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"--- -------\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"%2i %3i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 10
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10, i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 %13, 2
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp sle i32 %18, 10
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk6dm00u3.c'
source_filename = "/tmp/tmpk6dm00u3.c"
target datalayout = "e-m:e-p270: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/tmpk6dm00u3.c"
target datalayout = "e-m:e-p270: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/tmps3qngxwk.c'
source_filename = "/tmp/tmps3qngxwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean_stdin() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @fflush(i32 noundef %1)
ret void
}
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps3qngxwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clean_stdin() #0 {
%1 = load i32, ptr @stdin, align 4
%2 = call i32 @fflush(i32 noundef %1)
ret void
}
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe8ff0426.c'
source_filename = "/tmp/tmpe8ff0426.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setupVICVAC() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @readVACEPROM()
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
%6 = call i32 @ReadEeprom(i32 noundef %4)
store i32 %6, ptr %2, align 4
%7 = call i32 @writeVIC(i32 noundef 39, i32 noundef %6)
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = call i32 @ReadEeprom(i32 noundef %8)
store i32 %10, ptr %2, align 4
%11 = call i32 @writeVIC(i32 noundef 71, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = call i32 @ReadEeprom(i32 noundef %12)
store i32 %14, ptr %2, align 4
%15 = call i32 @writeVIC(i32 noundef 87, i32 noundef %14)
%16 = load i32, ptr %1, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %1, align 4
%18 = call i32 @ReadEeprom(i32 noundef %16)
store i32 %18, ptr %2, align 4
%19 = call i32 @writeVIC(i32 noundef 167, i32 noundef %18)
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
%22 = call i32 @ReadEeprom(i32 noundef %20)
store i32 %22, ptr %2, align 4
%23 = call i32 @writeVIC(i32 noundef 179, i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %1, align 4
%26 = call i32 @ReadEeprom(i32 noundef %24)
store i32 %26, ptr %2, align 4
%27 = call i32 @writeVIC(i32 noundef 183, i32 noundef %26)
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = call i32 @ReadEeprom(i32 noundef %28)
store i32 %30, ptr %2, align 4
%31 = call i32 @writeVIC(i32 noundef 195, i32 noundef %30)
%32 = load i32, ptr %1, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %1, align 4
%34 = call i32 @ReadEeprom(i32 noundef %32)
store i32 %34, ptr %2, align 4
%35 = call i32 @writeVIC(i32 noundef 199, i32 noundef %34)
%36 = load i32, ptr %1, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %1, align 4
%38 = call i32 @ReadEeprom(i32 noundef %36)
store i32 %38, ptr %2, align 4
%39 = call i32 @writeVIC(i32 noundef 203, i32 noundef %38)
%40 = load i32, ptr %1, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %1, align 4
%42 = call i32 @ReadEeprom(i32 noundef %40)
store i32 %42, ptr %2, align 4
%43 = call i32 @writeVIC(i32 noundef 207, i32 noundef %42)
%44 = load i32, ptr %1, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %1, align 4
%46 = load i32, ptr %1, align 4
%47 = call i32 @ReadEepromWord(i32 noundef %46)
store i32 %47, ptr %2, align 4
%48 = call i32 @writeVAC(i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr %1, align 4
%50 = add nsw i32 %49, 2
store i32 %50, ptr %1, align 4
%51 = load i32, ptr %1, align 4
%52 = call i32 @ReadEepromWord(i32 noundef %51)
store i32 %52, ptr %2, align 4
%53 = call i32 @writeVAC(i32 noundef 1, i32 noundef %52)
%54 = load i32, ptr %1, align 4
%55 = add nsw i32 %54, 2
store i32 %55, ptr %1, align 4
%56 = load i32, ptr %1, align 4
%57 = call i32 @ReadEepromWord(i32 noundef %56)
store i32 %57, ptr %2, align 4
%58 = call i32 @writeVAC(i32 noundef 2, i32 noundef %57)
%59 = load i32, ptr %1, align 4
%60 = add nsw i32 %59, 2
store i32 %60, ptr %1, align 4
%61 = load i32, ptr %1, align 4
%62 = call i32 @ReadEepromWord(i32 noundef %61)
store i32 %62, ptr %2, align 4
%63 = call i32 @writeVAC(i32 noundef 3, i32 noundef %62)
%64 = load i32, ptr %1, align 4
%65 = add nsw i32 %64, 2
store i32 %65, ptr %1, align 4
%66 = load i32, ptr %1, align 4
%67 = call i32 @ReadEepromWord(i32 noundef %66)
store i32 %67, ptr %2, align 4
%68 = call i32 @writeVAC(i32 noundef 4, i32 noundef %67)
%69 = load i32, ptr %1, align 4
%70 = add nsw i32 %69, 2
store i32 %70, ptr %1, align 4
%71 = load i32, ptr %1, align 4
%72 = call i32 @ReadEepromWord(i32 noundef %71)
store i32 %72, ptr %2, align 4
%73 = call i32 @writeVAC(i32 noundef 5, i32 noundef %72)
%74 = load i32, ptr %1, align 4
%75 = add nsw i32 %74, 2
store i32 %75, ptr %1, align 4
%76 = load i32, ptr %1, align 4
%77 = call i32 @ReadEepromWord(i32 noundef %76)
store i32 %77, ptr %2, align 4
%78 = call i32 @writeVAC(i32 noundef 6, i32 noundef %77)
%79 = load i32, ptr %1, align 4
%80 = add nsw i32 %79, 2
store i32 %80, ptr %1, align 4
%81 = load i32, ptr %1, align 4
%82 = call i32 @ReadEepromWord(i32 noundef %81)
store i32 %82, ptr %2, align 4
%83 = call i32 @writeVAC(i32 noundef 7, i32 noundef %82)
%84 = load i32, ptr %1, align 4
%85 = add nsw i32 %84, 2
store i32 %85, ptr %1, align 4
%86 = load i32, ptr %1, align 4
%87 = call i32 @ReadEepromWord(i32 noundef %86)
store i32 %87, ptr %2, align 4
%88 = call i32 @writeVAC(i32 noundef 8, i32 noundef %87)
%89 = load i32, ptr %1, align 4
%90 = add nsw i32 %89, 2
store i32 %90, ptr %1, align 4
%91 = load i32, ptr %1, align 4
%92 = call i32 @ReadEepromWord(i32 noundef %91)
store i32 %92, ptr %2, align 4
%93 = call i32 @writeVAC(i32 noundef 9, i32 noundef %92)
%94 = load i32, ptr %1, align 4
%95 = add nsw i32 %94, 2
store i32 %95, ptr %1, align 4
%96 = load i32, ptr %1, align 4
%97 = call i32 @ReadEepromWord(i32 noundef %96)
store i32 %97, ptr %2, align 4
%98 = call i32 @writeVAC(i32 noundef 10, i32 noundef %97)
%99 = load i32, ptr %1, align 4
%100 = add nsw i32 %99, 2
store i32 %100, ptr %1, align 4
%101 = load i32, ptr %1, align 4
%102 = call i32 @ReadEepromWord(i32 noundef %101)
store i32 %102, ptr %2, align 4
%103 = call i32 @writeVAC(i32 noundef 11, i32 noundef %102)
%104 = load i32, ptr %1, align 4
%105 = add nsw i32 %104, 2
store i32 %105, ptr %1, align 4
%106 = load i32, ptr %1, align 4
%107 = call i32 @ReadEepromWord(i32 noundef %106)
store i32 %107, ptr %2, align 4
%108 = call i32 @writeVAC(i32 noundef 12, i32 noundef %107)
%109 = load i32, ptr %1, align 4
%110 = add nsw i32 %109, 2
store i32 %110, ptr %1, align 4
%111 = load i32, ptr %1, align 4
%112 = call i32 @ReadEepromWord(i32 noundef %111)
store i32 %112, ptr %2, align 4
%113 = call i32 @writeVAC(i32 noundef 13, i32 noundef %112)
%114 = load i32, ptr %1, align 4
%115 = add nsw i32 %114, 2
store i32 %115, ptr %1, align 4
%116 = load i32, ptr %1, align 4
%117 = call i32 @ReadEepromWord(i32 noundef %116)
store i32 %117, ptr %2, align 4
%118 = call i32 @writeVAC(i32 noundef 14, i32 noundef %117)
%119 = load i32, ptr %1, align 4
%120 = add nsw i32 %119, 2
store i32 %120, ptr %1, align 4
%121 = load i32, ptr %1, align 4
%122 = call i32 @ReadEepromWord(i32 noundef %121)
store i32 %122, ptr %2, align 4
%123 = call i32 @writeVAC(i32 noundef 15, i32 noundef %122)
%124 = load i32, ptr %1, align 4
%125 = add nsw i32 %124, 2
store i32 %125, ptr %1, align 4
%126 = load i32, ptr %1, align 4
%127 = call i32 @ReadEepromWord(i32 noundef %126)
store i32 %127, ptr %2, align 4
%128 = call i32 @writeVAC(i32 noundef 16, i32 noundef %127)
%129 = load i32, ptr %1, align 4
%130 = add nsw i32 %129, 2
store i32 %130, ptr %1, align 4
%131 = load i32, ptr %1, align 4
%132 = call i32 @ReadEepromWord(i32 noundef %131)
store i32 %132, ptr %2, align 4
%133 = call i32 @writeVAC(i32 noundef 17, i32 noundef %132)
%134 = load i32, ptr %1, align 4
%135 = add nsw i32 %134, 2
store i32 %135, ptr %1, align 4
%136 = load i32, ptr %1, align 4
%137 = call i32 @ReadEepromWord(i32 noundef %136)
store i32 %137, ptr %2, align 4
%138 = call i32 @writeVAC(i32 noundef 18, i32 noundef %137)
%139 = load i32, ptr %1, align 4
%140 = add nsw i32 %139, 2
store i32 %140, ptr %1, align 4
%141 = load i32, ptr %1, align 4
%142 = call i32 @ReadEepromWord(i32 noundef %141)
store i32 %142, ptr %2, align 4
%143 = call i32 @writeVAC(i32 noundef 19, i32 noundef %142)
%144 = load i32, ptr %1, align 4
%145 = add nsw i32 %144, 2
store i32 %145, ptr %1, align 4
%146 = load i32, ptr %1, align 4
%147 = call i32 @ReadEepromWord(i32 noundef %146)
store i32 %147, ptr %2, align 4
%148 = call i32 @writeVAC(i32 noundef 20, i32 noundef %147)
%149 = load i32, ptr %1, align 4
%150 = add nsw i32 %149, 2
store i32 %150, ptr %1, align 4
%151 = load i32, ptr %1, align 4
%152 = call i32 @ReadEepromWord(i32 noundef %151)
store i32 %152, ptr %2, align 4
%153 = call i32 @writeVAC(i32 noundef 22, i32 noundef %152)
%154 = load i32, ptr %1, align 4
%155 = add nsw i32 %154, 2
store i32 %155, ptr %1, align 4
%156 = load i32, ptr %1, align 4
%157 = call i32 @ReadEepromWord(i32 noundef %156)
store i32 %157, ptr %2, align 4
%158 = call i32 @writeVAC(i32 noundef 26, i32 noundef %157)
%159 = load i32, ptr %1, align 4
%160 = add nsw i32 %159, 2
store i32 %160, ptr %1, align 4
%161 = load i32, ptr %1, align 4
%162 = call i32 @ReadEepromWord(i32 noundef %161)
store i32 %162, ptr %2, align 4
%163 = call i32 @writeVAC(i32 noundef 27, i32 noundef %162)
%164 = load i32, ptr %1, align 4
%165 = add nsw i32 %164, 2
store i32 %165, ptr %1, align 4
%166 = load i32, ptr %1, align 4
%167 = call i32 @ReadEepromWord(i32 noundef %166)
store i32 %167, ptr %2, align 4
%168 = call i32 @writeVAC(i32 noundef 28, i32 noundef %167)
%169 = load i32, ptr %1, align 4
%170 = add nsw i32 %169, 2
store i32 %170, ptr %1, align 4
%171 = load i32, ptr %1, align 4
%172 = call i32 @ReadEepromWord(i32 noundef %171)
store i32 %172, ptr %2, align 4
%173 = call i32 @writeVAC(i32 noundef 29, i32 noundef %172)
%174 = load i32, ptr %1, align 4
%175 = add nsw i32 %174, 2
store i32 %175, ptr %1, align 4
%176 = load i32, ptr %1, align 4
%177 = call i32 @ReadEepromWord(i32 noundef %176)
store i32 %177, ptr %2, align 4
%178 = call i32 @writeVAC(i32 noundef 31, i32 noundef %177)
%179 = load i32, ptr %1, align 4
%180 = add nsw i32 %179, 2
store i32 %180, ptr %1, align 4
%181 = load i32, ptr %1, align 4
%182 = call i32 @ReadEepromWord(i32 noundef %181)
store i32 %182, ptr %2, align 4
%183 = call i32 @writeVAC(i32 noundef 35, i32 noundef %182)
%184 = load i32, ptr %1, align 4
%185 = add nsw i32 %184, 2
store i32 %185, ptr %1, align 4
%186 = call i32 @readVAC(i32 noundef 41)
%187 = call i32 @writeVAC(i32 noundef 41, i32 noundef %186)
ret void
}
declare i32 @readVACEPROM(...) #1
declare i32 @writeVIC(i32 noundef, i32 noundef) #1
declare i32 @ReadEeprom(i32 noundef) #1
declare i32 @writeVAC(i32 noundef, i32 noundef) #1
declare i32 @ReadEepromWord(i32 noundef) #1
declare i32 @readVAC(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/tmpe8ff0426.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setupVICVAC() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @readVACEPROM()
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
%6 = call i32 @ReadEeprom(i32 noundef %4)
store i32 %6, ptr %2, align 4
%7 = call i32 @writeVIC(i32 noundef 39, i32 noundef %6)
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
%10 = call i32 @ReadEeprom(i32 noundef %8)
store i32 %10, ptr %2, align 4
%11 = call i32 @writeVIC(i32 noundef 71, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %1, align 4
%14 = call i32 @ReadEeprom(i32 noundef %12)
store i32 %14, ptr %2, align 4
%15 = call i32 @writeVIC(i32 noundef 87, i32 noundef %14)
%16 = load i32, ptr %1, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %1, align 4
%18 = call i32 @ReadEeprom(i32 noundef %16)
store i32 %18, ptr %2, align 4
%19 = call i32 @writeVIC(i32 noundef 167, i32 noundef %18)
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
%22 = call i32 @ReadEeprom(i32 noundef %20)
store i32 %22, ptr %2, align 4
%23 = call i32 @writeVIC(i32 noundef 179, i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %1, align 4
%26 = call i32 @ReadEeprom(i32 noundef %24)
store i32 %26, ptr %2, align 4
%27 = call i32 @writeVIC(i32 noundef 183, i32 noundef %26)
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = call i32 @ReadEeprom(i32 noundef %28)
store i32 %30, ptr %2, align 4
%31 = call i32 @writeVIC(i32 noundef 195, i32 noundef %30)
%32 = load i32, ptr %1, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %1, align 4
%34 = call i32 @ReadEeprom(i32 noundef %32)
store i32 %34, ptr %2, align 4
%35 = call i32 @writeVIC(i32 noundef 199, i32 noundef %34)
%36 = load i32, ptr %1, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %1, align 4
%38 = call i32 @ReadEeprom(i32 noundef %36)
store i32 %38, ptr %2, align 4
%39 = call i32 @writeVIC(i32 noundef 203, i32 noundef %38)
%40 = load i32, ptr %1, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %1, align 4
%42 = call i32 @ReadEeprom(i32 noundef %40)
store i32 %42, ptr %2, align 4
%43 = call i32 @writeVIC(i32 noundef 207, i32 noundef %42)
%44 = load i32, ptr %1, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %1, align 4
%46 = load i32, ptr %1, align 4
%47 = call i32 @ReadEepromWord(i32 noundef %46)
store i32 %47, ptr %2, align 4
%48 = call i32 @writeVAC(i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr %1, align 4
%50 = add nsw i32 %49, 2
store i32 %50, ptr %1, align 4
%51 = load i32, ptr %1, align 4
%52 = call i32 @ReadEepromWord(i32 noundef %51)
store i32 %52, ptr %2, align 4
%53 = call i32 @writeVAC(i32 noundef 1, i32 noundef %52)
%54 = load i32, ptr %1, align 4
%55 = add nsw i32 %54, 2
store i32 %55, ptr %1, align 4
%56 = load i32, ptr %1, align 4
%57 = call i32 @ReadEepromWord(i32 noundef %56)
store i32 %57, ptr %2, align 4
%58 = call i32 @writeVAC(i32 noundef 2, i32 noundef %57)
%59 = load i32, ptr %1, align 4
%60 = add nsw i32 %59, 2
store i32 %60, ptr %1, align 4
%61 = load i32, ptr %1, align 4
%62 = call i32 @ReadEepromWord(i32 noundef %61)
store i32 %62, ptr %2, align 4
%63 = call i32 @writeVAC(i32 noundef 3, i32 noundef %62)
%64 = load i32, ptr %1, align 4
%65 = add nsw i32 %64, 2
store i32 %65, ptr %1, align 4
%66 = load i32, ptr %1, align 4
%67 = call i32 @ReadEepromWord(i32 noundef %66)
store i32 %67, ptr %2, align 4
%68 = call i32 @writeVAC(i32 noundef 4, i32 noundef %67)
%69 = load i32, ptr %1, align 4
%70 = add nsw i32 %69, 2
store i32 %70, ptr %1, align 4
%71 = load i32, ptr %1, align 4
%72 = call i32 @ReadEepromWord(i32 noundef %71)
store i32 %72, ptr %2, align 4
%73 = call i32 @writeVAC(i32 noundef 5, i32 noundef %72)
%74 = load i32, ptr %1, align 4
%75 = add nsw i32 %74, 2
store i32 %75, ptr %1, align 4
%76 = load i32, ptr %1, align 4
%77 = call i32 @ReadEepromWord(i32 noundef %76)
store i32 %77, ptr %2, align 4
%78 = call i32 @writeVAC(i32 noundef 6, i32 noundef %77)
%79 = load i32, ptr %1, align 4
%80 = add nsw i32 %79, 2
store i32 %80, ptr %1, align 4
%81 = load i32, ptr %1, align 4
%82 = call i32 @ReadEepromWord(i32 noundef %81)
store i32 %82, ptr %2, align 4
%83 = call i32 @writeVAC(i32 noundef 7, i32 noundef %82)
%84 = load i32, ptr %1, align 4
%85 = add nsw i32 %84, 2
store i32 %85, ptr %1, align 4
%86 = load i32, ptr %1, align 4
%87 = call i32 @ReadEepromWord(i32 noundef %86)
store i32 %87, ptr %2, align 4
%88 = call i32 @writeVAC(i32 noundef 8, i32 noundef %87)
%89 = load i32, ptr %1, align 4
%90 = add nsw i32 %89, 2
store i32 %90, ptr %1, align 4
%91 = load i32, ptr %1, align 4
%92 = call i32 @ReadEepromWord(i32 noundef %91)
store i32 %92, ptr %2, align 4
%93 = call i32 @writeVAC(i32 noundef 9, i32 noundef %92)
%94 = load i32, ptr %1, align 4
%95 = add nsw i32 %94, 2
store i32 %95, ptr %1, align 4
%96 = load i32, ptr %1, align 4
%97 = call i32 @ReadEepromWord(i32 noundef %96)
store i32 %97, ptr %2, align 4
%98 = call i32 @writeVAC(i32 noundef 10, i32 noundef %97)
%99 = load i32, ptr %1, align 4
%100 = add nsw i32 %99, 2
store i32 %100, ptr %1, align 4
%101 = load i32, ptr %1, align 4
%102 = call i32 @ReadEepromWord(i32 noundef %101)
store i32 %102, ptr %2, align 4
%103 = call i32 @writeVAC(i32 noundef 11, i32 noundef %102)
%104 = load i32, ptr %1, align 4
%105 = add nsw i32 %104, 2
store i32 %105, ptr %1, align 4
%106 = load i32, ptr %1, align 4
%107 = call i32 @ReadEepromWord(i32 noundef %106)
store i32 %107, ptr %2, align 4
%108 = call i32 @writeVAC(i32 noundef 12, i32 noundef %107)
%109 = load i32, ptr %1, align 4
%110 = add nsw i32 %109, 2
store i32 %110, ptr %1, align 4
%111 = load i32, ptr %1, align 4
%112 = call i32 @ReadEepromWord(i32 noundef %111)
store i32 %112, ptr %2, align 4
%113 = call i32 @writeVAC(i32 noundef 13, i32 noundef %112)
%114 = load i32, ptr %1, align 4
%115 = add nsw i32 %114, 2
store i32 %115, ptr %1, align 4
%116 = load i32, ptr %1, align 4
%117 = call i32 @ReadEepromWord(i32 noundef %116)
store i32 %117, ptr %2, align 4
%118 = call i32 @writeVAC(i32 noundef 14, i32 noundef %117)
%119 = load i32, ptr %1, align 4
%120 = add nsw i32 %119, 2
store i32 %120, ptr %1, align 4
%121 = load i32, ptr %1, align 4
%122 = call i32 @ReadEepromWord(i32 noundef %121)
store i32 %122, ptr %2, align 4
%123 = call i32 @writeVAC(i32 noundef 15, i32 noundef %122)
%124 = load i32, ptr %1, align 4
%125 = add nsw i32 %124, 2
store i32 %125, ptr %1, align 4
%126 = load i32, ptr %1, align 4
%127 = call i32 @ReadEepromWord(i32 noundef %126)
store i32 %127, ptr %2, align 4
%128 = call i32 @writeVAC(i32 noundef 16, i32 noundef %127)
%129 = load i32, ptr %1, align 4
%130 = add nsw i32 %129, 2
store i32 %130, ptr %1, align 4
%131 = load i32, ptr %1, align 4
%132 = call i32 @ReadEepromWord(i32 noundef %131)
store i32 %132, ptr %2, align 4
%133 = call i32 @writeVAC(i32 noundef 17, i32 noundef %132)
%134 = load i32, ptr %1, align 4
%135 = add nsw i32 %134, 2
store i32 %135, ptr %1, align 4
%136 = load i32, ptr %1, align 4
%137 = call i32 @ReadEepromWord(i32 noundef %136)
store i32 %137, ptr %2, align 4
%138 = call i32 @writeVAC(i32 noundef 18, i32 noundef %137)
%139 = load i32, ptr %1, align 4
%140 = add nsw i32 %139, 2
store i32 %140, ptr %1, align 4
%141 = load i32, ptr %1, align 4
%142 = call i32 @ReadEepromWord(i32 noundef %141)
store i32 %142, ptr %2, align 4
%143 = call i32 @writeVAC(i32 noundef 19, i32 noundef %142)
%144 = load i32, ptr %1, align 4
%145 = add nsw i32 %144, 2
store i32 %145, ptr %1, align 4
%146 = load i32, ptr %1, align 4
%147 = call i32 @ReadEepromWord(i32 noundef %146)
store i32 %147, ptr %2, align 4
%148 = call i32 @writeVAC(i32 noundef 20, i32 noundef %147)
%149 = load i32, ptr %1, align 4
%150 = add nsw i32 %149, 2
store i32 %150, ptr %1, align 4
%151 = load i32, ptr %1, align 4
%152 = call i32 @ReadEepromWord(i32 noundef %151)
store i32 %152, ptr %2, align 4
%153 = call i32 @writeVAC(i32 noundef 22, i32 noundef %152)
%154 = load i32, ptr %1, align 4
%155 = add nsw i32 %154, 2
store i32 %155, ptr %1, align 4
%156 = load i32, ptr %1, align 4
%157 = call i32 @ReadEepromWord(i32 noundef %156)
store i32 %157, ptr %2, align 4
%158 = call i32 @writeVAC(i32 noundef 26, i32 noundef %157)
%159 = load i32, ptr %1, align 4
%160 = add nsw i32 %159, 2
store i32 %160, ptr %1, align 4
%161 = load i32, ptr %1, align 4
%162 = call i32 @ReadEepromWord(i32 noundef %161)
store i32 %162, ptr %2, align 4
%163 = call i32 @writeVAC(i32 noundef 27, i32 noundef %162)
%164 = load i32, ptr %1, align 4
%165 = add nsw i32 %164, 2
store i32 %165, ptr %1, align 4
%166 = load i32, ptr %1, align 4
%167 = call i32 @ReadEepromWord(i32 noundef %166)
store i32 %167, ptr %2, align 4
%168 = call i32 @writeVAC(i32 noundef 28, i32 noundef %167)
%169 = load i32, ptr %1, align 4
%170 = add nsw i32 %169, 2
store i32 %170, ptr %1, align 4
%171 = load i32, ptr %1, align 4
%172 = call i32 @ReadEepromWord(i32 noundef %171)
store i32 %172, ptr %2, align 4
%173 = call i32 @writeVAC(i32 noundef 29, i32 noundef %172)
%174 = load i32, ptr %1, align 4
%175 = add nsw i32 %174, 2
store i32 %175, ptr %1, align 4
%176 = load i32, ptr %1, align 4
%177 = call i32 @ReadEepromWord(i32 noundef %176)
store i32 %177, ptr %2, align 4
%178 = call i32 @writeVAC(i32 noundef 31, i32 noundef %177)
%179 = load i32, ptr %1, align 4
%180 = add nsw i32 %179, 2
store i32 %180, ptr %1, align 4
%181 = load i32, ptr %1, align 4
%182 = call i32 @ReadEepromWord(i32 noundef %181)
store i32 %182, ptr %2, align 4
%183 = call i32 @writeVAC(i32 noundef 35, i32 noundef %182)
%184 = load i32, ptr %1, align 4
%185 = add nsw i32 %184, 2
store i32 %185, ptr %1, align 4
%186 = call i32 @readVAC(i32 noundef 41)
%187 = call i32 @writeVAC(i32 noundef 41, i32 noundef %186)
ret void
}
declare i32 @readVACEPROM(...) #1
declare i32 @writeVIC(i32 noundef, i32 noundef) #1
declare i32 @ReadEeprom(i32 noundef) #1
declare i32 @writeVAC(i32 noundef, i32 noundef) #1
declare i32 @ReadEepromWord(i32 noundef) #1
declare i32 @readVAC(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/tmpqk8maxx4.c'
source_filename = "/tmp/tmpqk8maxx4.c"
target datalayout = "e-m:e-p270: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/tmpqk8maxx4.c"
target datalayout = "e-m:e-p270: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/tmpqspjfref.c'
source_filename = "/tmp/tmpqspjfref.c"
target datalayout = "e-m:e-p270: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/tmpqspjfref.c"
target datalayout = "e-m:e-p270: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/tmpscytajm0.c'
source_filename = "/tmp/tmpscytajm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"length:%zd, %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c" world\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%c\09\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Hello Clang\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @realloc2() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i64 @malloc(i32 noundef 6)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = load ptr, ptr %1, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 10)
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i8
%13 = load ptr, ptr %1, align 8
%14 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %12, ptr noundef %13)
%15 = load ptr, ptr %1, align 8
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.2)
%17 = load ptr, ptr %1, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = trunc i64 %18 to i8
%20 = load ptr, ptr %1, align 8
%21 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %19, ptr noundef %20)
store i32 0, ptr %2, align 4
%22 = load ptr, ptr %1, align 8
store ptr %22, ptr %3, align 8
br label %23
23: ; preds = %27, %0
%24 = load ptr, ptr %3, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %29)
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %3, align 8
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
br label %23, !llvm.loop !6
35: ; preds = %23
%36 = call i32 (...) @ln()
%37 = load i32, ptr %2, align 4
%38 = trunc i32 %37 to i8
%39 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.4, i8 noundef signext %38)
%40 = load ptr, ptr %1, align 8
%41 = load ptr, ptr %1, align 8
%42 = call i64 @strlen(ptr noundef %41)
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 65, ptr %43, align 1
%44 = load ptr, ptr %1, align 8
%45 = call i32 @strcat(ptr noundef %44, ptr noundef @.str.5)
%46 = load ptr, ptr %1, align 8
%47 = call i64 @strlen(ptr noundef %46)
%48 = trunc i64 %47 to i8
%49 = load ptr, ptr %1, align 8
%50 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %48, ptr noundef %49)
%51 = load ptr, ptr %1, align 8
store ptr %51, ptr %3, align 8
br label %52
52: ; preds = %56, %35
%53 = load ptr, ptr %3, align 8
%54 = load i8, ptr %53, align 1
%55 = icmp ne i8 %54, 0
br i1 %55, label %56, label %64
56: ; preds = %52
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %58)
%60 = load ptr, ptr %3, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %3, align 8
%62 = load i32, ptr %2, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %2, align 4
br label %52, !llvm.loop !8
64: ; preds = %52
%65 = call i32 (...) @ln()
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @ln(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpscytajm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"length:%zd, %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c" world\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%c\09\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"Hello Clang\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @realloc2() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = call i64 @malloc(i32 noundef 6)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = load ptr, ptr %1, align 8
%9 = call ptr @realloc(ptr noundef %8, i32 noundef 10)
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i8
%13 = load ptr, ptr %1, align 8
%14 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %12, ptr noundef %13)
%15 = load ptr, ptr %1, align 8
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.2)
%17 = load ptr, ptr %1, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = trunc i64 %18 to i8
%20 = load ptr, ptr %1, align 8
%21 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %19, ptr noundef %20)
store i32 0, ptr %2, align 4
%22 = load ptr, ptr %1, align 8
store ptr %22, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %26
26: ; preds = %.lr.ph, %26
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %28)
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %3, align 8
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %2, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %37
37: ; preds = %._crit_edge, %0
%38 = call i32 (...) @ln()
%39 = load i32, ptr %2, align 4
%40 = trunc i32 %39 to i8
%41 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.4, i8 noundef signext %40)
%42 = load ptr, ptr %1, align 8
%43 = load ptr, ptr %1, align 8
%44 = call i64 @strlen(ptr noundef %43)
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 65, ptr %45, align 1
%46 = load ptr, ptr %1, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.5)
%48 = load ptr, ptr %1, align 8
%49 = call i64 @strlen(ptr noundef %48)
%50 = trunc i64 %49 to i8
%51 = load ptr, ptr %1, align 8
%52 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %50, ptr noundef %51)
%53 = load ptr, ptr %1, align 8
store ptr %53, ptr %3, align 8
%54 = load ptr, ptr %3, align 8
%55 = load i8, ptr %54, align 1
%56 = icmp ne i8 %55, 0
br i1 %56, label %.lr.ph2, label %68
.lr.ph2: ; preds = %37
br label %57
57: ; preds = %.lr.ph2, %57
%58 = load ptr, ptr %3, align 8
%59 = load i8, ptr %58, align 1
%60 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %59)
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %3, align 8
%63 = load i32, ptr %2, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %2, align 4
%65 = load ptr, ptr %3, align 8
%66 = load i8, ptr %65, align 1
%67 = icmp ne i8 %66, 0
br i1 %67, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %68
68: ; preds = %._crit_edge3, %37
%69 = call i32 (...) @ln()
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @ln(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj6kmffn8.c'
source_filename = "/tmp/tmpj6kmffn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfcxf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_erfcx_f32(float noundef %3)
ret float %4
}
declare float @__ocml_erfcx_f32(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/tmpj6kmffn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfcxf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_erfcx_f32(float noundef %3)
ret float %4
}
declare float @__ocml_erfcx_f32(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/tmp2m91garl.c'
source_filename = "/tmp/tmp2m91garl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_wait_for_key(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %1, %16
br label %5
5: ; preds = %15, %4
%6 = call i32 (...) @gui_getk()
store i32 %6, ptr %3, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = call ptr @strchr(ptr noundef %9, i32 noundef %10)
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load i32, ptr %3, align 4
ret i32 %14
15: ; preds = %8
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = call i32 @usleep(i32 noundef 10000)
br label %4
}
declare i32 @gui_getk(...) #1
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2m91garl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_wait_for_key(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %17, %1
%5 = call i32 (...) @gui_getk()
store i32 %5, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %4
br label %10
7: ; preds = %10
%8 = call i32 (...) @gui_getk()
store i32 %8, ptr %3, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %._crit_edge, !llvm.loop !6
10: ; preds = %.lr.ph, %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = call ptr @strchr(ptr noundef %11, i32 noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %7
15: ; preds = %10
%16 = load i32, ptr %3, align 4
ret i32 %16
._crit_edge: ; preds = %7
br label %17
17: ; preds = %._crit_edge, %4
%18 = call i32 @usleep(i32 noundef 10000)
br label %4
}
declare i32 @gui_getk(...) #1
declare ptr @strchr(ptr noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo8d5yfvf.c'
source_filename = "/tmp/tmpo8d5yfvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XCirculateEvent_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
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/tmpo8d5yfvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XCirculateEvent_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
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/tmp1b5hm7ad.c'
source_filename = "/tmp/tmp1b5hm7ad.c"
target datalayout = "e-m:e-p270: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/tmp1b5hm7ad.c"
target datalayout = "e-m:e-p270: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/tmp1nvz7gix.c'
source_filename = "/tmp/tmp1nvz7gix.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"TZ\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TimeYrsecToYMDHMS(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca %struct.tm, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%19 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 24)
%20 = load i32, ptr %9, align 4
%21 = sub nsw i32 %20, 1900
%22 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 1
store i32 0, ptr %23, align 4
%24 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
store i32 1, ptr %24, align 4
%25 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 3
store i32 0, ptr %25, align 4
%26 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 4
store i32 0, ptr %26, align 4
%27 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 5
store i32 0, ptr %27, align 4
%28 = call ptr @getenv(ptr noundef @.str)
store ptr %28, ptr %18, align 8
%29 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1)
%30 = call i32 (...) @tzset()
%31 = call i64 @mktime(ptr noundef %16)
store i64 %31, ptr %15, align 8
%32 = load ptr, ptr %18, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %7
%35 = load ptr, ptr %18, align 8
%36 = call i32 @setenv(ptr noundef @.str, ptr noundef %35, i32 noundef 1)
br label %39
37: ; preds = %7
%38 = call i32 @unsetenv(ptr noundef @.str)
br label %39
39: ; preds = %37, %34
%40 = call i32 (...) @tzset()
%41 = load i64, ptr %15, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %41, %43
store i64 %44, ptr %15, align 8
%45 = call ptr @gmtime(ptr noundef %15)
store ptr %45, ptr %17, align 8
%46 = load ptr, ptr %17, align 8
%47 = getelementptr inbounds %struct.tm, ptr %46, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = add nsw i32 %48, 1
%50 = load ptr, ptr %10, align 8
store i32 %49, ptr %50, align 4
%51 = load ptr, ptr %17, align 8
%52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 2
%53 = load i32, ptr %52, align 4
%54 = load ptr, ptr %11, align 8
store i32 %53, ptr %54, align 4
%55 = load ptr, ptr %17, align 8
%56 = getelementptr inbounds %struct.tm, ptr %55, i32 0, i32 3
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %12, align 8
store i32 %57, ptr %58, align 4
%59 = load ptr, ptr %17, align 8
%60 = getelementptr inbounds %struct.tm, ptr %59, i32 0, i32 4
%61 = load i32, ptr %60, align 4
%62 = load ptr, ptr %13, align 8
store i32 %61, ptr %62, align 4
%63 = load ptr, ptr %17, align 8
%64 = getelementptr inbounds %struct.tm, ptr %63, i32 0, i32 5
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %14, align 8
store i32 %65, ptr %66, align 4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @tzset(...) #1
declare i64 @mktime(ptr noundef) #1
declare i32 @unsetenv(ptr noundef) #1
declare ptr @gmtime(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/tmp1nvz7gix.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"TZ\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TimeYrsecToYMDHMS(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca %struct.tm, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%19 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 24)
%20 = load i32, ptr %9, align 4
%21 = sub nsw i32 %20, 1900
%22 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0
store i32 %21, ptr %22, align 4
%23 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 1
store i32 0, ptr %23, align 4
%24 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
store i32 1, ptr %24, align 4
%25 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 3
store i32 0, ptr %25, align 4
%26 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 4
store i32 0, ptr %26, align 4
%27 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 5
store i32 0, ptr %27, align 4
%28 = call ptr @getenv(ptr noundef @.str)
store ptr %28, ptr %18, align 8
%29 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1)
%30 = call i32 (...) @tzset()
%31 = call i64 @mktime(ptr noundef %16)
store i64 %31, ptr %15, align 8
%32 = load ptr, ptr %18, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %7
%35 = load ptr, ptr %18, align 8
%36 = call i32 @setenv(ptr noundef @.str, ptr noundef %35, i32 noundef 1)
br label %39
37: ; preds = %7
%38 = call i32 @unsetenv(ptr noundef @.str)
br label %39
39: ; preds = %37, %34
%40 = call i32 (...) @tzset()
%41 = load i64, ptr %15, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %41, %43
store i64 %44, ptr %15, align 8
%45 = call ptr @gmtime(ptr noundef %15)
store ptr %45, ptr %17, align 8
%46 = load ptr, ptr %17, align 8
%47 = getelementptr inbounds %struct.tm, ptr %46, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = add nsw i32 %48, 1
%50 = load ptr, ptr %10, align 8
store i32 %49, ptr %50, align 4
%51 = load ptr, ptr %17, align 8
%52 = getelementptr inbounds %struct.tm, ptr %51, i32 0, i32 2
%53 = load i32, ptr %52, align 4
%54 = load ptr, ptr %11, align 8
store i32 %53, ptr %54, align 4
%55 = load ptr, ptr %17, align 8
%56 = getelementptr inbounds %struct.tm, ptr %55, i32 0, i32 3
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %12, align 8
store i32 %57, ptr %58, align 4
%59 = load ptr, ptr %17, align 8
%60 = getelementptr inbounds %struct.tm, ptr %59, i32 0, i32 4
%61 = load i32, ptr %60, align 4
%62 = load ptr, ptr %13, align 8
store i32 %61, ptr %62, align 4
%63 = load ptr, ptr %17, align 8
%64 = getelementptr inbounds %struct.tm, ptr %63, i32 0, i32 5
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %14, align 8
store i32 %65, ptr %66, align 4
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @tzset(...) #1
declare i64 @mktime(ptr noundef) #1
declare i32 @unsetenv(ptr noundef) #1
declare ptr @gmtime(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/tmpib05f6th.c'
source_filename = "/tmp/tmpib05f6th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LedToggle.led_toggle_state = internal global i8 0, align 1
@LedToggle.timer_counter_last = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LedToggle() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @TimeGet()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = load i64, ptr @LedToggle.timer_counter_last, align 8
%5 = sub i64 %3, %4
%6 = icmp ult i64 %5, 500
br i1 %6, label %7, label %8
7: ; preds = %0
br label %18
8: ; preds = %0
%9 = load i8, ptr @LedToggle.led_toggle_state, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
store i8 1, ptr @LedToggle.led_toggle_state, align 1
%13 = call i32 @GPIOPinWrite(i32 noundef 1073897472, i32 noundef 4, i32 noundef 4)
br label %16
14: ; preds = %8
store i8 0, ptr @LedToggle.led_toggle_state, align 1
%15 = call i32 @GPIOPinWrite(i32 noundef 1073897472, i32 noundef 4, i32 noundef 0)
br label %16
16: ; preds = %14, %12
%17 = load i64, ptr %1, align 8
store i64 %17, ptr @LedToggle.timer_counter_last, align 8
br label %18
18: ; preds = %16, %7
ret void
}
declare i64 @TimeGet(...) #1
declare i32 @GPIOPinWrite(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/tmpib05f6th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LedToggle.led_toggle_state = internal global i8 0, align 1
@LedToggle.timer_counter_last = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LedToggle() #0 {
%1 = alloca i64, align 8
%2 = call i64 (...) @TimeGet()
store i64 %2, ptr %1, align 8
%3 = load i64, ptr %1, align 8
%4 = load i64, ptr @LedToggle.timer_counter_last, align 8
%5 = sub i64 %3, %4
%6 = icmp ult i64 %5, 500
br i1 %6, label %7, label %8
7: ; preds = %0
br label %18
8: ; preds = %0
%9 = load i8, ptr @LedToggle.led_toggle_state, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
store i8 1, ptr @LedToggle.led_toggle_state, align 1
%13 = call i32 @GPIOPinWrite(i32 noundef 1073897472, i32 noundef 4, i32 noundef 4)
br label %16
14: ; preds = %8
store i8 0, ptr @LedToggle.led_toggle_state, align 1
%15 = call i32 @GPIOPinWrite(i32 noundef 1073897472, i32 noundef 4, i32 noundef 0)
br label %16
16: ; preds = %14, %12
%17 = load i64, ptr %1, align 8
store i64 %17, ptr @LedToggle.timer_counter_last, align 8
br label %18
18: ; preds = %16, %7
ret void
}
declare i64 @TimeGet(...) #1
declare i32 @GPIOPinWrite(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/tmp89vbdrqz.c'
source_filename = "/tmp/tmp89vbdrqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_arch_deselect_all() #0 {
%1 = call i32 @spi_arch_select(i32 noundef -8)
ret void
}
declare i32 @spi_arch_select(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/tmp89vbdrqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_arch_deselect_all() #0 {
%1 = call i32 @spi_arch_select(i32 noundef -8)
ret void
}
declare i32 @spi_arch_select(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/tmpn33v0z99.c'
source_filename = "/tmp/tmpn33v0z99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tone4() #0 {
%1 = call i32 @Sound_Play(double noundef 2.750000e+01, i32 noundef 250)
ret void
}
declare i32 @Sound_Play(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn33v0z99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tone4() #0 {
%1 = call i32 @Sound_Play(double noundef 2.750000e+01, i32 noundef 250)
ret void
}
declare i32 @Sound_Play(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgqixtg_o.c'
source_filename = "/tmp/tmpgqixtg_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pstrdup(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 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i64 @xmalloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i32, ptr %3, align 4
%17 = call i32 @memcpy(ptr noundef %13, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
declare i64 @xmalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgqixtg_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pstrdup(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 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = call i64 @xmalloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i32, ptr %3, align 4
%17 = call i32 @memcpy(ptr noundef %13, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
declare i64 @xmalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7dmt99p9.c'
source_filename = "/tmp/tmp7dmt99p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadfile(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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
%14 = load ptr, ptr %11, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %3
store i32 -1, ptr %4, align 4
br label %54
17: ; preds = %3
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %11, align 8
%22 = call i64 @ftell(ptr noundef %21)
store i64 %22, ptr %10, align 8
%23 = load i64, ptr %10, align 8
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = load ptr, ptr %11, align 8
%27 = call i32 @fclose(ptr noundef %26)
store i32 -7, ptr %4, align 4
br label %54
28: ; preds = %17
%29 = load i64, ptr %10, align 8
store i64 %29, ptr %9, align 8
%30 = load ptr, ptr %11, align 8
%31 = load i32, ptr @SEEK_SET, align 4
%32 = call i32 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31)
%33 = load i64, ptr %9, align 8
%34 = call i64 @malloc(i64 noundef %33)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i64 @fread(ptr noundef %36, i32 noundef 1, i64 noundef %37, ptr noundef %38)
%40 = load i64, ptr %9, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %42, label %47
42: ; preds = %28
%43 = load ptr, ptr %11, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = call i32 @free(ptr noundef %45)
store i32 -7, ptr %4, align 4
br label %54
47: ; preds = %28
%48 = load ptr, ptr %11, align 8
%49 = call i32 @fclose(ptr noundef %48)
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %6, align 8
store ptr %50, ptr %51, align 8
%52 = load i64, ptr %9, align 8
%53 = load ptr, ptr %7, align 8
store i64 %52, ptr %53, align 8
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %47, %42, %25, %16
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7dmt99p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @loadfile(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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
%14 = load ptr, ptr %11, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %3
store i32 -1, ptr %4, align 4
br label %54
17: ; preds = %3
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr @SEEK_END, align 4
%20 = call i32 @fseek(ptr noundef %18, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %11, align 8
%22 = call i64 @ftell(ptr noundef %21)
store i64 %22, ptr %10, align 8
%23 = load i64, ptr %10, align 8
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %17
%26 = load ptr, ptr %11, align 8
%27 = call i32 @fclose(ptr noundef %26)
store i32 -7, ptr %4, align 4
br label %54
28: ; preds = %17
%29 = load i64, ptr %10, align 8
store i64 %29, ptr %9, align 8
%30 = load ptr, ptr %11, align 8
%31 = load i32, ptr @SEEK_SET, align 4
%32 = call i32 @fseek(ptr noundef %30, i32 noundef 0, i32 noundef %31)
%33 = load i64, ptr %9, align 8
%34 = call i64 @malloc(i64 noundef %33)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %8, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i64 @fread(ptr noundef %36, i32 noundef 1, i64 noundef %37, ptr noundef %38)
%40 = load i64, ptr %9, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %42, label %47
42: ; preds = %28
%43 = load ptr, ptr %11, align 8
%44 = call i32 @fclose(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = call i32 @free(ptr noundef %45)
store i32 -7, ptr %4, align 4
br label %54
47: ; preds = %28
%48 = load ptr, ptr %11, align 8
%49 = call i32 @fclose(ptr noundef %48)
%50 = load ptr, ptr %8, align 8
%51 = load ptr, ptr %6, align 8
store ptr %50, ptr %51, align 8
%52 = load i64, ptr %9, align 8
%53 = load ptr, ptr %7, align 8
store i64 %52, ptr %53, align 8
store i32 0, ptr %4, align 4
br label %54
54: ; preds = %47, %42, %25, %16
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgsrxq7ph.c'
source_filename = "/tmp/tmpgsrxq7ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
%struct.tm = type { i32, i32, i32 }
@timestamp.time = internal global [50 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [20 x i8] c"%02d:%02d:%02d.%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timestamp() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca ptr, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = call ptr @gmtime(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 2
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = trunc i64 %16 to i32
%18 = sdiv i32 %17, 10000
%19 = call i32 @snprintf(ptr noundef @timestamp.time, i32 noundef 50, ptr noundef @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %18)
ret ptr @timestamp.time
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmpgsrxq7ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
%struct.tm = type { i32, i32, i32 }
@timestamp.time = internal global [50 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [20 x i8] c"%02d:%02d:%02d.%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @timestamp() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca ptr, align 8
%3 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%5 = call ptr @gmtime(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds %struct.tm, ptr %6, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 2
%14 = load i32, ptr %13, align 4
%15 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = trunc i64 %16 to i32
%18 = sdiv i32 %17, 10000
%19 = call i32 @snprintf(ptr noundef @timestamp.time, i32 noundef 50, ptr noundef @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14, i32 noundef %18)
ret ptr @timestamp.time
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmpccyzeqop.c'
source_filename = "/tmp/tmpccyzeqop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"argc = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d == %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpccyzeqop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"argc = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d == %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ol_vf4c.c'
source_filename = "/tmp/tmp_ol_vf4c.c"
target datalayout = "e-m:e-p270: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.utmp = type { i64, ptr, ptr, ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@USER_PROCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"\09%s %s %s %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_user(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%9 = call i32 @time(ptr noundef %7)
%10 = call ptr @ctime(ptr noundef %7)
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %45, %1
%12 = call ptr (...) @getutent()
store ptr %12, ptr %4, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %46
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.utmp, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = load i64, ptr @USER_PROCESS, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %45
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.utmp, ptr %21, i32 0, i32 4
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
store i64 %24, ptr %6, align 8
%25 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.utmp, ptr %26, i32 0, i32 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.utmp, ptr %29, i32 0, i32 2
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds %struct.utmp, ptr %32, i32 0, i32 3
%34 = load ptr, ptr %33, align 8
%35 = call ptr @ctime(ptr noundef %6)
%36 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str, ptr noundef %28, ptr noundef %31, ptr noundef %34, ptr noundef %35)
%37 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%44 = call i32 @strcat(ptr noundef %42, ptr noundef %43)
br label %45
45: ; preds = %20, %14
br label %11, !llvm.loop !6
46: ; preds = %11
%47 = load i32, ptr %2, align 4
ret i32 %47
}
declare i32 @time(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare ptr @getutent(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ol_vf4c.c"
target datalayout = "e-m:e-p270: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.utmp = type { i64, ptr, ptr, ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@USER_PROCESS = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"\09%s %s %s %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_user(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%9 = call i32 @time(ptr noundef %7)
%10 = call ptr @ctime(ptr noundef %7)
store ptr %10, ptr %8, align 8
%11 = call ptr (...) @getutent()
store ptr %11, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %47
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %44
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.utmp, ptr %14, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = load i64, ptr @USER_PROCESS, align 8
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %44
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.utmp, ptr %20, i32 0, i32 4
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
%23 = load i64, ptr %22, align 8
store i64 %23, ptr %6, align 8
%24 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds %struct.utmp, ptr %25, i32 0, i32 1
%27 = load ptr, ptr %26, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.utmp, ptr %28, i32 0, i32 2
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds %struct.utmp, ptr %31, i32 0, i32 3
%33 = load ptr, ptr %32, align 8
%34 = call ptr @ctime(ptr noundef %6)
%35 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str, ptr noundef %27, ptr noundef %30, ptr noundef %33, ptr noundef %34)
%36 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%43 = call i32 @strcat(ptr noundef %41, ptr noundef %42)
br label %44
44: ; preds = %19, %13
%45 = call ptr (...) @getutent()
store ptr %45, ptr %4, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %47
47: ; preds = %._crit_edge, %1
%48 = load i32, ptr %2, align 4
ret i32 %48
}
declare i32 @time(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare ptr @getutent(...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf32goreo.c'
source_filename = "/tmp/tmpf32goreo.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@stdout = 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/tmpf32goreo.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@stdout = 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/tmpo4k4d0ii.c'
source_filename = "/tmp/tmpo4k4d0ii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_interval_from_guess(ptr noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @fast_approx_int32_sqrt(i32 noundef %18)
%20 = add nsw i32 %19, 1
store i32 %20, ptr %10, align 4
store i32 -1, ptr %14, align 4
%21 = load i32, ptr %7, align 4
store i32 %21, ptr %15, align 4
%22 = load double, ptr %8, align 8
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
%25 = load double, ptr %24, align 8
%26 = fcmp olt double %22, %25
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 -1, ptr %5, align 4
br label %264
28: ; preds = %4
%29 = load double, ptr %8, align 8
%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 double, ptr %30, i64 %33
%35 = load double, ptr %34, align 8
%36 = fcmp oge double %29, %35
br i1 %36, label %37, label %40
37: ; preds = %28
%38 = load i32, ptr %7, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %264
40: ; preds = %28
%41 = load i32, ptr %7, align 4
%42 = icmp sle i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
store i32 0, ptr %5, align 4
br label %264
44: ; preds = %40
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 2
%48 = icmp sgt i32 %45, %47
br i1 %48, label %49, label %52
49: ; preds = %44
%50 = load i32, ptr %7, align 4
%51 = sub nsw i32 %50, 2
store i32 %51, ptr %9, align 4
br label %57
52: ; preds = %44
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
store i32 0, ptr %9, align 4
br label %56
56: ; preds = %55, %52
br label %57
57: ; preds = %56, %49
%58 = load double, ptr %8, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = fcmp oge double %58, %63
%65 = zext i1 %64 to i32
store i32 %65, ptr %16, align 4
%66 = load double, ptr %8, align 8
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %67, i64 %70
%72 = load double, ptr %71, align 8
%73 = fcmp olt double %66, %72
%74 = zext i1 %73 to i32
store i32 %74, ptr %17, align 4
%75 = load i32, ptr %16, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %57
store i32 1, ptr %11, align 4
br label %79
78: ; preds = %57
store i32 -1, ptr %11, align 4
br label %79
79: ; preds = %78, %77
br label %80
80: ; preds = %261, %79
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %17, align 4
%83 = and i32 %81, %82
%84 = icmp ne i32 %83, 0
%85 = xor i1 %84, true
br i1 %85, label %86, label %262
86: ; preds = %80
br label %87
87: ; preds = %111, %86
%88 = load i32, ptr %9, align 4
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %10, align 4
%91 = mul nsw i32 %89, %90
%92 = add nsw i32 %88, %91
%93 = load i32, ptr %15, align 4
%94 = icmp sge i32 %92, %93
br i1 %94, label %103, label %95
95: ; preds = %87
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %11, align 4
%98 = load i32, ptr %10, align 4
%99 = mul nsw i32 %97, %98
%100 = add nsw i32 %96, %99
%101 = load i32, ptr %14, align 4
%102 = icmp sle i32 %100, %101
br label %103
103: ; preds = %95, %87
%104 = phi i1 [ true, %87 ], [ %102, %95 ]
br i1 %104, label %105, label %112
105: ; preds = %103
%106 = load i32, ptr %10, align 4
%107 = sdiv i32 %106, 2
store i32 %107, ptr %10, align 4
%108 = load i32, ptr %10, align 4
%109 = icmp eq i32 %108, 0
br i1 %109, label %110, label %111
110: ; preds = %105
store i32 1, ptr %10, align 4
br label %112
111: ; preds = %105
br label %87, !llvm.loop !6
112: ; preds = %110, %103
%113 = load ptr, ptr %6, align 8
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %11, align 4
%116 = load i32, ptr %10, align 4
%117 = mul nsw i32 %115, %116
%118 = add nsw i32 %114, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %113, i64 %119
%121 = load double, ptr %120, align 8
%122 = load ptr, ptr %6, align 8
%123 = load i32, ptr %9, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %122, i64 %124
%126 = load double, ptr %125, align 8
%127 = fsub double %121, %126
%128 = load i32, ptr %11, align 4
%129 = load i32, ptr %10, align 4
%130 = mul nsw i32 %128, %129
%131 = sitofp i32 %130 to double
%132 = fdiv double %127, %131
store double %132, ptr %13, align 8
%133 = load double, ptr %8, align 8
%134 = load ptr, ptr %6, align 8
%135 = load i32, ptr %9, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load double, ptr %137, align 8
%139 = fsub double %133, %138
%140 = load double, ptr %13, align 8
%141 = fdiv double %139, %140
%142 = call i32 @ceil_away0(double noundef %141)
store i32 %142, ptr %12, align 4
%143 = load i32, ptr %7, align 4
%144 = sub nsw i32 %143, 2
%145 = load i32, ptr %15, align 4
%146 = sub nsw i32 %145, 1
%147 = load i32, ptr %14, align 4
%148 = add nsw i32 %147, 1
%149 = load i32, ptr %9, align 4
%150 = load i32, ptr %12, align 4
%151 = add nsw i32 %149, %150
%152 = icmp sgt i32 %148, %151
br i1 %152, label %153, label %156
153: ; preds = %112
%154 = load i32, ptr %14, align 4
%155 = add nsw i32 %154, 1
br label %160
156: ; preds = %112
%157 = load i32, ptr %9, align 4
%158 = load i32, ptr %12, align 4
%159 = add nsw i32 %157, %158
br label %160
160: ; preds = %156, %153
%161 = phi i32 [ %155, %153 ], [ %159, %156 ]
%162 = icmp slt i32 %146, %161
br i1 %162, label %163, label %166
163: ; preds = %160
%164 = load i32, ptr %15, align 4
%165 = sub nsw i32 %164, 1
br label %182
166: ; preds = %160
%167 = load i32, ptr %14, align 4
%168 = add nsw i32 %167, 1
%169 = load i32, ptr %9, align 4
%170 = load i32, ptr %12, align 4
%171 = add nsw i32 %169, %170
%172 = icmp sgt i32 %168, %171
br i1 %172, label %173, label %176
173: ; preds = %166
%174 = load i32, ptr %14, align 4
%175 = add nsw i32 %174, 1
br label %180
176: ; preds = %166
%177 = load i32, ptr %9, align 4
%178 = load i32, ptr %12, align 4
%179 = add nsw i32 %177, %178
br label %180
180: ; preds = %176, %173
%181 = phi i32 [ %175, %173 ], [ %179, %176 ]
br label %182
182: ; preds = %180, %163
%183 = phi i32 [ %165, %163 ], [ %181, %180 ]
%184 = icmp slt i32 %144, %183
br i1 %184, label %185, label %188
185: ; preds = %182
%186 = load i32, ptr %7, align 4
%187 = sub nsw i32 %186, 2
br label %228
188: ; preds = %182
%189 = load i32, ptr %15, align 4
%190 = sub nsw i32 %189, 1
%191 = load i32, ptr %14, align 4
%192 = add nsw i32 %191, 1
%193 = load i32, ptr %9, align 4
%194 = load i32, ptr %12, align 4
%195 = add nsw i32 %193, %194
%196 = icmp sgt i32 %192, %195
br i1 %196, label %197, label %200
197: ; preds = %188
%198 = load i32, ptr %14, align 4
%199 = add nsw i32 %198, 1
br label %204
200: ; preds = %188
%201 = load i32, ptr %9, align 4
%202 = load i32, ptr %12, align 4
%203 = add nsw i32 %201, %202
br label %204
204: ; preds = %200, %197
%205 = phi i32 [ %199, %197 ], [ %203, %200 ]
%206 = icmp slt i32 %190, %205
br i1 %206, label %207, label %210
207: ; preds = %204
%208 = load i32, ptr %15, align 4
%209 = sub nsw i32 %208, 1
br label %226
210: ; preds = %204
%211 = load i32, ptr %14, align 4
%212 = add nsw i32 %211, 1
%213 = load i32, ptr %9, align 4
%214 = load i32, ptr %12, align 4
%215 = add nsw i32 %213, %214
%216 = icmp sgt i32 %212, %215
br i1 %216, label %217, label %220
217: ; preds = %210
%218 = load i32, ptr %14, align 4
%219 = add nsw i32 %218, 1
br label %224
220: ; preds = %210
%221 = load i32, ptr %9, align 4
%222 = load i32, ptr %12, align 4
%223 = add nsw i32 %221, %222
br label %224
224: ; preds = %220, %217
%225 = phi i32 [ %219, %217 ], [ %223, %220 ]
br label %226
226: ; preds = %224, %207
%227 = phi i32 [ %209, %207 ], [ %225, %224 ]
br label %228
228: ; preds = %226, %185
%229 = phi i32 [ %187, %185 ], [ %227, %226 ]
store i32 %229, ptr %9, align 4
%230 = load double, ptr %8, align 8
%231 = load ptr, ptr %6, align 8
%232 = load i32, ptr %9, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds double, ptr %231, i64 %233
%235 = load double, ptr %234, align 8
%236 = fcmp oge double %230, %235
%237 = zext i1 %236 to i32
store i32 %237, ptr %16, align 4
%238 = load double, ptr %8, align 8
%239 = load ptr, ptr %6, align 8
%240 = load i32, ptr %9, align 4
%241 = add nsw i32 %240, 1
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds double, ptr %239, i64 %242
%244 = load double, ptr %243, align 8
%245 = fcmp olt double %238, %244
%246 = zext i1 %245 to i32
store i32 %246, ptr %17, align 4
%247 = load i32, ptr %16, align 4
%248 = icmp ne i32 %247, 0
br i1 %248, label %249, label %250
249: ; preds = %228
store i32 1, ptr %11, align 4
br label %251
250: ; preds = %228
store i32 -1, ptr %11, align 4
br label %251
251: ; preds = %250, %249
%252 = load i32, ptr %16, align 4
%253 = icmp ne i32 %252, 0
br i1 %253, label %254, label %256
254: ; preds = %251
%255 = load i32, ptr %9, align 4
store i32 %255, ptr %14, align 4
br label %256
256: ; preds = %254, %251
%257 = load i32, ptr %17, align 4
%258 = icmp ne i32 %257, 0
br i1 %258, label %259, label %261
259: ; preds = %256
%260 = load i32, ptr %9, align 4
store i32 %260, ptr %15, align 4
br label %261
261: ; preds = %259, %256
br label %80, !llvm.loop !8
262: ; preds = %80
%263 = load i32, ptr %9, align 4
store i32 %263, ptr %5, align 4
br label %264
264: ; preds = %262, %43, %37, %27
%265 = load i32, ptr %5, align 4
ret i32 %265
}
declare i32 @fast_approx_int32_sqrt(i32 noundef) #1
declare i32 @ceil_away0(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo4k4d0ii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_interval_from_guess(ptr noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store double %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @fast_approx_int32_sqrt(i32 noundef %18)
%20 = add nsw i32 %19, 1
store i32 %20, ptr %10, align 4
store i32 -1, ptr %14, align 4
%21 = load i32, ptr %7, align 4
store i32 %21, ptr %15, align 4
%22 = load double, ptr %8, align 8
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds double, ptr %23, i64 0
%25 = load double, ptr %24, align 8
%26 = fcmp olt double %22, %25
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 -1, ptr %5, align 4
br label %267
28: ; preds = %4
%29 = load double, ptr %8, align 8
%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 double, ptr %30, i64 %33
%35 = load double, ptr %34, align 8
%36 = fcmp oge double %29, %35
br i1 %36, label %37, label %40
37: ; preds = %28
%38 = load i32, ptr %7, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %267
40: ; preds = %28
%41 = load i32, ptr %7, align 4
%42 = icmp sle i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
store i32 0, ptr %5, align 4
br label %267
44: ; preds = %40
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 2
%48 = icmp sgt i32 %45, %47
br i1 %48, label %49, label %52
49: ; preds = %44
%50 = load i32, ptr %7, align 4
%51 = sub nsw i32 %50, 2
store i32 %51, ptr %9, align 4
br label %57
52: ; preds = %44
%53 = load i32, ptr %9, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
store i32 0, ptr %9, align 4
br label %56
56: ; preds = %55, %52
br label %57
57: ; preds = %56, %49
%58 = load double, ptr %8, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = fcmp oge double %58, %63
%65 = zext i1 %64 to i32
store i32 %65, ptr %16, align 4
%66 = load double, ptr %8, align 8
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %67, i64 %70
%72 = load double, ptr %71, align 8
%73 = fcmp olt double %66, %72
%74 = zext i1 %73 to i32
store i32 %74, ptr %17, align 4
%75 = load i32, ptr %16, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %57
store i32 1, ptr %11, align 4
br label %79
78: ; preds = %57
store i32 -1, ptr %11, align 4
br label %79
79: ; preds = %78, %77
%80 = load i32, ptr %16, align 4
%81 = load i32, ptr %17, align 4
%82 = and i32 %80, %81
%83 = icmp ne i32 %82, 0
%84 = xor i1 %83, true
br i1 %84, label %.lr.ph, label %265
.lr.ph: ; preds = %79
br label %85
85: ; preds = %.lr.ph, %259
br label %86
86: ; preds = %104, %85
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %11, align 4
%89 = load i32, ptr %10, align 4
%90 = mul nsw i32 %88, %89
%91 = add nsw i32 %87, %90
%92 = load i32, ptr %15, align 4
%93 = icmp sge i32 %91, %92
br i1 %93, label %102, label %94
94: ; preds = %86
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr %10, align 4
%98 = mul nsw i32 %96, %97
%99 = add nsw i32 %95, %98
%100 = load i32, ptr %14, align 4
%101 = icmp sle i32 %99, %100
br label %102
102: ; preds = %94, %86
%103 = phi i1 [ true, %86 ], [ %101, %94 ]
br i1 %103, label %104, label %.loopexit
104: ; preds = %102
%105 = load i32, ptr %10, align 4
%106 = sdiv i32 %105, 2
store i32 %106, ptr %10, align 4
%107 = load i32, ptr %10, align 4
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %86, !llvm.loop !6
109: ; preds = %104
store i32 1, ptr %10, align 4
br label %110
.loopexit: ; preds = %102
br label %110
110: ; preds = %.loopexit, %109
%111 = load ptr, ptr %6, align 8
%112 = load i32, ptr %9, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %10, align 4
%115 = mul nsw i32 %113, %114
%116 = add nsw i32 %112, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %111, i64 %117
%119 = load double, ptr %118, align 8
%120 = load ptr, ptr %6, align 8
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = fsub double %119, %124
%126 = load i32, ptr %11, align 4
%127 = load i32, ptr %10, align 4
%128 = mul nsw i32 %126, %127
%129 = sitofp i32 %128 to double
%130 = fdiv double %125, %129
store double %130, ptr %13, align 8
%131 = load double, ptr %8, align 8
%132 = load ptr, ptr %6, align 8
%133 = load i32, ptr %9, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = fsub double %131, %136
%138 = load double, ptr %13, align 8
%139 = fdiv double %137, %138
%140 = call i32 @ceil_away0(double noundef %139)
store i32 %140, ptr %12, align 4
%141 = load i32, ptr %7, align 4
%142 = sub nsw i32 %141, 2
%143 = load i32, ptr %15, align 4
%144 = sub nsw i32 %143, 1
%145 = load i32, ptr %14, align 4
%146 = add nsw i32 %145, 1
%147 = load i32, ptr %9, align 4
%148 = load i32, ptr %12, align 4
%149 = add nsw i32 %147, %148
%150 = icmp sgt i32 %146, %149
br i1 %150, label %151, label %154
151: ; preds = %110
%152 = load i32, ptr %14, align 4
%153 = add nsw i32 %152, 1
br label %158
154: ; preds = %110
%155 = load i32, ptr %9, align 4
%156 = load i32, ptr %12, align 4
%157 = add nsw i32 %155, %156
br label %158
158: ; preds = %154, %151
%159 = phi i32 [ %153, %151 ], [ %157, %154 ]
%160 = icmp slt i32 %144, %159
br i1 %160, label %161, label %164
161: ; preds = %158
%162 = load i32, ptr %15, align 4
%163 = sub nsw i32 %162, 1
br label %180
164: ; preds = %158
%165 = load i32, ptr %14, align 4
%166 = add nsw i32 %165, 1
%167 = load i32, ptr %9, align 4
%168 = load i32, ptr %12, align 4
%169 = add nsw i32 %167, %168
%170 = icmp sgt i32 %166, %169
br i1 %170, label %171, label %174
171: ; preds = %164
%172 = load i32, ptr %14, align 4
%173 = add nsw i32 %172, 1
br label %178
174: ; preds = %164
%175 = load i32, ptr %9, align 4
%176 = load i32, ptr %12, align 4
%177 = add nsw i32 %175, %176
br label %178
178: ; preds = %174, %171
%179 = phi i32 [ %173, %171 ], [ %177, %174 ]
br label %180
180: ; preds = %178, %161
%181 = phi i32 [ %163, %161 ], [ %179, %178 ]
%182 = icmp slt i32 %142, %181
br i1 %182, label %183, label %186
183: ; preds = %180
%184 = load i32, ptr %7, align 4
%185 = sub nsw i32 %184, 2
br label %226
186: ; preds = %180
%187 = load i32, ptr %15, align 4
%188 = sub nsw i32 %187, 1
%189 = load i32, ptr %14, align 4
%190 = add nsw i32 %189, 1
%191 = load i32, ptr %9, align 4
%192 = load i32, ptr %12, align 4
%193 = add nsw i32 %191, %192
%194 = icmp sgt i32 %190, %193
br i1 %194, label %195, label %198
195: ; preds = %186
%196 = load i32, ptr %14, align 4
%197 = add nsw i32 %196, 1
br label %202
198: ; preds = %186
%199 = load i32, ptr %9, align 4
%200 = load i32, ptr %12, align 4
%201 = add nsw i32 %199, %200
br label %202
202: ; preds = %198, %195
%203 = phi i32 [ %197, %195 ], [ %201, %198 ]
%204 = icmp slt i32 %188, %203
br i1 %204, label %205, label %208
205: ; preds = %202
%206 = load i32, ptr %15, align 4
%207 = sub nsw i32 %206, 1
br label %224
208: ; preds = %202
%209 = load i32, ptr %14, align 4
%210 = add nsw i32 %209, 1
%211 = load i32, ptr %9, align 4
%212 = load i32, ptr %12, align 4
%213 = add nsw i32 %211, %212
%214 = icmp sgt i32 %210, %213
br i1 %214, label %215, label %218
215: ; preds = %208
%216 = load i32, ptr %14, align 4
%217 = add nsw i32 %216, 1
br label %222
218: ; preds = %208
%219 = load i32, ptr %9, align 4
%220 = load i32, ptr %12, align 4
%221 = add nsw i32 %219, %220
br label %222
222: ; preds = %218, %215
%223 = phi i32 [ %217, %215 ], [ %221, %218 ]
br label %224
224: ; preds = %222, %205
%225 = phi i32 [ %207, %205 ], [ %223, %222 ]
br label %226
226: ; preds = %224, %183
%227 = phi i32 [ %185, %183 ], [ %225, %224 ]
store i32 %227, ptr %9, align 4
%228 = load double, ptr %8, align 8
%229 = load ptr, ptr %6, align 8
%230 = load i32, ptr %9, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, ptr %229, i64 %231
%233 = load double, ptr %232, align 8
%234 = fcmp oge double %228, %233
%235 = zext i1 %234 to i32
store i32 %235, ptr %16, align 4
%236 = load double, ptr %8, align 8
%237 = load ptr, ptr %6, align 8
%238 = load i32, ptr %9, align 4
%239 = add nsw i32 %238, 1
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds double, ptr %237, i64 %240
%242 = load double, ptr %241, align 8
%243 = fcmp olt double %236, %242
%244 = zext i1 %243 to i32
store i32 %244, ptr %17, align 4
%245 = load i32, ptr %16, align 4
%246 = icmp ne i32 %245, 0
br i1 %246, label %247, label %248
247: ; preds = %226
store i32 1, ptr %11, align 4
br label %249
248: ; preds = %226
store i32 -1, ptr %11, align 4
br label %249
249: ; preds = %248, %247
%250 = load i32, ptr %16, align 4
%251 = icmp ne i32 %250, 0
br i1 %251, label %252, label %254
252: ; preds = %249
%253 = load i32, ptr %9, align 4
store i32 %253, ptr %14, align 4
br label %254
254: ; preds = %252, %249
%255 = load i32, ptr %17, align 4
%256 = icmp ne i32 %255, 0
br i1 %256, label %257, label %259
257: ; preds = %254
%258 = load i32, ptr %9, align 4
store i32 %258, ptr %15, align 4
br label %259
259: ; preds = %257, %254
%260 = load i32, ptr %16, align 4
%261 = load i32, ptr %17, align 4
%262 = and i32 %260, %261
%263 = icmp ne i32 %262, 0
%264 = xor i1 %263, true
br i1 %264, label %85, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %259
br label %265
265: ; preds = %._crit_edge, %79
%266 = load i32, ptr %9, align 4
store i32 %266, ptr %5, align 4
br label %267
267: ; preds = %265, %43, %37, %27
%268 = load i32, ptr %5, align 4
ret i32 %268
}
declare i32 @fast_approx_int32_sqrt(i32 noundef) #1
declare i32 @ceil_away0(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbcl4ynid.c'
source_filename = "/tmp/tmpbcl4ynid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s <time>\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"\09Where <time> is a ZCL UTCTime value in hex (0x prefix)\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\09or decimal (no prefix).\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Error trying to convert '%s'.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" ZCL = '%s'\0A UTC = %s\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"local = %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %44
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strtoul(ptr noundef %21, ptr noundef %7, i32 noundef 0)
store i64 %22, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %30, label %25
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %28)
store i32 -1, ptr %3, align 4
br label %44
30: ; preds = %18
%31 = load i64, ptr %6, align 8
%32 = add nsw i64 %31, 946684800
store i64 %32, ptr %6, align 8
%33 = call ptr @gmtime(ptr noundef %6)
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %8, align 8
%38 = call ptr @asctime(ptr noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36, ptr noundef %38)
%40 = call ptr @localtime(ptr noundef %6)
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %8, align 8
%42 = call ptr @asctime(ptr noundef %41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42)
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %30, %25, %11
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare ptr @localtime(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/tmpbcl4ynid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s <time>\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"\09Where <time> is a ZCL UTCTime value in hex (0x prefix)\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\09or decimal (no prefix).\0A\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Error trying to convert '%s'.\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c" ZCL = '%s'\0A UTC = %s\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"local = %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %44
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strtoul(ptr noundef %21, ptr noundef %7, i32 noundef 0)
store i64 %22, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %30, label %25
25: ; preds = %18
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %28)
store i32 -1, ptr %3, align 4
br label %44
30: ; preds = %18
%31 = load i64, ptr %6, align 8
%32 = add nsw i64 %31, 946684800
store i64 %32, ptr %6, align 8
%33 = call ptr @gmtime(ptr noundef %6)
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %8, align 8
%38 = call ptr @asctime(ptr noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %36, ptr noundef %38)
%40 = call ptr @localtime(ptr noundef %6)
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %8, align 8
%42 = call ptr @asctime(ptr noundef %41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42)
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %30, %25, %11
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare ptr @localtime(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/tmp9vpefbs_.c'
source_filename = "/tmp/tmp9vpefbs_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @never_ever(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
%5 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9vpefbs_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @never_ever(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
%5 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp099blc0t.c'
source_filename = "/tmp/tmp099blc0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterConvolveKernel9x9ShiftRight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i8 noundef zeroext %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i8, align 1
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i8 %5, ptr %13, align 1
%14 = load i32, ptr %11, align 4
%15 = icmp slt i32 %14, 9
br i1 %15, label %23, label %16
16: ; preds = %6
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 9
br i1 %18, label %23, label %19
19: ; preds = %16
%20 = load i8, ptr %13, align 1
%21 = zext i8 %20 to i32
%22 = icmp sgt i32 %21, 7
br i1 %22, label %23, label %24
23: ; preds = %19, %16, %6
store i32 -1, ptr %7, align 4
br label %29
24: ; preds = %19
%25 = call i64 (...) @SDL_imageFilterMMXdetect()
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %24
store i32 0, ptr %7, align 4
br label %29
28: ; preds = %24
store i32 -1, ptr %7, align 4
br label %29
29: ; preds = %28, %27, %23
%30 = load i32, ptr %7, align 4
ret i32 %30
}
declare i64 @SDL_imageFilterMMXdetect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp099blc0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDL_imageFilterConvolveKernel9x9ShiftRight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i8 noundef zeroext %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i8, align 1
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i8 %5, ptr %13, align 1
%14 = load i32, ptr %11, align 4
%15 = icmp slt i32 %14, 9
br i1 %15, label %23, label %16
16: ; preds = %6
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 9
br i1 %18, label %23, label %19
19: ; preds = %16
%20 = load i8, ptr %13, align 1
%21 = zext i8 %20 to i32
%22 = icmp sgt i32 %21, 7
br i1 %22, label %23, label %24
23: ; preds = %19, %16, %6
store i32 -1, ptr %7, align 4
br label %29
24: ; preds = %19
%25 = call i64 (...) @SDL_imageFilterMMXdetect()
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %24
store i32 0, ptr %7, align 4
br label %29
28: ; preds = %24
store i32 -1, ptr %7, align 4
br label %29
29: ; preds = %28, %27, %23
%30 = load i32, ptr %7, align 4
ret i32 %30
}
declare i64 @SDL_imageFilterMMXdetect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoxvoun3b.c'
source_filename = "/tmp/tmpoxvoun3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmpoxvoun3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmpxar1pbn_.c'
source_filename = "/tmp/tmpxar1pbn_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mysofa_s2c(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load i32, ptr @M_PI, align 4
%11 = sdiv i32 %10, 180
%12 = sitofp i32 %11 to float
%13 = fmul float %9, %12
store float %13, ptr %6, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds float, ptr %14, i64 1
%16 = load float, ptr %15, align 4
%17 = load i32, ptr @M_PI, align 4
%18 = sdiv i32 %17, 180
%19 = sitofp i32 %18 to float
%20 = fmul float %16, %19
store float %20, ptr %5, align 4
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds float, ptr %21, i64 2
%23 = load float, ptr %22, align 4
store float %23, ptr %4, align 4
%24 = load float, ptr %5, align 4
%25 = call float @cosf(float noundef %24) #2
%26 = load float, ptr %4, align 4
%27 = fmul float %25, %26
store float %27, ptr %3, align 4
%28 = load float, ptr %5, align 4
%29 = call float @sinf(float noundef %28) #2
%30 = load float, ptr %4, align 4
%31 = fmul float %29, %30
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds float, ptr %32, i64 2
store float %31, ptr %33, align 4
%34 = load float, ptr %6, align 4
%35 = call float @cosf(float noundef %34) #2
%36 = load float, ptr %3, align 4
%37 = fmul float %35, %36
%38 = load ptr, ptr %2, align 8
%39 = getelementptr inbounds float, ptr %38, i64 0
store float %37, ptr %39, align 4
%40 = load float, ptr %6, align 4
%41 = call float @sinf(float noundef %40) #2
%42 = load float, ptr %3, align 4
%43 = fmul float %41, %42
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds float, ptr %44, i64 1
store float %43, ptr %45, align 4
ret void
}
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
; Function Attrs: nounwind
declare float @sinf(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 = { 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 = { 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/tmpxar1pbn_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mysofa_s2c(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds float, ptr %7, i64 0
%9 = load float, ptr %8, align 4
%10 = load i32, ptr @M_PI, align 4
%11 = sdiv i32 %10, 180
%12 = sitofp i32 %11 to float
%13 = fmul float %9, %12
store float %13, ptr %6, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds float, ptr %14, i64 1
%16 = load float, ptr %15, align 4
%17 = load i32, ptr @M_PI, align 4
%18 = sdiv i32 %17, 180
%19 = sitofp i32 %18 to float
%20 = fmul float %16, %19
store float %20, ptr %5, align 4
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds float, ptr %21, i64 2
%23 = load float, ptr %22, align 4
store float %23, ptr %4, align 4
%24 = load float, ptr %5, align 4
%25 = call float @cosf(float noundef %24) #2
%26 = load float, ptr %4, align 4
%27 = fmul float %25, %26
store float %27, ptr %3, align 4
%28 = load float, ptr %5, align 4
%29 = call float @sinf(float noundef %28) #2
%30 = load float, ptr %4, align 4
%31 = fmul float %29, %30
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds float, ptr %32, i64 2
store float %31, ptr %33, align 4
%34 = load float, ptr %6, align 4
%35 = call float @cosf(float noundef %34) #2
%36 = load float, ptr %3, align 4
%37 = fmul float %35, %36
%38 = load ptr, ptr %2, align 8
%39 = getelementptr inbounds float, ptr %38, i64 0
store float %37, ptr %39, align 4
%40 = load float, ptr %6, align 4
%41 = call float @sinf(float noundef %40) #2
%42 = load float, ptr %3, align 4
%43 = fmul float %41, %42
%44 = load ptr, ptr %2, align 8
%45 = getelementptr inbounds float, ptr %44, i64 1
store float %43, ptr %45, align 4
ret void
}
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
; Function Attrs: nounwind
declare float @sinf(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 = { 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 = { 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/tmpsv4y53w8.c'
source_filename = "/tmp/tmpsv4y53w8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reset HDMI chip\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset_hdmi_chip() #0 {
store volatile i8 0, ptr inttoptr (i64 -8070450530117177216 to ptr), align 1
%1 = call i32 @writeString(ptr noundef @.str)
store volatile i8 1, ptr inttoptr (i64 -8070450530117177216 to ptr), align 1
ret void
}
declare i32 @writeString(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/tmpsv4y53w8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Reset HDMI chip\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset_hdmi_chip() #0 {
store volatile i8 0, ptr inttoptr (i64 -8070450530117177216 to ptr), align 1
%1 = call i32 @writeString(ptr noundef @.str)
store volatile i8 1, ptr inttoptr (i64 -8070450530117177216 to ptr), align 1
ret void
}
declare i32 @writeString(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/tmpsql5m2c3.c'
source_filename = "/tmp/tmpsql5m2c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @anp_sys_free(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free(ptr noundef %5)
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/tmpsql5m2c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @anp_sys_free(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @free(ptr noundef %5)
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/tmpsrd7gid6.c'
source_filename = "/tmp/tmpsrd7gid6.c"
target datalayout = "e-m:e-p270: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/tmpsrd7gid6.c"
target datalayout = "e-m:e-p270: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/tmp07yps_dp.c'
source_filename = "/tmp/tmp07yps_dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"C0D\0D\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"C0E\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExecMuteCommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1)
store i32 %11, ptr %3, align 4
br label %20
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3)
store i32 %18, ptr %3, align 4
br label %20
19: ; preds = %12
store i32 2, ptr %3, align 4
br label %20
20: ; preds = %19, %16, %9
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ProcessCommand(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/tmp07yps_dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"C0D\0D\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"C0E\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ExecMuteCommand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1)
store i32 %11, ptr %3, align 4
br label %20
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3)
store i32 %18, ptr %3, align 4
br label %20
19: ; preds = %12
store i32 2, ptr %3, align 4
br label %20
20: ; preds = %19, %16, %9
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @ProcessCommand(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/tmpaw3njfle.c'
source_filename = "/tmp/tmpaw3njfle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_track_new(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 i32, ptr @EINVAL, align 4
%10 = sub nsw i32 0, %9
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaw3njfle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_bus_track_new(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 i32, ptr @EINVAL, align 4
%10 = sub nsw i32 0, %9
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcz23kk0m.c'
source_filename = "/tmp/tmpcz23kk0m.c"
target datalayout = "e-m:e-p270: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/tmpcz23kk0m.c"
target datalayout = "e-m:e-p270: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/tmpelx84qne.c'
source_filename = "/tmp/tmpelx84qne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d\09%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Enter number:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %19, %0
%5 = load i64, ptr %3, align 8
%6 = icmp ult i64 %5, 10
br i1 %6, label %7, label %22
7: ; preds = %4
%8 = call i32 (...) @rand()
%9 = srem i32 %8, 10
%10 = sext i32 %9 to i64
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
%12 = load i64, ptr %2, align 8
%13 = uitofp i64 %12 to float
%14 = load i64, ptr %2, align 8
%15 = call float @InvSqrt(i64 noundef %14)
%16 = fmul float %13, %15
%17 = fpext float %16 to double
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %11, double noundef %17)
br label %19
19: ; preds = %7
%20 = load i64, ptr %3, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %3, align 8
br label %4, !llvm.loop !6
22: ; preds = %4
store i64 0, ptr %3, align 8
br label %23
23: ; preds = %27, %22
%24 = load i64, ptr %3, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %3, align 8
%26 = icmp ult i64 %25, 5
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%29 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%30 = load i64, ptr %2, align 8
%31 = call i32 @sqrt_newton1(i64 noundef %30, i32 noundef 0)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
br label %23, !llvm.loop !8
33: ; preds = %23
%34 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare float @InvSqrt(i64 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt_newton1(i64 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelx84qne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d\09%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Enter number:\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp ult i64 %4, 10
br i1 %5, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %18
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 10
%9 = sext i32 %8 to i64
store i64 %9, ptr %2, align 8
%10 = load i64, ptr %2, align 8
%11 = load i64, ptr %2, align 8
%12 = uitofp i64 %11 to float
%13 = load i64, ptr %2, align 8
%14 = call float @InvSqrt(i64 noundef %13)
%15 = fmul float %12, %14
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %10, double noundef %16)
br label %18
18: ; preds = %6
%19 = load i64, ptr %3, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %3, align 8
%21 = load i64, ptr %3, align 8
%22 = icmp ult i64 %21, 10
br i1 %22, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
store i64 0, ptr %3, align 8
%24 = load i64, ptr %3, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %3, align 8
%26 = icmp ult i64 %25, 5
br i1 %26, label %.lr.ph2, label %36
.lr.ph2: ; preds = %23
br label %27
27: ; preds = %.lr.ph2, %27
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%29 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%30 = load i64, ptr %2, align 8
%31 = call i32 @sqrt_newton1(i64 noundef %30, i32 noundef 0)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = load i64, ptr %3, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %3, align 8
%35 = icmp ult i64 %34, 5
br i1 %35, label %27, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %36
36: ; preds = %._crit_edge3, %23
%37 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare float @InvSqrt(i64 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt_newton1(i64 noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpr_se2nwt.c'
source_filename = "/tmp/tmpr_se2nwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [163 x i8] c"Uma serie muito famosa na matematica e a serie de FIBONACCI\0A\0AAqui vamos te mostrar o n-esimo termo da serie de FIBONACCI\0ADigite o termo que voce quer encontrar:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0A\0ASerie de Fibonacci:\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Termo 0: 0\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Termo 1: 1\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Termo %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 2, ptr %3, align 4
br label %13
13: ; preds = %27, %0
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %14, 1
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %30
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %6, align 4
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %7, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24, i32 noundef %25)
br label %27
27: ; preds = %18
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %13, !llvm.loop !6
30: ; preds = %13
%31 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpr_se2nwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [163 x i8] c"Uma serie muito famosa na matematica e a serie de FIBONACCI\0A\0AAqui vamos te mostrar o n-esimo termo da serie de FIBONACCI\0ADigite o termo que voce quer encontrar:\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"\0A\0ASerie de Fibonacci:\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Termo 0: 0\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Termo 1: 1\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Termo %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 2, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = sub nsw i32 %13, 1
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %26
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %6, align 4
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %17
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = sub nsw i32 %29, 1
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %0
%34 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpctphuxrl.c'
source_filename = "/tmp/tmpctphuxrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Expected <true> but was <%d>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_true_(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @assert_fail(ptr noundef %10, i32 noundef %11, ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %9, %3
ret void
}
declare i32 @assert_fail(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpctphuxrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Expected <true> but was <%d>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assert_true_(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @assert_fail(ptr noundef %10, i32 noundef %11, ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %9, %3
ret void
}
declare i32 @assert_fail(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzm_i1_ft.c'
source_filename = "/tmp/tmpzm_i1_ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countOfAlphaInString(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
store i32 0, ptr %3, align 4
%5 = call i64 @malloc(i32 noundef 1)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8)
br label %10
10: ; preds = %38, %1
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %41
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sge i32 %18, 97
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 122
br i1 %24, label %35, label %25
25: ; preds = %20, %15
%26 = load ptr, ptr %4, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sge i32 %28, 65
br i1 %29, label %30, label %38
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sle i32 %33, 90
br i1 %34, label %35, label %38
35: ; preds = %30, %20
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %35, %30, %25
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %4, align 8
br label %10, !llvm.loop !6
41: ; preds = %10
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzm_i1_ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countOfAlphaInString(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
store i32 0, ptr %3, align 4
%5 = call i64 @malloc(i32 noundef 1)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %37
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 97
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 122
br i1 %23, label %34, label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sge i32 %27, 65
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp sle i32 %32, 90
br i1 %33, label %34, label %37
34: ; preds = %29, %19
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %3, align 4
br label %37
37: ; preds = %34, %29, %24
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %4, align 8
%40 = load ptr, ptr %4, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %44
44: ; preds = %._crit_edge, %1
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5vhhcx0h.c'
source_filename = "/tmp/tmp5vhhcx0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @winstart()
%4 = call i32 (...) @winend()
%5 = load i8, ptr %2, align 1
%6 = call i32 @countwithin(i32 noundef %3, i32 noundef %4, i8 noundef signext %5)
ret i32 %6
}
declare i32 @countwithin(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @winstart(...) #1
declare i32 @winend(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5vhhcx0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @winstart()
%4 = call i32 (...) @winend()
%5 = load i8, ptr %2, align 1
%6 = call i32 @countwithin(i32 noundef %3, i32 noundef %4, i8 noundef signext %5)
ret i32 %6
}
declare i32 @countwithin(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @winstart(...) #1
declare i32 @winend(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnx1f0vpx.c'
source_filename = "/tmp/tmpnx1f0vpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter values for N and K:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"Result of the division is %d and the residue is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Task2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %1, align 4
%13 = sub nsw i32 %12, %11
store i32 %13, ptr %1, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %1, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %18)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpnx1f0vpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter values for N and K:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"Result of the division is %d and the residue is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Task2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %6, %7
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = sub nsw i32 %11, %10
store i32 %12, ptr %1, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %15, %16
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %1, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpm52g0ds4.c'
source_filename = "/tmp/tmpm52g0ds4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"#declare rock_map = \0Acolor_map {\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"[%4.3f color %4.3f*rock_color + <%4.3f,%4.3f,%4.3f>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%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 float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %23, %2
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %28
store i32 10, ptr %6, align 4
br label %32
32: ; preds = %31, %28
%33 = load i32, ptr %4, align 4
%34 = icmp sgt i32 %33, 2
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %8, align 4
br label %41
40: ; preds = %32
store i32 100, ptr %8, align 4
br label %41
41: ; preds = %40, %35
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 3
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 3
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %12, align 4
br label %50
49: ; preds = %41
store i32 20, ptr %12, align 4
br label %50
50: ; preds = %49, %44
%51 = load i32, ptr %4, align 4
%52 = icmp sgt i32 %51, 4
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 4
%56 = load ptr, ptr %55, align 8
%57 = call i32 @atoi(ptr noundef %56)
store i32 %57, ptr %9, align 4
br label %59
58: ; preds = %50
store i32 10, ptr %9, align 4
br label %59
59: ; preds = %58, %53
%60 = load i32, ptr %4, align 4
%61 = icmp sgt i32 %60, 5
br i1 %61, label %62, label %67
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 5
%65 = load ptr, ptr %64, align 8
%66 = call i32 @atoi(ptr noundef %65)
store i32 %66, ptr %10, align 4
br label %68
67: ; preds = %59
store i32 10, ptr %10, align 4
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %4, align 4
%70 = icmp sgt i32 %69, 6
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 6
%74 = load ptr, ptr %73, align 8
%75 = call i32 @atoi(ptr noundef %74)
store i32 %75, ptr %11, align 4
br label %77
76: ; preds = %68
store i32 10, ptr %11, align 4
br label %77
77: ; preds = %76, %71
%78 = load i32, ptr %6, align 4
%79 = sitofp i32 %78 to float
%80 = fdiv float 1.000000e+00, %79
store float %80, ptr %13, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%82 = load i32, ptr %8, align 4
%83 = sitofp i32 %82 to float
%84 = fdiv float %83, 1.000000e+02
store float %84, ptr %15, align 4
store i32 0, ptr %7, align 4
br label %85
85: ; preds = %145, %77
%86 = load i32, ptr %7, align 4
%87 = load i32, ptr %6, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %148
89: ; preds = %85
%90 = load i32, ptr %7, align 4
%91 = sitofp i32 %90 to float
%92 = load float, ptr %13, align 4
%93 = fmul float %91, %92
store float %93, ptr %14, align 4
%94 = load float, ptr %15, align 4
%95 = call i32 (...) @rand()
%96 = srem i32 %95, 1000
%97 = sitofp i32 %96 to float
%98 = load i32, ptr %6, align 4
%99 = sitofp i32 %98 to double
%100 = fmul double %99, 1.000000e+03
%101 = fptrunc double %100 to float
%102 = fdiv float %97, %101
%103 = fmul float %94, %102
store float %103, ptr %20, align 4
%104 = load float, ptr %14, align 4
%105 = load float, ptr %20, align 4
%106 = fadd float %104, %105
store float %106, ptr %14, align 4
%107 = load i32, ptr %9, align 4
%108 = call i32 (...) @rand()
%109 = srem i32 %108, 100
%110 = mul nsw i32 %107, %109
%111 = sitofp i32 %110 to float
%112 = fdiv float %111, 1.000000e+04
store float %112, ptr %16, align 4
%113 = load i32, ptr %10, align 4
%114 = call i32 (...) @rand()
%115 = srem i32 %114, 100
%116 = mul nsw i32 %113, %115
%117 = sitofp i32 %116 to float
%118 = fdiv float %117, 1.000000e+04
store float %118, ptr %17, align 4
%119 = load i32, ptr %11, align 4
%120 = call i32 (...) @rand()
%121 = srem i32 %120, 100
%122 = mul nsw i32 %119, %121
%123 = sitofp i32 %122 to float
%124 = fdiv float %123, 1.000000e+04
store float %124, ptr %18, align 4
%125 = load i32, ptr %12, align 4
%126 = call i32 (...) @rand()
%127 = srem i32 %126, 100
%128 = mul nsw i32 %125, %127
%129 = sitofp i32 %128 to float
%130 = fdiv float %129, 1.000000e+04
%131 = fpext float %130 to double
%132 = fsub double 1.000000e+00, %131
%133 = fptrunc double %132 to float
store float %133, ptr %19, align 4
%134 = load float, ptr %14, align 4
%135 = fpext float %134 to double
%136 = load float, ptr %19, align 4
%137 = fpext float %136 to double
%138 = load float, ptr %16, align 4
%139 = fpext float %138 to double
%140 = load float, ptr %17, align 4
%141 = fpext float %140 to double
%142 = load float, ptr %18, align 4
%143 = fpext float %142 to double
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %135, double noundef %137, double noundef %139, double noundef %141, double noundef %143)
br label %145
145: ; preds = %89
%146 = load i32, ptr %7, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %7, align 4
br label %85, !llvm.loop !6
148: ; preds = %85
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm52g0ds4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"#declare rock_map = \0Acolor_map {\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"[%4.3f color %4.3f*rock_color + <%4.3f,%4.3f,%4.3f>]\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%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 float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %23, %2
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %28
store i32 10, ptr %6, align 4
br label %32
32: ; preds = %31, %28
%33 = load i32, ptr %4, align 4
%34 = icmp sgt i32 %33, 2
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %8, align 4
br label %41
40: ; preds = %32
store i32 100, ptr %8, align 4
br label %41
41: ; preds = %40, %35
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 3
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 3
%47 = load ptr, ptr %46, align 8
%48 = call i32 @atoi(ptr noundef %47)
store i32 %48, ptr %12, align 4
br label %50
49: ; preds = %41
store i32 20, ptr %12, align 4
br label %50
50: ; preds = %49, %44
%51 = load i32, ptr %4, align 4
%52 = icmp sgt i32 %51, 4
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 4
%56 = load ptr, ptr %55, align 8
%57 = call i32 @atoi(ptr noundef %56)
store i32 %57, ptr %9, align 4
br label %59
58: ; preds = %50
store i32 10, ptr %9, align 4
br label %59
59: ; preds = %58, %53
%60 = load i32, ptr %4, align 4
%61 = icmp sgt i32 %60, 5
br i1 %61, label %62, label %67
62: ; preds = %59
%63 = load ptr, ptr %5, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 5
%65 = load ptr, ptr %64, align 8
%66 = call i32 @atoi(ptr noundef %65)
store i32 %66, ptr %10, align 4
br label %68
67: ; preds = %59
store i32 10, ptr %10, align 4
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %4, align 4
%70 = icmp sgt i32 %69, 6
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 6
%74 = load ptr, ptr %73, align 8
%75 = call i32 @atoi(ptr noundef %74)
store i32 %75, ptr %11, align 4
br label %77
76: ; preds = %68
store i32 10, ptr %11, align 4
br label %77
77: ; preds = %76, %71
%78 = load i32, ptr %6, align 4
%79 = sitofp i32 %78 to float
%80 = fdiv float 1.000000e+00, %79
store float %80, ptr %13, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%82 = load i32, ptr %8, align 4
%83 = sitofp i32 %82 to float
%84 = fdiv float %83, 1.000000e+02
store float %84, ptr %15, align 4
store i32 0, ptr %7, align 4
%85 = load i32, ptr %7, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph, label %150
.lr.ph: ; preds = %77
br label %88
88: ; preds = %.lr.ph, %144
%89 = load i32, ptr %7, align 4
%90 = sitofp i32 %89 to float
%91 = load float, ptr %13, align 4
%92 = fmul float %90, %91
store float %92, ptr %14, align 4
%93 = load float, ptr %15, align 4
%94 = call i32 (...) @rand()
%95 = srem i32 %94, 1000
%96 = sitofp i32 %95 to float
%97 = load i32, ptr %6, align 4
%98 = sitofp i32 %97 to double
%99 = fmul double %98, 1.000000e+03
%100 = fptrunc double %99 to float
%101 = fdiv float %96, %100
%102 = fmul float %93, %101
store float %102, ptr %20, align 4
%103 = load float, ptr %14, align 4
%104 = load float, ptr %20, align 4
%105 = fadd float %103, %104
store float %105, ptr %14, align 4
%106 = load i32, ptr %9, align 4
%107 = call i32 (...) @rand()
%108 = srem i32 %107, 100
%109 = mul nsw i32 %106, %108
%110 = sitofp i32 %109 to float
%111 = fdiv float %110, 1.000000e+04
store float %111, ptr %16, align 4
%112 = load i32, ptr %10, align 4
%113 = call i32 (...) @rand()
%114 = srem i32 %113, 100
%115 = mul nsw i32 %112, %114
%116 = sitofp i32 %115 to float
%117 = fdiv float %116, 1.000000e+04
store float %117, ptr %17, align 4
%118 = load i32, ptr %11, align 4
%119 = call i32 (...) @rand()
%120 = srem i32 %119, 100
%121 = mul nsw i32 %118, %120
%122 = sitofp i32 %121 to float
%123 = fdiv float %122, 1.000000e+04
store float %123, ptr %18, align 4
%124 = load i32, ptr %12, align 4
%125 = call i32 (...) @rand()
%126 = srem i32 %125, 100
%127 = mul nsw i32 %124, %126
%128 = sitofp i32 %127 to float
%129 = fdiv float %128, 1.000000e+04
%130 = fpext float %129 to double
%131 = fsub double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load float, ptr %14, align 4
%134 = fpext float %133 to double
%135 = load float, ptr %19, align 4
%136 = fpext float %135 to double
%137 = load float, ptr %16, align 4
%138 = fpext float %137 to double
%139 = load float, ptr %17, align 4
%140 = fpext float %139 to double
%141 = load float, ptr %18, align 4
%142 = fpext float %141 to double
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %134, double noundef %136, double noundef %138, double noundef %140, double noundef %142)
br label %144
144: ; preds = %88
%145 = load i32, ptr %7, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %7, align 4
%147 = load i32, ptr %7, align 4
%148 = load i32, ptr %6, align 4
%149 = icmp slt i32 %147, %148
br i1 %149, label %88, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %144
br label %150
150: ; preds = %._crit_edge, %77
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn3w4yjwf.c'
source_filename = "/tmp/tmpn3w4yjwf.c"
target datalayout = "e-m:e-p270: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/tmpn3w4yjwf.c"
target datalayout = "e-m:e-p270: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/tmpks1dfo50.c'
source_filename = "/tmp/tmpks1dfo50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { ptr, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr }
@AF_INET = dso_local global ptr null, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"create socket error!\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"can't connect to %s!\0A\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"error comes when recieve data from server %s!\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"from server %s :\0A\09%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 8
%10 = alloca %struct.sockaddr_in, align 8
%11 = alloca i32, align 4
%12 = alloca [255 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 24, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @usage(ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
br label %22
22: ; preds = %21, %77
%23 = load ptr, ptr @AF_INET, align 8
%24 = load i32, ptr @SOCK_STREAM, align 4
%25 = call i32 @socket(ptr noundef %23, i32 noundef %24, i32 noundef 0)
store i32 %25, ptr %7, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %22
%31 = call i32 @time(ptr noundef null)
%32 = call i32 @srand(i32 noundef %31)
%33 = call i32 @bzero(ptr noundef %10, i32 noundef 24)
%34 = load ptr, ptr @AF_INET, align 8
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store ptr %34, ptr %35, align 8
%36 = call i32 (...) @rand()
%37 = add nsw i32 20001, %36
%38 = srem i32 %37, 65536
%39 = call ptr @htons(i32 noundef %38)
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store ptr %39, ptr %40, align 8
%41 = load i32, ptr @INADDR_ANY, align 4
%42 = call ptr @htons(i32 noundef %41)
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_2__, ptr %43, i32 0, i32 0
store ptr %42, ptr %44, align 8
%45 = call i32 @bzero(ptr noundef %9, i32 noundef 24)
%46 = load ptr, ptr @AF_INET, align 8
%47 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store ptr %46, ptr %47, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 1
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%52 = call i32 @inet_aton(ptr noundef %50, ptr noundef %51)
%53 = call ptr @htons(i32 noundef 20000)
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store ptr %53, ptr %54, align 8
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %11, align 4
%57 = call i64 @connect(i32 noundef %55, ptr noundef %9, i32 noundef %56)
%58 = icmp slt i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %30
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 1
%62 = load ptr, ptr %61, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %62)
%64 = call i32 @exit(i32 noundef 1) #3
unreachable
65: ; preds = %30
%66 = load i32, ptr %7, align 4
%67 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0
%68 = call i32 @recv(i32 noundef %66, ptr noundef %67, i32 noundef 255, i32 noundef 0)
store i32 %68, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %65
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 1
%74 = load ptr, ptr %73, align 8
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74)
%76 = call i32 @exit(i32 noundef 1) #3
unreachable
77: ; preds = %65
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 1
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %80, ptr noundef %81)
%83 = load i32, ptr %7, align 4
%84 = call i32 @close(i32 noundef %83)
br label %22
}
declare i32 @usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(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/tmpks1dfo50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { ptr, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr }
@AF_INET = dso_local global ptr null, align 8
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"create socket error!\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"can't connect to %s!\0A\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"error comes when recieve data from server %s!\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"from server %s :\0A\09%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 8
%10 = alloca %struct.sockaddr_in, align 8
%11 = alloca i32, align 4
%12 = alloca [255 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 24, ptr %11, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %21
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @usage(ptr noundef %18)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr @AF_INET, align 8
%23 = load i32, ptr @SOCK_STREAM, align 4
%24 = call i32 @socket(ptr noundef %22, i32 noundef %23, i32 noundef 0)
store i32 %24, ptr %7, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %.lr.ph
.lr.ph: ; preds = %21
br label %29
._crit_edge: ; preds = %76
br label %26
26: ; preds = %._crit_edge, %21
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%28 = call i32 @exit(i32 noundef 1) #3
unreachable
29: ; preds = %.lr.ph, %76
%30 = call i32 @time(ptr noundef null)
%31 = call i32 @srand(i32 noundef %30)
%32 = call i32 @bzero(ptr noundef %10, i32 noundef 24)
%33 = load ptr, ptr @AF_INET, align 8
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store ptr %33, ptr %34, align 8
%35 = call i32 (...) @rand()
%36 = add nsw i32 20001, %35
%37 = srem i32 %36, 65536
%38 = call ptr @htons(i32 noundef %37)
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store ptr %38, ptr %39, align 8
%40 = load i32, ptr @INADDR_ANY, align 4
%41 = call ptr @htons(i32 noundef %40)
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i32 0, i32 0
store ptr %41, ptr %43, align 8
%44 = call i32 @bzero(ptr noundef %9, i32 noundef 24)
%45 = load ptr, ptr @AF_INET, align 8
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store ptr %45, ptr %46, align 8
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%51 = call i32 @inet_aton(ptr noundef %49, ptr noundef %50)
%52 = call ptr @htons(i32 noundef 20000)
%53 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store ptr %52, ptr %53, align 8
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %11, align 4
%56 = call i64 @connect(i32 noundef %54, ptr noundef %9, i32 noundef %55)
%57 = icmp slt i64 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %29
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 1
%61 = load ptr, ptr %60, align 8
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %61)
%63 = call i32 @exit(i32 noundef 1) #3
unreachable
64: ; preds = %29
%65 = load i32, ptr %7, align 4
%66 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0
%67 = call i32 @recv(i32 noundef %65, ptr noundef %66, i32 noundef 255, i32 noundef 0)
store i32 %67, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %64
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 1
%73 = load ptr, ptr %72, align 8
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %73)
%75 = call i32 @exit(i32 noundef 1) #3
unreachable
76: ; preds = %64
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 1
%79 = load ptr, ptr %78, align 8
%80 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %79, ptr noundef %80)
%82 = load i32, ptr %7, align 4
%83 = call i32 @close(i32 noundef %82)
%84 = load ptr, ptr @AF_INET, align 8
%85 = load i32, ptr @SOCK_STREAM, align 4
%86 = call i32 @socket(ptr noundef %84, i32 noundef %85, i32 noundef 0)
store i32 %86, ptr %7, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %._crit_edge, label %29
}
declare i32 @usage(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(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/tmptcyd0umn.c'
source_filename = "/tmp/tmptcyd0umn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Memento_setParanoia(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
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/tmptcyd0umn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Memento_setParanoia(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
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/tmpkh7q7m5p.c'
source_filename = "/tmp/tmpkh7q7m5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"/sys/class/gpio/gpio\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gpioPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @concat(ptr noundef @.str, ptr noundef %3)
ret ptr %4
}
declare ptr @concat(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/tmpkh7q7m5p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"/sys/class/gpio/gpio\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gpioPath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @concat(ptr noundef @.str, ptr noundef %3)
ret ptr %4
}
declare ptr @concat(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/tmpvq8zbdjj.c'
source_filename = "/tmp/tmpvq8zbdjj.c"
target datalayout = "e-m:e-p270: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/tmpvq8zbdjj.c"
target datalayout = "e-m:e-p270: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/tmpg94x5_t7.c'
source_filename = "/tmp/tmpg94x5_t7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @namecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @memcmp(ptr noundef %5, ptr noundef %6, i32 noundef 24)
ret i32 %7
}
declare i32 @memcmp(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/tmpg94x5_t7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @namecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @memcmp(ptr noundef %5, ptr noundef %6, i32 noundef 24)
ret i32 %7
}
declare i32 @memcmp(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.