llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpuikmyhy0.c'
source_filename = "/tmp/tmpuikmyhy0.c"
target datalayout = "e-m:e-p270: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.drawcharseg.segments = private unnamed_addr constant [64 x i32] [i32 0, i32 4, i32 0, i32 2, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 2, i32 0, i32 2, i32 0, i32 2, i32 2, i32 2, i32 2, i32 2, i32 4, i32 2, i32 4, i32 1, i32 4, i32 1, i32 4, i32 0, i32 4, i32 0, i32 4, i32 1, i32 2, i32 0, i32 2, i32 1, i32 2, i32 0, i32 0, i32 1, i32 2, i32 1, i32 0, i32 1, i32 2, i32 2, i32 0, i32 1, i32 2, i32 2, i32 2, i32 1, i32 2, i32 2, i32 4, i32 1, i32 2, i32 1, i32 4, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drawcharseg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca [64 x i32], align 16
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.drawcharseg.segments, i64 256, i1 false)
store ptr @.str, ptr %18, align 8
br label %25
25: ; preds = %37, %36, %8
%26 = load ptr, ptr %12, align 8
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %29, label %94
29: ; preds = %25
%30 = load ptr, ptr %18, align 8
%31 = load ptr, ptr %12, align 8
%32 = load i8, ptr %31, align 1
%33 = call ptr @strchr(ptr noundef %30, i8 noundef signext %32)
store ptr %33, ptr %19, align 8
%34 = load ptr, ptr %19, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %37, label %36
36: ; preds = %29
br label %25, !llvm.loop !6
37: ; preds = %29
%38 = load ptr, ptr %19, align 8
%39 = load ptr, ptr %18, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
store i32 %43, ptr %20, align 4
%44 = load i32, ptr %20, align 4
%45 = mul nsw i32 %44, 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %13, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %21, align 4
%51 = load i32, ptr %20, align 4
%52 = mul nsw i32 %51, 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %13, align 4
%58 = mul nsw i32 %56, %57
store i32 %58, ptr %23, align 4
%59 = load i32, ptr %20, align 4
%60 = mul nsw i32 %59, 4
%61 = add nsw i32 %60, 2
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 %64, %65
store i32 %66, ptr %22, align 4
%67 = load i32, ptr %20, align 4
%68 = mul nsw i32 %67, 4
%69 = add nsw i32 %68, 3
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %13, align 4
%74 = mul nsw i32 %72, %73
store i32 %74, ptr %24, align 4
%75 = load ptr, ptr %9, align 8
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %21, align 4
%78 = add nsw i32 %76, %77
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %23, align 4
%81 = add nsw i32 %79, %80
%82 = load i32, ptr %10, align 4
%83 = load i32, ptr %22, align 4
%84 = add nsw i32 %82, %83
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %24, align 4
%87 = add nsw i32 %85, %86
%88 = load i32, ptr %14, align 4
%89 = load i32, ptr %15, align 4
%90 = load i32, ptr %16, align 4
%91 = call i32 @drawline(ptr noundef %75, i32 noundef %78, i32 noundef %81, i32 noundef %84, i32 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90)
%92 = load ptr, ptr %12, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %12, align 8
br label %25, !llvm.loop !6
94: ; preds = %25
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @drawline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuikmyhy0.c"
target datalayout = "e-m:e-p270: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.drawcharseg.segments = private unnamed_addr constant [64 x i32] [i32 0, i32 4, i32 0, i32 2, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 2, i32 0, i32 2, i32 0, i32 2, i32 2, i32 2, i32 2, i32 2, i32 4, i32 2, i32 4, i32 1, i32 4, i32 1, i32 4, i32 0, i32 4, i32 0, i32 4, i32 1, i32 2, i32 0, i32 2, i32 1, i32 2, i32 0, i32 0, i32 1, i32 2, i32 1, i32 0, i32 1, i32 2, i32 2, i32 0, i32 1, i32 2, i32 2, i32 2, i32 1, i32 2, i32 2, i32 4, i32 1, i32 2, i32 1, i32 4, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drawcharseg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca [64 x i32], align 16
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 @__const.drawcharseg.segments, i64 256, i1 false)
store ptr @.str, ptr %18, align 8
%25 = load ptr, ptr %12, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %.lr.ph, label %96
.lr.ph: ; preds = %8
br label %28
28: ; preds = %.lr.ph, %.backedge
%29 = load ptr, ptr %18, align 8
%30 = load ptr, ptr %12, align 8
%31 = load i8, ptr %30, align 1
%32 = call ptr @strchr(ptr noundef %29, i8 noundef signext %31)
store ptr %32, ptr %19, align 8
%33 = load ptr, ptr %19, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %28
br label %.backedge
.backedge: ; preds = %35, %39
%36 = load ptr, ptr %12, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %28, label %._crit_edge, !llvm.loop !6
39: ; preds = %28
%40 = load ptr, ptr %19, align 8
%41 = load ptr, ptr %18, align 8
%42 = ptrtoint ptr %40 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
store i32 %45, ptr %20, align 4
%46 = load i32, ptr %20, align 4
%47 = mul nsw i32 %46, 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 %50, %51
store i32 %52, ptr %21, align 4
%53 = load i32, ptr %20, align 4
%54 = mul nsw i32 %53, 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %13, align 4
%60 = mul nsw i32 %58, %59
store i32 %60, ptr %23, align 4
%61 = load i32, ptr %20, align 4
%62 = mul nsw i32 %61, 4
%63 = add nsw i32 %62, 2
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %13, align 4
%68 = mul nsw i32 %66, %67
store i32 %68, ptr %22, align 4
%69 = load i32, ptr %20, align 4
%70 = mul nsw i32 %69, 4
%71 = add nsw i32 %70, 3
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [64 x i32], ptr %17, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %13, align 4
%76 = mul nsw i32 %74, %75
store i32 %76, ptr %24, align 4
%77 = load ptr, ptr %9, align 8
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %21, align 4
%80 = add nsw i32 %78, %79
%81 = load i32, ptr %11, align 4
%82 = load i32, ptr %23, align 4
%83 = add nsw i32 %81, %82
%84 = load i32, ptr %10, align 4
%85 = load i32, ptr %22, align 4
%86 = add nsw i32 %84, %85
%87 = load i32, ptr %11, align 4
%88 = load i32, ptr %24, align 4
%89 = add nsw i32 %87, %88
%90 = load i32, ptr %14, align 4
%91 = load i32, ptr %15, align 4
%92 = load i32, ptr %16, align 4
%93 = call i32 @drawline(ptr noundef %77, i32 noundef %80, i32 noundef %83, i32 noundef %86, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
%94 = load ptr, ptr %12, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %12, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %96
96: ; preds = %._crit_edge, %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
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @drawline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4hxfsnr0.c'
source_filename = "/tmp/tmp4hxfsnr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_tmr_force_irq() #0 {
%1 = call i32 (...) @OS_TFIRQ()
ret void
}
declare i32 @OS_TFIRQ(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hxfsnr0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_tmr_force_irq() #0 {
%1 = call i32 (...) @OS_TFIRQ()
ret void
}
declare i32 @OS_TFIRQ(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5l3aystr.c'
source_filename = "/tmp/tmp5l3aystr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i64, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i64 0, ptr %19, align 8
%21 = load ptr, ptr %15, align 8
%22 = load i64, ptr %16, align 8
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %18, align 8
%26 = load ptr, ptr %17, align 8
%27 = load ptr, ptr %13, align 8
%28 = load i64, ptr %14, align 8
%29 = call i32 @deoxys_aead_decrypt(ptr noundef %21, i64 noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, i64 noundef %28)
store i32 %29, ptr %20, align 4
%30 = load ptr, ptr %12, align 8
%31 = load i32, ptr %20, align 4
ret i32 %31
}
declare i32 @deoxys_aead_decrypt(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5l3aystr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i64, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
store i64 0, ptr %19, align 8
%21 = load ptr, ptr %15, align 8
%22 = load i64, ptr %16, align 8
%23 = load ptr, ptr %10, align 8
%24 = load ptr, ptr %11, align 8
%25 = load ptr, ptr %18, align 8
%26 = load ptr, ptr %17, align 8
%27 = load ptr, ptr %13, align 8
%28 = load i64, ptr %14, align 8
%29 = call i32 @deoxys_aead_decrypt(ptr noundef %21, i64 noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, i64 noundef %28)
store i32 %29, ptr %20, align 4
%30 = load ptr, ptr %12, align 8
%31 = load i32, ptr %20, align 4
ret i32 %31
}
declare i32 @deoxys_aead_decrypt(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpom98dvua.c'
source_filename = "/tmp/tmpom98dvua.c"
target datalayout = "e-m:e-p270: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"calculus\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Could not open file 'calculus'\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"double GG[241*241]={\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"double GGS[241*241]={\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"READ ERROR\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"%30.25f};\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"%30.25f,\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 double, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @O_RDONLY, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -2, ptr %1, align 4
br label %49
12: ; preds = %0
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %46, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %49
16: ; preds = %13
%17 = load i32, ptr %4, align 4
switch i32 %17, label %22 [
i32 0, label %18
i32 1, label %20
]
18: ; preds = %16
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %22
20: ; preds = %16
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %22
22: ; preds = %16, %20, %18
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %42, %22
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 58081
br i1 %25, label %26, label %45
26: ; preds = %23
%27 = load i32, ptr %2, align 4
%28 = call i32 @read(i32 noundef %27, ptr noundef %5, i32 noundef 8)
%29 = icmp ne i32 %28, 8
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -3, ptr %1, align 4
br label %49
32: ; preds = %26
%33 = load i32, ptr %3, align 4
%34 = icmp eq i32 %33, 58080
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load double, ptr %5, align 8
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %36)
br label %41
38: ; preds = %32
%39 = load double, ptr %5, align 8
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %39)
br label %41
41: ; preds = %38, %35
br label %42
42: ; preds = %41
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
br label %23, !llvm.loop !6
45: ; preds = %23
store i32 0, ptr %1, align 4
br label %49
46: ; No predecessors!
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
br label %13, !llvm.loop !8
49: ; preds = %10, %30, %45, %13
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpom98dvua.c"
target datalayout = "e-m:e-p270: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"calculus\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Could not open file 'calculus'\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"double GG[241*241]={\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"double GGS[241*241]={\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"READ ERROR\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"%30.25f};\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"%30.25f,\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 double, align 8
store i32 0, ptr %1, align 4
%6 = load i32, ptr @O_RDONLY, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -2, ptr %1, align 4
br label %50
12: ; preds = %0
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %47, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %50
16: ; preds = %13
%17 = load i32, ptr %4, align 4
switch i32 %17, label %22 [
i32 0, label %18
i32 1, label %20
]
18: ; preds = %16
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %22
20: ; preds = %16
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %22
22: ; preds = %20, %18, %16
store i32 0, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %23, 58081
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %22
br label %25
25: ; preds = %.lr.ph, %41
%26 = load i32, ptr %2, align 4
%27 = call i32 @read(i32 noundef %26, ptr noundef %5, i32 noundef 8)
%28 = icmp ne i32 %27, 8
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -3, ptr %1, align 4
br label %50
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 58080
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load double, ptr %5, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %35)
br label %40
37: ; preds = %31
%38 = load double, ptr %5, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %38)
br label %40
40: ; preds = %37, %34
br label %41
41: ; preds = %40
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %44, 58081
br i1 %45, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %22
store i32 0, ptr %1, align 4
br label %50
47: ; No predecessors!
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
br label %13, !llvm.loop !8
50: ; preds = %46, %29, %13, %10
%51 = load i32, ptr %1, align 4
ret i32 %51
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpoxztur9s.c'
source_filename = "/tmp/tmpoxztur9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_simplex_noise3(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca double, align 8
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca double, align 8
%52 = alloca double, align 8
%53 = alloca double, align 8
%54 = alloca double, align 8
%55 = alloca double, align 8
%56 = alloca double, align 8
%57 = alloca double, align 8
%58 = alloca double, align 8
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca double, align 8
%64 = alloca double, align 8
%65 = alloca double, align 8
%66 = alloca double, align 8
%67 = alloca double, align 8
%68 = alloca double, align 8
%69 = alloca double, align 8
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca double, align 8
%73 = alloca double, align 8
%74 = alloca double, align 8
%75 = alloca double, align 8
%76 = alloca double, align 8
%77 = alloca double, align 8
%78 = alloca double, align 8
%79 = alloca double, align 8
%80 = alloca double, align 8
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%81 = load double, ptr %6, align 8
%82 = load double, ptr %7, align 8
%83 = fadd double %81, %82
%84 = load double, ptr %8, align 8
%85 = fadd double %83, %84
%86 = fmul double %85, 0xBFC5555555555555
store double %86, ptr %9, align 8
%87 = load double, ptr %6, align 8
%88 = load double, ptr %9, align 8
%89 = fadd double %87, %88
store double %89, ptr %10, align 8
%90 = load double, ptr %7, align 8
%91 = load double, ptr %9, align 8
%92 = fadd double %90, %91
store double %92, ptr %11, align 8
%93 = load double, ptr %8, align 8
%94 = load double, ptr %9, align 8
%95 = fadd double %93, %94
store double %95, ptr %12, align 8
%96 = load double, ptr %10, align 8
%97 = call i32 @fastFloor(double noundef %96)
store i32 %97, ptr %13, align 4
%98 = load double, ptr %11, align 8
%99 = call i32 @fastFloor(double noundef %98)
store i32 %99, ptr %14, align 4
%100 = load double, ptr %12, align 8
%101 = call i32 @fastFloor(double noundef %100)
store i32 %101, ptr %15, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %14, align 4
%104 = add nsw i32 %102, %103
%105 = load i32, ptr %15, align 4
%106 = add nsw i32 %104, %105
%107 = sitofp i32 %106 to double
%108 = fmul double %107, 0x3FD5555555555555
store double %108, ptr %16, align 8
%109 = load i32, ptr %13, align 4
%110 = sitofp i32 %109 to double
%111 = load double, ptr %16, align 8
%112 = fadd double %110, %111
store double %112, ptr %17, align 8
%113 = load i32, ptr %14, align 4
%114 = sitofp i32 %113 to double
%115 = load double, ptr %16, align 8
%116 = fadd double %114, %115
store double %116, ptr %18, align 8
%117 = load i32, ptr %15, align 4
%118 = sitofp i32 %117 to double
%119 = load double, ptr %16, align 8
%120 = fadd double %118, %119
store double %120, ptr %19, align 8
%121 = load double, ptr %10, align 8
%122 = load i32, ptr %13, align 4
%123 = sitofp i32 %122 to double
%124 = fsub double %121, %123
store double %124, ptr %20, align 8
%125 = load double, ptr %11, align 8
%126 = load i32, ptr %14, align 4
%127 = sitofp i32 %126 to double
%128 = fsub double %125, %127
store double %128, ptr %21, align 8
%129 = load double, ptr %12, align 8
%130 = load i32, ptr %15, align 4
%131 = sitofp i32 %130 to double
%132 = fsub double %129, %131
store double %132, ptr %22, align 8
%133 = load double, ptr %20, align 8
%134 = load double, ptr %21, align 8
%135 = fadd double %133, %134
%136 = load double, ptr %22, align 8
%137 = fadd double %135, %136
store double %137, ptr %23, align 8
%138 = load double, ptr %6, align 8
%139 = load double, ptr %17, align 8
%140 = fsub double %138, %139
store double %140, ptr %24, align 8
%141 = load double, ptr %7, align 8
%142 = load double, ptr %18, align 8
%143 = fsub double %141, %142
store double %143, ptr %25, align 8
%144 = load double, ptr %8, align 8
%145 = load double, ptr %19, align 8
%146 = fsub double %144, %145
store double %146, ptr %26, align 8
store double 0.000000e+00, ptr %80, align 8
%147 = load double, ptr %23, align 8
%148 = fcmp ole double %147, 1.000000e+00
br i1 %148, label %149, label %482
149: ; preds = %4
store i32 1, ptr %43, align 4
%150 = load double, ptr %20, align 8
store double %150, ptr %45, align 8
store i32 2, ptr %44, align 4
%151 = load double, ptr %21, align 8
store double %151, ptr %46, align 8
%152 = load double, ptr %45, align 8
%153 = load double, ptr %46, align 8
%154 = fcmp oge double %152, %153
br i1 %154, label %155, label %161
155: ; preds = %149
%156 = load double, ptr %22, align 8
%157 = load double, ptr %46, align 8
%158 = fcmp ogt double %156, %157
br i1 %158, label %159, label %161
159: ; preds = %155
%160 = load double, ptr %22, align 8
store double %160, ptr %46, align 8
store i32 4, ptr %44, align 4
br label %172
161: ; preds = %155, %149
%162 = load double, ptr %45, align 8
%163 = load double, ptr %46, align 8
%164 = fcmp olt double %162, %163
br i1 %164, label %165, label %171
165: ; preds = %161
%166 = load double, ptr %22, align 8
%167 = load double, ptr %45, align 8
%168 = fcmp ogt double %166, %167
br i1 %168, label %169, label %171
169: ; preds = %165
%170 = load double, ptr %22, align 8
store double %170, ptr %45, align 8
store i32 4, ptr %43, align 4
br label %171
171: ; preds = %169, %165, %161
br label %172
172: ; preds = %171, %159
%173 = load double, ptr %23, align 8
%174 = fsub double 1.000000e+00, %173
store double %174, ptr %39, align 8
%175 = load double, ptr %39, align 8
%176 = load double, ptr %45, align 8
%177 = fcmp ogt double %175, %176
br i1 %177, label %182, label %178
178: ; preds = %172
%179 = load double, ptr %39, align 8
%180 = load double, ptr %46, align 8
%181 = fcmp ogt double %179, %180
br i1 %181, label %182, label %250
182: ; preds = %178, %172
%183 = load double, ptr %46, align 8
%184 = load double, ptr %45, align 8
%185 = fcmp ogt double %183, %184
br i1 %185, label %186, label %188
186: ; preds = %182
%187 = load i32, ptr %44, align 4
br label %190
188: ; preds = %182
%189 = load i32, ptr %43, align 4
br label %190
190: ; preds = %188, %186
%191 = phi i32 [ %187, %186 ], [ %189, %188 ]
store i32 %191, ptr %40, align 4
%192 = load i32, ptr %40, align 4
%193 = and i32 %192, 1
%194 = icmp eq i32 %193, 0
br i1 %194, label %195, label %202
195: ; preds = %190
%196 = load i32, ptr %13, align 4
%197 = sub nsw i32 %196, 1
store i32 %197, ptr %33, align 4
%198 = load i32, ptr %13, align 4
store i32 %198, ptr %36, align 4
%199 = load double, ptr %24, align 8
%200 = fadd double %199, 1.000000e+00
store double %200, ptr %27, align 8
%201 = load double, ptr %24, align 8
store double %201, ptr %30, align 8
br label %207
202: ; preds = %190
%203 = load i32, ptr %13, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %36, align 4
store i32 %204, ptr %33, align 4
%205 = load double, ptr %24, align 8
%206 = fsub double %205, 1.000000e+00
store double %206, ptr %30, align 8
store double %206, ptr %27, align 8
br label %207
207: ; preds = %202, %195
%208 = load i32, ptr %40, align 4
%209 = and i32 %208, 2
%210 = icmp eq i32 %209, 0
br i1 %210, label %211, label %228
211: ; preds = %207
%212 = load i32, ptr %14, align 4
store i32 %212, ptr %37, align 4
store i32 %212, ptr %34, align 4
%213 = load double, ptr %25, align 8
store double %213, ptr %31, align 8
store double %213, ptr %28, align 8
%214 = load i32, ptr %40, align 4
%215 = and i32 %214, 1
%216 = icmp eq i32 %215, 0
br i1 %216, label %217, label %222
217: ; preds = %211
%218 = load i32, ptr %37, align 4
%219 = sub nsw i32 %218, 1
store i32 %219, ptr %37, align 4
%220 = load double, ptr %31, align 8
%221 = fadd double %220, 1.000000e+00
store double %221, ptr %31, align 8
br label %227
222: ; preds = %211
%223 = load i32, ptr %34, align 4
%224 = sub nsw i32 %223, 1
store i32 %224, ptr %34, align 4
%225 = load double, ptr %28, align 8
%226 = fadd double %225, 1.000000e+00
store double %226, ptr %28, align 8
br label %227
227: ; preds = %222, %217
br label %233
228: ; preds = %207
%229 = load i32, ptr %14, align 4
%230 = add nsw i32 %229, 1
store i32 %230, ptr %37, align 4
store i32 %230, ptr %34, align 4
%231 = load double, ptr %25, align 8
%232 = fsub double %231, 1.000000e+00
store double %232, ptr %31, align 8
store double %232, ptr %28, align 8
br label %233
233: ; preds = %228, %227
%234 = load i32, ptr %40, align 4
%235 = and i32 %234, 4
%236 = icmp eq i32 %235, 0
br i1 %236, label %237, label %244
237: ; preds = %233
%238 = load i32, ptr %15, align 4
store i32 %238, ptr %35, align 4
%239 = load i32, ptr %15, align 4
%240 = sub nsw i32 %239, 1
store i32 %240, ptr %38, align 4
%241 = load double, ptr %26, align 8
store double %241, ptr %29, align 8
%242 = load double, ptr %26, align 8
%243 = fadd double %242, 1.000000e+00
store double %243, ptr %32, align 8
br label %249
244: ; preds = %233
%245 = load i32, ptr %15, align 4
%246 = add nsw i32 %245, 1
store i32 %246, ptr %38, align 4
store i32 %246, ptr %35, align 4
%247 = load double, ptr %26, align 8
%248 = fsub double %247, 1.000000e+00
store double %248, ptr %32, align 8
store double %248, ptr %29, align 8
br label %249
249: ; preds = %244, %237
br label %320
250: ; preds = %178
%251 = load i32, ptr %43, align 4
%252 = load i32, ptr %44, align 4
%253 = or i32 %251, %252
store i32 %253, ptr %40, align 4
%254 = load i32, ptr %40, align 4
%255 = and i32 %254, 1
%256 = icmp eq i32 %255, 0
br i1 %256, label %257, label %266
257: ; preds = %250
%258 = load i32, ptr %13, align 4
store i32 %258, ptr %33, align 4
%259 = load i32, ptr %13, align 4
%260 = sub nsw i32 %259, 1
store i32 %260, ptr %36, align 4
%261 = load double, ptr %24, align 8
%262 = fsub double %261, 0x3FE5555555555555
store double %262, ptr %27, align 8
%263 = load double, ptr %24, align 8
%264 = fadd double %263, 1.000000e+00
%265 = fsub double %264, 0x3FD5555555555555
store double %265, ptr %30, align 8
br label %275
266: ; preds = %250
%267 = load i32, ptr %13, align 4
%268 = add nsw i32 %267, 1
store i32 %268, ptr %36, align 4
store i32 %268, ptr %33, align 4
%269 = load double, ptr %24, align 8
%270 = fsub double %269, 1.000000e+00
%271 = fsub double %270, 0x3FE5555555555555
store double %271, ptr %27, align 8
%272 = load double, ptr %24, align 8
%273 = fsub double %272, 1.000000e+00
%274 = fsub double %273, 0x3FD5555555555555
store double %274, ptr %30, align 8
br label %275
275: ; preds = %266, %257
%276 = load i32, ptr %40, align 4
%277 = and i32 %276, 2
%278 = icmp eq i32 %277, 0
br i1 %278, label %279, label %288
279: ; preds = %275
%280 = load i32, ptr %14, align 4
store i32 %280, ptr %34, align 4
%281 = load i32, ptr %14, align 4
%282 = sub nsw i32 %281, 1
store i32 %282, ptr %37, align 4
%283 = load double, ptr %25, align 8
%284 = fsub double %283, 0x3FE5555555555555
store double %284, ptr %28, align 8
%285 = load double, ptr %25, align 8
%286 = fadd double %285, 1.000000e+00
%287 = fsub double %286, 0x3FD5555555555555
store double %287, ptr %31, align 8
br label %297
288: ; preds = %275
%289 = load i32, ptr %14, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %37, align 4
store i32 %290, ptr %34, align 4
%291 = load double, ptr %25, align 8
%292 = fsub double %291, 1.000000e+00
%293 = fsub double %292, 0x3FE5555555555555
store double %293, ptr %28, align 8
%294 = load double, ptr %25, align 8
%295 = fsub double %294, 1.000000e+00
%296 = fsub double %295, 0x3FD5555555555555
store double %296, ptr %31, align 8
br label %297
297: ; preds = %288, %279
%298 = load i32, ptr %40, align 4
%299 = and i32 %298, 4
%300 = icmp eq i32 %299, 0
br i1 %300, label %301, label %310
301: ; preds = %297
%302 = load i32, ptr %15, align 4
store i32 %302, ptr %35, align 4
%303 = load i32, ptr %15, align 4
%304 = sub nsw i32 %303, 1
store i32 %304, ptr %38, align 4
%305 = load double, ptr %26, align 8
%306 = fsub double %305, 0x3FE5555555555555
store double %306, ptr %29, align 8
%307 = load double, ptr %26, align 8
%308 = fadd double %307, 1.000000e+00
%309 = fsub double %308, 0x3FD5555555555555
store double %309, ptr %32, align 8
br label %319
310: ; preds = %297
%311 = load i32, ptr %15, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %38, align 4
store i32 %312, ptr %35, align 4
%313 = load double, ptr %26, align 8
%314 = fsub double %313, 1.000000e+00
%315 = fsub double %314, 0x3FE5555555555555
store double %315, ptr %29, align 8
%316 = load double, ptr %26, align 8
%317 = fsub double %316, 1.000000e+00
%318 = fsub double %317, 0x3FD5555555555555
store double %318, ptr %32, align 8
br label %319
319: ; preds = %310, %301
br label %320
320: ; preds = %319, %249
%321 = load double, ptr %24, align 8
%322 = load double, ptr %24, align 8
%323 = fneg double %321
%324 = call double @llvm.fmuladd.f64(double %323, double %322, double 2.000000e+00)
%325 = load double, ptr %25, align 8
%326 = load double, ptr %25, align 8
%327 = fneg double %325
%328 = call double @llvm.fmuladd.f64(double %327, double %326, double %324)
%329 = load double, ptr %26, align 8
%330 = load double, ptr %26, align 8
%331 = fneg double %329
%332 = call double @llvm.fmuladd.f64(double %331, double %330, double %328)
store double %332, ptr %53, align 8
%333 = load double, ptr %53, align 8
%334 = fcmp ogt double %333, 0.000000e+00
br i1 %334, label %335, label %355
335: ; preds = %320
%336 = load double, ptr %53, align 8
%337 = load double, ptr %53, align 8
%338 = fmul double %337, %336
store double %338, ptr %53, align 8
%339 = load double, ptr %53, align 8
%340 = load double, ptr %53, align 8
%341 = fmul double %339, %340
%342 = load ptr, ptr %5, align 8
%343 = load i32, ptr %13, align 4
%344 = add nsw i32 %343, 0
%345 = load i32, ptr %14, align 4
%346 = add nsw i32 %345, 0
%347 = load i32, ptr %15, align 4
%348 = add nsw i32 %347, 0
%349 = load double, ptr %24, align 8
%350 = load double, ptr %25, align 8
%351 = load double, ptr %26, align 8
%352 = call double @extrapolate3(ptr noundef %342, i32 noundef %344, i32 noundef %346, i32 noundef %348, double noundef %349, double noundef %350, double noundef %351)
%353 = load double, ptr %80, align 8
%354 = call double @llvm.fmuladd.f64(double %341, double %352, double %353)
store double %354, ptr %80, align 8
br label %355
355: ; preds = %335, %320
%356 = load double, ptr %24, align 8
%357 = fsub double %356, 1.000000e+00
%358 = fsub double %357, 0x3FD5555555555555
store double %358, ptr %60, align 8
%359 = load double, ptr %25, align 8
%360 = fsub double %359, 0.000000e+00
%361 = fsub double %360, 0x3FD5555555555555
store double %361, ptr %61, align 8
%362 = load double, ptr %26, align 8
%363 = fsub double %362, 0.000000e+00
%364 = fsub double %363, 0x3FD5555555555555
store double %364, ptr %62, align 8
%365 = load double, ptr %60, align 8
%366 = load double, ptr %60, align 8
%367 = fneg double %365
%368 = call double @llvm.fmuladd.f64(double %367, double %366, double 2.000000e+00)
%369 = load double, ptr %61, align 8
%370 = load double, ptr %61, align 8
%371 = fneg double %369
%372 = call double @llvm.fmuladd.f64(double %371, double %370, double %368)
%373 = load double, ptr %62, align 8
%374 = load double, ptr %62, align 8
%375 = fneg double %373
%376 = call double @llvm.fmuladd.f64(double %375, double %374, double %372)
store double %376, ptr %54, align 8
%377 = load double, ptr %54, align 8
%378 = fcmp ogt double %377, 0.000000e+00
br i1 %378, label %379, label %399
379: ; preds = %355
%380 = load double, ptr %54, align 8
%381 = load double, ptr %54, align 8
%382 = fmul double %381, %380
store double %382, ptr %54, align 8
%383 = load double, ptr %54, align 8
%384 = load double, ptr %54, align 8
%385 = fmul double %383, %384
%386 = load ptr, ptr %5, align 8
%387 = load i32, ptr %13, align 4
%388 = add nsw i32 %387, 1
%389 = load i32, ptr %14, align 4
%390 = add nsw i32 %389, 0
%391 = load i32, ptr %15, align 4
%392 = add nsw i32 %391, 0
%393 = load double, ptr %60, align 8
%394 = load double, ptr %61, align 8
%395 = load double, ptr %62, align 8
%396 = call double @extrapolate3(ptr noundef %386, i32 noundef %388, i32 noundef %390, i32 noundef %392, double noundef %393, double noundef %394, double noundef %395)
%397 = load double, ptr %80, align 8
%398 = call double @llvm.fmuladd.f64(double %385, double %396, double %397)
store double %398, ptr %80, align 8
br label %399
399: ; preds = %379, %355
%400 = load double, ptr %24, align 8
%401 = fsub double %400, 0.000000e+00
%402 = fsub double %401, 0x3FD5555555555555
store double %402, ptr %63, align 8
%403 = load double, ptr %25, align 8
%404 = fsub double %403, 1.000000e+00
%405 = fsub double %404, 0x3FD5555555555555
store double %405, ptr %64, align 8
%406 = load double, ptr %62, align 8
store double %406, ptr %65, align 8
%407 = load double, ptr %63, align 8
%408 = load double, ptr %63, align 8
%409 = fneg double %407
%410 = call double @llvm.fmuladd.f64(double %409, double %408, double 2.000000e+00)
%411 = load double, ptr %64, align 8
%412 = load double, ptr %64, align 8
%413 = fneg double %411
%414 = call double @llvm.fmuladd.f64(double %413, double %412, double %410)
%415 = load double, ptr %65, align 8
%416 = load double, ptr %65, align 8
%417 = fneg double %415
%418 = call double @llvm.fmuladd.f64(double %417, double %416, double %414)
store double %418, ptr %55, align 8
%419 = load double, ptr %55, align 8
%420 = fcmp ogt double %419, 0.000000e+00
br i1 %420, label %421, label %441
421: ; preds = %399
%422 = load double, ptr %55, align 8
%423 = load double, ptr %55, align 8
%424 = fmul double %423, %422
store double %424, ptr %55, align 8
%425 = load double, ptr %55, align 8
%426 = load double, ptr %55, align 8
%427 = fmul double %425, %426
%428 = load ptr, ptr %5, align 8
%429 = load i32, ptr %13, align 4
%430 = add nsw i32 %429, 0
%431 = load i32, ptr %14, align 4
%432 = add nsw i32 %431, 1
%433 = load i32, ptr %15, align 4
%434 = add nsw i32 %433, 0
%435 = load double, ptr %63, align 8
%436 = load double, ptr %64, align 8
%437 = load double, ptr %65, align 8
%438 = call double @extrapolate3(ptr noundef %428, i32 noundef %430, i32 noundef %432, i32 noundef %434, double noundef %435, double noundef %436, double noundef %437)
%439 = load double, ptr %80, align 8
%440 = call double @llvm.fmuladd.f64(double %427, double %438, double %439)
store double %440, ptr %80, align 8
br label %441
441: ; preds = %421, %399
%442 = load double, ptr %63, align 8
store double %442, ptr %66, align 8
%443 = load double, ptr %61, align 8
store double %443, ptr %67, align 8
%444 = load double, ptr %26, align 8
%445 = fsub double %444, 1.000000e+00
%446 = fsub double %445, 0x3FD5555555555555
store double %446, ptr %68, align 8
%447 = load double, ptr %66, align 8
%448 = load double, ptr %66, align 8
%449 = fneg double %447
%450 = call double @llvm.fmuladd.f64(double %449, double %448, double 2.000000e+00)
%451 = load double, ptr %67, align 8
%452 = load double, ptr %67, align 8
%453 = fneg double %451
%454 = call double @llvm.fmuladd.f64(double %453, double %452, double %450)
%455 = load double, ptr %68, align 8
%456 = load double, ptr %68, align 8
%457 = fneg double %455
%458 = call double @llvm.fmuladd.f64(double %457, double %456, double %454)
store double %458, ptr %56, align 8
%459 = load double, ptr %56, align 8
%460 = fcmp ogt double %459, 0.000000e+00
br i1 %460, label %461, label %481
461: ; preds = %441
%462 = load double, ptr %56, align 8
%463 = load double, ptr %56, align 8
%464 = fmul double %463, %462
store double %464, ptr %56, align 8
%465 = load double, ptr %56, align 8
%466 = load double, ptr %56, align 8
%467 = fmul double %465, %466
%468 = load ptr, ptr %5, align 8
%469 = load i32, ptr %13, align 4
%470 = add nsw i32 %469, 0
%471 = load i32, ptr %14, align 4
%472 = add nsw i32 %471, 0
%473 = load i32, ptr %15, align 4
%474 = add nsw i32 %473, 1
%475 = load double, ptr %66, align 8
%476 = load double, ptr %67, align 8
%477 = load double, ptr %68, align 8
%478 = call double @extrapolate3(ptr noundef %468, i32 noundef %470, i32 noundef %472, i32 noundef %474, double noundef %475, double noundef %476, double noundef %477)
%479 = load double, ptr %80, align 8
%480 = call double @llvm.fmuladd.f64(double %467, double %478, double %479)
store double %480, ptr %80, align 8
br label %481
481: ; preds = %461, %441
br label %1403
482: ; preds = %4
%483 = load double, ptr %23, align 8
%484 = fcmp oge double %483, 2.000000e+00
br i1 %484, label %485, label %832
485: ; preds = %482
store i32 6, ptr %43, align 4
%486 = load double, ptr %20, align 8
store double %486, ptr %45, align 8
store i32 5, ptr %44, align 4
%487 = load double, ptr %21, align 8
store double %487, ptr %46, align 8
%488 = load double, ptr %45, align 8
%489 = load double, ptr %46, align 8
%490 = fcmp ole double %488, %489
br i1 %490, label %491, label %497
491: ; preds = %485
%492 = load double, ptr %22, align 8
%493 = load double, ptr %46, align 8
%494 = fcmp olt double %492, %493
br i1 %494, label %495, label %497
495: ; preds = %491
%496 = load double, ptr %22, align 8
store double %496, ptr %46, align 8
store i32 3, ptr %44, align 4
br label %508
497: ; preds = %491, %485
%498 = load double, ptr %45, align 8
%499 = load double, ptr %46, align 8
%500 = fcmp ogt double %498, %499
br i1 %500, label %501, label %507
501: ; preds = %497
%502 = load double, ptr %22, align 8
%503 = load double, ptr %45, align 8
%504 = fcmp olt double %502, %503
br i1 %504, label %505, label %507
505: ; preds = %501
%506 = load double, ptr %22, align 8
store double %506, ptr %45, align 8
store i32 3, ptr %43, align 4
br label %507
507: ; preds = %505, %501, %497
br label %508
508: ; preds = %507, %495
%509 = load double, ptr %23, align 8
%510 = fsub double 3.000000e+00, %509
store double %510, ptr %39, align 8
%511 = load double, ptr %39, align 8
%512 = load double, ptr %45, align 8
%513 = fcmp olt double %511, %512
br i1 %513, label %518, label %514
514: ; preds = %508
%515 = load double, ptr %39, align 8
%516 = load double, ptr %46, align 8
%517 = fcmp olt double %515, %516
br i1 %517, label %518, label %594
518: ; preds = %514, %508
%519 = load double, ptr %46, align 8
%520 = load double, ptr %45, align 8
%521 = fcmp olt double %519, %520
br i1 %521, label %522, label %524
522: ; preds = %518
%523 = load i32, ptr %44, align 4
br label %526
524: ; preds = %518
%525 = load i32, ptr %43, align 4
br label %526
526: ; preds = %524, %522
%527 = phi i32 [ %523, %522 ], [ %525, %524 ]
store i32 %527, ptr %40, align 4
%528 = load i32, ptr %40, align 4
%529 = and i32 %528, 1
%530 = icmp ne i32 %529, 0
br i1 %530, label %531, label %542
531: ; preds = %526
%532 = load i32, ptr %13, align 4
%533 = add nsw i32 %532, 2
store i32 %533, ptr %33, align 4
%534 = load i32, ptr %13, align 4
%535 = add nsw i32 %534, 1
store i32 %535, ptr %36, align 4
%536 = load double, ptr %24, align 8
%537 = fsub double %536, 2.000000e+00
%538 = fsub double %537, 1.000000e+00
store double %538, ptr %27, align 8
%539 = load double, ptr %24, align 8
%540 = fsub double %539, 1.000000e+00
%541 = fsub double %540, 1.000000e+00
store double %541, ptr %30, align 8
br label %546
542: ; preds = %526
%543 = load i32, ptr %13, align 4
store i32 %543, ptr %36, align 4
store i32 %543, ptr %33, align 4
%544 = load double, ptr %24, align 8
%545 = fsub double %544, 1.000000e+00
store double %545, ptr %30, align 8
store double %545, ptr %27, align 8
br label %546
546: ; preds = %542, %531
%547 = load i32, ptr %40, align 4
%548 = and i32 %547, 2
%549 = icmp ne i32 %548, 0
br i1 %549, label %550, label %570
550: ; preds = %546
%551 = load i32, ptr %14, align 4
%552 = add nsw i32 %551, 1
store i32 %552, ptr %37, align 4
store i32 %552, ptr %34, align 4
%553 = load double, ptr %25, align 8
%554 = fsub double %553, 1.000000e+00
%555 = fsub double %554, 1.000000e+00
store double %555, ptr %31, align 8
store double %555, ptr %28, align 8
%556 = load i32, ptr %40, align 4
%557 = and i32 %556, 1
%558 = icmp ne i32 %557, 0
br i1 %558, label %559, label %564
559: ; preds = %550
%560 = load i32, ptr %37, align 4
%561 = add nsw i32 %560, 1
store i32 %561, ptr %37, align 4
%562 = load double, ptr %31, align 8
%563 = fsub double %562, 1.000000e+00
store double %563, ptr %31, align 8
br label %569
564: ; preds = %550
%565 = load i32, ptr %34, align 4
%566 = add nsw i32 %565, 1
store i32 %566, ptr %34, align 4
%567 = load double, ptr %28, align 8
%568 = fsub double %567, 1.000000e+00
store double %568, ptr %28, align 8
br label %569
569: ; preds = %564, %559
br label %574
570: ; preds = %546
%571 = load i32, ptr %14, align 4
store i32 %571, ptr %37, align 4
store i32 %571, ptr %34, align 4
%572 = load double, ptr %25, align 8
%573 = fsub double %572, 1.000000e+00
store double %573, ptr %31, align 8
store double %573, ptr %28, align 8
br label %574
574: ; preds = %570, %569
%575 = load i32, ptr %40, align 4
%576 = and i32 %575, 4
%577 = icmp ne i32 %576, 0
br i1 %577, label %578, label %589
578: ; preds = %574
%579 = load i32, ptr %15, align 4
%580 = add nsw i32 %579, 1
store i32 %580, ptr %35, align 4
%581 = load i32, ptr %15, align 4
%582 = add nsw i32 %581, 2
store i32 %582, ptr %38, align 4
%583 = load double, ptr %26, align 8
%584 = fsub double %583, 1.000000e+00
%585 = fsub double %584, 1.000000e+00
store double %585, ptr %29, align 8
%586 = load double, ptr %26, align 8
%587 = fsub double %586, 2.000000e+00
%588 = fsub double %587, 1.000000e+00
store double %588, ptr %32, align 8
br label %593
589: ; preds = %574
%590 = load i32, ptr %15, align 4
store i32 %590, ptr %38, align 4
store i32 %590, ptr %35, align 4
%591 = load double, ptr %26, align 8
%592 = fsub double %591, 1.000000e+00
store double %592, ptr %32, align 8
store double %592, ptr %29, align 8
br label %593
593: ; preds = %589, %578
br label %661
594: ; preds = %514
%595 = load i32, ptr %43, align 4
%596 = load i32, ptr %44, align 4
%597 = and i32 %595, %596
store i32 %597, ptr %40, align 4
%598 = load i32, ptr %40, align 4
%599 = and i32 %598, 1
%600 = icmp ne i32 %599, 0
br i1 %600, label %601, label %612
601: ; preds = %594
%602 = load i32, ptr %13, align 4
%603 = add nsw i32 %602, 1
store i32 %603, ptr %33, align 4
%604 = load i32, ptr %13, align 4
%605 = add nsw i32 %604, 2
store i32 %605, ptr %36, align 4
%606 = load double, ptr %24, align 8
%607 = fsub double %606, 1.000000e+00
%608 = fsub double %607, 0x3FD5555555555555
store double %608, ptr %27, align 8
%609 = load double, ptr %24, align 8
%610 = fsub double %609, 2.000000e+00
%611 = fsub double %610, 0x3FE5555555555555
store double %611, ptr %30, align 8
br label %618
612: ; preds = %594
%613 = load i32, ptr %13, align 4
store i32 %613, ptr %36, align 4
store i32 %613, ptr %33, align 4
%614 = load double, ptr %24, align 8
%615 = fsub double %614, 0x3FD5555555555555
store double %615, ptr %27, align 8
%616 = load double, ptr %24, align 8
%617 = fsub double %616, 0x3FE5555555555555
store double %617, ptr %30, align 8
br label %618
618: ; preds = %612, %601
%619 = load i32, ptr %40, align 4
%620 = and i32 %619, 2
%621 = icmp ne i32 %620, 0
br i1 %621, label %622, label %633
622: ; preds = %618
%623 = load i32, ptr %14, align 4
%624 = add nsw i32 %623, 1
store i32 %624, ptr %34, align 4
%625 = load i32, ptr %14, align 4
%626 = add nsw i32 %625, 2
store i32 %626, ptr %37, align 4
%627 = load double, ptr %25, align 8
%628 = fsub double %627, 1.000000e+00
%629 = fsub double %628, 0x3FD5555555555555
store double %629, ptr %28, align 8
%630 = load double, ptr %25, align 8
%631 = fsub double %630, 2.000000e+00
%632 = fsub double %631, 0x3FE5555555555555
store double %632, ptr %31, align 8
br label %639
633: ; preds = %618
%634 = load i32, ptr %14, align 4
store i32 %634, ptr %37, align 4
store i32 %634, ptr %34, align 4
%635 = load double, ptr %25, align 8
%636 = fsub double %635, 0x3FD5555555555555
store double %636, ptr %28, align 8
%637 = load double, ptr %25, align 8
%638 = fsub double %637, 0x3FE5555555555555
store double %638, ptr %31, align 8
br label %639
639: ; preds = %633, %622
%640 = load i32, ptr %40, align 4
%641 = and i32 %640, 4
%642 = icmp ne i32 %641, 0
br i1 %642, label %643, label %654
643: ; preds = %639
%644 = load i32, ptr %15, align 4
%645 = add nsw i32 %644, 1
store i32 %645, ptr %35, align 4
%646 = load i32, ptr %15, align 4
%647 = add nsw i32 %646, 2
store i32 %647, ptr %38, align 4
%648 = load double, ptr %26, align 8
%649 = fsub double %648, 1.000000e+00
%650 = fsub double %649, 0x3FD5555555555555
store double %650, ptr %29, align 8
%651 = load double, ptr %26, align 8
%652 = fsub double %651, 2.000000e+00
%653 = fsub double %652, 0x3FE5555555555555
store double %653, ptr %32, align 8
br label %660
654: ; preds = %639
%655 = load i32, ptr %15, align 4
store i32 %655, ptr %38, align 4
store i32 %655, ptr %35, align 4
%656 = load double, ptr %26, align 8
%657 = fsub double %656, 0x3FD5555555555555
store double %657, ptr %29, align 8
%658 = load double, ptr %26, align 8
%659 = fsub double %658, 0x3FE5555555555555
store double %659, ptr %32, align 8
br label %660
660: ; preds = %654, %643
br label %661
661: ; preds = %660, %593
%662 = load double, ptr %24, align 8
%663 = fsub double %662, 1.000000e+00
%664 = fsub double %663, 0x3FE5555555555555
store double %664, ptr %66, align 8
%665 = load double, ptr %25, align 8
%666 = fsub double %665, 1.000000e+00
%667 = fsub double %666, 0x3FE5555555555555
store double %667, ptr %67, align 8
%668 = load double, ptr %26, align 8
%669 = fsub double %668, 0.000000e+00
%670 = fsub double %669, 0x3FE5555555555555
store double %670, ptr %68, align 8
%671 = load double, ptr %66, align 8
%672 = load double, ptr %66, align 8
%673 = fneg double %671
%674 = call double @llvm.fmuladd.f64(double %673, double %672, double 2.000000e+00)
%675 = load double, ptr %67, align 8
%676 = load double, ptr %67, align 8
%677 = fneg double %675
%678 = call double @llvm.fmuladd.f64(double %677, double %676, double %674)
%679 = load double, ptr %68, align 8
%680 = load double, ptr %68, align 8
%681 = fneg double %679
%682 = call double @llvm.fmuladd.f64(double %681, double %680, double %678)
store double %682, ptr %56, align 8
%683 = load double, ptr %56, align 8
%684 = fcmp ogt double %683, 0.000000e+00
br i1 %684, label %685, label %705
685: ; preds = %661
%686 = load double, ptr %56, align 8
%687 = load double, ptr %56, align 8
%688 = fmul double %687, %686
store double %688, ptr %56, align 8
%689 = load double, ptr %56, align 8
%690 = load double, ptr %56, align 8
%691 = fmul double %689, %690
%692 = load ptr, ptr %5, align 8
%693 = load i32, ptr %13, align 4
%694 = add nsw i32 %693, 1
%695 = load i32, ptr %14, align 4
%696 = add nsw i32 %695, 1
%697 = load i32, ptr %15, align 4
%698 = add nsw i32 %697, 0
%699 = load double, ptr %66, align 8
%700 = load double, ptr %67, align 8
%701 = load double, ptr %68, align 8
%702 = call double @extrapolate3(ptr noundef %692, i32 noundef %694, i32 noundef %696, i32 noundef %698, double noundef %699, double noundef %700, double noundef %701)
%703 = load double, ptr %80, align 8
%704 = call double @llvm.fmuladd.f64(double %691, double %702, double %703)
store double %704, ptr %80, align 8
br label %705
705: ; preds = %685, %661
%706 = load double, ptr %66, align 8
store double %706, ptr %63, align 8
%707 = load double, ptr %25, align 8
%708 = fsub double %707, 0.000000e+00
%709 = fsub double %708, 0x3FE5555555555555
store double %709, ptr %64, align 8
%710 = load double, ptr %26, align 8
%711 = fsub double %710, 1.000000e+00
%712 = fsub double %711, 0x3FE5555555555555
store double %712, ptr %65, align 8
%713 = load double, ptr %63, align 8
%714 = load double, ptr %63, align 8
%715 = fneg double %713
%716 = call double @llvm.fmuladd.f64(double %715, double %714, double 2.000000e+00)
%717 = load double, ptr %64, align 8
%718 = load double, ptr %64, align 8
%719 = fneg double %717
%720 = call double @llvm.fmuladd.f64(double %719, double %718, double %716)
%721 = load double, ptr %65, align 8
%722 = load double, ptr %65, align 8
%723 = fneg double %721
%724 = call double @llvm.fmuladd.f64(double %723, double %722, double %720)
store double %724, ptr %55, align 8
%725 = load double, ptr %55, align 8
%726 = fcmp ogt double %725, 0.000000e+00
br i1 %726, label %727, label %747
727: ; preds = %705
%728 = load double, ptr %55, align 8
%729 = load double, ptr %55, align 8
%730 = fmul double %729, %728
store double %730, ptr %55, align 8
%731 = load double, ptr %55, align 8
%732 = load double, ptr %55, align 8
%733 = fmul double %731, %732
%734 = load ptr, ptr %5, align 8
%735 = load i32, ptr %13, align 4
%736 = add nsw i32 %735, 1
%737 = load i32, ptr %14, align 4
%738 = add nsw i32 %737, 0
%739 = load i32, ptr %15, align 4
%740 = add nsw i32 %739, 1
%741 = load double, ptr %63, align 8
%742 = load double, ptr %64, align 8
%743 = load double, ptr %65, align 8
%744 = call double @extrapolate3(ptr noundef %734, i32 noundef %736, i32 noundef %738, i32 noundef %740, double noundef %741, double noundef %742, double noundef %743)
%745 = load double, ptr %80, align 8
%746 = call double @llvm.fmuladd.f64(double %733, double %744, double %745)
store double %746, ptr %80, align 8
br label %747
747: ; preds = %727, %705
%748 = load double, ptr %24, align 8
%749 = fsub double %748, 0.000000e+00
%750 = fsub double %749, 0x3FE5555555555555
store double %750, ptr %60, align 8
%751 = load double, ptr %67, align 8
store double %751, ptr %61, align 8
%752 = load double, ptr %65, align 8
store double %752, ptr %62, align 8
%753 = load double, ptr %60, align 8
%754 = load double, ptr %60, align 8
%755 = fneg double %753
%756 = call double @llvm.fmuladd.f64(double %755, double %754, double 2.000000e+00)
%757 = load double, ptr %61, align 8
%758 = load double, ptr %61, align 8
%759 = fneg double %757
%760 = call double @llvm.fmuladd.f64(double %759, double %758, double %756)
%761 = load double, ptr %62, align 8
%762 = load double, ptr %62, align 8
%763 = fneg double %761
%764 = call double @llvm.fmuladd.f64(double %763, double %762, double %760)
store double %764, ptr %54, align 8
%765 = load double, ptr %54, align 8
%766 = fcmp ogt double %765, 0.000000e+00
br i1 %766, label %767, label %787
767: ; preds = %747
%768 = load double, ptr %54, align 8
%769 = load double, ptr %54, align 8
%770 = fmul double %769, %768
store double %770, ptr %54, align 8
%771 = load double, ptr %54, align 8
%772 = load double, ptr %54, align 8
%773 = fmul double %771, %772
%774 = load ptr, ptr %5, align 8
%775 = load i32, ptr %13, align 4
%776 = add nsw i32 %775, 0
%777 = load i32, ptr %14, align 4
%778 = add nsw i32 %777, 1
%779 = load i32, ptr %15, align 4
%780 = add nsw i32 %779, 1
%781 = load double, ptr %60, align 8
%782 = load double, ptr %61, align 8
%783 = load double, ptr %62, align 8
%784 = call double @extrapolate3(ptr noundef %774, i32 noundef %776, i32 noundef %778, i32 noundef %780, double noundef %781, double noundef %782, double noundef %783)
%785 = load double, ptr %80, align 8
%786 = call double @llvm.fmuladd.f64(double %773, double %784, double %785)
store double %786, ptr %80, align 8
br label %787
787: ; preds = %767, %747
%788 = load double, ptr %24, align 8
%789 = fsub double %788, 1.000000e+00
%790 = fsub double %789, 1.000000e+00
store double %790, ptr %24, align 8
%791 = load double, ptr %25, align 8
%792 = fsub double %791, 1.000000e+00
%793 = fsub double %792, 1.000000e+00
store double %793, ptr %25, align 8
%794 = load double, ptr %26, align 8
%795 = fsub double %794, 1.000000e+00
%796 = fsub double %795, 1.000000e+00
store double %796, ptr %26, align 8
%797 = load double, ptr %24, align 8
%798 = load double, ptr %24, align 8
%799 = fneg double %797
%800 = call double @llvm.fmuladd.f64(double %799, double %798, double 2.000000e+00)
%801 = load double, ptr %25, align 8
%802 = load double, ptr %25, align 8
%803 = fneg double %801
%804 = call double @llvm.fmuladd.f64(double %803, double %802, double %800)
%805 = load double, ptr %26, align 8
%806 = load double, ptr %26, align 8
%807 = fneg double %805
%808 = call double @llvm.fmuladd.f64(double %807, double %806, double %804)
store double %808, ptr %53, align 8
%809 = load double, ptr %53, align 8
%810 = fcmp ogt double %809, 0.000000e+00
br i1 %810, label %811, label %831
811: ; preds = %787
%812 = load double, ptr %53, align 8
%813 = load double, ptr %53, align 8
%814 = fmul double %813, %812
store double %814, ptr %53, align 8
%815 = load double, ptr %53, align 8
%816 = load double, ptr %53, align 8
%817 = fmul double %815, %816
%818 = load ptr, ptr %5, align 8
%819 = load i32, ptr %13, align 4
%820 = add nsw i32 %819, 1
%821 = load i32, ptr %14, align 4
%822 = add nsw i32 %821, 1
%823 = load i32, ptr %15, align 4
%824 = add nsw i32 %823, 1
%825 = load double, ptr %24, align 8
%826 = load double, ptr %25, align 8
%827 = load double, ptr %26, align 8
%828 = call double @extrapolate3(ptr noundef %818, i32 noundef %820, i32 noundef %822, i32 noundef %824, double noundef %825, double noundef %826, double noundef %827)
%829 = load double, ptr %80, align 8
%830 = call double @llvm.fmuladd.f64(double %817, double %828, double %829)
store double %830, ptr %80, align 8
br label %831
831: ; preds = %811, %787
br label %1402
832: ; preds = %482
%833 = load double, ptr %20, align 8
%834 = load double, ptr %21, align 8
%835 = fadd double %833, %834
store double %835, ptr %49, align 8
%836 = load double, ptr %49, align 8
%837 = fcmp ogt double %836, 1.000000e+00
br i1 %837, label %838, label %841
838: ; preds = %832
%839 = load double, ptr %49, align 8
%840 = fsub double %839, 1.000000e+00
store double %840, ptr %45, align 8
store i32 3, ptr %43, align 4
store i32 1, ptr %47, align 4
br label %844
841: ; preds = %832
%842 = load double, ptr %49, align 8
%843 = fsub double 1.000000e+00, %842
store double %843, ptr %45, align 8
store i32 4, ptr %43, align 4
store i32 0, ptr %47, align 4
br label %844
844: ; preds = %841, %838
%845 = load double, ptr %20, align 8
%846 = load double, ptr %22, align 8
%847 = fadd double %845, %846
store double %847, ptr %50, align 8
%848 = load double, ptr %50, align 8
%849 = fcmp ogt double %848, 1.000000e+00
br i1 %849, label %850, label %853
850: ; preds = %844
%851 = load double, ptr %50, align 8
%852 = fsub double %851, 1.000000e+00
store double %852, ptr %46, align 8
store i32 5, ptr %44, align 4
store i32 1, ptr %48, align 4
br label %856
853: ; preds = %844
%854 = load double, ptr %50, align 8
%855 = fsub double 1.000000e+00, %854
store double %855, ptr %46, align 8
store i32 2, ptr %44, align 4
store i32 0, ptr %48, align 4
br label %856
856: ; preds = %853, %850
%857 = load double, ptr %21, align 8
%858 = load double, ptr %22, align 8
%859 = fadd double %857, %858
store double %859, ptr %51, align 8
%860 = load double, ptr %51, align 8
%861 = fcmp ogt double %860, 1.000000e+00
br i1 %861, label %862, label %886
862: ; preds = %856
%863 = load double, ptr %51, align 8
%864 = fsub double %863, 1.000000e+00
store double %864, ptr %52, align 8
%865 = load double, ptr %45, align 8
%866 = load double, ptr %46, align 8
%867 = fcmp ole double %865, %866
br i1 %867, label %868, label %874
868: ; preds = %862
%869 = load double, ptr %45, align 8
%870 = load double, ptr %52, align 8
%871 = fcmp olt double %869, %870
br i1 %871, label %872, label %874
872: ; preds = %868
%873 = load double, ptr %52, align 8
store double %873, ptr %45, align 8
store i32 6, ptr %43, align 4
store i32 1, ptr %47, align 4
br label %885
874: ; preds = %868, %862
%875 = load double, ptr %45, align 8
%876 = load double, ptr %46, align 8
%877 = fcmp ogt double %875, %876
br i1 %877, label %878, label %884
878: ; preds = %874
%879 = load double, ptr %46, align 8
%880 = load double, ptr %52, align 8
%881 = fcmp olt double %879, %880
br i1 %881, label %882, label %884
882: ; preds = %878
%883 = load double, ptr %52, align 8
store double %883, ptr %46, align 8
store i32 6, ptr %44, align 4
store i32 1, ptr %48, align 4
br label %884
884: ; preds = %882, %878, %874
br label %885
885: ; preds = %884, %872
br label %910
886: ; preds = %856
%887 = load double, ptr %51, align 8
%888 = fsub double 1.000000e+00, %887
store double %888, ptr %52, align 8
%889 = load double, ptr %45, align 8
%890 = load double, ptr %46, align 8
%891 = fcmp ole double %889, %890
br i1 %891, label %892, label %898
892: ; preds = %886
%893 = load double, ptr %45, align 8
%894 = load double, ptr %52, align 8
%895 = fcmp olt double %893, %894
br i1 %895, label %896, label %898
896: ; preds = %892
%897 = load double, ptr %52, align 8
store double %897, ptr %45, align 8
store i32 1, ptr %43, align 4
store i32 0, ptr %47, align 4
br label %909
898: ; preds = %892, %886
%899 = load double, ptr %45, align 8
%900 = load double, ptr %46, align 8
%901 = fcmp ogt double %899, %900
br i1 %901, label %902, label %908
902: ; preds = %898
%903 = load double, ptr %46, align 8
%904 = load double, ptr %52, align 8
%905 = fcmp olt double %903, %904
br i1 %905, label %906, label %908
906: ; preds = %902
%907 = load double, ptr %52, align 8
store double %907, ptr %46, align 8
store i32 1, ptr %44, align 4
store i32 0, ptr %48, align 4
br label %908
908: ; preds = %906, %902, %898
br label %909
909: ; preds = %908, %896
br label %910
910: ; preds = %909, %885
%911 = load i32, ptr %47, align 4
%912 = load i32, ptr %48, align 4
%913 = icmp eq i32 %911, %912
br i1 %913, label %914, label %1049
914: ; preds = %910
%915 = load i32, ptr %47, align 4
%916 = icmp ne i32 %915, 0
br i1 %916, label %917, label %981
917: ; preds = %914
%918 = load double, ptr %24, align 8
%919 = fsub double %918, 1.000000e+00
%920 = fsub double %919, 1.000000e+00
store double %920, ptr %27, align 8
%921 = load double, ptr %25, align 8
%922 = fsub double %921, 1.000000e+00
%923 = fsub double %922, 1.000000e+00
store double %923, ptr %28, align 8
%924 = load double, ptr %26, align 8
%925 = fsub double %924, 1.000000e+00
%926 = fsub double %925, 1.000000e+00
store double %926, ptr %29, align 8
%927 = load i32, ptr %13, align 4
%928 = add nsw i32 %927, 1
store i32 %928, ptr %33, align 4
%929 = load i32, ptr %14, align 4
%930 = add nsw i32 %929, 1
store i32 %930, ptr %34, align 4
%931 = load i32, ptr %15, align 4
%932 = add nsw i32 %931, 1
store i32 %932, ptr %35, align 4
%933 = load i32, ptr %43, align 4
%934 = load i32, ptr %44, align 4
%935 = and i32 %933, %934
store i32 %935, ptr %40, align 4
%936 = load i32, ptr %40, align 4
%937 = and i32 %936, 1
%938 = icmp ne i32 %937, 0
br i1 %938, label %939, label %951
939: ; preds = %917
%940 = load double, ptr %24, align 8
%941 = fsub double %940, 2.000000e+00
%942 = fsub double %941, 0x3FE5555555555555
store double %942, ptr %30, align 8
%943 = load double, ptr %25, align 8
%944 = fsub double %943, 0x3FE5555555555555
store double %944, ptr %31, align 8
%945 = load double, ptr %26, align 8
%946 = fsub double %945, 0x3FE5555555555555
store double %946, ptr %32, align 8
%947 = load i32, ptr %13, align 4
%948 = add nsw i32 %947, 2
store i32 %948, ptr %36, align 4
%949 = load i32, ptr %14, align 4
store i32 %949, ptr %37, align 4
%950 = load i32, ptr %15, align 4
store i32 %950, ptr %38, align 4
br label %980
951: ; preds = %917
%952 = load i32, ptr %40, align 4
%953 = and i32 %952, 2
%954 = icmp ne i32 %953, 0
br i1 %954, label %955, label %967
955: ; preds = %951
%956 = load double, ptr %24, align 8
%957 = fsub double %956, 0x3FE5555555555555
store double %957, ptr %30, align 8
%958 = load double, ptr %25, align 8
%959 = fsub double %958, 2.000000e+00
%960 = fsub double %959, 0x3FE5555555555555
store double %960, ptr %31, align 8
%961 = load double, ptr %26, align 8
%962 = fsub double %961, 0x3FE5555555555555
store double %962, ptr %32, align 8
%963 = load i32, ptr %13, align 4
store i32 %963, ptr %36, align 4
%964 = load i32, ptr %14, align 4
%965 = add nsw i32 %964, 2
store i32 %965, ptr %37, align 4
%966 = load i32, ptr %15, align 4
store i32 %966, ptr %38, align 4
br label %979
967: ; preds = %951
%968 = load double, ptr %24, align 8
%969 = fsub double %968, 0x3FE5555555555555
store double %969, ptr %30, align 8
%970 = load double, ptr %25, align 8
%971 = fsub double %970, 0x3FE5555555555555
store double %971, ptr %31, align 8
%972 = load double, ptr %26, align 8
%973 = fsub double %972, 2.000000e+00
%974 = fsub double %973, 0x3FE5555555555555
store double %974, ptr %32, align 8
%975 = load i32, ptr %13, align 4
store i32 %975, ptr %36, align 4
%976 = load i32, ptr %14, align 4
store i32 %976, ptr %37, align 4
%977 = load i32, ptr %15, align 4
%978 = add nsw i32 %977, 2
store i32 %978, ptr %38, align 4
br label %979
979: ; preds = %967, %955
br label %980
980: ; preds = %979, %939
br label %1048
981: ; preds = %914
%982 = load double, ptr %24, align 8
store double %982, ptr %27, align 8
%983 = load double, ptr %25, align 8
store double %983, ptr %28, align 8
%984 = load double, ptr %26, align 8
store double %984, ptr %29, align 8
%985 = load i32, ptr %13, align 4
store i32 %985, ptr %33, align 4
%986 = load i32, ptr %14, align 4
store i32 %986, ptr %34, align 4
%987 = load i32, ptr %15, align 4
store i32 %987, ptr %35, align 4
%988 = load i32, ptr %43, align 4
%989 = load i32, ptr %44, align 4
%990 = or i32 %988, %989
store i32 %990, ptr %40, align 4
%991 = load i32, ptr %40, align 4
%992 = and i32 %991, 1
%993 = icmp eq i32 %992, 0
br i1 %993, label %994, label %1010
994: ; preds = %981
%995 = load double, ptr %24, align 8
%996 = fadd double %995, 1.000000e+00
%997 = fsub double %996, 0x3FD5555555555555
store double %997, ptr %30, align 8
%998 = load double, ptr %25, align 8
%999 = fsub double %998, 1.000000e+00
%1000 = fsub double %999, 0x3FD5555555555555
store double %1000, ptr %31, align 8
%1001 = load double, ptr %26, align 8
%1002 = fsub double %1001, 1.000000e+00
%1003 = fsub double %1002, 0x3FD5555555555555
store double %1003, ptr %32, align 8
%1004 = load i32, ptr %13, align 4
%1005 = sub nsw i32 %1004, 1
store i32 %1005, ptr %36, align 4
%1006 = load i32, ptr %14, align 4
%1007 = add nsw i32 %1006, 1
store i32 %1007, ptr %37, align 4
%1008 = load i32, ptr %15, align 4
%1009 = add nsw i32 %1008, 1
store i32 %1009, ptr %38, align 4
br label %1047
1010: ; preds = %981
%1011 = load i32, ptr %40, align 4
%1012 = and i32 %1011, 2
%1013 = icmp eq i32 %1012, 0
br i1 %1013, label %1014, label %1030
1014: ; preds = %1010
%1015 = load double, ptr %24, align 8
%1016 = fsub double %1015, 1.000000e+00
%1017 = fsub double %1016, 0x3FD5555555555555
store double %1017, ptr %30, align 8
%1018 = load double, ptr %25, align 8
%1019 = fadd double %1018, 1.000000e+00
%1020 = fsub double %1019, 0x3FD5555555555555
store double %1020, ptr %31, align 8
%1021 = load double, ptr %26, align 8
%1022 = fsub double %1021, 1.000000e+00
%1023 = fsub double %1022, 0x3FD5555555555555
store double %1023, ptr %32, align 8
%1024 = load i32, ptr %13, align 4
%1025 = add nsw i32 %1024, 1
store i32 %1025, ptr %36, align 4
%1026 = load i32, ptr %14, align 4
%1027 = sub nsw i32 %1026, 1
store i32 %1027, ptr %37, align 4
%1028 = load i32, ptr %15, align 4
%1029 = add nsw i32 %1028, 1
store i32 %1029, ptr %38, align 4
br label %1046
1030: ; preds = %1010
%1031 = load double, ptr %24, align 8
%1032 = fsub double %1031, 1.000000e+00
%1033 = fsub double %1032, 0x3FD5555555555555
store double %1033, ptr %30, align 8
%1034 = load double, ptr %25, align 8
%1035 = fsub double %1034, 1.000000e+00
%1036 = fsub double %1035, 0x3FD5555555555555
store double %1036, ptr %31, align 8
%1037 = load double, ptr %26, align 8
%1038 = fadd double %1037, 1.000000e+00
%1039 = fsub double %1038, 0x3FD5555555555555
store double %1039, ptr %32, align 8
%1040 = load i32, ptr %13, align 4
%1041 = add nsw i32 %1040, 1
store i32 %1041, ptr %36, align 4
%1042 = load i32, ptr %14, align 4
%1043 = add nsw i32 %1042, 1
store i32 %1043, ptr %37, align 4
%1044 = load i32, ptr %15, align 4
%1045 = sub nsw i32 %1044, 1
store i32 %1045, ptr %38, align 4
br label %1046
1046: ; preds = %1030, %1014
br label %1047
1047: ; preds = %1046, %994
br label %1048
1048: ; preds = %1047, %980
br label %1149
1049: ; preds = %910
%1050 = load i32, ptr %47, align 4
%1051 = icmp ne i32 %1050, 0
br i1 %1051, label %1052, label %1055
1052: ; preds = %1049
%1053 = load i32, ptr %43, align 4
store i32 %1053, ptr %41, align 4
%1054 = load i32, ptr %44, align 4
store i32 %1054, ptr %42, align 4
br label %1058
1055: ; preds = %1049
%1056 = load i32, ptr %44, align 4
store i32 %1056, ptr %41, align 4
%1057 = load i32, ptr %43, align 4
store i32 %1057, ptr %42, align 4
br label %1058
1058: ; preds = %1055, %1052
%1059 = load i32, ptr %41, align 4
%1060 = and i32 %1059, 1
%1061 = icmp eq i32 %1060, 0
br i1 %1061, label %1062, label %1078
1062: ; preds = %1058
%1063 = load double, ptr %24, align 8
%1064 = fadd double %1063, 1.000000e+00
%1065 = fsub double %1064, 0x3FD5555555555555
store double %1065, ptr %27, align 8
%1066 = load double, ptr %25, align 8
%1067 = fsub double %1066, 1.000000e+00
%1068 = fsub double %1067, 0x3FD5555555555555
store double %1068, ptr %28, align 8
%1069 = load double, ptr %26, align 8
%1070 = fsub double %1069, 1.000000e+00
%1071 = fsub double %1070, 0x3FD5555555555555
store double %1071, ptr %29, align 8
%1072 = load i32, ptr %13, align 4
%1073 = sub nsw i32 %1072, 1
store i32 %1073, ptr %33, align 4
%1074 = load i32, ptr %14, align 4
%1075 = add nsw i32 %1074, 1
store i32 %1075, ptr %34, align 4
%1076 = load i32, ptr %15, align 4
%1077 = add nsw i32 %1076, 1
store i32 %1077, ptr %35, align 4
br label %1115
1078: ; preds = %1058
%1079 = load i32, ptr %41, align 4
%1080 = and i32 %1079, 2
%1081 = icmp eq i32 %1080, 0
br i1 %1081, label %1082, label %1098
1082: ; preds = %1078
%1083 = load double, ptr %24, align 8
%1084 = fsub double %1083, 1.000000e+00
%1085 = fsub double %1084, 0x3FD5555555555555
store double %1085, ptr %27, align 8
%1086 = load double, ptr %25, align 8
%1087 = fadd double %1086, 1.000000e+00
%1088 = fsub double %1087, 0x3FD5555555555555
store double %1088, ptr %28, align 8
%1089 = load double, ptr %26, align 8
%1090 = fsub double %1089, 1.000000e+00
%1091 = fsub double %1090, 0x3FD5555555555555
store double %1091, ptr %29, align 8
%1092 = load i32, ptr %13, align 4
%1093 = add nsw i32 %1092, 1
store i32 %1093, ptr %33, align 4
%1094 = load i32, ptr %14, align 4
%1095 = sub nsw i32 %1094, 1
store i32 %1095, ptr %34, align 4
%1096 = load i32, ptr %15, align 4
%1097 = add nsw i32 %1096, 1
store i32 %1097, ptr %35, align 4
br label %1114
1098: ; preds = %1078
%1099 = load double, ptr %24, align 8
%1100 = fsub double %1099, 1.000000e+00
%1101 = fsub double %1100, 0x3FD5555555555555
store double %1101, ptr %27, align 8
%1102 = load double, ptr %25, align 8
%1103 = fsub double %1102, 1.000000e+00
%1104 = fsub double %1103, 0x3FD5555555555555
store double %1104, ptr %28, align 8
%1105 = load double, ptr %26, align 8
%1106 = fadd double %1105, 1.000000e+00
%1107 = fsub double %1106, 0x3FD5555555555555
store double %1107, ptr %29, align 8
%1108 = load i32, ptr %13, align 4
%1109 = add nsw i32 %1108, 1
store i32 %1109, ptr %33, align 4
%1110 = load i32, ptr %14, align 4
%1111 = add nsw i32 %1110, 1
store i32 %1111, ptr %34, align 4
%1112 = load i32, ptr %15, align 4
%1113 = sub nsw i32 %1112, 1
store i32 %1113, ptr %35, align 4
br label %1114
1114: ; preds = %1098, %1082
br label %1115
1115: ; preds = %1114, %1062
%1116 = load double, ptr %24, align 8
%1117 = fsub double %1116, 0x3FE5555555555555
store double %1117, ptr %30, align 8
%1118 = load double, ptr %25, align 8
%1119 = fsub double %1118, 0x3FE5555555555555
store double %1119, ptr %31, align 8
%1120 = load double, ptr %26, align 8
%1121 = fsub double %1120, 0x3FE5555555555555
store double %1121, ptr %32, align 8
%1122 = load i32, ptr %13, align 4
store i32 %1122, ptr %36, align 4
%1123 = load i32, ptr %14, align 4
store i32 %1123, ptr %37, align 4
%1124 = load i32, ptr %15, align 4
store i32 %1124, ptr %38, align 4
%1125 = load i32, ptr %42, align 4
%1126 = and i32 %1125, 1
%1127 = icmp ne i32 %1126, 0
br i1 %1127, label %1128, label %1133
1128: ; preds = %1115
%1129 = load double, ptr %30, align 8
%1130 = fsub double %1129, 2.000000e+00
store double %1130, ptr %30, align 8
%1131 = load i32, ptr %36, align 4
%1132 = add nsw i32 %1131, 2
store i32 %1132, ptr %36, align 4
br label %1148
1133: ; preds = %1115
%1134 = load i32, ptr %42, align 4
%1135 = and i32 %1134, 2
%1136 = icmp ne i32 %1135, 0
br i1 %1136, label %1137, label %1142
1137: ; preds = %1133
%1138 = load double, ptr %31, align 8
%1139 = fsub double %1138, 2.000000e+00
store double %1139, ptr %31, align 8
%1140 = load i32, ptr %37, align 4
%1141 = add nsw i32 %1140, 2
store i32 %1141, ptr %37, align 4
br label %1147
1142: ; preds = %1133
%1143 = load double, ptr %32, align 8
%1144 = fsub double %1143, 2.000000e+00
store double %1144, ptr %32, align 8
%1145 = load i32, ptr %38, align 4
%1146 = add nsw i32 %1145, 2
store i32 %1146, ptr %38, align 4
br label %1147
1147: ; preds = %1142, %1137
br label %1148
1148: ; preds = %1147, %1128
br label %1149
1149: ; preds = %1148, %1048
%1150 = load double, ptr %24, align 8
%1151 = fsub double %1150, 1.000000e+00
%1152 = fsub double %1151, 0x3FD5555555555555
store double %1152, ptr %60, align 8
%1153 = load double, ptr %25, align 8
%1154 = fsub double %1153, 0.000000e+00
%1155 = fsub double %1154, 0x3FD5555555555555
store double %1155, ptr %61, align 8
%1156 = load double, ptr %26, align 8
%1157 = fsub double %1156, 0.000000e+00
%1158 = fsub double %1157, 0x3FD5555555555555
store double %1158, ptr %62, align 8
%1159 = load double, ptr %60, align 8
%1160 = load double, ptr %60, align 8
%1161 = fneg double %1159
%1162 = call double @llvm.fmuladd.f64(double %1161, double %1160, double 2.000000e+00)
%1163 = load double, ptr %61, align 8
%1164 = load double, ptr %61, align 8
%1165 = fneg double %1163
%1166 = call double @llvm.fmuladd.f64(double %1165, double %1164, double %1162)
%1167 = load double, ptr %62, align 8
%1168 = load double, ptr %62, align 8
%1169 = fneg double %1167
%1170 = call double @llvm.fmuladd.f64(double %1169, double %1168, double %1166)
store double %1170, ptr %54, align 8
%1171 = load double, ptr %54, align 8
%1172 = fcmp ogt double %1171, 0.000000e+00
br i1 %1172, label %1173, label %1193
1173: ; preds = %1149
%1174 = load double, ptr %54, align 8
%1175 = load double, ptr %54, align 8
%1176 = fmul double %1175, %1174
store double %1176, ptr %54, align 8
%1177 = load double, ptr %54, align 8
%1178 = load double, ptr %54, align 8
%1179 = fmul double %1177, %1178
%1180 = load ptr, ptr %5, align 8
%1181 = load i32, ptr %13, align 4
%1182 = add nsw i32 %1181, 1
%1183 = load i32, ptr %14, align 4
%1184 = add nsw i32 %1183, 0
%1185 = load i32, ptr %15, align 4
%1186 = add nsw i32 %1185, 0
%1187 = load double, ptr %60, align 8
%1188 = load double, ptr %61, align 8
%1189 = load double, ptr %62, align 8
%1190 = call double @extrapolate3(ptr noundef %1180, i32 noundef %1182, i32 noundef %1184, i32 noundef %1186, double noundef %1187, double noundef %1188, double noundef %1189)
%1191 = load double, ptr %80, align 8
%1192 = call double @llvm.fmuladd.f64(double %1179, double %1190, double %1191)
store double %1192, ptr %80, align 8
br label %1193
1193: ; preds = %1173, %1149
%1194 = load double, ptr %24, align 8
%1195 = fsub double %1194, 0.000000e+00
%1196 = fsub double %1195, 0x3FD5555555555555
store double %1196, ptr %63, align 8
%1197 = load double, ptr %25, align 8
%1198 = fsub double %1197, 1.000000e+00
%1199 = fsub double %1198, 0x3FD5555555555555
store double %1199, ptr %64, align 8
%1200 = load double, ptr %62, align 8
store double %1200, ptr %65, align 8
%1201 = load double, ptr %63, align 8
%1202 = load double, ptr %63, align 8
%1203 = fneg double %1201
%1204 = call double @llvm.fmuladd.f64(double %1203, double %1202, double 2.000000e+00)
%1205 = load double, ptr %64, align 8
%1206 = load double, ptr %64, align 8
%1207 = fneg double %1205
%1208 = call double @llvm.fmuladd.f64(double %1207, double %1206, double %1204)
%1209 = load double, ptr %65, align 8
%1210 = load double, ptr %65, align 8
%1211 = fneg double %1209
%1212 = call double @llvm.fmuladd.f64(double %1211, double %1210, double %1208)
store double %1212, ptr %55, align 8
%1213 = load double, ptr %55, align 8
%1214 = fcmp ogt double %1213, 0.000000e+00
br i1 %1214, label %1215, label %1235
1215: ; preds = %1193
%1216 = load double, ptr %55, align 8
%1217 = load double, ptr %55, align 8
%1218 = fmul double %1217, %1216
store double %1218, ptr %55, align 8
%1219 = load double, ptr %55, align 8
%1220 = load double, ptr %55, align 8
%1221 = fmul double %1219, %1220
%1222 = load ptr, ptr %5, align 8
%1223 = load i32, ptr %13, align 4
%1224 = add nsw i32 %1223, 0
%1225 = load i32, ptr %14, align 4
%1226 = add nsw i32 %1225, 1
%1227 = load i32, ptr %15, align 4
%1228 = add nsw i32 %1227, 0
%1229 = load double, ptr %63, align 8
%1230 = load double, ptr %64, align 8
%1231 = load double, ptr %65, align 8
%1232 = call double @extrapolate3(ptr noundef %1222, i32 noundef %1224, i32 noundef %1226, i32 noundef %1228, double noundef %1229, double noundef %1230, double noundef %1231)
%1233 = load double, ptr %80, align 8
%1234 = call double @llvm.fmuladd.f64(double %1221, double %1232, double %1233)
store double %1234, ptr %80, align 8
br label %1235
1235: ; preds = %1215, %1193
%1236 = load double, ptr %63, align 8
store double %1236, ptr %66, align 8
%1237 = load double, ptr %61, align 8
store double %1237, ptr %67, align 8
%1238 = load double, ptr %26, align 8
%1239 = fsub double %1238, 1.000000e+00
%1240 = fsub double %1239, 0x3FD5555555555555
store double %1240, ptr %68, align 8
%1241 = load double, ptr %66, align 8
%1242 = load double, ptr %66, align 8
%1243 = fneg double %1241
%1244 = call double @llvm.fmuladd.f64(double %1243, double %1242, double 2.000000e+00)
%1245 = load double, ptr %67, align 8
%1246 = load double, ptr %67, align 8
%1247 = fneg double %1245
%1248 = call double @llvm.fmuladd.f64(double %1247, double %1246, double %1244)
%1249 = load double, ptr %68, align 8
%1250 = load double, ptr %68, align 8
%1251 = fneg double %1249
%1252 = call double @llvm.fmuladd.f64(double %1251, double %1250, double %1248)
store double %1252, ptr %56, align 8
%1253 = load double, ptr %56, align 8
%1254 = fcmp ogt double %1253, 0.000000e+00
br i1 %1254, label %1255, label %1275
1255: ; preds = %1235
%1256 = load double, ptr %56, align 8
%1257 = load double, ptr %56, align 8
%1258 = fmul double %1257, %1256
store double %1258, ptr %56, align 8
%1259 = load double, ptr %56, align 8
%1260 = load double, ptr %56, align 8
%1261 = fmul double %1259, %1260
%1262 = load ptr, ptr %5, align 8
%1263 = load i32, ptr %13, align 4
%1264 = add nsw i32 %1263, 0
%1265 = load i32, ptr %14, align 4
%1266 = add nsw i32 %1265, 0
%1267 = load i32, ptr %15, align 4
%1268 = add nsw i32 %1267, 1
%1269 = load double, ptr %66, align 8
%1270 = load double, ptr %67, align 8
%1271 = load double, ptr %68, align 8
%1272 = call double @extrapolate3(ptr noundef %1262, i32 noundef %1264, i32 noundef %1266, i32 noundef %1268, double noundef %1269, double noundef %1270, double noundef %1271)
%1273 = load double, ptr %80, align 8
%1274 = call double @llvm.fmuladd.f64(double %1261, double %1272, double %1273)
store double %1274, ptr %80, align 8
br label %1275
1275: ; preds = %1255, %1235
%1276 = load double, ptr %24, align 8
%1277 = fsub double %1276, 1.000000e+00
%1278 = fsub double %1277, 0x3FE5555555555555
store double %1278, ptr %69, align 8
%1279 = load double, ptr %25, align 8
%1280 = fsub double %1279, 1.000000e+00
%1281 = fsub double %1280, 0x3FE5555555555555
store double %1281, ptr %70, align 8
%1282 = load double, ptr %26, align 8
%1283 = fsub double %1282, 0.000000e+00
%1284 = fsub double %1283, 0x3FE5555555555555
store double %1284, ptr %71, align 8
%1285 = load double, ptr %69, align 8
%1286 = load double, ptr %69, align 8
%1287 = fneg double %1285
%1288 = call double @llvm.fmuladd.f64(double %1287, double %1286, double 2.000000e+00)
%1289 = load double, ptr %70, align 8
%1290 = load double, ptr %70, align 8
%1291 = fneg double %1289
%1292 = call double @llvm.fmuladd.f64(double %1291, double %1290, double %1288)
%1293 = load double, ptr %71, align 8
%1294 = load double, ptr %71, align 8
%1295 = fneg double %1293
%1296 = call double @llvm.fmuladd.f64(double %1295, double %1294, double %1292)
store double %1296, ptr %57, align 8
%1297 = load double, ptr %57, align 8
%1298 = fcmp ogt double %1297, 0.000000e+00
br i1 %1298, label %1299, label %1319
1299: ; preds = %1275
%1300 = load double, ptr %57, align 8
%1301 = load double, ptr %57, align 8
%1302 = fmul double %1301, %1300
store double %1302, ptr %57, align 8
%1303 = load double, ptr %57, align 8
%1304 = load double, ptr %57, align 8
%1305 = fmul double %1303, %1304
%1306 = load ptr, ptr %5, align 8
%1307 = load i32, ptr %13, align 4
%1308 = add nsw i32 %1307, 1
%1309 = load i32, ptr %14, align 4
%1310 = add nsw i32 %1309, 1
%1311 = load i32, ptr %15, align 4
%1312 = add nsw i32 %1311, 0
%1313 = load double, ptr %69, align 8
%1314 = load double, ptr %70, align 8
%1315 = load double, ptr %71, align 8
%1316 = call double @extrapolate3(ptr noundef %1306, i32 noundef %1308, i32 noundef %1310, i32 noundef %1312, double noundef %1313, double noundef %1314, double noundef %1315)
%1317 = load double, ptr %80, align 8
%1318 = call double @llvm.fmuladd.f64(double %1305, double %1316, double %1317)
store double %1318, ptr %80, align 8
br label %1319
1319: ; preds = %1299, %1275
%1320 = load double, ptr %69, align 8
store double %1320, ptr %72, align 8
%1321 = load double, ptr %25, align 8
%1322 = fsub double %1321, 0.000000e+00
%1323 = fsub double %1322, 0x3FE5555555555555
store double %1323, ptr %73, align 8
%1324 = load double, ptr %26, align 8
%1325 = fsub double %1324, 1.000000e+00
%1326 = fsub double %1325, 0x3FE5555555555555
store double %1326, ptr %74, align 8
%1327 = load double, ptr %72, align 8
%1328 = load double, ptr %72, align 8
%1329 = fneg double %1327
%1330 = call double @llvm.fmuladd.f64(double %1329, double %1328, double 2.000000e+00)
%1331 = load double, ptr %73, align 8
%1332 = load double, ptr %73, align 8
%1333 = fneg double %1331
%1334 = call double @llvm.fmuladd.f64(double %1333, double %1332, double %1330)
%1335 = load double, ptr %74, align 8
%1336 = load double, ptr %74, align 8
%1337 = fneg double %1335
%1338 = call double @llvm.fmuladd.f64(double %1337, double %1336, double %1334)
store double %1338, ptr %58, align 8
%1339 = load double, ptr %58, align 8
%1340 = fcmp ogt double %1339, 0.000000e+00
br i1 %1340, label %1341, label %1361
1341: ; preds = %1319
%1342 = load double, ptr %58, align 8
%1343 = load double, ptr %58, align 8
%1344 = fmul double %1343, %1342
store double %1344, ptr %58, align 8
%1345 = load double, ptr %58, align 8
%1346 = load double, ptr %58, align 8
%1347 = fmul double %1345, %1346
%1348 = load ptr, ptr %5, align 8
%1349 = load i32, ptr %13, align 4
%1350 = add nsw i32 %1349, 1
%1351 = load i32, ptr %14, align 4
%1352 = add nsw i32 %1351, 0
%1353 = load i32, ptr %15, align 4
%1354 = add nsw i32 %1353, 1
%1355 = load double, ptr %72, align 8
%1356 = load double, ptr %73, align 8
%1357 = load double, ptr %74, align 8
%1358 = call double @extrapolate3(ptr noundef %1348, i32 noundef %1350, i32 noundef %1352, i32 noundef %1354, double noundef %1355, double noundef %1356, double noundef %1357)
%1359 = load double, ptr %80, align 8
%1360 = call double @llvm.fmuladd.f64(double %1347, double %1358, double %1359)
store double %1360, ptr %80, align 8
br label %1361
1361: ; preds = %1341, %1319
%1362 = load double, ptr %24, align 8
%1363 = fsub double %1362, 0.000000e+00
%1364 = fsub double %1363, 0x3FE5555555555555
store double %1364, ptr %75, align 8
%1365 = load double, ptr %70, align 8
store double %1365, ptr %76, align 8
%1366 = load double, ptr %74, align 8
store double %1366, ptr %77, align 8
%1367 = load double, ptr %75, align 8
%1368 = load double, ptr %75, align 8
%1369 = fneg double %1367
%1370 = call double @llvm.fmuladd.f64(double %1369, double %1368, double 2.000000e+00)
%1371 = load double, ptr %76, align 8
%1372 = load double, ptr %76, align 8
%1373 = fneg double %1371
%1374 = call double @llvm.fmuladd.f64(double %1373, double %1372, double %1370)
%1375 = load double, ptr %77, align 8
%1376 = load double, ptr %77, align 8
%1377 = fneg double %1375
%1378 = call double @llvm.fmuladd.f64(double %1377, double %1376, double %1374)
store double %1378, ptr %59, align 8
%1379 = load double, ptr %59, align 8
%1380 = fcmp ogt double %1379, 0.000000e+00
br i1 %1380, label %1381, label %1401
1381: ; preds = %1361
%1382 = load double, ptr %59, align 8
%1383 = load double, ptr %59, align 8
%1384 = fmul double %1383, %1382
store double %1384, ptr %59, align 8
%1385 = load double, ptr %59, align 8
%1386 = load double, ptr %59, align 8
%1387 = fmul double %1385, %1386
%1388 = load ptr, ptr %5, align 8
%1389 = load i32, ptr %13, align 4
%1390 = add nsw i32 %1389, 0
%1391 = load i32, ptr %14, align 4
%1392 = add nsw i32 %1391, 1
%1393 = load i32, ptr %15, align 4
%1394 = add nsw i32 %1393, 1
%1395 = load double, ptr %75, align 8
%1396 = load double, ptr %76, align 8
%1397 = load double, ptr %77, align 8
%1398 = call double @extrapolate3(ptr noundef %1388, i32 noundef %1390, i32 noundef %1392, i32 noundef %1394, double noundef %1395, double noundef %1396, double noundef %1397)
%1399 = load double, ptr %80, align 8
%1400 = call double @llvm.fmuladd.f64(double %1387, double %1398, double %1399)
store double %1400, ptr %80, align 8
br label %1401
1401: ; preds = %1381, %1361
br label %1402
1402: ; preds = %1401, %831
br label %1403
1403: ; preds = %1402, %481
%1404 = load double, ptr %27, align 8
%1405 = load double, ptr %27, align 8
%1406 = fneg double %1404
%1407 = call double @llvm.fmuladd.f64(double %1406, double %1405, double 2.000000e+00)
%1408 = load double, ptr %28, align 8
%1409 = load double, ptr %28, align 8
%1410 = fneg double %1408
%1411 = call double @llvm.fmuladd.f64(double %1410, double %1409, double %1407)
%1412 = load double, ptr %29, align 8
%1413 = load double, ptr %29, align 8
%1414 = fneg double %1412
%1415 = call double @llvm.fmuladd.f64(double %1414, double %1413, double %1411)
store double %1415, ptr %78, align 8
%1416 = load double, ptr %78, align 8
%1417 = fcmp ogt double %1416, 0.000000e+00
br i1 %1417, label %1418, label %1435
1418: ; preds = %1403
%1419 = load double, ptr %78, align 8
%1420 = load double, ptr %78, align 8
%1421 = fmul double %1420, %1419
store double %1421, ptr %78, align 8
%1422 = load double, ptr %78, align 8
%1423 = load double, ptr %78, align 8
%1424 = fmul double %1422, %1423
%1425 = load ptr, ptr %5, align 8
%1426 = load i32, ptr %33, align 4
%1427 = load i32, ptr %34, align 4
%1428 = load i32, ptr %35, align 4
%1429 = load double, ptr %27, align 8
%1430 = load double, ptr %28, align 8
%1431 = load double, ptr %29, align 8
%1432 = call double @extrapolate3(ptr noundef %1425, i32 noundef %1426, i32 noundef %1427, i32 noundef %1428, double noundef %1429, double noundef %1430, double noundef %1431)
%1433 = load double, ptr %80, align 8
%1434 = call double @llvm.fmuladd.f64(double %1424, double %1432, double %1433)
store double %1434, ptr %80, align 8
br label %1435
1435: ; preds = %1418, %1403
%1436 = load double, ptr %30, align 8
%1437 = load double, ptr %30, align 8
%1438 = fneg double %1436
%1439 = call double @llvm.fmuladd.f64(double %1438, double %1437, double 2.000000e+00)
%1440 = load double, ptr %31, align 8
%1441 = load double, ptr %31, align 8
%1442 = fneg double %1440
%1443 = call double @llvm.fmuladd.f64(double %1442, double %1441, double %1439)
%1444 = load double, ptr %32, align 8
%1445 = load double, ptr %32, align 8
%1446 = fneg double %1444
%1447 = call double @llvm.fmuladd.f64(double %1446, double %1445, double %1443)
store double %1447, ptr %79, align 8
%1448 = load double, ptr %79, align 8
%1449 = fcmp ogt double %1448, 0.000000e+00
br i1 %1449, label %1450, label %1467
1450: ; preds = %1435
%1451 = load double, ptr %79, align 8
%1452 = load double, ptr %79, align 8
%1453 = fmul double %1452, %1451
store double %1453, ptr %79, align 8
%1454 = load double, ptr %79, align 8
%1455 = load double, ptr %79, align 8
%1456 = fmul double %1454, %1455
%1457 = load ptr, ptr %5, align 8
%1458 = load i32, ptr %36, align 4
%1459 = load i32, ptr %37, align 4
%1460 = load i32, ptr %38, align 4
%1461 = load double, ptr %30, align 8
%1462 = load double, ptr %31, align 8
%1463 = load double, ptr %32, align 8
%1464 = call double @extrapolate3(ptr noundef %1457, i32 noundef %1458, i32 noundef %1459, i32 noundef %1460, double noundef %1461, double noundef %1462, double noundef %1463)
%1465 = load double, ptr %80, align 8
%1466 = call double @llvm.fmuladd.f64(double %1456, double %1464, double %1465)
store double %1466, ptr %80, align 8
br label %1467
1467: ; preds = %1450, %1435
%1468 = load double, ptr %80, align 8
%1469 = fdiv double %1468, 1.030000e+02
ret double %1469
}
declare i32 @fastFloor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @extrapolate3(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxztur9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @open_simplex_noise3(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca double, align 8
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca double, align 8
%46 = alloca double, align 8
%47 = alloca i32, align 4
%48 = alloca i32, align 4
%49 = alloca double, align 8
%50 = alloca double, align 8
%51 = alloca double, align 8
%52 = alloca double, align 8
%53 = alloca double, align 8
%54 = alloca double, align 8
%55 = alloca double, align 8
%56 = alloca double, align 8
%57 = alloca double, align 8
%58 = alloca double, align 8
%59 = alloca double, align 8
%60 = alloca double, align 8
%61 = alloca double, align 8
%62 = alloca double, align 8
%63 = alloca double, align 8
%64 = alloca double, align 8
%65 = alloca double, align 8
%66 = alloca double, align 8
%67 = alloca double, align 8
%68 = alloca double, align 8
%69 = alloca double, align 8
%70 = alloca double, align 8
%71 = alloca double, align 8
%72 = alloca double, align 8
%73 = alloca double, align 8
%74 = alloca double, align 8
%75 = alloca double, align 8
%76 = alloca double, align 8
%77 = alloca double, align 8
%78 = alloca double, align 8
%79 = alloca double, align 8
%80 = alloca double, align 8
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%81 = load double, ptr %6, align 8
%82 = load double, ptr %7, align 8
%83 = fadd double %81, %82
%84 = load double, ptr %8, align 8
%85 = fadd double %83, %84
%86 = fmul double %85, 0xBFC5555555555555
store double %86, ptr %9, align 8
%87 = load double, ptr %6, align 8
%88 = load double, ptr %9, align 8
%89 = fadd double %87, %88
store double %89, ptr %10, align 8
%90 = load double, ptr %7, align 8
%91 = load double, ptr %9, align 8
%92 = fadd double %90, %91
store double %92, ptr %11, align 8
%93 = load double, ptr %8, align 8
%94 = load double, ptr %9, align 8
%95 = fadd double %93, %94
store double %95, ptr %12, align 8
%96 = load double, ptr %10, align 8
%97 = call i32 @fastFloor(double noundef %96)
store i32 %97, ptr %13, align 4
%98 = load double, ptr %11, align 8
%99 = call i32 @fastFloor(double noundef %98)
store i32 %99, ptr %14, align 4
%100 = load double, ptr %12, align 8
%101 = call i32 @fastFloor(double noundef %100)
store i32 %101, ptr %15, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %14, align 4
%104 = add nsw i32 %102, %103
%105 = load i32, ptr %15, align 4
%106 = add nsw i32 %104, %105
%107 = sitofp i32 %106 to double
%108 = fmul double %107, 0x3FD5555555555555
store double %108, ptr %16, align 8
%109 = load i32, ptr %13, align 4
%110 = sitofp i32 %109 to double
%111 = load double, ptr %16, align 8
%112 = fadd double %110, %111
store double %112, ptr %17, align 8
%113 = load i32, ptr %14, align 4
%114 = sitofp i32 %113 to double
%115 = load double, ptr %16, align 8
%116 = fadd double %114, %115
store double %116, ptr %18, align 8
%117 = load i32, ptr %15, align 4
%118 = sitofp i32 %117 to double
%119 = load double, ptr %16, align 8
%120 = fadd double %118, %119
store double %120, ptr %19, align 8
%121 = load double, ptr %10, align 8
%122 = load i32, ptr %13, align 4
%123 = sitofp i32 %122 to double
%124 = fsub double %121, %123
store double %124, ptr %20, align 8
%125 = load double, ptr %11, align 8
%126 = load i32, ptr %14, align 4
%127 = sitofp i32 %126 to double
%128 = fsub double %125, %127
store double %128, ptr %21, align 8
%129 = load double, ptr %12, align 8
%130 = load i32, ptr %15, align 4
%131 = sitofp i32 %130 to double
%132 = fsub double %129, %131
store double %132, ptr %22, align 8
%133 = load double, ptr %20, align 8
%134 = load double, ptr %21, align 8
%135 = fadd double %133, %134
%136 = load double, ptr %22, align 8
%137 = fadd double %135, %136
store double %137, ptr %23, align 8
%138 = load double, ptr %6, align 8
%139 = load double, ptr %17, align 8
%140 = fsub double %138, %139
store double %140, ptr %24, align 8
%141 = load double, ptr %7, align 8
%142 = load double, ptr %18, align 8
%143 = fsub double %141, %142
store double %143, ptr %25, align 8
%144 = load double, ptr %8, align 8
%145 = load double, ptr %19, align 8
%146 = fsub double %144, %145
store double %146, ptr %26, align 8
store double 0.000000e+00, ptr %80, align 8
%147 = load double, ptr %23, align 8
%148 = fcmp ole double %147, 1.000000e+00
br i1 %148, label %149, label %482
149: ; preds = %4
store i32 1, ptr %43, align 4
%150 = load double, ptr %20, align 8
store double %150, ptr %45, align 8
store i32 2, ptr %44, align 4
%151 = load double, ptr %21, align 8
store double %151, ptr %46, align 8
%152 = load double, ptr %45, align 8
%153 = load double, ptr %46, align 8
%154 = fcmp oge double %152, %153
br i1 %154, label %155, label %161
155: ; preds = %149
%156 = load double, ptr %22, align 8
%157 = load double, ptr %46, align 8
%158 = fcmp ogt double %156, %157
br i1 %158, label %159, label %161
159: ; preds = %155
%160 = load double, ptr %22, align 8
store double %160, ptr %46, align 8
store i32 4, ptr %44, align 4
br label %172
161: ; preds = %155, %149
%162 = load double, ptr %45, align 8
%163 = load double, ptr %46, align 8
%164 = fcmp olt double %162, %163
br i1 %164, label %165, label %171
165: ; preds = %161
%166 = load double, ptr %22, align 8
%167 = load double, ptr %45, align 8
%168 = fcmp ogt double %166, %167
br i1 %168, label %169, label %171
169: ; preds = %165
%170 = load double, ptr %22, align 8
store double %170, ptr %45, align 8
store i32 4, ptr %43, align 4
br label %171
171: ; preds = %169, %165, %161
br label %172
172: ; preds = %171, %159
%173 = load double, ptr %23, align 8
%174 = fsub double 1.000000e+00, %173
store double %174, ptr %39, align 8
%175 = load double, ptr %39, align 8
%176 = load double, ptr %45, align 8
%177 = fcmp ogt double %175, %176
br i1 %177, label %182, label %178
178: ; preds = %172
%179 = load double, ptr %39, align 8
%180 = load double, ptr %46, align 8
%181 = fcmp ogt double %179, %180
br i1 %181, label %182, label %250
182: ; preds = %178, %172
%183 = load double, ptr %46, align 8
%184 = load double, ptr %45, align 8
%185 = fcmp ogt double %183, %184
br i1 %185, label %186, label %188
186: ; preds = %182
%187 = load i32, ptr %44, align 4
br label %190
188: ; preds = %182
%189 = load i32, ptr %43, align 4
br label %190
190: ; preds = %188, %186
%191 = phi i32 [ %187, %186 ], [ %189, %188 ]
store i32 %191, ptr %40, align 4
%192 = load i32, ptr %40, align 4
%193 = and i32 %192, 1
%194 = icmp eq i32 %193, 0
br i1 %194, label %195, label %202
195: ; preds = %190
%196 = load i32, ptr %13, align 4
%197 = sub nsw i32 %196, 1
store i32 %197, ptr %33, align 4
%198 = load i32, ptr %13, align 4
store i32 %198, ptr %36, align 4
%199 = load double, ptr %24, align 8
%200 = fadd double %199, 1.000000e+00
store double %200, ptr %27, align 8
%201 = load double, ptr %24, align 8
store double %201, ptr %30, align 8
br label %207
202: ; preds = %190
%203 = load i32, ptr %13, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %36, align 4
store i32 %204, ptr %33, align 4
%205 = load double, ptr %24, align 8
%206 = fsub double %205, 1.000000e+00
store double %206, ptr %30, align 8
store double %206, ptr %27, align 8
br label %207
207: ; preds = %202, %195
%208 = load i32, ptr %40, align 4
%209 = and i32 %208, 2
%210 = icmp eq i32 %209, 0
br i1 %210, label %211, label %228
211: ; preds = %207
%212 = load i32, ptr %14, align 4
store i32 %212, ptr %37, align 4
store i32 %212, ptr %34, align 4
%213 = load double, ptr %25, align 8
store double %213, ptr %31, align 8
store double %213, ptr %28, align 8
%214 = load i32, ptr %40, align 4
%215 = and i32 %214, 1
%216 = icmp eq i32 %215, 0
br i1 %216, label %217, label %222
217: ; preds = %211
%218 = load i32, ptr %37, align 4
%219 = sub nsw i32 %218, 1
store i32 %219, ptr %37, align 4
%220 = load double, ptr %31, align 8
%221 = fadd double %220, 1.000000e+00
store double %221, ptr %31, align 8
br label %227
222: ; preds = %211
%223 = load i32, ptr %34, align 4
%224 = sub nsw i32 %223, 1
store i32 %224, ptr %34, align 4
%225 = load double, ptr %28, align 8
%226 = fadd double %225, 1.000000e+00
store double %226, ptr %28, align 8
br label %227
227: ; preds = %222, %217
br label %233
228: ; preds = %207
%229 = load i32, ptr %14, align 4
%230 = add nsw i32 %229, 1
store i32 %230, ptr %37, align 4
store i32 %230, ptr %34, align 4
%231 = load double, ptr %25, align 8
%232 = fsub double %231, 1.000000e+00
store double %232, ptr %31, align 8
store double %232, ptr %28, align 8
br label %233
233: ; preds = %228, %227
%234 = load i32, ptr %40, align 4
%235 = and i32 %234, 4
%236 = icmp eq i32 %235, 0
br i1 %236, label %237, label %244
237: ; preds = %233
%238 = load i32, ptr %15, align 4
store i32 %238, ptr %35, align 4
%239 = load i32, ptr %15, align 4
%240 = sub nsw i32 %239, 1
store i32 %240, ptr %38, align 4
%241 = load double, ptr %26, align 8
store double %241, ptr %29, align 8
%242 = load double, ptr %26, align 8
%243 = fadd double %242, 1.000000e+00
store double %243, ptr %32, align 8
br label %249
244: ; preds = %233
%245 = load i32, ptr %15, align 4
%246 = add nsw i32 %245, 1
store i32 %246, ptr %38, align 4
store i32 %246, ptr %35, align 4
%247 = load double, ptr %26, align 8
%248 = fsub double %247, 1.000000e+00
store double %248, ptr %32, align 8
store double %248, ptr %29, align 8
br label %249
249: ; preds = %244, %237
br label %320
250: ; preds = %178
%251 = load i32, ptr %43, align 4
%252 = load i32, ptr %44, align 4
%253 = or i32 %251, %252
store i32 %253, ptr %40, align 4
%254 = load i32, ptr %40, align 4
%255 = and i32 %254, 1
%256 = icmp eq i32 %255, 0
br i1 %256, label %257, label %266
257: ; preds = %250
%258 = load i32, ptr %13, align 4
store i32 %258, ptr %33, align 4
%259 = load i32, ptr %13, align 4
%260 = sub nsw i32 %259, 1
store i32 %260, ptr %36, align 4
%261 = load double, ptr %24, align 8
%262 = fsub double %261, 0x3FE5555555555555
store double %262, ptr %27, align 8
%263 = load double, ptr %24, align 8
%264 = fadd double %263, 1.000000e+00
%265 = fsub double %264, 0x3FD5555555555555
store double %265, ptr %30, align 8
br label %275
266: ; preds = %250
%267 = load i32, ptr %13, align 4
%268 = add nsw i32 %267, 1
store i32 %268, ptr %36, align 4
store i32 %268, ptr %33, align 4
%269 = load double, ptr %24, align 8
%270 = fsub double %269, 1.000000e+00
%271 = fsub double %270, 0x3FE5555555555555
store double %271, ptr %27, align 8
%272 = load double, ptr %24, align 8
%273 = fsub double %272, 1.000000e+00
%274 = fsub double %273, 0x3FD5555555555555
store double %274, ptr %30, align 8
br label %275
275: ; preds = %266, %257
%276 = load i32, ptr %40, align 4
%277 = and i32 %276, 2
%278 = icmp eq i32 %277, 0
br i1 %278, label %279, label %288
279: ; preds = %275
%280 = load i32, ptr %14, align 4
store i32 %280, ptr %34, align 4
%281 = load i32, ptr %14, align 4
%282 = sub nsw i32 %281, 1
store i32 %282, ptr %37, align 4
%283 = load double, ptr %25, align 8
%284 = fsub double %283, 0x3FE5555555555555
store double %284, ptr %28, align 8
%285 = load double, ptr %25, align 8
%286 = fadd double %285, 1.000000e+00
%287 = fsub double %286, 0x3FD5555555555555
store double %287, ptr %31, align 8
br label %297
288: ; preds = %275
%289 = load i32, ptr %14, align 4
%290 = add nsw i32 %289, 1
store i32 %290, ptr %37, align 4
store i32 %290, ptr %34, align 4
%291 = load double, ptr %25, align 8
%292 = fsub double %291, 1.000000e+00
%293 = fsub double %292, 0x3FE5555555555555
store double %293, ptr %28, align 8
%294 = load double, ptr %25, align 8
%295 = fsub double %294, 1.000000e+00
%296 = fsub double %295, 0x3FD5555555555555
store double %296, ptr %31, align 8
br label %297
297: ; preds = %288, %279
%298 = load i32, ptr %40, align 4
%299 = and i32 %298, 4
%300 = icmp eq i32 %299, 0
br i1 %300, label %301, label %310
301: ; preds = %297
%302 = load i32, ptr %15, align 4
store i32 %302, ptr %35, align 4
%303 = load i32, ptr %15, align 4
%304 = sub nsw i32 %303, 1
store i32 %304, ptr %38, align 4
%305 = load double, ptr %26, align 8
%306 = fsub double %305, 0x3FE5555555555555
store double %306, ptr %29, align 8
%307 = load double, ptr %26, align 8
%308 = fadd double %307, 1.000000e+00
%309 = fsub double %308, 0x3FD5555555555555
store double %309, ptr %32, align 8
br label %319
310: ; preds = %297
%311 = load i32, ptr %15, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %38, align 4
store i32 %312, ptr %35, align 4
%313 = load double, ptr %26, align 8
%314 = fsub double %313, 1.000000e+00
%315 = fsub double %314, 0x3FE5555555555555
store double %315, ptr %29, align 8
%316 = load double, ptr %26, align 8
%317 = fsub double %316, 1.000000e+00
%318 = fsub double %317, 0x3FD5555555555555
store double %318, ptr %32, align 8
br label %319
319: ; preds = %310, %301
br label %320
320: ; preds = %319, %249
%321 = load double, ptr %24, align 8
%322 = load double, ptr %24, align 8
%323 = fneg double %321
%324 = call double @llvm.fmuladd.f64(double %323, double %322, double 2.000000e+00)
%325 = load double, ptr %25, align 8
%326 = load double, ptr %25, align 8
%327 = fneg double %325
%328 = call double @llvm.fmuladd.f64(double %327, double %326, double %324)
%329 = load double, ptr %26, align 8
%330 = load double, ptr %26, align 8
%331 = fneg double %329
%332 = call double @llvm.fmuladd.f64(double %331, double %330, double %328)
store double %332, ptr %53, align 8
%333 = load double, ptr %53, align 8
%334 = fcmp ogt double %333, 0.000000e+00
br i1 %334, label %335, label %355
335: ; preds = %320
%336 = load double, ptr %53, align 8
%337 = load double, ptr %53, align 8
%338 = fmul double %337, %336
store double %338, ptr %53, align 8
%339 = load double, ptr %53, align 8
%340 = load double, ptr %53, align 8
%341 = fmul double %339, %340
%342 = load ptr, ptr %5, align 8
%343 = load i32, ptr %13, align 4
%344 = add nsw i32 %343, 0
%345 = load i32, ptr %14, align 4
%346 = add nsw i32 %345, 0
%347 = load i32, ptr %15, align 4
%348 = add nsw i32 %347, 0
%349 = load double, ptr %24, align 8
%350 = load double, ptr %25, align 8
%351 = load double, ptr %26, align 8
%352 = call double @extrapolate3(ptr noundef %342, i32 noundef %344, i32 noundef %346, i32 noundef %348, double noundef %349, double noundef %350, double noundef %351)
%353 = load double, ptr %80, align 8
%354 = call double @llvm.fmuladd.f64(double %341, double %352, double %353)
store double %354, ptr %80, align 8
br label %355
355: ; preds = %335, %320
%356 = load double, ptr %24, align 8
%357 = fsub double %356, 1.000000e+00
%358 = fsub double %357, 0x3FD5555555555555
store double %358, ptr %60, align 8
%359 = load double, ptr %25, align 8
%360 = fsub double %359, 0.000000e+00
%361 = fsub double %360, 0x3FD5555555555555
store double %361, ptr %61, align 8
%362 = load double, ptr %26, align 8
%363 = fsub double %362, 0.000000e+00
%364 = fsub double %363, 0x3FD5555555555555
store double %364, ptr %62, align 8
%365 = load double, ptr %60, align 8
%366 = load double, ptr %60, align 8
%367 = fneg double %365
%368 = call double @llvm.fmuladd.f64(double %367, double %366, double 2.000000e+00)
%369 = load double, ptr %61, align 8
%370 = load double, ptr %61, align 8
%371 = fneg double %369
%372 = call double @llvm.fmuladd.f64(double %371, double %370, double %368)
%373 = load double, ptr %62, align 8
%374 = load double, ptr %62, align 8
%375 = fneg double %373
%376 = call double @llvm.fmuladd.f64(double %375, double %374, double %372)
store double %376, ptr %54, align 8
%377 = load double, ptr %54, align 8
%378 = fcmp ogt double %377, 0.000000e+00
br i1 %378, label %379, label %399
379: ; preds = %355
%380 = load double, ptr %54, align 8
%381 = load double, ptr %54, align 8
%382 = fmul double %381, %380
store double %382, ptr %54, align 8
%383 = load double, ptr %54, align 8
%384 = load double, ptr %54, align 8
%385 = fmul double %383, %384
%386 = load ptr, ptr %5, align 8
%387 = load i32, ptr %13, align 4
%388 = add nsw i32 %387, 1
%389 = load i32, ptr %14, align 4
%390 = add nsw i32 %389, 0
%391 = load i32, ptr %15, align 4
%392 = add nsw i32 %391, 0
%393 = load double, ptr %60, align 8
%394 = load double, ptr %61, align 8
%395 = load double, ptr %62, align 8
%396 = call double @extrapolate3(ptr noundef %386, i32 noundef %388, i32 noundef %390, i32 noundef %392, double noundef %393, double noundef %394, double noundef %395)
%397 = load double, ptr %80, align 8
%398 = call double @llvm.fmuladd.f64(double %385, double %396, double %397)
store double %398, ptr %80, align 8
br label %399
399: ; preds = %379, %355
%400 = load double, ptr %24, align 8
%401 = fsub double %400, 0.000000e+00
%402 = fsub double %401, 0x3FD5555555555555
store double %402, ptr %63, align 8
%403 = load double, ptr %25, align 8
%404 = fsub double %403, 1.000000e+00
%405 = fsub double %404, 0x3FD5555555555555
store double %405, ptr %64, align 8
%406 = load double, ptr %62, align 8
store double %406, ptr %65, align 8
%407 = load double, ptr %63, align 8
%408 = load double, ptr %63, align 8
%409 = fneg double %407
%410 = call double @llvm.fmuladd.f64(double %409, double %408, double 2.000000e+00)
%411 = load double, ptr %64, align 8
%412 = load double, ptr %64, align 8
%413 = fneg double %411
%414 = call double @llvm.fmuladd.f64(double %413, double %412, double %410)
%415 = load double, ptr %65, align 8
%416 = load double, ptr %65, align 8
%417 = fneg double %415
%418 = call double @llvm.fmuladd.f64(double %417, double %416, double %414)
store double %418, ptr %55, align 8
%419 = load double, ptr %55, align 8
%420 = fcmp ogt double %419, 0.000000e+00
br i1 %420, label %421, label %441
421: ; preds = %399
%422 = load double, ptr %55, align 8
%423 = load double, ptr %55, align 8
%424 = fmul double %423, %422
store double %424, ptr %55, align 8
%425 = load double, ptr %55, align 8
%426 = load double, ptr %55, align 8
%427 = fmul double %425, %426
%428 = load ptr, ptr %5, align 8
%429 = load i32, ptr %13, align 4
%430 = add nsw i32 %429, 0
%431 = load i32, ptr %14, align 4
%432 = add nsw i32 %431, 1
%433 = load i32, ptr %15, align 4
%434 = add nsw i32 %433, 0
%435 = load double, ptr %63, align 8
%436 = load double, ptr %64, align 8
%437 = load double, ptr %65, align 8
%438 = call double @extrapolate3(ptr noundef %428, i32 noundef %430, i32 noundef %432, i32 noundef %434, double noundef %435, double noundef %436, double noundef %437)
%439 = load double, ptr %80, align 8
%440 = call double @llvm.fmuladd.f64(double %427, double %438, double %439)
store double %440, ptr %80, align 8
br label %441
441: ; preds = %421, %399
%442 = load double, ptr %63, align 8
store double %442, ptr %66, align 8
%443 = load double, ptr %61, align 8
store double %443, ptr %67, align 8
%444 = load double, ptr %26, align 8
%445 = fsub double %444, 1.000000e+00
%446 = fsub double %445, 0x3FD5555555555555
store double %446, ptr %68, align 8
%447 = load double, ptr %66, align 8
%448 = load double, ptr %66, align 8
%449 = fneg double %447
%450 = call double @llvm.fmuladd.f64(double %449, double %448, double 2.000000e+00)
%451 = load double, ptr %67, align 8
%452 = load double, ptr %67, align 8
%453 = fneg double %451
%454 = call double @llvm.fmuladd.f64(double %453, double %452, double %450)
%455 = load double, ptr %68, align 8
%456 = load double, ptr %68, align 8
%457 = fneg double %455
%458 = call double @llvm.fmuladd.f64(double %457, double %456, double %454)
store double %458, ptr %56, align 8
%459 = load double, ptr %56, align 8
%460 = fcmp ogt double %459, 0.000000e+00
br i1 %460, label %461, label %481
461: ; preds = %441
%462 = load double, ptr %56, align 8
%463 = load double, ptr %56, align 8
%464 = fmul double %463, %462
store double %464, ptr %56, align 8
%465 = load double, ptr %56, align 8
%466 = load double, ptr %56, align 8
%467 = fmul double %465, %466
%468 = load ptr, ptr %5, align 8
%469 = load i32, ptr %13, align 4
%470 = add nsw i32 %469, 0
%471 = load i32, ptr %14, align 4
%472 = add nsw i32 %471, 0
%473 = load i32, ptr %15, align 4
%474 = add nsw i32 %473, 1
%475 = load double, ptr %66, align 8
%476 = load double, ptr %67, align 8
%477 = load double, ptr %68, align 8
%478 = call double @extrapolate3(ptr noundef %468, i32 noundef %470, i32 noundef %472, i32 noundef %474, double noundef %475, double noundef %476, double noundef %477)
%479 = load double, ptr %80, align 8
%480 = call double @llvm.fmuladd.f64(double %467, double %478, double %479)
store double %480, ptr %80, align 8
br label %481
481: ; preds = %461, %441
br label %1403
482: ; preds = %4
%483 = load double, ptr %23, align 8
%484 = fcmp oge double %483, 2.000000e+00
br i1 %484, label %485, label %832
485: ; preds = %482
store i32 6, ptr %43, align 4
%486 = load double, ptr %20, align 8
store double %486, ptr %45, align 8
store i32 5, ptr %44, align 4
%487 = load double, ptr %21, align 8
store double %487, ptr %46, align 8
%488 = load double, ptr %45, align 8
%489 = load double, ptr %46, align 8
%490 = fcmp ole double %488, %489
br i1 %490, label %491, label %497
491: ; preds = %485
%492 = load double, ptr %22, align 8
%493 = load double, ptr %46, align 8
%494 = fcmp olt double %492, %493
br i1 %494, label %495, label %497
495: ; preds = %491
%496 = load double, ptr %22, align 8
store double %496, ptr %46, align 8
store i32 3, ptr %44, align 4
br label %508
497: ; preds = %491, %485
%498 = load double, ptr %45, align 8
%499 = load double, ptr %46, align 8
%500 = fcmp ogt double %498, %499
br i1 %500, label %501, label %507
501: ; preds = %497
%502 = load double, ptr %22, align 8
%503 = load double, ptr %45, align 8
%504 = fcmp olt double %502, %503
br i1 %504, label %505, label %507
505: ; preds = %501
%506 = load double, ptr %22, align 8
store double %506, ptr %45, align 8
store i32 3, ptr %43, align 4
br label %507
507: ; preds = %505, %501, %497
br label %508
508: ; preds = %507, %495
%509 = load double, ptr %23, align 8
%510 = fsub double 3.000000e+00, %509
store double %510, ptr %39, align 8
%511 = load double, ptr %39, align 8
%512 = load double, ptr %45, align 8
%513 = fcmp olt double %511, %512
br i1 %513, label %518, label %514
514: ; preds = %508
%515 = load double, ptr %39, align 8
%516 = load double, ptr %46, align 8
%517 = fcmp olt double %515, %516
br i1 %517, label %518, label %594
518: ; preds = %514, %508
%519 = load double, ptr %46, align 8
%520 = load double, ptr %45, align 8
%521 = fcmp olt double %519, %520
br i1 %521, label %522, label %524
522: ; preds = %518
%523 = load i32, ptr %44, align 4
br label %526
524: ; preds = %518
%525 = load i32, ptr %43, align 4
br label %526
526: ; preds = %524, %522
%527 = phi i32 [ %523, %522 ], [ %525, %524 ]
store i32 %527, ptr %40, align 4
%528 = load i32, ptr %40, align 4
%529 = and i32 %528, 1
%530 = icmp ne i32 %529, 0
br i1 %530, label %531, label %542
531: ; preds = %526
%532 = load i32, ptr %13, align 4
%533 = add nsw i32 %532, 2
store i32 %533, ptr %33, align 4
%534 = load i32, ptr %13, align 4
%535 = add nsw i32 %534, 1
store i32 %535, ptr %36, align 4
%536 = load double, ptr %24, align 8
%537 = fsub double %536, 2.000000e+00
%538 = fsub double %537, 1.000000e+00
store double %538, ptr %27, align 8
%539 = load double, ptr %24, align 8
%540 = fsub double %539, 1.000000e+00
%541 = fsub double %540, 1.000000e+00
store double %541, ptr %30, align 8
br label %546
542: ; preds = %526
%543 = load i32, ptr %13, align 4
store i32 %543, ptr %36, align 4
store i32 %543, ptr %33, align 4
%544 = load double, ptr %24, align 8
%545 = fsub double %544, 1.000000e+00
store double %545, ptr %30, align 8
store double %545, ptr %27, align 8
br label %546
546: ; preds = %542, %531
%547 = load i32, ptr %40, align 4
%548 = and i32 %547, 2
%549 = icmp ne i32 %548, 0
br i1 %549, label %550, label %570
550: ; preds = %546
%551 = load i32, ptr %14, align 4
%552 = add nsw i32 %551, 1
store i32 %552, ptr %37, align 4
store i32 %552, ptr %34, align 4
%553 = load double, ptr %25, align 8
%554 = fsub double %553, 1.000000e+00
%555 = fsub double %554, 1.000000e+00
store double %555, ptr %31, align 8
store double %555, ptr %28, align 8
%556 = load i32, ptr %40, align 4
%557 = and i32 %556, 1
%558 = icmp ne i32 %557, 0
br i1 %558, label %559, label %564
559: ; preds = %550
%560 = load i32, ptr %37, align 4
%561 = add nsw i32 %560, 1
store i32 %561, ptr %37, align 4
%562 = load double, ptr %31, align 8
%563 = fsub double %562, 1.000000e+00
store double %563, ptr %31, align 8
br label %569
564: ; preds = %550
%565 = load i32, ptr %34, align 4
%566 = add nsw i32 %565, 1
store i32 %566, ptr %34, align 4
%567 = load double, ptr %28, align 8
%568 = fsub double %567, 1.000000e+00
store double %568, ptr %28, align 8
br label %569
569: ; preds = %564, %559
br label %574
570: ; preds = %546
%571 = load i32, ptr %14, align 4
store i32 %571, ptr %37, align 4
store i32 %571, ptr %34, align 4
%572 = load double, ptr %25, align 8
%573 = fsub double %572, 1.000000e+00
store double %573, ptr %31, align 8
store double %573, ptr %28, align 8
br label %574
574: ; preds = %570, %569
%575 = load i32, ptr %40, align 4
%576 = and i32 %575, 4
%577 = icmp ne i32 %576, 0
br i1 %577, label %578, label %589
578: ; preds = %574
%579 = load i32, ptr %15, align 4
%580 = add nsw i32 %579, 1
store i32 %580, ptr %35, align 4
%581 = load i32, ptr %15, align 4
%582 = add nsw i32 %581, 2
store i32 %582, ptr %38, align 4
%583 = load double, ptr %26, align 8
%584 = fsub double %583, 1.000000e+00
%585 = fsub double %584, 1.000000e+00
store double %585, ptr %29, align 8
%586 = load double, ptr %26, align 8
%587 = fsub double %586, 2.000000e+00
%588 = fsub double %587, 1.000000e+00
store double %588, ptr %32, align 8
br label %593
589: ; preds = %574
%590 = load i32, ptr %15, align 4
store i32 %590, ptr %38, align 4
store i32 %590, ptr %35, align 4
%591 = load double, ptr %26, align 8
%592 = fsub double %591, 1.000000e+00
store double %592, ptr %32, align 8
store double %592, ptr %29, align 8
br label %593
593: ; preds = %589, %578
br label %661
594: ; preds = %514
%595 = load i32, ptr %43, align 4
%596 = load i32, ptr %44, align 4
%597 = and i32 %595, %596
store i32 %597, ptr %40, align 4
%598 = load i32, ptr %40, align 4
%599 = and i32 %598, 1
%600 = icmp ne i32 %599, 0
br i1 %600, label %601, label %612
601: ; preds = %594
%602 = load i32, ptr %13, align 4
%603 = add nsw i32 %602, 1
store i32 %603, ptr %33, align 4
%604 = load i32, ptr %13, align 4
%605 = add nsw i32 %604, 2
store i32 %605, ptr %36, align 4
%606 = load double, ptr %24, align 8
%607 = fsub double %606, 1.000000e+00
%608 = fsub double %607, 0x3FD5555555555555
store double %608, ptr %27, align 8
%609 = load double, ptr %24, align 8
%610 = fsub double %609, 2.000000e+00
%611 = fsub double %610, 0x3FE5555555555555
store double %611, ptr %30, align 8
br label %618
612: ; preds = %594
%613 = load i32, ptr %13, align 4
store i32 %613, ptr %36, align 4
store i32 %613, ptr %33, align 4
%614 = load double, ptr %24, align 8
%615 = fsub double %614, 0x3FD5555555555555
store double %615, ptr %27, align 8
%616 = load double, ptr %24, align 8
%617 = fsub double %616, 0x3FE5555555555555
store double %617, ptr %30, align 8
br label %618
618: ; preds = %612, %601
%619 = load i32, ptr %40, align 4
%620 = and i32 %619, 2
%621 = icmp ne i32 %620, 0
br i1 %621, label %622, label %633
622: ; preds = %618
%623 = load i32, ptr %14, align 4
%624 = add nsw i32 %623, 1
store i32 %624, ptr %34, align 4
%625 = load i32, ptr %14, align 4
%626 = add nsw i32 %625, 2
store i32 %626, ptr %37, align 4
%627 = load double, ptr %25, align 8
%628 = fsub double %627, 1.000000e+00
%629 = fsub double %628, 0x3FD5555555555555
store double %629, ptr %28, align 8
%630 = load double, ptr %25, align 8
%631 = fsub double %630, 2.000000e+00
%632 = fsub double %631, 0x3FE5555555555555
store double %632, ptr %31, align 8
br label %639
633: ; preds = %618
%634 = load i32, ptr %14, align 4
store i32 %634, ptr %37, align 4
store i32 %634, ptr %34, align 4
%635 = load double, ptr %25, align 8
%636 = fsub double %635, 0x3FD5555555555555
store double %636, ptr %28, align 8
%637 = load double, ptr %25, align 8
%638 = fsub double %637, 0x3FE5555555555555
store double %638, ptr %31, align 8
br label %639
639: ; preds = %633, %622
%640 = load i32, ptr %40, align 4
%641 = and i32 %640, 4
%642 = icmp ne i32 %641, 0
br i1 %642, label %643, label %654
643: ; preds = %639
%644 = load i32, ptr %15, align 4
%645 = add nsw i32 %644, 1
store i32 %645, ptr %35, align 4
%646 = load i32, ptr %15, align 4
%647 = add nsw i32 %646, 2
store i32 %647, ptr %38, align 4
%648 = load double, ptr %26, align 8
%649 = fsub double %648, 1.000000e+00
%650 = fsub double %649, 0x3FD5555555555555
store double %650, ptr %29, align 8
%651 = load double, ptr %26, align 8
%652 = fsub double %651, 2.000000e+00
%653 = fsub double %652, 0x3FE5555555555555
store double %653, ptr %32, align 8
br label %660
654: ; preds = %639
%655 = load i32, ptr %15, align 4
store i32 %655, ptr %38, align 4
store i32 %655, ptr %35, align 4
%656 = load double, ptr %26, align 8
%657 = fsub double %656, 0x3FD5555555555555
store double %657, ptr %29, align 8
%658 = load double, ptr %26, align 8
%659 = fsub double %658, 0x3FE5555555555555
store double %659, ptr %32, align 8
br label %660
660: ; preds = %654, %643
br label %661
661: ; preds = %660, %593
%662 = load double, ptr %24, align 8
%663 = fsub double %662, 1.000000e+00
%664 = fsub double %663, 0x3FE5555555555555
store double %664, ptr %66, align 8
%665 = load double, ptr %25, align 8
%666 = fsub double %665, 1.000000e+00
%667 = fsub double %666, 0x3FE5555555555555
store double %667, ptr %67, align 8
%668 = load double, ptr %26, align 8
%669 = fsub double %668, 0.000000e+00
%670 = fsub double %669, 0x3FE5555555555555
store double %670, ptr %68, align 8
%671 = load double, ptr %66, align 8
%672 = load double, ptr %66, align 8
%673 = fneg double %671
%674 = call double @llvm.fmuladd.f64(double %673, double %672, double 2.000000e+00)
%675 = load double, ptr %67, align 8
%676 = load double, ptr %67, align 8
%677 = fneg double %675
%678 = call double @llvm.fmuladd.f64(double %677, double %676, double %674)
%679 = load double, ptr %68, align 8
%680 = load double, ptr %68, align 8
%681 = fneg double %679
%682 = call double @llvm.fmuladd.f64(double %681, double %680, double %678)
store double %682, ptr %56, align 8
%683 = load double, ptr %56, align 8
%684 = fcmp ogt double %683, 0.000000e+00
br i1 %684, label %685, label %705
685: ; preds = %661
%686 = load double, ptr %56, align 8
%687 = load double, ptr %56, align 8
%688 = fmul double %687, %686
store double %688, ptr %56, align 8
%689 = load double, ptr %56, align 8
%690 = load double, ptr %56, align 8
%691 = fmul double %689, %690
%692 = load ptr, ptr %5, align 8
%693 = load i32, ptr %13, align 4
%694 = add nsw i32 %693, 1
%695 = load i32, ptr %14, align 4
%696 = add nsw i32 %695, 1
%697 = load i32, ptr %15, align 4
%698 = add nsw i32 %697, 0
%699 = load double, ptr %66, align 8
%700 = load double, ptr %67, align 8
%701 = load double, ptr %68, align 8
%702 = call double @extrapolate3(ptr noundef %692, i32 noundef %694, i32 noundef %696, i32 noundef %698, double noundef %699, double noundef %700, double noundef %701)
%703 = load double, ptr %80, align 8
%704 = call double @llvm.fmuladd.f64(double %691, double %702, double %703)
store double %704, ptr %80, align 8
br label %705
705: ; preds = %685, %661
%706 = load double, ptr %66, align 8
store double %706, ptr %63, align 8
%707 = load double, ptr %25, align 8
%708 = fsub double %707, 0.000000e+00
%709 = fsub double %708, 0x3FE5555555555555
store double %709, ptr %64, align 8
%710 = load double, ptr %26, align 8
%711 = fsub double %710, 1.000000e+00
%712 = fsub double %711, 0x3FE5555555555555
store double %712, ptr %65, align 8
%713 = load double, ptr %63, align 8
%714 = load double, ptr %63, align 8
%715 = fneg double %713
%716 = call double @llvm.fmuladd.f64(double %715, double %714, double 2.000000e+00)
%717 = load double, ptr %64, align 8
%718 = load double, ptr %64, align 8
%719 = fneg double %717
%720 = call double @llvm.fmuladd.f64(double %719, double %718, double %716)
%721 = load double, ptr %65, align 8
%722 = load double, ptr %65, align 8
%723 = fneg double %721
%724 = call double @llvm.fmuladd.f64(double %723, double %722, double %720)
store double %724, ptr %55, align 8
%725 = load double, ptr %55, align 8
%726 = fcmp ogt double %725, 0.000000e+00
br i1 %726, label %727, label %747
727: ; preds = %705
%728 = load double, ptr %55, align 8
%729 = load double, ptr %55, align 8
%730 = fmul double %729, %728
store double %730, ptr %55, align 8
%731 = load double, ptr %55, align 8
%732 = load double, ptr %55, align 8
%733 = fmul double %731, %732
%734 = load ptr, ptr %5, align 8
%735 = load i32, ptr %13, align 4
%736 = add nsw i32 %735, 1
%737 = load i32, ptr %14, align 4
%738 = add nsw i32 %737, 0
%739 = load i32, ptr %15, align 4
%740 = add nsw i32 %739, 1
%741 = load double, ptr %63, align 8
%742 = load double, ptr %64, align 8
%743 = load double, ptr %65, align 8
%744 = call double @extrapolate3(ptr noundef %734, i32 noundef %736, i32 noundef %738, i32 noundef %740, double noundef %741, double noundef %742, double noundef %743)
%745 = load double, ptr %80, align 8
%746 = call double @llvm.fmuladd.f64(double %733, double %744, double %745)
store double %746, ptr %80, align 8
br label %747
747: ; preds = %727, %705
%748 = load double, ptr %24, align 8
%749 = fsub double %748, 0.000000e+00
%750 = fsub double %749, 0x3FE5555555555555
store double %750, ptr %60, align 8
%751 = load double, ptr %67, align 8
store double %751, ptr %61, align 8
%752 = load double, ptr %65, align 8
store double %752, ptr %62, align 8
%753 = load double, ptr %60, align 8
%754 = load double, ptr %60, align 8
%755 = fneg double %753
%756 = call double @llvm.fmuladd.f64(double %755, double %754, double 2.000000e+00)
%757 = load double, ptr %61, align 8
%758 = load double, ptr %61, align 8
%759 = fneg double %757
%760 = call double @llvm.fmuladd.f64(double %759, double %758, double %756)
%761 = load double, ptr %62, align 8
%762 = load double, ptr %62, align 8
%763 = fneg double %761
%764 = call double @llvm.fmuladd.f64(double %763, double %762, double %760)
store double %764, ptr %54, align 8
%765 = load double, ptr %54, align 8
%766 = fcmp ogt double %765, 0.000000e+00
br i1 %766, label %767, label %787
767: ; preds = %747
%768 = load double, ptr %54, align 8
%769 = load double, ptr %54, align 8
%770 = fmul double %769, %768
store double %770, ptr %54, align 8
%771 = load double, ptr %54, align 8
%772 = load double, ptr %54, align 8
%773 = fmul double %771, %772
%774 = load ptr, ptr %5, align 8
%775 = load i32, ptr %13, align 4
%776 = add nsw i32 %775, 0
%777 = load i32, ptr %14, align 4
%778 = add nsw i32 %777, 1
%779 = load i32, ptr %15, align 4
%780 = add nsw i32 %779, 1
%781 = load double, ptr %60, align 8
%782 = load double, ptr %61, align 8
%783 = load double, ptr %62, align 8
%784 = call double @extrapolate3(ptr noundef %774, i32 noundef %776, i32 noundef %778, i32 noundef %780, double noundef %781, double noundef %782, double noundef %783)
%785 = load double, ptr %80, align 8
%786 = call double @llvm.fmuladd.f64(double %773, double %784, double %785)
store double %786, ptr %80, align 8
br label %787
787: ; preds = %767, %747
%788 = load double, ptr %24, align 8
%789 = fsub double %788, 1.000000e+00
%790 = fsub double %789, 1.000000e+00
store double %790, ptr %24, align 8
%791 = load double, ptr %25, align 8
%792 = fsub double %791, 1.000000e+00
%793 = fsub double %792, 1.000000e+00
store double %793, ptr %25, align 8
%794 = load double, ptr %26, align 8
%795 = fsub double %794, 1.000000e+00
%796 = fsub double %795, 1.000000e+00
store double %796, ptr %26, align 8
%797 = load double, ptr %24, align 8
%798 = load double, ptr %24, align 8
%799 = fneg double %797
%800 = call double @llvm.fmuladd.f64(double %799, double %798, double 2.000000e+00)
%801 = load double, ptr %25, align 8
%802 = load double, ptr %25, align 8
%803 = fneg double %801
%804 = call double @llvm.fmuladd.f64(double %803, double %802, double %800)
%805 = load double, ptr %26, align 8
%806 = load double, ptr %26, align 8
%807 = fneg double %805
%808 = call double @llvm.fmuladd.f64(double %807, double %806, double %804)
store double %808, ptr %53, align 8
%809 = load double, ptr %53, align 8
%810 = fcmp ogt double %809, 0.000000e+00
br i1 %810, label %811, label %831
811: ; preds = %787
%812 = load double, ptr %53, align 8
%813 = load double, ptr %53, align 8
%814 = fmul double %813, %812
store double %814, ptr %53, align 8
%815 = load double, ptr %53, align 8
%816 = load double, ptr %53, align 8
%817 = fmul double %815, %816
%818 = load ptr, ptr %5, align 8
%819 = load i32, ptr %13, align 4
%820 = add nsw i32 %819, 1
%821 = load i32, ptr %14, align 4
%822 = add nsw i32 %821, 1
%823 = load i32, ptr %15, align 4
%824 = add nsw i32 %823, 1
%825 = load double, ptr %24, align 8
%826 = load double, ptr %25, align 8
%827 = load double, ptr %26, align 8
%828 = call double @extrapolate3(ptr noundef %818, i32 noundef %820, i32 noundef %822, i32 noundef %824, double noundef %825, double noundef %826, double noundef %827)
%829 = load double, ptr %80, align 8
%830 = call double @llvm.fmuladd.f64(double %817, double %828, double %829)
store double %830, ptr %80, align 8
br label %831
831: ; preds = %811, %787
br label %1402
832: ; preds = %482
%833 = load double, ptr %20, align 8
%834 = load double, ptr %21, align 8
%835 = fadd double %833, %834
store double %835, ptr %49, align 8
%836 = load double, ptr %49, align 8
%837 = fcmp ogt double %836, 1.000000e+00
br i1 %837, label %838, label %841
838: ; preds = %832
%839 = load double, ptr %49, align 8
%840 = fsub double %839, 1.000000e+00
store double %840, ptr %45, align 8
store i32 3, ptr %43, align 4
store i32 1, ptr %47, align 4
br label %844
841: ; preds = %832
%842 = load double, ptr %49, align 8
%843 = fsub double 1.000000e+00, %842
store double %843, ptr %45, align 8
store i32 4, ptr %43, align 4
store i32 0, ptr %47, align 4
br label %844
844: ; preds = %841, %838
%845 = load double, ptr %20, align 8
%846 = load double, ptr %22, align 8
%847 = fadd double %845, %846
store double %847, ptr %50, align 8
%848 = load double, ptr %50, align 8
%849 = fcmp ogt double %848, 1.000000e+00
br i1 %849, label %850, label %853
850: ; preds = %844
%851 = load double, ptr %50, align 8
%852 = fsub double %851, 1.000000e+00
store double %852, ptr %46, align 8
store i32 5, ptr %44, align 4
store i32 1, ptr %48, align 4
br label %856
853: ; preds = %844
%854 = load double, ptr %50, align 8
%855 = fsub double 1.000000e+00, %854
store double %855, ptr %46, align 8
store i32 2, ptr %44, align 4
store i32 0, ptr %48, align 4
br label %856
856: ; preds = %853, %850
%857 = load double, ptr %21, align 8
%858 = load double, ptr %22, align 8
%859 = fadd double %857, %858
store double %859, ptr %51, align 8
%860 = load double, ptr %51, align 8
%861 = fcmp ogt double %860, 1.000000e+00
br i1 %861, label %862, label %886
862: ; preds = %856
%863 = load double, ptr %51, align 8
%864 = fsub double %863, 1.000000e+00
store double %864, ptr %52, align 8
%865 = load double, ptr %45, align 8
%866 = load double, ptr %46, align 8
%867 = fcmp ole double %865, %866
br i1 %867, label %868, label %874
868: ; preds = %862
%869 = load double, ptr %45, align 8
%870 = load double, ptr %52, align 8
%871 = fcmp olt double %869, %870
br i1 %871, label %872, label %874
872: ; preds = %868
%873 = load double, ptr %52, align 8
store double %873, ptr %45, align 8
store i32 6, ptr %43, align 4
store i32 1, ptr %47, align 4
br label %885
874: ; preds = %868, %862
%875 = load double, ptr %45, align 8
%876 = load double, ptr %46, align 8
%877 = fcmp ogt double %875, %876
br i1 %877, label %878, label %884
878: ; preds = %874
%879 = load double, ptr %46, align 8
%880 = load double, ptr %52, align 8
%881 = fcmp olt double %879, %880
br i1 %881, label %882, label %884
882: ; preds = %878
%883 = load double, ptr %52, align 8
store double %883, ptr %46, align 8
store i32 6, ptr %44, align 4
store i32 1, ptr %48, align 4
br label %884
884: ; preds = %882, %878, %874
br label %885
885: ; preds = %884, %872
br label %910
886: ; preds = %856
%887 = load double, ptr %51, align 8
%888 = fsub double 1.000000e+00, %887
store double %888, ptr %52, align 8
%889 = load double, ptr %45, align 8
%890 = load double, ptr %46, align 8
%891 = fcmp ole double %889, %890
br i1 %891, label %892, label %898
892: ; preds = %886
%893 = load double, ptr %45, align 8
%894 = load double, ptr %52, align 8
%895 = fcmp olt double %893, %894
br i1 %895, label %896, label %898
896: ; preds = %892
%897 = load double, ptr %52, align 8
store double %897, ptr %45, align 8
store i32 1, ptr %43, align 4
store i32 0, ptr %47, align 4
br label %909
898: ; preds = %892, %886
%899 = load double, ptr %45, align 8
%900 = load double, ptr %46, align 8
%901 = fcmp ogt double %899, %900
br i1 %901, label %902, label %908
902: ; preds = %898
%903 = load double, ptr %46, align 8
%904 = load double, ptr %52, align 8
%905 = fcmp olt double %903, %904
br i1 %905, label %906, label %908
906: ; preds = %902
%907 = load double, ptr %52, align 8
store double %907, ptr %46, align 8
store i32 1, ptr %44, align 4
store i32 0, ptr %48, align 4
br label %908
908: ; preds = %906, %902, %898
br label %909
909: ; preds = %908, %896
br label %910
910: ; preds = %909, %885
%911 = load i32, ptr %47, align 4
%912 = load i32, ptr %48, align 4
%913 = icmp eq i32 %911, %912
br i1 %913, label %914, label %1049
914: ; preds = %910
%915 = load i32, ptr %47, align 4
%916 = icmp ne i32 %915, 0
br i1 %916, label %917, label %981
917: ; preds = %914
%918 = load double, ptr %24, align 8
%919 = fsub double %918, 1.000000e+00
%920 = fsub double %919, 1.000000e+00
store double %920, ptr %27, align 8
%921 = load double, ptr %25, align 8
%922 = fsub double %921, 1.000000e+00
%923 = fsub double %922, 1.000000e+00
store double %923, ptr %28, align 8
%924 = load double, ptr %26, align 8
%925 = fsub double %924, 1.000000e+00
%926 = fsub double %925, 1.000000e+00
store double %926, ptr %29, align 8
%927 = load i32, ptr %13, align 4
%928 = add nsw i32 %927, 1
store i32 %928, ptr %33, align 4
%929 = load i32, ptr %14, align 4
%930 = add nsw i32 %929, 1
store i32 %930, ptr %34, align 4
%931 = load i32, ptr %15, align 4
%932 = add nsw i32 %931, 1
store i32 %932, ptr %35, align 4
%933 = load i32, ptr %43, align 4
%934 = load i32, ptr %44, align 4
%935 = and i32 %933, %934
store i32 %935, ptr %40, align 4
%936 = load i32, ptr %40, align 4
%937 = and i32 %936, 1
%938 = icmp ne i32 %937, 0
br i1 %938, label %939, label %951
939: ; preds = %917
%940 = load double, ptr %24, align 8
%941 = fsub double %940, 2.000000e+00
%942 = fsub double %941, 0x3FE5555555555555
store double %942, ptr %30, align 8
%943 = load double, ptr %25, align 8
%944 = fsub double %943, 0x3FE5555555555555
store double %944, ptr %31, align 8
%945 = load double, ptr %26, align 8
%946 = fsub double %945, 0x3FE5555555555555
store double %946, ptr %32, align 8
%947 = load i32, ptr %13, align 4
%948 = add nsw i32 %947, 2
store i32 %948, ptr %36, align 4
%949 = load i32, ptr %14, align 4
store i32 %949, ptr %37, align 4
%950 = load i32, ptr %15, align 4
store i32 %950, ptr %38, align 4
br label %980
951: ; preds = %917
%952 = load i32, ptr %40, align 4
%953 = and i32 %952, 2
%954 = icmp ne i32 %953, 0
br i1 %954, label %955, label %967
955: ; preds = %951
%956 = load double, ptr %24, align 8
%957 = fsub double %956, 0x3FE5555555555555
store double %957, ptr %30, align 8
%958 = load double, ptr %25, align 8
%959 = fsub double %958, 2.000000e+00
%960 = fsub double %959, 0x3FE5555555555555
store double %960, ptr %31, align 8
%961 = load double, ptr %26, align 8
%962 = fsub double %961, 0x3FE5555555555555
store double %962, ptr %32, align 8
%963 = load i32, ptr %13, align 4
store i32 %963, ptr %36, align 4
%964 = load i32, ptr %14, align 4
%965 = add nsw i32 %964, 2
store i32 %965, ptr %37, align 4
%966 = load i32, ptr %15, align 4
store i32 %966, ptr %38, align 4
br label %979
967: ; preds = %951
%968 = load double, ptr %24, align 8
%969 = fsub double %968, 0x3FE5555555555555
store double %969, ptr %30, align 8
%970 = load double, ptr %25, align 8
%971 = fsub double %970, 0x3FE5555555555555
store double %971, ptr %31, align 8
%972 = load double, ptr %26, align 8
%973 = fsub double %972, 2.000000e+00
%974 = fsub double %973, 0x3FE5555555555555
store double %974, ptr %32, align 8
%975 = load i32, ptr %13, align 4
store i32 %975, ptr %36, align 4
%976 = load i32, ptr %14, align 4
store i32 %976, ptr %37, align 4
%977 = load i32, ptr %15, align 4
%978 = add nsw i32 %977, 2
store i32 %978, ptr %38, align 4
br label %979
979: ; preds = %967, %955
br label %980
980: ; preds = %979, %939
br label %1048
981: ; preds = %914
%982 = load double, ptr %24, align 8
store double %982, ptr %27, align 8
%983 = load double, ptr %25, align 8
store double %983, ptr %28, align 8
%984 = load double, ptr %26, align 8
store double %984, ptr %29, align 8
%985 = load i32, ptr %13, align 4
store i32 %985, ptr %33, align 4
%986 = load i32, ptr %14, align 4
store i32 %986, ptr %34, align 4
%987 = load i32, ptr %15, align 4
store i32 %987, ptr %35, align 4
%988 = load i32, ptr %43, align 4
%989 = load i32, ptr %44, align 4
%990 = or i32 %988, %989
store i32 %990, ptr %40, align 4
%991 = load i32, ptr %40, align 4
%992 = and i32 %991, 1
%993 = icmp eq i32 %992, 0
br i1 %993, label %994, label %1010
994: ; preds = %981
%995 = load double, ptr %24, align 8
%996 = fadd double %995, 1.000000e+00
%997 = fsub double %996, 0x3FD5555555555555
store double %997, ptr %30, align 8
%998 = load double, ptr %25, align 8
%999 = fsub double %998, 1.000000e+00
%1000 = fsub double %999, 0x3FD5555555555555
store double %1000, ptr %31, align 8
%1001 = load double, ptr %26, align 8
%1002 = fsub double %1001, 1.000000e+00
%1003 = fsub double %1002, 0x3FD5555555555555
store double %1003, ptr %32, align 8
%1004 = load i32, ptr %13, align 4
%1005 = sub nsw i32 %1004, 1
store i32 %1005, ptr %36, align 4
%1006 = load i32, ptr %14, align 4
%1007 = add nsw i32 %1006, 1
store i32 %1007, ptr %37, align 4
%1008 = load i32, ptr %15, align 4
%1009 = add nsw i32 %1008, 1
store i32 %1009, ptr %38, align 4
br label %1047
1010: ; preds = %981
%1011 = load i32, ptr %40, align 4
%1012 = and i32 %1011, 2
%1013 = icmp eq i32 %1012, 0
br i1 %1013, label %1014, label %1030
1014: ; preds = %1010
%1015 = load double, ptr %24, align 8
%1016 = fsub double %1015, 1.000000e+00
%1017 = fsub double %1016, 0x3FD5555555555555
store double %1017, ptr %30, align 8
%1018 = load double, ptr %25, align 8
%1019 = fadd double %1018, 1.000000e+00
%1020 = fsub double %1019, 0x3FD5555555555555
store double %1020, ptr %31, align 8
%1021 = load double, ptr %26, align 8
%1022 = fsub double %1021, 1.000000e+00
%1023 = fsub double %1022, 0x3FD5555555555555
store double %1023, ptr %32, align 8
%1024 = load i32, ptr %13, align 4
%1025 = add nsw i32 %1024, 1
store i32 %1025, ptr %36, align 4
%1026 = load i32, ptr %14, align 4
%1027 = sub nsw i32 %1026, 1
store i32 %1027, ptr %37, align 4
%1028 = load i32, ptr %15, align 4
%1029 = add nsw i32 %1028, 1
store i32 %1029, ptr %38, align 4
br label %1046
1030: ; preds = %1010
%1031 = load double, ptr %24, align 8
%1032 = fsub double %1031, 1.000000e+00
%1033 = fsub double %1032, 0x3FD5555555555555
store double %1033, ptr %30, align 8
%1034 = load double, ptr %25, align 8
%1035 = fsub double %1034, 1.000000e+00
%1036 = fsub double %1035, 0x3FD5555555555555
store double %1036, ptr %31, align 8
%1037 = load double, ptr %26, align 8
%1038 = fadd double %1037, 1.000000e+00
%1039 = fsub double %1038, 0x3FD5555555555555
store double %1039, ptr %32, align 8
%1040 = load i32, ptr %13, align 4
%1041 = add nsw i32 %1040, 1
store i32 %1041, ptr %36, align 4
%1042 = load i32, ptr %14, align 4
%1043 = add nsw i32 %1042, 1
store i32 %1043, ptr %37, align 4
%1044 = load i32, ptr %15, align 4
%1045 = sub nsw i32 %1044, 1
store i32 %1045, ptr %38, align 4
br label %1046
1046: ; preds = %1030, %1014
br label %1047
1047: ; preds = %1046, %994
br label %1048
1048: ; preds = %1047, %980
br label %1149
1049: ; preds = %910
%1050 = load i32, ptr %47, align 4
%1051 = icmp ne i32 %1050, 0
br i1 %1051, label %1052, label %1055
1052: ; preds = %1049
%1053 = load i32, ptr %43, align 4
store i32 %1053, ptr %41, align 4
%1054 = load i32, ptr %44, align 4
store i32 %1054, ptr %42, align 4
br label %1058
1055: ; preds = %1049
%1056 = load i32, ptr %44, align 4
store i32 %1056, ptr %41, align 4
%1057 = load i32, ptr %43, align 4
store i32 %1057, ptr %42, align 4
br label %1058
1058: ; preds = %1055, %1052
%1059 = load i32, ptr %41, align 4
%1060 = and i32 %1059, 1
%1061 = icmp eq i32 %1060, 0
br i1 %1061, label %1062, label %1078
1062: ; preds = %1058
%1063 = load double, ptr %24, align 8
%1064 = fadd double %1063, 1.000000e+00
%1065 = fsub double %1064, 0x3FD5555555555555
store double %1065, ptr %27, align 8
%1066 = load double, ptr %25, align 8
%1067 = fsub double %1066, 1.000000e+00
%1068 = fsub double %1067, 0x3FD5555555555555
store double %1068, ptr %28, align 8
%1069 = load double, ptr %26, align 8
%1070 = fsub double %1069, 1.000000e+00
%1071 = fsub double %1070, 0x3FD5555555555555
store double %1071, ptr %29, align 8
%1072 = load i32, ptr %13, align 4
%1073 = sub nsw i32 %1072, 1
store i32 %1073, ptr %33, align 4
%1074 = load i32, ptr %14, align 4
%1075 = add nsw i32 %1074, 1
store i32 %1075, ptr %34, align 4
%1076 = load i32, ptr %15, align 4
%1077 = add nsw i32 %1076, 1
store i32 %1077, ptr %35, align 4
br label %1115
1078: ; preds = %1058
%1079 = load i32, ptr %41, align 4
%1080 = and i32 %1079, 2
%1081 = icmp eq i32 %1080, 0
br i1 %1081, label %1082, label %1098
1082: ; preds = %1078
%1083 = load double, ptr %24, align 8
%1084 = fsub double %1083, 1.000000e+00
%1085 = fsub double %1084, 0x3FD5555555555555
store double %1085, ptr %27, align 8
%1086 = load double, ptr %25, align 8
%1087 = fadd double %1086, 1.000000e+00
%1088 = fsub double %1087, 0x3FD5555555555555
store double %1088, ptr %28, align 8
%1089 = load double, ptr %26, align 8
%1090 = fsub double %1089, 1.000000e+00
%1091 = fsub double %1090, 0x3FD5555555555555
store double %1091, ptr %29, align 8
%1092 = load i32, ptr %13, align 4
%1093 = add nsw i32 %1092, 1
store i32 %1093, ptr %33, align 4
%1094 = load i32, ptr %14, align 4
%1095 = sub nsw i32 %1094, 1
store i32 %1095, ptr %34, align 4
%1096 = load i32, ptr %15, align 4
%1097 = add nsw i32 %1096, 1
store i32 %1097, ptr %35, align 4
br label %1114
1098: ; preds = %1078
%1099 = load double, ptr %24, align 8
%1100 = fsub double %1099, 1.000000e+00
%1101 = fsub double %1100, 0x3FD5555555555555
store double %1101, ptr %27, align 8
%1102 = load double, ptr %25, align 8
%1103 = fsub double %1102, 1.000000e+00
%1104 = fsub double %1103, 0x3FD5555555555555
store double %1104, ptr %28, align 8
%1105 = load double, ptr %26, align 8
%1106 = fadd double %1105, 1.000000e+00
%1107 = fsub double %1106, 0x3FD5555555555555
store double %1107, ptr %29, align 8
%1108 = load i32, ptr %13, align 4
%1109 = add nsw i32 %1108, 1
store i32 %1109, ptr %33, align 4
%1110 = load i32, ptr %14, align 4
%1111 = add nsw i32 %1110, 1
store i32 %1111, ptr %34, align 4
%1112 = load i32, ptr %15, align 4
%1113 = sub nsw i32 %1112, 1
store i32 %1113, ptr %35, align 4
br label %1114
1114: ; preds = %1098, %1082
br label %1115
1115: ; preds = %1114, %1062
%1116 = load double, ptr %24, align 8
%1117 = fsub double %1116, 0x3FE5555555555555
store double %1117, ptr %30, align 8
%1118 = load double, ptr %25, align 8
%1119 = fsub double %1118, 0x3FE5555555555555
store double %1119, ptr %31, align 8
%1120 = load double, ptr %26, align 8
%1121 = fsub double %1120, 0x3FE5555555555555
store double %1121, ptr %32, align 8
%1122 = load i32, ptr %13, align 4
store i32 %1122, ptr %36, align 4
%1123 = load i32, ptr %14, align 4
store i32 %1123, ptr %37, align 4
%1124 = load i32, ptr %15, align 4
store i32 %1124, ptr %38, align 4
%1125 = load i32, ptr %42, align 4
%1126 = and i32 %1125, 1
%1127 = icmp ne i32 %1126, 0
br i1 %1127, label %1128, label %1133
1128: ; preds = %1115
%1129 = load double, ptr %30, align 8
%1130 = fsub double %1129, 2.000000e+00
store double %1130, ptr %30, align 8
%1131 = load i32, ptr %36, align 4
%1132 = add nsw i32 %1131, 2
store i32 %1132, ptr %36, align 4
br label %1148
1133: ; preds = %1115
%1134 = load i32, ptr %42, align 4
%1135 = and i32 %1134, 2
%1136 = icmp ne i32 %1135, 0
br i1 %1136, label %1137, label %1142
1137: ; preds = %1133
%1138 = load double, ptr %31, align 8
%1139 = fsub double %1138, 2.000000e+00
store double %1139, ptr %31, align 8
%1140 = load i32, ptr %37, align 4
%1141 = add nsw i32 %1140, 2
store i32 %1141, ptr %37, align 4
br label %1147
1142: ; preds = %1133
%1143 = load double, ptr %32, align 8
%1144 = fsub double %1143, 2.000000e+00
store double %1144, ptr %32, align 8
%1145 = load i32, ptr %38, align 4
%1146 = add nsw i32 %1145, 2
store i32 %1146, ptr %38, align 4
br label %1147
1147: ; preds = %1142, %1137
br label %1148
1148: ; preds = %1147, %1128
br label %1149
1149: ; preds = %1148, %1048
%1150 = load double, ptr %24, align 8
%1151 = fsub double %1150, 1.000000e+00
%1152 = fsub double %1151, 0x3FD5555555555555
store double %1152, ptr %60, align 8
%1153 = load double, ptr %25, align 8
%1154 = fsub double %1153, 0.000000e+00
%1155 = fsub double %1154, 0x3FD5555555555555
store double %1155, ptr %61, align 8
%1156 = load double, ptr %26, align 8
%1157 = fsub double %1156, 0.000000e+00
%1158 = fsub double %1157, 0x3FD5555555555555
store double %1158, ptr %62, align 8
%1159 = load double, ptr %60, align 8
%1160 = load double, ptr %60, align 8
%1161 = fneg double %1159
%1162 = call double @llvm.fmuladd.f64(double %1161, double %1160, double 2.000000e+00)
%1163 = load double, ptr %61, align 8
%1164 = load double, ptr %61, align 8
%1165 = fneg double %1163
%1166 = call double @llvm.fmuladd.f64(double %1165, double %1164, double %1162)
%1167 = load double, ptr %62, align 8
%1168 = load double, ptr %62, align 8
%1169 = fneg double %1167
%1170 = call double @llvm.fmuladd.f64(double %1169, double %1168, double %1166)
store double %1170, ptr %54, align 8
%1171 = load double, ptr %54, align 8
%1172 = fcmp ogt double %1171, 0.000000e+00
br i1 %1172, label %1173, label %1193
1173: ; preds = %1149
%1174 = load double, ptr %54, align 8
%1175 = load double, ptr %54, align 8
%1176 = fmul double %1175, %1174
store double %1176, ptr %54, align 8
%1177 = load double, ptr %54, align 8
%1178 = load double, ptr %54, align 8
%1179 = fmul double %1177, %1178
%1180 = load ptr, ptr %5, align 8
%1181 = load i32, ptr %13, align 4
%1182 = add nsw i32 %1181, 1
%1183 = load i32, ptr %14, align 4
%1184 = add nsw i32 %1183, 0
%1185 = load i32, ptr %15, align 4
%1186 = add nsw i32 %1185, 0
%1187 = load double, ptr %60, align 8
%1188 = load double, ptr %61, align 8
%1189 = load double, ptr %62, align 8
%1190 = call double @extrapolate3(ptr noundef %1180, i32 noundef %1182, i32 noundef %1184, i32 noundef %1186, double noundef %1187, double noundef %1188, double noundef %1189)
%1191 = load double, ptr %80, align 8
%1192 = call double @llvm.fmuladd.f64(double %1179, double %1190, double %1191)
store double %1192, ptr %80, align 8
br label %1193
1193: ; preds = %1173, %1149
%1194 = load double, ptr %24, align 8
%1195 = fsub double %1194, 0.000000e+00
%1196 = fsub double %1195, 0x3FD5555555555555
store double %1196, ptr %63, align 8
%1197 = load double, ptr %25, align 8
%1198 = fsub double %1197, 1.000000e+00
%1199 = fsub double %1198, 0x3FD5555555555555
store double %1199, ptr %64, align 8
%1200 = load double, ptr %62, align 8
store double %1200, ptr %65, align 8
%1201 = load double, ptr %63, align 8
%1202 = load double, ptr %63, align 8
%1203 = fneg double %1201
%1204 = call double @llvm.fmuladd.f64(double %1203, double %1202, double 2.000000e+00)
%1205 = load double, ptr %64, align 8
%1206 = load double, ptr %64, align 8
%1207 = fneg double %1205
%1208 = call double @llvm.fmuladd.f64(double %1207, double %1206, double %1204)
%1209 = load double, ptr %65, align 8
%1210 = load double, ptr %65, align 8
%1211 = fneg double %1209
%1212 = call double @llvm.fmuladd.f64(double %1211, double %1210, double %1208)
store double %1212, ptr %55, align 8
%1213 = load double, ptr %55, align 8
%1214 = fcmp ogt double %1213, 0.000000e+00
br i1 %1214, label %1215, label %1235
1215: ; preds = %1193
%1216 = load double, ptr %55, align 8
%1217 = load double, ptr %55, align 8
%1218 = fmul double %1217, %1216
store double %1218, ptr %55, align 8
%1219 = load double, ptr %55, align 8
%1220 = load double, ptr %55, align 8
%1221 = fmul double %1219, %1220
%1222 = load ptr, ptr %5, align 8
%1223 = load i32, ptr %13, align 4
%1224 = add nsw i32 %1223, 0
%1225 = load i32, ptr %14, align 4
%1226 = add nsw i32 %1225, 1
%1227 = load i32, ptr %15, align 4
%1228 = add nsw i32 %1227, 0
%1229 = load double, ptr %63, align 8
%1230 = load double, ptr %64, align 8
%1231 = load double, ptr %65, align 8
%1232 = call double @extrapolate3(ptr noundef %1222, i32 noundef %1224, i32 noundef %1226, i32 noundef %1228, double noundef %1229, double noundef %1230, double noundef %1231)
%1233 = load double, ptr %80, align 8
%1234 = call double @llvm.fmuladd.f64(double %1221, double %1232, double %1233)
store double %1234, ptr %80, align 8
br label %1235
1235: ; preds = %1215, %1193
%1236 = load double, ptr %63, align 8
store double %1236, ptr %66, align 8
%1237 = load double, ptr %61, align 8
store double %1237, ptr %67, align 8
%1238 = load double, ptr %26, align 8
%1239 = fsub double %1238, 1.000000e+00
%1240 = fsub double %1239, 0x3FD5555555555555
store double %1240, ptr %68, align 8
%1241 = load double, ptr %66, align 8
%1242 = load double, ptr %66, align 8
%1243 = fneg double %1241
%1244 = call double @llvm.fmuladd.f64(double %1243, double %1242, double 2.000000e+00)
%1245 = load double, ptr %67, align 8
%1246 = load double, ptr %67, align 8
%1247 = fneg double %1245
%1248 = call double @llvm.fmuladd.f64(double %1247, double %1246, double %1244)
%1249 = load double, ptr %68, align 8
%1250 = load double, ptr %68, align 8
%1251 = fneg double %1249
%1252 = call double @llvm.fmuladd.f64(double %1251, double %1250, double %1248)
store double %1252, ptr %56, align 8
%1253 = load double, ptr %56, align 8
%1254 = fcmp ogt double %1253, 0.000000e+00
br i1 %1254, label %1255, label %1275
1255: ; preds = %1235
%1256 = load double, ptr %56, align 8
%1257 = load double, ptr %56, align 8
%1258 = fmul double %1257, %1256
store double %1258, ptr %56, align 8
%1259 = load double, ptr %56, align 8
%1260 = load double, ptr %56, align 8
%1261 = fmul double %1259, %1260
%1262 = load ptr, ptr %5, align 8
%1263 = load i32, ptr %13, align 4
%1264 = add nsw i32 %1263, 0
%1265 = load i32, ptr %14, align 4
%1266 = add nsw i32 %1265, 0
%1267 = load i32, ptr %15, align 4
%1268 = add nsw i32 %1267, 1
%1269 = load double, ptr %66, align 8
%1270 = load double, ptr %67, align 8
%1271 = load double, ptr %68, align 8
%1272 = call double @extrapolate3(ptr noundef %1262, i32 noundef %1264, i32 noundef %1266, i32 noundef %1268, double noundef %1269, double noundef %1270, double noundef %1271)
%1273 = load double, ptr %80, align 8
%1274 = call double @llvm.fmuladd.f64(double %1261, double %1272, double %1273)
store double %1274, ptr %80, align 8
br label %1275
1275: ; preds = %1255, %1235
%1276 = load double, ptr %24, align 8
%1277 = fsub double %1276, 1.000000e+00
%1278 = fsub double %1277, 0x3FE5555555555555
store double %1278, ptr %69, align 8
%1279 = load double, ptr %25, align 8
%1280 = fsub double %1279, 1.000000e+00
%1281 = fsub double %1280, 0x3FE5555555555555
store double %1281, ptr %70, align 8
%1282 = load double, ptr %26, align 8
%1283 = fsub double %1282, 0.000000e+00
%1284 = fsub double %1283, 0x3FE5555555555555
store double %1284, ptr %71, align 8
%1285 = load double, ptr %69, align 8
%1286 = load double, ptr %69, align 8
%1287 = fneg double %1285
%1288 = call double @llvm.fmuladd.f64(double %1287, double %1286, double 2.000000e+00)
%1289 = load double, ptr %70, align 8
%1290 = load double, ptr %70, align 8
%1291 = fneg double %1289
%1292 = call double @llvm.fmuladd.f64(double %1291, double %1290, double %1288)
%1293 = load double, ptr %71, align 8
%1294 = load double, ptr %71, align 8
%1295 = fneg double %1293
%1296 = call double @llvm.fmuladd.f64(double %1295, double %1294, double %1292)
store double %1296, ptr %57, align 8
%1297 = load double, ptr %57, align 8
%1298 = fcmp ogt double %1297, 0.000000e+00
br i1 %1298, label %1299, label %1319
1299: ; preds = %1275
%1300 = load double, ptr %57, align 8
%1301 = load double, ptr %57, align 8
%1302 = fmul double %1301, %1300
store double %1302, ptr %57, align 8
%1303 = load double, ptr %57, align 8
%1304 = load double, ptr %57, align 8
%1305 = fmul double %1303, %1304
%1306 = load ptr, ptr %5, align 8
%1307 = load i32, ptr %13, align 4
%1308 = add nsw i32 %1307, 1
%1309 = load i32, ptr %14, align 4
%1310 = add nsw i32 %1309, 1
%1311 = load i32, ptr %15, align 4
%1312 = add nsw i32 %1311, 0
%1313 = load double, ptr %69, align 8
%1314 = load double, ptr %70, align 8
%1315 = load double, ptr %71, align 8
%1316 = call double @extrapolate3(ptr noundef %1306, i32 noundef %1308, i32 noundef %1310, i32 noundef %1312, double noundef %1313, double noundef %1314, double noundef %1315)
%1317 = load double, ptr %80, align 8
%1318 = call double @llvm.fmuladd.f64(double %1305, double %1316, double %1317)
store double %1318, ptr %80, align 8
br label %1319
1319: ; preds = %1299, %1275
%1320 = load double, ptr %69, align 8
store double %1320, ptr %72, align 8
%1321 = load double, ptr %25, align 8
%1322 = fsub double %1321, 0.000000e+00
%1323 = fsub double %1322, 0x3FE5555555555555
store double %1323, ptr %73, align 8
%1324 = load double, ptr %26, align 8
%1325 = fsub double %1324, 1.000000e+00
%1326 = fsub double %1325, 0x3FE5555555555555
store double %1326, ptr %74, align 8
%1327 = load double, ptr %72, align 8
%1328 = load double, ptr %72, align 8
%1329 = fneg double %1327
%1330 = call double @llvm.fmuladd.f64(double %1329, double %1328, double 2.000000e+00)
%1331 = load double, ptr %73, align 8
%1332 = load double, ptr %73, align 8
%1333 = fneg double %1331
%1334 = call double @llvm.fmuladd.f64(double %1333, double %1332, double %1330)
%1335 = load double, ptr %74, align 8
%1336 = load double, ptr %74, align 8
%1337 = fneg double %1335
%1338 = call double @llvm.fmuladd.f64(double %1337, double %1336, double %1334)
store double %1338, ptr %58, align 8
%1339 = load double, ptr %58, align 8
%1340 = fcmp ogt double %1339, 0.000000e+00
br i1 %1340, label %1341, label %1361
1341: ; preds = %1319
%1342 = load double, ptr %58, align 8
%1343 = load double, ptr %58, align 8
%1344 = fmul double %1343, %1342
store double %1344, ptr %58, align 8
%1345 = load double, ptr %58, align 8
%1346 = load double, ptr %58, align 8
%1347 = fmul double %1345, %1346
%1348 = load ptr, ptr %5, align 8
%1349 = load i32, ptr %13, align 4
%1350 = add nsw i32 %1349, 1
%1351 = load i32, ptr %14, align 4
%1352 = add nsw i32 %1351, 0
%1353 = load i32, ptr %15, align 4
%1354 = add nsw i32 %1353, 1
%1355 = load double, ptr %72, align 8
%1356 = load double, ptr %73, align 8
%1357 = load double, ptr %74, align 8
%1358 = call double @extrapolate3(ptr noundef %1348, i32 noundef %1350, i32 noundef %1352, i32 noundef %1354, double noundef %1355, double noundef %1356, double noundef %1357)
%1359 = load double, ptr %80, align 8
%1360 = call double @llvm.fmuladd.f64(double %1347, double %1358, double %1359)
store double %1360, ptr %80, align 8
br label %1361
1361: ; preds = %1341, %1319
%1362 = load double, ptr %24, align 8
%1363 = fsub double %1362, 0.000000e+00
%1364 = fsub double %1363, 0x3FE5555555555555
store double %1364, ptr %75, align 8
%1365 = load double, ptr %70, align 8
store double %1365, ptr %76, align 8
%1366 = load double, ptr %74, align 8
store double %1366, ptr %77, align 8
%1367 = load double, ptr %75, align 8
%1368 = load double, ptr %75, align 8
%1369 = fneg double %1367
%1370 = call double @llvm.fmuladd.f64(double %1369, double %1368, double 2.000000e+00)
%1371 = load double, ptr %76, align 8
%1372 = load double, ptr %76, align 8
%1373 = fneg double %1371
%1374 = call double @llvm.fmuladd.f64(double %1373, double %1372, double %1370)
%1375 = load double, ptr %77, align 8
%1376 = load double, ptr %77, align 8
%1377 = fneg double %1375
%1378 = call double @llvm.fmuladd.f64(double %1377, double %1376, double %1374)
store double %1378, ptr %59, align 8
%1379 = load double, ptr %59, align 8
%1380 = fcmp ogt double %1379, 0.000000e+00
br i1 %1380, label %1381, label %1401
1381: ; preds = %1361
%1382 = load double, ptr %59, align 8
%1383 = load double, ptr %59, align 8
%1384 = fmul double %1383, %1382
store double %1384, ptr %59, align 8
%1385 = load double, ptr %59, align 8
%1386 = load double, ptr %59, align 8
%1387 = fmul double %1385, %1386
%1388 = load ptr, ptr %5, align 8
%1389 = load i32, ptr %13, align 4
%1390 = add nsw i32 %1389, 0
%1391 = load i32, ptr %14, align 4
%1392 = add nsw i32 %1391, 1
%1393 = load i32, ptr %15, align 4
%1394 = add nsw i32 %1393, 1
%1395 = load double, ptr %75, align 8
%1396 = load double, ptr %76, align 8
%1397 = load double, ptr %77, align 8
%1398 = call double @extrapolate3(ptr noundef %1388, i32 noundef %1390, i32 noundef %1392, i32 noundef %1394, double noundef %1395, double noundef %1396, double noundef %1397)
%1399 = load double, ptr %80, align 8
%1400 = call double @llvm.fmuladd.f64(double %1387, double %1398, double %1399)
store double %1400, ptr %80, align 8
br label %1401
1401: ; preds = %1381, %1361
br label %1402
1402: ; preds = %1401, %831
br label %1403
1403: ; preds = %1402, %481
%1404 = load double, ptr %27, align 8
%1405 = load double, ptr %27, align 8
%1406 = fneg double %1404
%1407 = call double @llvm.fmuladd.f64(double %1406, double %1405, double 2.000000e+00)
%1408 = load double, ptr %28, align 8
%1409 = load double, ptr %28, align 8
%1410 = fneg double %1408
%1411 = call double @llvm.fmuladd.f64(double %1410, double %1409, double %1407)
%1412 = load double, ptr %29, align 8
%1413 = load double, ptr %29, align 8
%1414 = fneg double %1412
%1415 = call double @llvm.fmuladd.f64(double %1414, double %1413, double %1411)
store double %1415, ptr %78, align 8
%1416 = load double, ptr %78, align 8
%1417 = fcmp ogt double %1416, 0.000000e+00
br i1 %1417, label %1418, label %1435
1418: ; preds = %1403
%1419 = load double, ptr %78, align 8
%1420 = load double, ptr %78, align 8
%1421 = fmul double %1420, %1419
store double %1421, ptr %78, align 8
%1422 = load double, ptr %78, align 8
%1423 = load double, ptr %78, align 8
%1424 = fmul double %1422, %1423
%1425 = load ptr, ptr %5, align 8
%1426 = load i32, ptr %33, align 4
%1427 = load i32, ptr %34, align 4
%1428 = load i32, ptr %35, align 4
%1429 = load double, ptr %27, align 8
%1430 = load double, ptr %28, align 8
%1431 = load double, ptr %29, align 8
%1432 = call double @extrapolate3(ptr noundef %1425, i32 noundef %1426, i32 noundef %1427, i32 noundef %1428, double noundef %1429, double noundef %1430, double noundef %1431)
%1433 = load double, ptr %80, align 8
%1434 = call double @llvm.fmuladd.f64(double %1424, double %1432, double %1433)
store double %1434, ptr %80, align 8
br label %1435
1435: ; preds = %1418, %1403
%1436 = load double, ptr %30, align 8
%1437 = load double, ptr %30, align 8
%1438 = fneg double %1436
%1439 = call double @llvm.fmuladd.f64(double %1438, double %1437, double 2.000000e+00)
%1440 = load double, ptr %31, align 8
%1441 = load double, ptr %31, align 8
%1442 = fneg double %1440
%1443 = call double @llvm.fmuladd.f64(double %1442, double %1441, double %1439)
%1444 = load double, ptr %32, align 8
%1445 = load double, ptr %32, align 8
%1446 = fneg double %1444
%1447 = call double @llvm.fmuladd.f64(double %1446, double %1445, double %1443)
store double %1447, ptr %79, align 8
%1448 = load double, ptr %79, align 8
%1449 = fcmp ogt double %1448, 0.000000e+00
br i1 %1449, label %1450, label %1467
1450: ; preds = %1435
%1451 = load double, ptr %79, align 8
%1452 = load double, ptr %79, align 8
%1453 = fmul double %1452, %1451
store double %1453, ptr %79, align 8
%1454 = load double, ptr %79, align 8
%1455 = load double, ptr %79, align 8
%1456 = fmul double %1454, %1455
%1457 = load ptr, ptr %5, align 8
%1458 = load i32, ptr %36, align 4
%1459 = load i32, ptr %37, align 4
%1460 = load i32, ptr %38, align 4
%1461 = load double, ptr %30, align 8
%1462 = load double, ptr %31, align 8
%1463 = load double, ptr %32, align 8
%1464 = call double @extrapolate3(ptr noundef %1457, i32 noundef %1458, i32 noundef %1459, i32 noundef %1460, double noundef %1461, double noundef %1462, double noundef %1463)
%1465 = load double, ptr %80, align 8
%1466 = call double @llvm.fmuladd.f64(double %1456, double %1464, double %1465)
store double %1466, ptr %80, align 8
br label %1467
1467: ; preds = %1450, %1435
%1468 = load double, ptr %80, align 8
%1469 = fdiv double %1468, 1.030000e+02
ret double %1469
}
declare i32 @fastFloor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @extrapolate3(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg2ga94xn.c'
source_filename = "/tmp/tmpg2ga94xn.c"
target datalayout = "e-m:e-p270: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/tmpg2ga94xn.c"
target datalayout = "e-m:e-p270: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/tmp0bphhqi1.c'
source_filename = "/tmp/tmp0bphhqi1.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clean_dir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = call ptr @opendir(ptr noundef %15)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %2
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %62
20: ; preds = %2
br label %21
21: ; preds = %58, %38, %31, %20
%22 = load ptr, ptr %9, align 8
%23 = call ptr @readdir(ptr noundef %22)
store ptr %23, ptr %8, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %59
25: ; preds = %21
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str)
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %25
br label %21, !llvm.loop !6
32: ; preds = %25
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.1)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %32
br label %21, !llvm.loop !6
39: ; preds = %32
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds %struct.dirent, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %40, ptr noundef %43)
%45 = load ptr, ptr %5, align 8
%46 = call i32 @clean_dir(ptr noundef %14, ptr noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds %struct.dirent, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = call i64 @string_match(ptr noundef %47, ptr noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %39
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %55, align 8
%57 = call i32 @unlink(ptr noundef %56)
br label %58
58: ; preds = %53, %39
br label %21, !llvm.loop !6
59: ; preds = %21
%60 = load ptr, ptr %9, align 8
%61 = call i32 @closedir(ptr noundef %60)
store i32 1, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %62
62: ; preds = %59, %19
%63 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %63)
%64 = load i32, ptr %3, align 4
ret i32 %64
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @string_match(ptr noundef, ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bphhqi1.c"
target datalayout = "e-m:e-p270: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.dirent = type { ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @clean_dir(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = call ptr @opendir(ptr noundef %15)
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %2
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %64
20: ; preds = %2
%21 = load ptr, ptr %9, align 8
%22 = call ptr @readdir(ptr noundef %21)
store ptr %22, ptr %8, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph, label %61
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %.backedge
%25 = load ptr, ptr %8, align 8
%26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str)
%29 = icmp ne i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %24
br label %.backedge
.backedge: ; preds = %30, %40, %60
%31 = load ptr, ptr %9, align 8
%32 = call ptr @readdir(ptr noundef %31)
store ptr %32, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %24, label %._crit_edge, !llvm.loop !6
34: ; preds = %24
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.1)
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %34
br label %.backedge
41: ; preds = %34
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 0
%45 = load ptr, ptr %44, align 8
%46 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %42, ptr noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = call i32 @clean_dir(ptr noundef %14, ptr noundef %47)
%49 = load ptr, ptr %5, align 8
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds %struct.dirent, ptr %50, i32 0, i32 0
%52 = load ptr, ptr %51, align 8
%53 = call i64 @string_match(ptr noundef %49, ptr noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %41
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0
%58 = load ptr, ptr %57, align 8
%59 = call i32 @unlink(ptr noundef %58)
br label %60
60: ; preds = %55, %41
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %61
61: ; preds = %._crit_edge, %20
%62 = load ptr, ptr %9, align 8
%63 = call i32 @closedir(ptr noundef %62)
store i32 1, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %64
64: ; preds = %61, %19
%65 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %65)
%66 = load i32, ptr %3, align 4
ret i32 %66
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @string_match(ptr noundef, ptr noundef) #2
declare i32 @unlink(ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsyx59xqj.c'
source_filename = "/tmp/tmpsyx59xqj.c"
target datalayout = "e-m:e-p270: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/tmpsyx59xqj.c"
target datalayout = "e-m:e-p270: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/tmphbzo653e.c'
source_filename = "/tmp/tmphbzo653e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Give a number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"The %d is a prime!\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"The %d is not a prime!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 7, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i64 @is_prime(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
br label %13
10: ; preds = %0
%11 = load i32, ptr %1, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
br label %13
13: ; preds = %10, %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_prime(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/tmphbzo653e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Give a number:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"The %d is a prime!\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"The %d is not a prime!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
store i32 7, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i64 @is_prime(i32 noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
br label %13
10: ; preds = %0
%11 = load i32, ptr %1, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
br label %13
13: ; preds = %10, %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @is_prime(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/tmp3mndkr3x.c'
source_filename = "/tmp/tmp3mndkr3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_sample() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @read_bits(i32 noundef 8)
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 @read_bits(i32 noundef 8)
%6 = shl i32 %5, 8
%7 = load i32, ptr %1, align 4
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @read_bits(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/tmp3mndkr3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_sample() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @read_bits(i32 noundef 8)
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 @read_bits(i32 noundef 8)
%6 = shl i32 %5, 8
%7 = load i32, ptr %1, align 4
%8 = or i32 %7, %6
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @read_bits(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/tmpzgx1z5wp.c'
source_filename = "/tmp/tmpzgx1z5wp.c"
target datalayout = "e-m:e-p270: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/tmpzgx1z5wp.c"
target datalayout = "e-m:e-p270: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/tmpcu0u1ah8.c'
source_filename = "/tmp/tmpcu0u1ah8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = mul nsw i32 %4, %5
%7 = icmp sge i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
ret i32 0
9: ; preds = %0
br label %10
10: ; preds = %9, %32
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %22
19: ; preds = %13
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %19, %16
br label %23
23: ; preds = %22, %10
%24 = load i32, ptr %2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %32
29: ; preds = %23
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %29, %26
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = mul nsw i32 %33, %34
%36 = icmp sge i32 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
br label %10
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu0u1ah8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = mul nsw i32 %4, %5
%7 = icmp sge i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
ret i32 0
9: ; preds = %0
br label %10
10: ; preds = %32, %9
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %22
19: ; preds = %13
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %19, %16
br label %23
23: ; preds = %22, %10
%24 = load i32, ptr %2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %32
29: ; preds = %23
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %29, %26
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = mul nsw i32 %33, %34
%36 = icmp sge i32 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
br label %10
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3y7kw8x0.c'
source_filename = "/tmp/tmp3y7kw8x0.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"\0Ablock size : single random read / dual random read\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c", [MADV_HUGEPAGE]\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c", [MADV_NOHUGEPAGE]\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"%10d : %6.1f ns / %6.1f ns \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @latency_bench(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %3
store i32 0, ptr %4, align 4
br label %263
33: ; preds = %3
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 4095
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %27, align 8
%38 = load ptr, ptr %27, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %41, label %40
40: ; preds = %33
store i32 0, ptr %4, align 4
br label %263
41: ; preds = %33
%42 = load ptr, ptr %27, align 8
%43 = ptrtoint ptr %42 to i64
%44 = add i64 %43, 4095
%45 = and i64 %44, -4096
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %26, align 8
%47 = load ptr, ptr %26, align 8
%48 = load i32, ptr %5, align 4
%49 = call i32 @memset(ptr noundef %47, i32 noundef 0, i32 noundef %48)
store i32 1, ptr %25, align 4
br label %50
50: ; preds = %90, %41
%51 = load i32, ptr %25, align 4
%52 = icmp sle i32 %51, 10
br i1 %52, label %53, label %93
53: ; preds = %50
%54 = call double (...) @gettime()
store double %54, ptr %10, align 8
%55 = load ptr, ptr %26, align 8
%56 = load i32, ptr %6, align 4
%57 = call i32 @random_read_test(ptr noundef %55, i32 noundef %56, i32 noundef 1)
%58 = call double (...) @gettime()
store double %58, ptr %11, align 8
%59 = load i32, ptr %25, align 4
%60 = icmp eq i32 %59, 1
br i1 %60, label %67, label %61
61: ; preds = %53
%62 = load double, ptr %11, align 8
%63 = load double, ptr %10, align 8
%64 = fsub double %62, %63
%65 = load double, ptr %12, align 8
%66 = fcmp olt double %64, %65
br i1 %66, label %67, label %71
67: ; preds = %61, %53
%68 = load double, ptr %11, align 8
%69 = load double, ptr %10, align 8
%70 = fsub double %68, %69
store double %70, ptr %12, align 8
br label %71
71: ; preds = %67, %61
%72 = call double (...) @gettime()
store double %72, ptr %10, align 8
%73 = load ptr, ptr %26, align 8
%74 = load i32, ptr %6, align 4
%75 = call i32 @random_dual_read_test(ptr noundef %73, i32 noundef %74, i32 noundef 1)
%76 = call double (...) @gettime()
store double %76, ptr %11, align 8
%77 = load i32, ptr %25, align 4
%78 = icmp eq i32 %77, 1
br i1 %78, label %85, label %79
79: ; preds = %71
%80 = load double, ptr %11, align 8
%81 = load double, ptr %10, align 8
%82 = fsub double %80, %81
%83 = load double, ptr %13, align 8
%84 = fcmp olt double %82, %83
br i1 %84, label %85, label %89
85: ; preds = %79, %71
%86 = load double, ptr %11, align 8
%87 = load double, ptr %10, align 8
%88 = fsub double %86, %87
store double %88, ptr %13, align 8
br label %89
89: ; preds = %85, %79
br label %90
90: ; preds = %89
%91 = load i32, ptr %25, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %25, align 4
br label %50, !llvm.loop !6
93: ; preds = %50
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%95 = load i32, ptr %7, align 4
%96 = icmp sgt i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %93
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %107
99: ; preds = %93
%100 = load i32, ptr %7, align 4
%101 = icmp slt i32 %100, 0
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %106
104: ; preds = %99
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %106
106: ; preds = %104, %102
br label %107
107: ; preds = %106, %97
store i32 10, ptr %24, align 4
br label %108
108: ; preds = %257, %107
%109 = load i32, ptr %24, align 4
%110 = shl i32 1, %109
%111 = load i32, ptr %5, align 4
%112 = icmp sle i32 %110, %111
br i1 %112, label %113, label %260
113: ; preds = %108
%114 = load i32, ptr %24, align 4
%115 = shl i32 1, %114
store i32 %115, ptr %28, align 4
store double 0.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %20, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %16, align 8
store i32 1, ptr %25, align 4
br label %116
116: ; preds = %240, %113
%117 = load i32, ptr %25, align 4
%118 = icmp sle i32 %117, 10
br i1 %118, label %119, label %243
119: ; preds = %116
%120 = call i32 (...) @rand32()
%121 = load i32, ptr %5, align 4
%122 = load i32, ptr %28, align 4
%123 = sdiv i32 %121, %122
%124 = srem i32 %120, %123
%125 = load i32, ptr %28, align 4
%126 = mul nsw i32 %124, %125
store i32 %126, ptr %29, align 4
%127 = call double (...) @gettime()
store double %127, ptr %10, align 8
%128 = load ptr, ptr %26, align 8
%129 = load i32, ptr %29, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %128, i64 %130
%132 = load i32, ptr %6, align 4
%133 = load i32, ptr %24, align 4
%134 = call i32 @random_read_test(ptr noundef %131, i32 noundef %132, i32 noundef %133)
%135 = call double (...) @gettime()
store double %135, ptr %11, align 8
%136 = load double, ptr %11, align 8
%137 = load double, ptr %10, align 8
%138 = fsub double %136, %137
%139 = load double, ptr %12, align 8
%140 = fsub double %138, %139
store double %140, ptr %8, align 8
%141 = load double, ptr %8, align 8
%142 = fcmp olt double %141, 0.000000e+00
br i1 %142, label %143, label %144
143: ; preds = %119
store double 0.000000e+00, ptr %8, align 8
br label %144
144: ; preds = %143, %119
%145 = load double, ptr %8, align 8
%146 = load double, ptr %16, align 8
%147 = fadd double %146, %145
store double %147, ptr %16, align 8
%148 = load double, ptr %8, align 8
%149 = load double, ptr %8, align 8
%150 = load double, ptr %17, align 8
%151 = call double @llvm.fmuladd.f64(double %148, double %149, double %150)
store double %151, ptr %17, align 8
%152 = load i32, ptr %25, align 4
%153 = icmp eq i32 %152, 1
br i1 %153, label %158, label %154
154: ; preds = %144
%155 = load double, ptr %8, align 8
%156 = load double, ptr %22, align 8
%157 = fcmp olt double %155, %156
br i1 %157, label %158, label %160
158: ; preds = %154, %144
%159 = load double, ptr %8, align 8
store double %159, ptr %22, align 8
br label %160
160: ; preds = %158, %154
%161 = call double (...) @gettime()
store double %161, ptr %10, align 8
%162 = load ptr, ptr %26, align 8
%163 = load i32, ptr %29, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %162, i64 %164
%166 = load i32, ptr %6, align 4
%167 = load i32, ptr %24, align 4
%168 = call i32 @random_dual_read_test(ptr noundef %165, i32 noundef %166, i32 noundef %167)
%169 = call double (...) @gettime()
store double %169, ptr %11, align 8
%170 = load double, ptr %11, align 8
%171 = load double, ptr %10, align 8
%172 = fsub double %170, %171
%173 = load double, ptr %13, align 8
%174 = fsub double %172, %173
store double %174, ptr %9, align 8
%175 = load double, ptr %9, align 8
%176 = fcmp olt double %175, 0.000000e+00
br i1 %176, label %177, label %178
177: ; preds = %160
store double 0.000000e+00, ptr %9, align 8
br label %178
178: ; preds = %177, %160
%179 = load double, ptr %9, align 8
%180 = load double, ptr %20, align 8
%181 = fadd double %180, %179
store double %181, ptr %20, align 8
%182 = load double, ptr %9, align 8
%183 = load double, ptr %9, align 8
%184 = load double, ptr %21, align 8
%185 = call double @llvm.fmuladd.f64(double %182, double %183, double %184)
store double %185, ptr %21, align 8
%186 = load i32, ptr %25, align 4
%187 = icmp eq i32 %186, 1
br i1 %187, label %192, label %188
188: ; preds = %178
%189 = load double, ptr %9, align 8
%190 = load double, ptr %23, align 8
%191 = fcmp olt double %189, %190
br i1 %191, label %192, label %194
192: ; preds = %188, %178
%193 = load double, ptr %9, align 8
store double %193, ptr %23, align 8
br label %194
194: ; preds = %192, %188
%195 = load i32, ptr %25, align 4
%196 = icmp sgt i32 %195, 2
br i1 %196, label %197, label %239
197: ; preds = %194
%198 = load double, ptr %17, align 8
%199 = load i32, ptr %25, align 4
%200 = sitofp i32 %199 to double
%201 = load double, ptr %16, align 8
%202 = load double, ptr %16, align 8
%203 = fmul double %201, %202
%204 = fneg double %203
%205 = call double @llvm.fmuladd.f64(double %198, double %200, double %204)
%206 = load i32, ptr %25, align 4
%207 = load i32, ptr %25, align 4
%208 = sub nsw i32 %207, 1
%209 = mul nsw i32 %206, %208
%210 = sitofp i32 %209 to double
%211 = fdiv double %205, %210
%212 = call double @sqrt(double noundef %211) #4
store double %212, ptr %14, align 8
%213 = load double, ptr %21, align 8
%214 = load i32, ptr %25, align 4
%215 = sitofp i32 %214 to double
%216 = load double, ptr %20, align 8
%217 = load double, ptr %20, align 8
%218 = fmul double %216, %217
%219 = fneg double %218
%220 = call double @llvm.fmuladd.f64(double %213, double %215, double %219)
%221 = load i32, ptr %25, align 4
%222 = load i32, ptr %25, align 4
%223 = sub nsw i32 %222, 1
%224 = mul nsw i32 %221, %223
%225 = sitofp i32 %224 to double
%226 = fdiv double %220, %225
%227 = call double @sqrt(double noundef %226) #4
store double %227, ptr %18, align 8
%228 = load double, ptr %14, align 8
%229 = load double, ptr %22, align 8
%230 = fdiv double %229, 1.000000e+03
%231 = fcmp olt double %228, %230
br i1 %231, label %232, label %238
232: ; preds = %197
%233 = load double, ptr %18, align 8
%234 = load double, ptr %23, align 8
%235 = fdiv double %234, 1.000000e+03
%236 = fcmp olt double %233, %235
br i1 %236, label %237, label %238
237: ; preds = %232
br label %243
238: ; preds = %232, %197
br label %239
239: ; preds = %238, %194
br label %240
240: ; preds = %239
%241 = load i32, ptr %25, align 4
%242 = add nsw i32 %241, 1
store i32 %242, ptr %25, align 4
br label %116, !llvm.loop !8
243: ; preds = %237, %116
%244 = load i32, ptr %24, align 4
%245 = shl i32 1, %244
%246 = load double, ptr %22, align 8
%247 = fmul double %246, 1.000000e+09
%248 = load i32, ptr %6, align 4
%249 = sitofp i32 %248 to double
%250 = fdiv double %247, %249
%251 = load double, ptr %23, align 8
%252 = fmul double %251, 1.000000e+09
%253 = load i32, ptr %6, align 4
%254 = sitofp i32 %253 to double
%255 = fdiv double %252, %254
%256 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %245, double noundef %250, double noundef %255)
br label %257
257: ; preds = %243
%258 = load i32, ptr %24, align 4
%259 = add nsw i32 %258, 1
store i32 %259, ptr %24, align 4
br label %108, !llvm.loop !9
260: ; preds = %108
%261 = load ptr, ptr %27, align 8
%262 = call i32 @free(ptr noundef %261)
store i32 1, ptr %4, align 4
br label %263
263: ; preds = %260, %40, %32
%264 = load i32, ptr %4, align 4
ret i32 %264
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare double @gettime(...) #1
declare i32 @random_read_test(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @random_dual_read_test(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand32(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3y7kw8x0.c"
target datalayout = "e-m:e-p270: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 [52 x i8] c"\0Ablock size : single random read / dual random read\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c", [MADV_HUGEPAGE]\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c", [MADV_NOHUGEPAGE]\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c"%10d : %6.1f ns / %6.1f ns \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @latency_bench(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %3
store i32 0, ptr %4, align 4
br label %268
33: ; preds = %3
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 4095
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %27, align 8
%38 = load ptr, ptr %27, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %41, label %40
40: ; preds = %33
store i32 0, ptr %4, align 4
br label %268
41: ; preds = %33
%42 = load ptr, ptr %27, align 8
%43 = ptrtoint ptr %42 to i64
%44 = add i64 %43, 4095
%45 = and i64 %44, -4096
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %26, align 8
%47 = load ptr, ptr %26, align 8
%48 = load i32, ptr %5, align 4
%49 = call i32 @memset(ptr noundef %47, i32 noundef 0, i32 noundef %48)
store i32 1, ptr %25, align 4
%50 = load i32, ptr %25, align 4
%51 = icmp sle i32 %50, 10
br i1 %51, label %.lr.ph, label %94
.lr.ph: ; preds = %41
br label %52
52: ; preds = %.lr.ph, %89
%53 = call double (...) @gettime()
store double %53, ptr %10, align 8
%54 = load ptr, ptr %26, align 8
%55 = load i32, ptr %6, align 4
%56 = call i32 @random_read_test(ptr noundef %54, i32 noundef %55, i32 noundef 1)
%57 = call double (...) @gettime()
store double %57, ptr %11, align 8
%58 = load i32, ptr %25, align 4
%59 = icmp eq i32 %58, 1
br i1 %59, label %66, label %60
60: ; preds = %52
%61 = load double, ptr %11, align 8
%62 = load double, ptr %10, align 8
%63 = fsub double %61, %62
%64 = load double, ptr %12, align 8
%65 = fcmp olt double %63, %64
br i1 %65, label %66, label %70
66: ; preds = %60, %52
%67 = load double, ptr %11, align 8
%68 = load double, ptr %10, align 8
%69 = fsub double %67, %68
store double %69, ptr %12, align 8
br label %70
70: ; preds = %66, %60
%71 = call double (...) @gettime()
store double %71, ptr %10, align 8
%72 = load ptr, ptr %26, align 8
%73 = load i32, ptr %6, align 4
%74 = call i32 @random_dual_read_test(ptr noundef %72, i32 noundef %73, i32 noundef 1)
%75 = call double (...) @gettime()
store double %75, ptr %11, align 8
%76 = load i32, ptr %25, align 4
%77 = icmp eq i32 %76, 1
br i1 %77, label %84, label %78
78: ; preds = %70
%79 = load double, ptr %11, align 8
%80 = load double, ptr %10, align 8
%81 = fsub double %79, %80
%82 = load double, ptr %13, align 8
%83 = fcmp olt double %81, %82
br i1 %83, label %84, label %88
84: ; preds = %78, %70
%85 = load double, ptr %11, align 8
%86 = load double, ptr %10, align 8
%87 = fsub double %85, %86
store double %87, ptr %13, align 8
br label %88
88: ; preds = %84, %78
br label %89
89: ; preds = %88
%90 = load i32, ptr %25, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %25, align 4
%92 = load i32, ptr %25, align 4
%93 = icmp sle i32 %92, 10
br i1 %93, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %94
94: ; preds = %._crit_edge, %41
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%96 = load i32, ptr %7, align 4
%97 = icmp sgt i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %94
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %108
100: ; preds = %94
%101 = load i32, ptr %7, align 4
%102 = icmp slt i32 %101, 0
br i1 %102, label %103, label %105
103: ; preds = %100
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %107
105: ; preds = %100
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %107
107: ; preds = %105, %103
br label %108
108: ; preds = %107, %98
store i32 10, ptr %24, align 4
%109 = load i32, ptr %24, align 4
%110 = shl i32 1, %109
%111 = load i32, ptr %5, align 4
%112 = icmp sle i32 %110, %111
br i1 %112, label %.lr.ph4, label %265
.lr.ph4: ; preds = %108
br label %113
113: ; preds = %.lr.ph4, %258
%114 = load i32, ptr %24, align 4
%115 = shl i32 1, %114
store i32 %115, ptr %28, align 4
store double 0.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %20, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %16, align 8
store i32 1, ptr %25, align 4
%116 = load i32, ptr %25, align 4
%117 = icmp sle i32 %116, 10
br i1 %117, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %113
br label %118
118: ; preds = %.lr.ph2, %239
%119 = call i32 (...) @rand32()
%120 = load i32, ptr %5, align 4
%121 = load i32, ptr %28, align 4
%122 = sdiv i32 %120, %121
%123 = srem i32 %119, %122
%124 = load i32, ptr %28, align 4
%125 = mul nsw i32 %123, %124
store i32 %125, ptr %29, align 4
%126 = call double (...) @gettime()
store double %126, ptr %10, align 8
%127 = load ptr, ptr %26, align 8
%128 = load i32, ptr %29, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8, ptr %127, i64 %129
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %24, align 4
%133 = call i32 @random_read_test(ptr noundef %130, i32 noundef %131, i32 noundef %132)
%134 = call double (...) @gettime()
store double %134, ptr %11, align 8
%135 = load double, ptr %11, align 8
%136 = load double, ptr %10, align 8
%137 = fsub double %135, %136
%138 = load double, ptr %12, align 8
%139 = fsub double %137, %138
store double %139, ptr %8, align 8
%140 = load double, ptr %8, align 8
%141 = fcmp olt double %140, 0.000000e+00
br i1 %141, label %142, label %143
142: ; preds = %118
store double 0.000000e+00, ptr %8, align 8
br label %143
143: ; preds = %142, %118
%144 = load double, ptr %8, align 8
%145 = load double, ptr %16, align 8
%146 = fadd double %145, %144
store double %146, ptr %16, align 8
%147 = load double, ptr %8, align 8
%148 = load double, ptr %8, align 8
%149 = load double, ptr %17, align 8
%150 = call double @llvm.fmuladd.f64(double %147, double %148, double %149)
store double %150, ptr %17, align 8
%151 = load i32, ptr %25, align 4
%152 = icmp eq i32 %151, 1
br i1 %152, label %157, label %153
153: ; preds = %143
%154 = load double, ptr %8, align 8
%155 = load double, ptr %22, align 8
%156 = fcmp olt double %154, %155
br i1 %156, label %157, label %159
157: ; preds = %153, %143
%158 = load double, ptr %8, align 8
store double %158, ptr %22, align 8
br label %159
159: ; preds = %157, %153
%160 = call double (...) @gettime()
store double %160, ptr %10, align 8
%161 = load ptr, ptr %26, align 8
%162 = load i32, ptr %29, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i8, ptr %161, i64 %163
%165 = load i32, ptr %6, align 4
%166 = load i32, ptr %24, align 4
%167 = call i32 @random_dual_read_test(ptr noundef %164, i32 noundef %165, i32 noundef %166)
%168 = call double (...) @gettime()
store double %168, ptr %11, align 8
%169 = load double, ptr %11, align 8
%170 = load double, ptr %10, align 8
%171 = fsub double %169, %170
%172 = load double, ptr %13, align 8
%173 = fsub double %171, %172
store double %173, ptr %9, align 8
%174 = load double, ptr %9, align 8
%175 = fcmp olt double %174, 0.000000e+00
br i1 %175, label %176, label %177
176: ; preds = %159
store double 0.000000e+00, ptr %9, align 8
br label %177
177: ; preds = %176, %159
%178 = load double, ptr %9, align 8
%179 = load double, ptr %20, align 8
%180 = fadd double %179, %178
store double %180, ptr %20, align 8
%181 = load double, ptr %9, align 8
%182 = load double, ptr %9, align 8
%183 = load double, ptr %21, align 8
%184 = call double @llvm.fmuladd.f64(double %181, double %182, double %183)
store double %184, ptr %21, align 8
%185 = load i32, ptr %25, align 4
%186 = icmp eq i32 %185, 1
br i1 %186, label %191, label %187
187: ; preds = %177
%188 = load double, ptr %9, align 8
%189 = load double, ptr %23, align 8
%190 = fcmp olt double %188, %189
br i1 %190, label %191, label %193
191: ; preds = %187, %177
%192 = load double, ptr %9, align 8
store double %192, ptr %23, align 8
br label %193
193: ; preds = %191, %187
%194 = load i32, ptr %25, align 4
%195 = icmp sgt i32 %194, 2
br i1 %195, label %196, label %238
196: ; preds = %193
%197 = load double, ptr %17, align 8
%198 = load i32, ptr %25, align 4
%199 = sitofp i32 %198 to double
%200 = load double, ptr %16, align 8
%201 = load double, ptr %16, align 8
%202 = fmul double %200, %201
%203 = fneg double %202
%204 = call double @llvm.fmuladd.f64(double %197, double %199, double %203)
%205 = load i32, ptr %25, align 4
%206 = load i32, ptr %25, align 4
%207 = sub nsw i32 %206, 1
%208 = mul nsw i32 %205, %207
%209 = sitofp i32 %208 to double
%210 = fdiv double %204, %209
%211 = call double @sqrt(double noundef %210) #4
store double %211, ptr %14, align 8
%212 = load double, ptr %21, align 8
%213 = load i32, ptr %25, align 4
%214 = sitofp i32 %213 to double
%215 = load double, ptr %20, align 8
%216 = load double, ptr %20, align 8
%217 = fmul double %215, %216
%218 = fneg double %217
%219 = call double @llvm.fmuladd.f64(double %212, double %214, double %218)
%220 = load i32, ptr %25, align 4
%221 = load i32, ptr %25, align 4
%222 = sub nsw i32 %221, 1
%223 = mul nsw i32 %220, %222
%224 = sitofp i32 %223 to double
%225 = fdiv double %219, %224
%226 = call double @sqrt(double noundef %225) #4
store double %226, ptr %18, align 8
%227 = load double, ptr %14, align 8
%228 = load double, ptr %22, align 8
%229 = fdiv double %228, 1.000000e+03
%230 = fcmp olt double %227, %229
br i1 %230, label %231, label %237
231: ; preds = %196
%232 = load double, ptr %18, align 8
%233 = load double, ptr %23, align 8
%234 = fdiv double %233, 1.000000e+03
%235 = fcmp olt double %232, %234
br i1 %235, label %236, label %237
236: ; preds = %231
br label %244
237: ; preds = %231, %196
br label %238
238: ; preds = %237, %193
br label %239
239: ; preds = %238
%240 = load i32, ptr %25, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %25, align 4
%242 = load i32, ptr %25, align 4
%243 = icmp sle i32 %242, 10
br i1 %243, label %118, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %239
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %113
br label %244
244: ; preds = %.loopexit, %236
%245 = load i32, ptr %24, align 4
%246 = shl i32 1, %245
%247 = load double, ptr %22, align 8
%248 = fmul double %247, 1.000000e+09
%249 = load i32, ptr %6, align 4
%250 = sitofp i32 %249 to double
%251 = fdiv double %248, %250
%252 = load double, ptr %23, align 8
%253 = fmul double %252, 1.000000e+09
%254 = load i32, ptr %6, align 4
%255 = sitofp i32 %254 to double
%256 = fdiv double %253, %255
%257 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %246, double noundef %251, double noundef %256)
br label %258
258: ; preds = %244
%259 = load i32, ptr %24, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %24, align 4
%261 = load i32, ptr %24, align 4
%262 = shl i32 1, %261
%263 = load i32, ptr %5, align 4
%264 = icmp sle i32 %262, %263
br i1 %264, label %113, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %258
br label %265
265: ; preds = %._crit_edge5, %108
%266 = load ptr, ptr %27, align 8
%267 = call i32 @free(ptr noundef %266)
store i32 1, ptr %4, align 4
br label %268
268: ; preds = %265, %40, %32
%269 = load i32, ptr %4, align 4
ret i32 %269
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare double @gettime(...) #1
declare i32 @random_read_test(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @random_dual_read_test(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand32(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppn65ur7q.c'
source_filename = "/tmp/tmppn65ur7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nsu_pwrite(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @pwrite(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @pwrite(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppn65ur7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nsu_pwrite(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @pwrite(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @pwrite(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp74u2n9n.c'
source_filename = "/tmp/tmpp74u2n9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @french_ISO_8859_1_create_env() #0 {
%1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0)
ret ptr %1
}
declare ptr @SN_create_env(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/tmpp74u2n9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @french_ISO_8859_1_create_env() #0 {
%1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0)
ret ptr %1
}
declare ptr @SN_create_env(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/tmpb0z0awkf.c'
source_filename = "/tmp/tmpb0z0awkf.c"
target datalayout = "e-m:e-p270: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/tmpb0z0awkf.c"
target datalayout = "e-m:e-p270: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/tmpvr5q016z.c'
source_filename = "/tmp/tmpvr5q016z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_checkmenuitem(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 = load ptr, ptr %4, align 8
%7 = call i32 @japi_checkmenuitem(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @japi_checkmenuitem(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/tmpvr5q016z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_checkmenuitem(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 = load ptr, ptr %4, align 8
%7 = call i32 @japi_checkmenuitem(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @japi_checkmenuitem(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/tmpejs4cxen.c'
source_filename = "/tmp/tmpejs4cxen.c"
target datalayout = "e-m:e-p270: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/tmpejs4cxen.c"
target datalayout = "e-m:e-p270: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/tmp6vdqkja1.c'
source_filename = "/tmp/tmp6vdqkja1.c"
target datalayout = "e-m:e-p270: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.iovec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tcmu_seek_in_iovec(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
br label %5
5: ; preds = %35, %2
%6 = load i64, ptr %4, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %36
8: ; preds = %5
%9 = load i64, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds %struct.iovec, ptr %10, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = icmp uge i64 %9, %12
br i1 %13, label %14, label %24
14: ; preds = %8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds %struct.iovec, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = load i64, ptr %4, align 8
%19 = sub i64 %18, %17
store i64 %19, ptr %4, align 8
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds %struct.iovec, ptr %20, i32 0, i32 0
store i64 0, ptr %21, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.iovec, ptr %22, i32 1
store ptr %23, ptr %3, align 8
br label %35
24: ; preds = %8
%25 = load i64, ptr %4, align 8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds %struct.iovec, ptr %26, i32 0, i32 1
%28 = load i64, ptr %27, align 8
%29 = add i64 %28, %25
store i64 %29, ptr %27, align 8
%30 = load i64, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds %struct.iovec, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 8
%34 = sub i64 %33, %30
store i64 %34, ptr %32, align 8
store i64 0, ptr %4, align 8
br label %35
35: ; preds = %24, %14
br label %5, !llvm.loop !6
36: ; preds = %5
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/tmp6vdqkja1.c"
target datalayout = "e-m:e-p270: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.iovec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tcmu_seek_in_iovec(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 = icmp ne i64 %5, 0
br i1 %6, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %7
7: ; preds = %.lr.ph, %34
%8 = load i64, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.iovec, ptr %9, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = icmp uge i64 %8, %11
br i1 %12, label %13, label %23
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds %struct.iovec, ptr %14, i32 0, i32 0
%16 = load i64, ptr %15, align 8
%17 = load i64, ptr %4, align 8
%18 = sub i64 %17, %16
store i64 %18, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds %struct.iovec, ptr %19, i32 0, i32 0
store i64 0, ptr %20, align 8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds %struct.iovec, ptr %21, i32 1
store ptr %22, ptr %3, align 8
br label %34
23: ; preds = %7
%24 = load i64, ptr %4, align 8
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds %struct.iovec, ptr %25, i32 0, i32 1
%27 = load i64, ptr %26, align 8
%28 = add i64 %27, %24
store i64 %28, ptr %26, align 8
%29 = load i64, ptr %4, align 8
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds %struct.iovec, ptr %30, i32 0, i32 0
%32 = load i64, ptr %31, align 8
%33 = sub i64 %32, %29
store i64 %33, ptr %31, align 8
store i64 0, ptr %4, align 8
br label %34
34: ; preds = %23, %13
%35 = load i64, ptr %4, align 8
%36 = icmp ne i64 %35, 0
br i1 %36, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %37
37: ; preds = %._crit_edge, %2
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/tmp3lthhtta.c'
source_filename = "/tmp/tmp3lthhtta.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"%s: error parsing rate\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = call i32 @print_usage(ptr noundef %10)
store i32 1, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @parse_bytes(ptr noundef %15, ptr noundef %6)
%17 = icmp ne i32 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %12
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = call i32 @print_usage(ptr noundef %24)
store i32 1, ptr %3, align 4
br label %29
26: ; preds = %12
%27 = load i64, ptr %6, align 8
%28 = call i32 @rw_loop(i64 noundef %27)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %26, %18, %9
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @print_usage(ptr noundef) #1
declare i32 @parse_bytes(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @rw_loop(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3lthhtta.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"%s: error parsing rate\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = call i32 @print_usage(ptr noundef %10)
store i32 1, ptr %3, align 4
br label %29
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @parse_bytes(ptr noundef %15, ptr noundef %6)
%17 = icmp ne i32 %16, 0
br i1 %17, label %26, label %18
18: ; preds = %12
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = call i32 @print_usage(ptr noundef %24)
store i32 1, ptr %3, align 4
br label %29
26: ; preds = %12
%27 = load i64, ptr %6, align 8
%28 = call i32 @rw_loop(i64 noundef %27)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %26, %18, %9
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @print_usage(ptr noundef) #1
declare i32 @parse_bytes(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @rw_loop(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwqeidulr.c'
source_filename = "/tmp/tmpwqeidulr.c"
target datalayout = "e-m:e-p270: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"destructor...!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @destructor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwqeidulr.c"
target datalayout = "e-m:e-p270: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"destructor...!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @destructor(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpz5l3im.c'
source_filename = "/tmp/tmpkpz5l3im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LINES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drawCorona() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double 0x3FEE666666666666, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = call i32 @glLineWidth(double noundef 2.500000e+00)
%6 = load i32, ptr @GL_LINES, align 4
%7 = call i32 @glBegin(i32 noundef %6)
%8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%9 = load double, ptr %3, align 8
%10 = call double @cos(i32 noundef 6)
%11 = fmul double %9, %10
store double %11, ptr %1, align 8
%12 = load double, ptr %3, align 8
%13 = call double @sin(i32 noundef 6)
%14 = fmul double %12, %13
store double %14, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %54, %0
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 360
br i1 %17, label %18, label %57
18: ; preds = %15
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 2
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %53
22: ; preds = %18
%23 = call i32 @glColor4f(i32 noundef 1, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%24 = load double, ptr %1, align 8
%25 = load double, ptr %2, align 8
%26 = call i32 @glVertex3f(double noundef %24, double noundef %25, double noundef 0.000000e+00)
%27 = load double, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = sitofp i32 %28 to double
%30 = fmul double %29, 3.141590e+00
%31 = fdiv double %30, 1.800000e+02
%32 = fptosi double %31 to i32
%33 = call double @cos(i32 noundef %32)
%34 = fmul double %27, %33
store double %34, ptr %1, align 8
%35 = load double, ptr %3, align 8
%36 = load i32, ptr %4, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double %37, 3.141590e+00
%39 = fdiv double %38, 1.800000e+02
%40 = fptosi double %39 to i32
%41 = call double @sin(i32 noundef %40)
%42 = fmul double %35, %41
store double %42, ptr %2, align 8
%43 = call i32 @glColor4f(i32 noundef 1, double noundef 6.000000e-01, double noundef 2.000000e-01, double noundef 1.000000e-01)
%44 = load double, ptr %1, align 8
%45 = call double @randomNumber(double noundef 1.500000e-01)
%46 = fsub double 1.900000e+00, %45
%47 = fmul double %44, %46
%48 = load double, ptr %2, align 8
%49 = call double @randomNumber(double noundef 1.500000e-01)
%50 = fsub double 1.900000e+00, %49
%51 = fmul double %48, %50
%52 = call i32 @glVertex3f(double noundef %47, double noundef %51, double noundef 0.000000e+00)
br label %53
53: ; preds = %22, %18
br label %54
54: ; preds = %53
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %15, !llvm.loop !6
57: ; preds = %15
%58 = call i32 (...) @glEnd()
%59 = call i32 @glLineWidth(double noundef 1.000000e+00)
ret void
}
declare i32 @glLineWidth(double noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare double @cos(i32 noundef) #1
declare double @sin(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @glColor4f(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1
declare double @randomNumber(double noundef) #1
declare i32 @glEnd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkpz5l3im.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LINES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drawCorona() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double 0x3FEE666666666666, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = call i32 @glLineWidth(double noundef 2.500000e+00)
%6 = load i32, ptr @GL_LINES, align 4
%7 = call i32 @glBegin(i32 noundef %6)
%8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
%9 = load double, ptr %3, align 8
%10 = call double @cos(i32 noundef 6)
%11 = fmul double %9, %10
store double %11, ptr %1, align 8
%12 = load double, ptr %3, align 8
%13 = call double @sin(i32 noundef 6)
%14 = fmul double %12, %13
store double %14, ptr %2, align 8
store i32 0, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 360
br i1 %16, label %.lr.ph, label %58
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %53
%18 = call i32 (...) @rand()
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %52
21: ; preds = %17
%22 = call i32 @glColor4f(i32 noundef 1, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%23 = load double, ptr %1, align 8
%24 = load double, ptr %2, align 8
%25 = call i32 @glVertex3f(double noundef %23, double noundef %24, double noundef 0.000000e+00)
%26 = load double, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sitofp i32 %27 to double
%29 = fmul double %28, 3.141590e+00
%30 = fdiv double %29, 1.800000e+02
%31 = fptosi double %30 to i32
%32 = call double @cos(i32 noundef %31)
%33 = fmul double %26, %32
store double %33, ptr %1, align 8
%34 = load double, ptr %3, align 8
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double %36, 3.141590e+00
%38 = fdiv double %37, 1.800000e+02
%39 = fptosi double %38 to i32
%40 = call double @sin(i32 noundef %39)
%41 = fmul double %34, %40
store double %41, ptr %2, align 8
%42 = call i32 @glColor4f(i32 noundef 1, double noundef 6.000000e-01, double noundef 2.000000e-01, double noundef 1.000000e-01)
%43 = load double, ptr %1, align 8
%44 = call double @randomNumber(double noundef 1.500000e-01)
%45 = fsub double 1.900000e+00, %44
%46 = fmul double %43, %45
%47 = load double, ptr %2, align 8
%48 = call double @randomNumber(double noundef 1.500000e-01)
%49 = fsub double 1.900000e+00, %48
%50 = fmul double %47, %49
%51 = call i32 @glVertex3f(double noundef %46, double noundef %50, double noundef 0.000000e+00)
br label %52
52: ; preds = %21, %17
br label %53
53: ; preds = %52
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp slt i32 %56, 360
br i1 %57, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %0
%59 = call i32 (...) @glEnd()
%60 = call i32 @glLineWidth(double noundef 1.000000e+00)
ret void
}
declare i32 @glLineWidth(double noundef) #1
declare i32 @glBegin(i32 noundef) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare double @cos(i32 noundef) #1
declare double @sin(i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @glColor4f(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glVertex3f(double noundef, double noundef, double noundef) #1
declare double @randomNumber(double noundef) #1
declare i32 @glEnd(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx161k1wo.c'
source_filename = "/tmp/tmpx161k1wo.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"With x as 74, p as 5, n as 4, and y as 0, setbits returns %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"1[0010]00 to 000[0000], creating 0000010\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"With x as 90, p as 3, n as 2, and y as 20, setbits returns %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"101[10]10 to 00101[00], creating 0010110\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"With x as 256, p as 8, n as 1, and y as 14, setbits returns %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"[1]00000000 to 00000111[0], creating 000001111\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @setbits(i32 noundef 74, i32 noundef 5, i32 noundef 4, i32 noundef 0)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @setbits(i32 noundef 90, i32 noundef 3, i32 noundef 2, i32 noundef 20)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @setbits(i32 noundef 256, i32 noundef 8, i32 noundef 1, i32 noundef 14)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setbits(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/tmpx161k1wo.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"With x as 74, p as 5, n as 4, and y as 0, setbits returns %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"1[0010]00 to 000[0000], creating 0000010\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"With x as 90, p as 3, n as 2, and y as 20, setbits returns %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"101[10]10 to 00101[00], creating 0010110\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [64 x i8] c"With x as 256, p as 8, n as 1, and y as 14, setbits returns %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [48 x i8] c"[1]00000000 to 00000111[0], creating 000001111\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @setbits(i32 noundef 74, i32 noundef 5, i32 noundef 4, i32 noundef 0)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @setbits(i32 noundef 90, i32 noundef 3, i32 noundef 2, i32 noundef 20)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @setbits(i32 noundef 256, i32 noundef 8, i32 noundef 1, i32 noundef 14)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @setbits(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/tmphgsz81dc.c'
source_filename = "/tmp/tmphgsz81dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push_imm32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 104)
%4 = load i32, ptr %2, align 4
%5 = call i32 @put32(i32 noundef %4)
ret void
}
declare i32 @put8(i32 noundef) #1
declare i32 @put32(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/tmphgsz81dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push_imm32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 104)
%4 = load i32, ptr %2, align 4
%5 = call i32 @put32(i32 noundef %4)
ret void
}
declare i32 @put8(i32 noundef) #1
declare i32 @put32(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/tmp8vu8qf26.c'
source_filename = "/tmp/tmp8vu8qf26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmt_u16_dec(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 = call i64 @fmt_u32_dec(ptr noundef %5, i32 noundef %6)
ret i64 %7
}
declare i64 @fmt_u32_dec(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/tmp8vu8qf26.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmt_u16_dec(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 = call i64 @fmt_u32_dec(ptr noundef %5, i32 noundef %6)
ret i64 %7
}
declare i64 @fmt_u32_dec(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/tmpns_v_l4x.c'
source_filename = "/tmp/tmpns_v_l4x.c"
target datalayout = "e-m:e-p270: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/tmpns_v_l4x.c"
target datalayout = "e-m:e-p270: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/tmpc4c8vrup.c'
source_filename = "/tmp/tmpc4c8vrup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
%6 = zext i1 %5 to i32
%7 = call i32 @assume(i32 noundef %6)
br label %8
8: ; preds = %11, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = icmp sge i32 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4c8vrup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
%6 = zext i1 %5 to i32
%7 = call i32 @assume(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %3, align 4
%20 = icmp sge i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
ret i32 0
}
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0kuyjm7_.c'
source_filename = "/tmp/tmp0kuyjm7_.c"
target datalayout = "e-m:e-p270: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/tmp0kuyjm7_.c"
target datalayout = "e-m:e-p270: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/tmpvdl428w4.c'
source_filename = "/tmp/tmpvdl428w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"0x%02x,%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %8, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %17
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = and i32 %10, 31
%13 = icmp eq i32 %12, 31
%14 = zext i1 %13 to i64
%15 = select i1 %13, ptr @.str.1, ptr @.str.2
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %15)
br label %4, !llvm.loop !6
17: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvdl428w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"0x%02x,%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = and i32 %9, 31
%12 = icmp eq i32 %11, 31
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.1, ptr @.str.2
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %8, ptr noundef %14)
%16 = call i32 (...) @getchar()
store i32 %16, ptr %2, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %19
19: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp21b3wcvw.c'
source_filename = "/tmp/tmp21b3wcvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Please input a string:\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"%s has %d characters, %d digits, %d alphabets!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %70, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %73
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sgt i32 %22, 48
br i1 %23, label %24, label %34
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp slt i32 %29, 57
br i1 %30, label %31, label %34
31: ; preds = %24
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %69
34: ; preds = %24, %17
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sge i32 %39, 97
br i1 %40, label %41, label %48
41: ; preds = %34
%42 = load i32, ptr %3, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 122
br i1 %47, label %62, label %48
48: ; preds = %41, %34
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp sge i32 %53, 65
br i1 %54, label %55, label %65
55: ; preds = %48
%56 = load i32, ptr %3, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp sle i32 %60, 90
br i1 %61, label %62, label %65
62: ; preds = %55, %41
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %68
65: ; preds = %55, %48
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
br label %68
68: ; preds = %65, %62
br label %69
69: ; preds = %68, %31
br label %70
70: ; preds = %69
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %3, align 4
br label %13, !llvm.loop !6
73: ; preds = %13
%74 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%75 = load i32, ptr %5, align 4
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %7, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21b3wcvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Please input a string:\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"%s has %d characters, %d digits, %d alphabets!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [30 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %4, align 4
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %75
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %69
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sgt i32 %21, 48
br i1 %22, label %23, label %33
23: ; preds = %16
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp slt i32 %28, 57
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %68
33: ; preds = %23, %16
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 97
br i1 %39, label %40, label %47
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 122
br i1 %46, label %61, label %47
47: ; preds = %40, %33
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 65
br i1 %53, label %54, label %64
54: ; preds = %47
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp sle i32 %59, 90
br i1 %60, label %61, label %64
61: ; preds = %54, %40
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %67
64: ; preds = %54, %47
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %67
67: ; preds = %64, %61
br label %68
68: ; preds = %67, %30
br label %69
69: ; preds = %68
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %3, align 4
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %0
%76 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0
%77 = load i32, ptr %5, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %7, align 4
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9itkhrsj.c'
source_filename = "/tmp/tmp9itkhrsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hist_serial(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %15, %16
store i32 %17, ptr %7, align 4
%18 = call ptr @xmalloc(i32 noundef 1024)
store ptr %18, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %27, %3
%20 = load i32, ptr %9, align 4
%21 = icmp slt i32 %20, 256
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 0, ptr %26, align 4
br label %27
27: ; preds = %22
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %19, !llvm.loop !6
30: ; preds = %19
store i32 0, ptr %10, align 4
br label %31
31: ; preds = %45, %30
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %48
35: ; preds = %31
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = getelementptr inbounds i32, ptr %36, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 4
br label %45
45: ; preds = %35
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
br label %31, !llvm.loop !8
48: ; preds = %31
store i32 0, ptr %11, align 4
br label %49
49: ; preds = %62, %48
%50 = load i32, ptr %11, align 4
%51 = icmp slt i32 %50, 256
br i1 %51, label %52, label %59
52: ; preds = %49
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = icmp eq i32 %57, 0
br label %59
59: ; preds = %52, %49
%60 = phi i1 [ false, %49 ], [ %58, %52 ]
br i1 %60, label %61, label %65
61: ; preds = %59
br label %62
62: ; preds = %61
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %11, align 4
br label %49, !llvm.loop !9
65: ; preds = %59
store i32 255, ptr %12, align 4
br label %66
66: ; preds = %79, %65
%67 = load i32, ptr %12, align 4
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %76
69: ; preds = %66
%70 = load ptr, ptr %8, align 8
%71 = load i32, ptr %12, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 0
br label %76
76: ; preds = %69, %66
%77 = phi i1 [ false, %66 ], [ %75, %69 ]
br i1 %77, label %78, label %82
78: ; preds = %76
br label %79
79: ; preds = %78
%80 = load i32, ptr %12, align 4
%81 = add nsw i32 %80, -1
store i32 %81, ptr %12, align 4
br label %66, !llvm.loop !10
82: ; preds = %76
%83 = load i32, ptr %12, align 4
%84 = load i32, ptr %11, align 4
%85 = sub nsw i32 %83, %84
%86 = sdiv i32 255, %85
store i32 %86, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %87
87: ; preds = %107, %82
%88 = load i32, ptr %14, align 4
%89 = load i32, ptr %7, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %110
91: ; preds = %87
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %14, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i64, ptr %92, i64 %94
%96 = load i64, ptr %95, align 8
%97 = load i32, ptr %11, align 4
%98 = sext i32 %97 to i64
%99 = sub i64 %96, %98
%100 = load i32, ptr %13, align 4
%101 = sext i32 %100 to i64
%102 = mul i64 %99, %101
%103 = load ptr, ptr %4, align 8
%104 = load i32, ptr %14, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i64, ptr %103, i64 %105
store i64 %102, ptr %106, align 8
br label %107
107: ; preds = %91
%108 = load i32, ptr %14, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %14, align 4
br label %87, !llvm.loop !11
110: ; preds = %87
%111 = load ptr, ptr %8, align 8
%112 = call i32 @free(ptr noundef %111)
ret void
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9itkhrsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hist_serial(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %15, %16
store i32 %17, ptr %7, align 4
%18 = call ptr @xmalloc(i32 noundef 1024)
store ptr %18, ptr %8, align 8
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp slt i32 %19, 256
br i1 %20, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %26
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 0, ptr %25, align 4
br label %26
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 256
br i1 %30, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %3
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %51
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %45
%36 = load ptr, ptr %8, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = getelementptr inbounds i32, ptr %36, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 4
br label %45
45: ; preds = %35
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %31
store i32 0, ptr %11, align 4
br label %52
52: ; preds = %65, %51
%53 = load i32, ptr %11, align 4
%54 = icmp slt i32 %53, 256
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %60, 0
br label %62
62: ; preds = %55, %52
%63 = phi i1 [ false, %52 ], [ %61, %55 ]
br i1 %63, label %64, label %68
64: ; preds = %62
br label %65
65: ; preds = %64
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
br label %52, !llvm.loop !9
68: ; preds = %62
store i32 255, ptr %12, align 4
br label %69
69: ; preds = %82, %68
%70 = load i32, ptr %12, align 4
%71 = icmp sge i32 %70, 0
br i1 %71, label %72, label %79
72: ; preds = %69
%73 = load ptr, ptr %8, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp eq i32 %77, 0
br label %79
79: ; preds = %72, %69
%80 = phi i1 [ false, %69 ], [ %78, %72 ]
br i1 %80, label %81, label %85
81: ; preds = %79
br label %82
82: ; preds = %81
%83 = load i32, ptr %12, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %12, align 4
br label %69, !llvm.loop !10
85: ; preds = %79
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr %11, align 4
%88 = sub nsw i32 %86, %87
%89 = sdiv i32 255, %88
store i32 %89, ptr %13, align 4
store i32 0, ptr %14, align 4
%90 = load i32, ptr %14, align 4
%91 = load i32, ptr %7, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %.lr.ph5, label %115
.lr.ph5: ; preds = %85
br label %93
93: ; preds = %.lr.ph5, %109
%94 = load ptr, ptr %4, align 8
%95 = load i32, ptr %14, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i64, ptr %94, i64 %96
%98 = load i64, ptr %97, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = sub i64 %98, %100
%102 = load i32, ptr %13, align 4
%103 = sext i32 %102 to i64
%104 = mul i64 %101, %103
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i64, ptr %105, i64 %107
store i64 %104, ptr %108, align 8
br label %109
109: ; preds = %93
%110 = load i32, ptr %14, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %14, align 4
%112 = load i32, ptr %14, align 4
%113 = load i32, ptr %7, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %93, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %109
br label %115
115: ; preds = %._crit_edge6, %85
%116 = load ptr, ptr %8, align 8
%117 = call i32 @free(ptr noundef %116)
ret void
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpqrvwsn7o.c'
source_filename = "/tmp/tmpqrvwsn7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_replace(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i64 @strlen(ptr noundef %14)
store i64 %15, ptr %11, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %12, align 8
%18 = load i64, ptr %12, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %61
20: ; preds = %3
%21 = load i64, ptr %11, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
store ptr %24, ptr %4, align 8
br label %118
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = load i64, ptr %11, align 8
%29 = add i64 %28, 1
%30 = mul i64 %27, %29
%31 = load i64, ptr %11, align 8
%32 = add i64 %30, %31
store i64 %32, ptr %10, align 8
%33 = load i64, ptr %10, align 8
%34 = call ptr @calloc(i64 noundef %33, i32 noundef 1)
store ptr %34, ptr %9, align 8
br label %35
35: ; preds = %40, %25
%36 = load ptr, ptr %5, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %57
40: ; preds = %35
%41 = load ptr, ptr %9, align 8
%42 = load ptr, ptr %7, align 8
%43 = call i32 @strcat(ptr noundef %41, ptr noundef %42)
%44 = load ptr, ptr %9, align 8
%45 = call i64 @strlen(ptr noundef %44)
store i64 %45, ptr %13, align 8
%46 = load ptr, ptr %5, align 8
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %9, align 8
%49 = load i64, ptr %13, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
store i8 %47, ptr %50, align 1
%51 = load ptr, ptr %9, align 8
%52 = load i64, ptr %13, align 8
%53 = add i64 %52, 1
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %5, align 8
br label %35, !llvm.loop !6
57: ; preds = %35
%58 = load ptr, ptr %9, align 8
%59 = load ptr, ptr %7, align 8
%60 = call i32 @strcat(ptr noundef %58, ptr noundef %59)
br label %116
61: ; preds = %3
%62 = call ptr @malloc(i32 noundef 1)
store ptr %62, ptr %9, align 8
br label %63
63: ; preds = %68, %61
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %6, align 8
%66 = call ptr @strstr(ptr noundef %64, ptr noundef %65)
store ptr %66, ptr %8, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %94
68: ; preds = %63
%69 = load ptr, ptr %5, align 8
%70 = call i64 @strlen(ptr noundef %69)
%71 = load ptr, ptr %8, align 8
%72 = call i64 @strlen(ptr noundef %71)
%73 = sub i64 %70, %72
store i64 %73, ptr %10, align 8
%74 = load ptr, ptr %9, align 8
%75 = load ptr, ptr %9, align 8
%76 = call i64 @strlen(ptr noundef %75)
%77 = load i64, ptr %10, align 8
%78 = add i64 %76, %77
%79 = load i64, ptr %11, align 8
%80 = add i64 %78, %79
%81 = call ptr @realloc(ptr noundef %74, i64 noundef %80)
store ptr %81, ptr %9, align 8
%82 = load ptr, ptr %9, align 8
%83 = load ptr, ptr %5, align 8
%84 = load i64, ptr %10, align 8
%85 = call i32 @strncat(ptr noundef %82, ptr noundef %83, i64 noundef %84)
%86 = load ptr, ptr %9, align 8
%87 = load ptr, ptr %7, align 8
%88 = call i32 @strcat(ptr noundef %86, ptr noundef %87)
%89 = load i64, ptr %10, align 8
%90 = load i64, ptr %12, align 8
%91 = add i64 %89, %90
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 %91
store ptr %93, ptr %5, align 8
br label %63, !llvm.loop !8
94: ; preds = %63
%95 = load ptr, ptr %5, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %115
97: ; preds = %94
%98 = load ptr, ptr %9, align 8
%99 = call i64 @strlen(ptr noundef %98)
%100 = load ptr, ptr %5, align 8
%101 = call i64 @strlen(ptr noundef %100)
%102 = add i64 %99, %101
store i64 %102, ptr %10, align 8
%103 = load i64, ptr %10, align 8
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %108
105: ; preds = %97
%106 = load i64, ptr %10, align 8
%107 = add i64 %106, 1
store i64 %107, ptr %10, align 8
br label %108
108: ; preds = %105, %97
%109 = load ptr, ptr %9, align 8
%110 = load i64, ptr %10, align 8
%111 = call ptr @realloc(ptr noundef %109, i64 noundef %110)
store ptr %111, ptr %9, align 8
%112 = load ptr, ptr %9, align 8
%113 = load ptr, ptr %5, align 8
%114 = call i32 @strcat(ptr noundef %112, ptr noundef %113)
br label %115
115: ; preds = %108, %94
br label %116
116: ; preds = %115, %57
%117 = load ptr, ptr %9, align 8
store ptr %117, ptr %4, align 8
br label %118
118: ; preds = %116, %23
%119 = load ptr, ptr %4, align 8
ret ptr %119
}
declare i64 @strlen(ptr noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqrvwsn7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_replace(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i64 @strlen(ptr noundef %14)
store i64 %15, ptr %11, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %12, align 8
%18 = load i64, ptr %12, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %64
20: ; preds = %3
%21 = load i64, ptr %11, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
store ptr %24, ptr %4, align 8
br label %124
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = load i64, ptr %11, align 8
%29 = add i64 %28, 1
%30 = mul i64 %27, %29
%31 = load i64, ptr %11, align 8
%32 = add i64 %30, %31
store i64 %32, ptr %10, align 8
%33 = load i64, ptr %10, align 8
%34 = call ptr @calloc(i64 noundef %33, i32 noundef 1)
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %.lr.ph2, label %60
.lr.ph2: ; preds = %25
br label %39
39: ; preds = %.lr.ph2, %39
%40 = load ptr, ptr %9, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i32 @strcat(ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %9, align 8
%44 = call i64 @strlen(ptr noundef %43)
store i64 %44, ptr %13, align 8
%45 = load ptr, ptr %5, align 8
%46 = load i8, ptr %45, align 1
%47 = load ptr, ptr %9, align 8
%48 = load i64, ptr %13, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store i8 %46, ptr %49, align 1
%50 = load ptr, ptr %9, align 8
%51 = load i64, ptr %13, align 8
%52 = add i64 %51, 1
%53 = getelementptr inbounds i8, ptr %50, i64 %52
store i8 0, ptr %53, align 1
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %5, align 8
%56 = load ptr, ptr %5, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br i1 %59, label %39, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %39
br label %60
60: ; preds = %._crit_edge3, %25
%61 = load ptr, ptr %9, align 8
%62 = load ptr, ptr %7, align 8
%63 = call i32 @strcat(ptr noundef %61, ptr noundef %62)
br label %122
64: ; preds = %3
%65 = call ptr @malloc(i32 noundef 1)
store ptr %65, ptr %9, align 8
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %6, align 8
%68 = call ptr @strstr(ptr noundef %66, ptr noundef %67)
store ptr %68, ptr %8, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %.lr.ph, label %100
.lr.ph: ; preds = %64
br label %70
70: ; preds = %.lr.ph, %70
%71 = load ptr, ptr %5, align 8
%72 = call i64 @strlen(ptr noundef %71)
%73 = load ptr, ptr %8, align 8
%74 = call i64 @strlen(ptr noundef %73)
%75 = sub i64 %72, %74
store i64 %75, ptr %10, align 8
%76 = load ptr, ptr %9, align 8
%77 = load ptr, ptr %9, align 8
%78 = call i64 @strlen(ptr noundef %77)
%79 = load i64, ptr %10, align 8
%80 = add i64 %78, %79
%81 = load i64, ptr %11, align 8
%82 = add i64 %80, %81
%83 = call ptr @realloc(ptr noundef %76, i64 noundef %82)
store ptr %83, ptr %9, align 8
%84 = load ptr, ptr %9, align 8
%85 = load ptr, ptr %5, align 8
%86 = load i64, ptr %10, align 8
%87 = call i32 @strncat(ptr noundef %84, ptr noundef %85, i64 noundef %86)
%88 = load ptr, ptr %9, align 8
%89 = load ptr, ptr %7, align 8
%90 = call i32 @strcat(ptr noundef %88, ptr noundef %89)
%91 = load i64, ptr %10, align 8
%92 = load i64, ptr %12, align 8
%93 = add i64 %91, %92
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 %93
store ptr %95, ptr %5, align 8
%96 = load ptr, ptr %5, align 8
%97 = load ptr, ptr %6, align 8
%98 = call ptr @strstr(ptr noundef %96, ptr noundef %97)
store ptr %98, ptr %8, align 8
%99 = icmp ne ptr %98, null
br i1 %99, label %70, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %70
br label %100
100: ; preds = %._crit_edge, %64
%101 = load ptr, ptr %5, align 8
%102 = icmp ne ptr %101, null
br i1 %102, label %103, label %121
103: ; preds = %100
%104 = load ptr, ptr %9, align 8
%105 = call i64 @strlen(ptr noundef %104)
%106 = load ptr, ptr %5, align 8
%107 = call i64 @strlen(ptr noundef %106)
%108 = add i64 %105, %107
store i64 %108, ptr %10, align 8
%109 = load i64, ptr %10, align 8
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %114
111: ; preds = %103
%112 = load i64, ptr %10, align 8
%113 = add i64 %112, 1
store i64 %113, ptr %10, align 8
br label %114
114: ; preds = %111, %103
%115 = load ptr, ptr %9, align 8
%116 = load i64, ptr %10, align 8
%117 = call ptr @realloc(ptr noundef %115, i64 noundef %116)
store ptr %117, ptr %9, align 8
%118 = load ptr, ptr %9, align 8
%119 = load ptr, ptr %5, align 8
%120 = call i32 @strcat(ptr noundef %118, ptr noundef %119)
br label %121
121: ; preds = %114, %100
br label %122
122: ; preds = %121, %60
%123 = load ptr, ptr %9, align 8
store ptr %123, ptr %4, align 8
br label %124
124: ; preds = %122, %23
%125 = load ptr, ptr %4, align 8
ret ptr %125
}
declare i64 @strlen(ptr noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvj3pfg3l.c'
source_filename = "/tmp/tmpvj3pfg3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @balanc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 4.000000e+00, ptr %13, align 4
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %166, %2
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %167
17: ; preds = %14
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %163, %17
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %22, label %166
22: ; preds = %18
store float 0.000000e+00, ptr %12, align 4
store float 0.000000e+00, ptr %9, align 4
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %59, %22
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %62
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %58
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = call i64 @fabs(float noundef %40)
%42 = sitofp i64 %41 to float
%43 = load float, ptr %12, align 4
%44 = fadd float %43, %42
store float %44, ptr %12, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %49, i64 %51
%53 = load float, ptr %52, align 4
%54 = call i64 @fabs(float noundef %53)
%55 = sitofp i64 %54 to float
%56 = load float, ptr %9, align 4
%57 = fadd float %56, %55
store float %57, ptr %9, align 4
br label %58
58: ; preds = %31, %27
br label %59
59: ; preds = %58
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
br label %23, !llvm.loop !6
62: ; preds = %23
%63 = load float, ptr %12, align 4
%64 = fcmp une float %63, 0.000000e+00
br i1 %64, label %65, label %162
65: ; preds = %62
%66 = load float, ptr %9, align 4
%67 = fcmp une float %66, 0.000000e+00
br i1 %67, label %68, label %162
68: ; preds = %65
%69 = load float, ptr %9, align 4
%70 = fpext float %69 to double
%71 = fdiv double %70, 2.000000e+00
%72 = fptrunc double %71 to float
store float %72, ptr %10, align 4
store float 1.000000e+00, ptr %11, align 4
%73 = load float, ptr %12, align 4
%74 = load float, ptr %9, align 4
%75 = fadd float %73, %74
store float %75, ptr %8, align 4
br label %76
76: ; preds = %80, %68
%77 = load float, ptr %12, align 4
%78 = load float, ptr %10, align 4
%79 = fcmp olt float %77, %78
br i1 %79, label %80, label %88
80: ; preds = %76
%81 = load float, ptr %11, align 4
%82 = fpext float %81 to double
%83 = fmul double %82, 2.000000e+00
%84 = fptrunc double %83 to float
store float %84, ptr %11, align 4
%85 = load float, ptr %13, align 4
%86 = load float, ptr %12, align 4
%87 = fmul float %86, %85
store float %87, ptr %12, align 4
br label %76, !llvm.loop !8
88: ; preds = %76
%89 = load float, ptr %9, align 4
%90 = fpext float %89 to double
%91 = fmul double %90, 2.000000e+00
%92 = fptrunc double %91 to float
store float %92, ptr %10, align 4
br label %93
93: ; preds = %97, %88
%94 = load float, ptr %12, align 4
%95 = load float, ptr %10, align 4
%96 = fcmp ogt float %94, %95
br i1 %96, label %97, label %105
97: ; preds = %93
%98 = load float, ptr %11, align 4
%99 = fpext float %98 to double
%100 = fdiv double %99, 2.000000e+00
%101 = fptrunc double %100 to float
store float %101, ptr %11, align 4
%102 = load float, ptr %13, align 4
%103 = load float, ptr %12, align 4
%104 = fdiv float %103, %102
store float %104, ptr %12, align 4
br label %93, !llvm.loop !9
105: ; preds = %93
%106 = load float, ptr %12, align 4
%107 = load float, ptr %9, align 4
%108 = fadd float %106, %107
%109 = load float, ptr %11, align 4
%110 = fdiv float %108, %109
%111 = fpext float %110 to double
%112 = load float, ptr %8, align 4
%113 = fpext float %112 to double
%114 = fmul double 0x3FEE666666666666, %113
%115 = fcmp olt double %111, %114
br i1 %115, label %116, label %161
116: ; preds = %105
store i32 0, ptr %5, align 4
%117 = load float, ptr %11, align 4
%118 = fpext float %117 to double
%119 = fdiv double 1.000000e+00, %118
%120 = fptrunc double %119 to float
store float %120, ptr %10, align 4
store i32 1, ptr %6, align 4
br label %121
121: ; preds = %137, %116
%122 = load i32, ptr %6, align 4
%123 = load i32, ptr %4, align 4
%124 = icmp sle i32 %122, %123
br i1 %124, label %125, label %140
125: ; preds = %121
%126 = load float, ptr %10, align 4
%127 = load ptr, ptr %3, align 8
%128 = load i32, ptr %7, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds ptr, ptr %127, i64 %129
%131 = load ptr, ptr %130, align 8
%132 = load i32, ptr %6, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds float, ptr %131, i64 %133
%135 = load float, ptr %134, align 4
%136 = fmul float %135, %126
store float %136, ptr %134, align 4
br label %137
137: ; preds = %125
%138 = load i32, ptr %6, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %6, align 4
br label %121, !llvm.loop !10
140: ; preds = %121
store i32 1, ptr %6, align 4
br label %141
141: ; preds = %157, %140
%142 = load i32, ptr %6, align 4
%143 = load i32, ptr %4, align 4
%144 = icmp sle i32 %142, %143
br i1 %144, label %145, label %160
145: ; preds = %141
%146 = load float, ptr %11, align 4
%147 = load ptr, ptr %3, align 8
%148 = load i32, ptr %6, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds ptr, ptr %147, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = load i32, ptr %7, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds float, ptr %151, i64 %153
%155 = load float, ptr %154, align 4
%156 = fmul float %155, %146
store float %156, ptr %154, align 4
br label %157
157: ; preds = %145
%158 = load i32, ptr %6, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %6, align 4
br label %141, !llvm.loop !11
160: ; preds = %141
br label %161
161: ; preds = %160, %105
br label %162
162: ; preds = %161, %65, %62
br label %163
163: ; preds = %162
%164 = load i32, ptr %7, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %7, align 4
br label %18, !llvm.loop !12
166: ; preds = %18
br label %14, !llvm.loop !13
167: ; preds = %14
ret void
}
declare i64 @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvj3pfg3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @balanc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store float 4.000000e+00, ptr %13, align 4
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %.lr.ph17, label %180
.lr.ph17: ; preds = %2
br label %16
16: ; preds = %.lr.ph17, %177
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %.lr.ph14, label %177
.lr.ph14: ; preds = %16
br label %20
20: ; preds = %.lr.ph14, %171
store float 0.000000e+00, ptr %12, align 4
store float 0.000000e+00, ptr %9, align 4
store i32 1, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %62
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %56
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %55
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %33, i64 %35
%37 = load float, ptr %36, align 4
%38 = call i64 @fabs(float noundef %37)
%39 = sitofp i64 %38 to float
%40 = load float, ptr %12, align 4
%41 = fadd float %40, %39
store float %41, ptr %12, align 4
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = call i64 @fabs(float noundef %50)
%52 = sitofp i64 %51 to float
%53 = load float, ptr %9, align 4
%54 = fadd float %53, %52
store float %54, ptr %9, align 4
br label %55
55: ; preds = %28, %24
br label %56
56: ; preds = %55
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp sle i32 %59, %60
br i1 %61, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %20
%63 = load float, ptr %12, align 4
%64 = fcmp une float %63, 0.000000e+00
br i1 %64, label %65, label %170
65: ; preds = %62
%66 = load float, ptr %9, align 4
%67 = fcmp une float %66, 0.000000e+00
br i1 %67, label %68, label %170
68: ; preds = %65
%69 = load float, ptr %9, align 4
%70 = fpext float %69 to double
%71 = fdiv double %70, 2.000000e+00
%72 = fptrunc double %71 to float
store float %72, ptr %10, align 4
store float 1.000000e+00, ptr %11, align 4
%73 = load float, ptr %12, align 4
%74 = load float, ptr %9, align 4
%75 = fadd float %73, %74
store float %75, ptr %8, align 4
%76 = load float, ptr %12, align 4
%77 = load float, ptr %10, align 4
%78 = fcmp olt float %76, %77
br i1 %78, label %.lr.ph2, label %90
.lr.ph2: ; preds = %68
br label %79
79: ; preds = %.lr.ph2, %79
%80 = load float, ptr %11, align 4
%81 = fpext float %80 to double
%82 = fmul double %81, 2.000000e+00
%83 = fptrunc double %82 to float
store float %83, ptr %11, align 4
%84 = load float, ptr %13, align 4
%85 = load float, ptr %12, align 4
%86 = fmul float %85, %84
store float %86, ptr %12, align 4
%87 = load float, ptr %12, align 4
%88 = load float, ptr %10, align 4
%89 = fcmp olt float %87, %88
br i1 %89, label %79, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %90
90: ; preds = %._crit_edge3, %68
%91 = load float, ptr %9, align 4
%92 = fpext float %91 to double
%93 = fmul double %92, 2.000000e+00
%94 = fptrunc double %93 to float
store float %94, ptr %10, align 4
%95 = load float, ptr %12, align 4
%96 = load float, ptr %10, align 4
%97 = fcmp ogt float %95, %96
br i1 %97, label %.lr.ph5, label %109
.lr.ph5: ; preds = %90
br label %98
98: ; preds = %.lr.ph5, %98
%99 = load float, ptr %11, align 4
%100 = fpext float %99 to double
%101 = fdiv double %100, 2.000000e+00
%102 = fptrunc double %101 to float
store float %102, ptr %11, align 4
%103 = load float, ptr %13, align 4
%104 = load float, ptr %12, align 4
%105 = fdiv float %104, %103
store float %105, ptr %12, align 4
%106 = load float, ptr %12, align 4
%107 = load float, ptr %10, align 4
%108 = fcmp ogt float %106, %107
br i1 %108, label %98, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %98
br label %109
109: ; preds = %._crit_edge6, %90
%110 = load float, ptr %12, align 4
%111 = load float, ptr %9, align 4
%112 = fadd float %110, %111
%113 = load float, ptr %11, align 4
%114 = fdiv float %112, %113
%115 = fpext float %114 to double
%116 = load float, ptr %8, align 4
%117 = fpext float %116 to double
%118 = fmul double 0x3FEE666666666666, %117
%119 = fcmp olt double %115, %118
br i1 %119, label %120, label %169
120: ; preds = %109
store i32 0, ptr %5, align 4
%121 = load float, ptr %11, align 4
%122 = fpext float %121 to double
%123 = fdiv double 1.000000e+00, %122
%124 = fptrunc double %123 to float
store float %124, ptr %10, align 4
store i32 1, ptr %6, align 4
%125 = load i32, ptr %6, align 4
%126 = load i32, ptr %4, align 4
%127 = icmp sle i32 %125, %126
br i1 %127, label %.lr.ph8, label %146
.lr.ph8: ; preds = %120
br label %128
128: ; preds = %.lr.ph8, %140
%129 = load float, ptr %10, align 4
%130 = load ptr, ptr %3, align 8
%131 = load i32, ptr %7, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = load i32, ptr %6, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, ptr %134, i64 %136
%138 = load float, ptr %137, align 4
%139 = fmul float %138, %129
store float %139, ptr %137, align 4
br label %140
140: ; preds = %128
%141 = load i32, ptr %6, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %6, align 4
%143 = load i32, ptr %6, align 4
%144 = load i32, ptr %4, align 4
%145 = icmp sle i32 %143, %144
br i1 %145, label %128, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %140
br label %146
146: ; preds = %._crit_edge9, %120
store i32 1, ptr %6, align 4
%147 = load i32, ptr %6, align 4
%148 = load i32, ptr %4, align 4
%149 = icmp sle i32 %147, %148
br i1 %149, label %.lr.ph11, label %168
.lr.ph11: ; preds = %146
br label %150
150: ; preds = %.lr.ph11, %162
%151 = load float, ptr %11, align 4
%152 = load ptr, ptr %3, align 8
%153 = load i32, ptr %6, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds ptr, ptr %152, i64 %154
%156 = load ptr, ptr %155, align 8
%157 = load i32, ptr %7, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %156, i64 %158
%160 = load float, ptr %159, align 4
%161 = fmul float %160, %151
store float %161, ptr %159, align 4
br label %162
162: ; preds = %150
%163 = load i32, ptr %6, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %6, align 4
%165 = load i32, ptr %6, align 4
%166 = load i32, ptr %4, align 4
%167 = icmp sle i32 %165, %166
br i1 %167, label %150, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %162
br label %168
168: ; preds = %._crit_edge12, %146
br label %169
169: ; preds = %168, %109
br label %170
170: ; preds = %169, %65, %62
br label %171
171: ; preds = %170
%172 = load i32, ptr %7, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %7, align 4
%174 = load i32, ptr %7, align 4
%175 = load i32, ptr %4, align 4
%176 = icmp sle i32 %174, %175
br i1 %176, label %20, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %171
br label %177
177: ; preds = %._crit_edge15, %16
%178 = load i32, ptr %5, align 4
%179 = icmp eq i32 %178, 0
br i1 %179, label %16, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %177
br label %180
180: ; preds = %._crit_edge18, %2
ret void
}
declare i64 @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp03idn5si.c'
source_filename = "/tmp/tmp03idn5si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i64 (...) @rand()
%6 = trunc i64 %5 to i32
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = srem i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp03idn5si.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i64 (...) @rand()
%6 = trunc i64 %5 to i32
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = srem i32 %7, %8
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqk25gk1z.c'
source_filename = "/tmp/tmpqk25gk1z.c"
target datalayout = "e-m:e-p270: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/tmpqk25gk1z.c"
target datalayout = "e-m:e-p270: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/tmpc7o0tmj3.c'
source_filename = "/tmp/tmpc7o0tmj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @power(i32 noundef %6, i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @power(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/tmpc7o0tmj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @power(i32 noundef %6, i32 noundef %7)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @power(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/tmpv0v6ut_a.c'
source_filename = "/tmp/tmpv0v6ut_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv0v6ut_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp75zrgver.c'
source_filename = "/tmp/tmp75zrgver.c"
target datalayout = "e-m:e-p270: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.anon = type { i16, %union.anon, i32, [20 x i8] }
%union.anon = type { i16 }
@.str = private unnamed_addr constant [21 x i8] c"\16\CD\D4\EA\A9G\120\EB\05\996\E8\D9MO\B00s\16\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"[\93\BB\A0\A6d\A7\10RYJp\95\B2\07uw\03E\0B\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\804\8A\B9\E6S'\9F^b\B2\1C-l\0E\9E\88\BE\E1c\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.anon, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = 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
store ptr @.str, ptr %11, align 8
store ptr @.str.1, ptr %12, align 8
store ptr @.str.2, ptr %13, align 8
store ptr @.str.3, ptr %14, align 8
%15 = call zeroext i16 @htons(i32 noundef 2)
%16 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 0
store i16 %15, ptr %16, align 4
%17 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 1
store i16 1, ptr %17, align 2
%18 = call i32 @htonl(i32 noundef 20)
%19 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 2
store i32 %18, ptr %19, align 4
%20 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 3
%21 = getelementptr inbounds [20 x i8], ptr %20, i64 0, i64 0
%22 = load ptr, ptr %11, align 8
%23 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef 20)
%24 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @SHA1(ptr noundef %6, i32 noundef 28, ptr noundef %24)
store i32 0, ptr %10, align 4
br label %26
26: ; preds = %36, %2
%27 = load i32, ptr %10, align 4
%28 = icmp slt i32 %27, 20
br i1 %28, label %29, label %39
29: ; preds = %26
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34)
br label %36
36: ; preds = %29
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %10, align 4
br label %26, !llvm.loop !6
39: ; preds = %26
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare zeroext i16 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SHA1(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp75zrgver.c"
target datalayout = "e-m:e-p270: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.anon = type { i16, %union.anon, i32, [20 x i8] }
%union.anon = type { i16 }
@.str = private unnamed_addr constant [21 x i8] c"\16\CD\D4\EA\A9G\120\EB\05\996\E8\D9MO\B00s\16\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"[\93\BB\A0\A6d\A7\10RYJp\95\B2\07uw\03E\0B\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\804\8A\B9\E6S'\9F^b\B2\1C-l\0E\9E\88\BE\E1c\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.anon, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = 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
store ptr @.str, ptr %11, align 8
store ptr @.str.1, ptr %12, align 8
store ptr @.str.2, ptr %13, align 8
store ptr @.str.3, ptr %14, align 8
%15 = call zeroext i16 @htons(i32 noundef 2)
%16 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 0
store i16 %15, ptr %16, align 4
%17 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 1
store i16 1, ptr %17, align 2
%18 = call i32 @htonl(i32 noundef 20)
%19 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 2
store i32 %18, ptr %19, align 4
%20 = getelementptr inbounds %struct.anon, ptr %6, i32 0, i32 3
%21 = getelementptr inbounds [20 x i8], ptr %20, i64 0, i64 0
%22 = load ptr, ptr %11, align 8
%23 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef 20)
%24 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @SHA1(ptr noundef %6, i32 noundef 28, ptr noundef %24)
store i32 0, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp slt i32 %26, 20
br i1 %27, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %28
28: ; preds = %.lr.ph, %35
%29 = load i32, ptr %10, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
br label %35
35: ; preds = %28
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp slt i32 %38, 20
br i1 %39, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %2
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
ret i32 0
}
declare zeroext i16 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SHA1(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9eyk74m5.c'
source_filename = "/tmp/tmp9eyk74m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Trim_String(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %21, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp slt i32 %17, 32
br label %19
19: ; preds = %14, %10
%20 = phi i1 [ false, %10 ], [ %18, %14 ]
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
store i8 0, ptr %22, align 1
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
br label %10, !llvm.loop !6
25: ; preds = %19
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9eyk74m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Trim_String(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %21, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp slt i32 %17, 32
br label %19
19: ; preds = %14, %10
%20 = phi i1 [ false, %10 ], [ %18, %14 ]
br i1 %20, label %21, label %25
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
store i8 0, ptr %22, align 1
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
br label %10, !llvm.loop !6
25: ; preds = %19
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphuzlbzmc.c'
source_filename = "/tmp/tmphuzlbzmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spawn_proc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = 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
%9 = call i32 (...) @fork()
store i32 %9, ptr %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %35
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = call i32 @dup2(i32 noundef %15, i32 noundef 0)
%17 = load i32, ptr %5, align 4
%18 = call i32 @close(i32 noundef %17)
br label %19
19: ; preds = %14, %11
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = call i32 @dup2(i32 noundef %23, i32 noundef 1)
%25 = load i32, ptr %6, align 4
%26 = call i32 @close(i32 noundef %25)
br label %27
27: ; preds = %22, %19
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %32, align 8
%34 = call i32 @execvp(ptr noundef %31, ptr noundef %33)
store i32 %34, ptr %4, align 4
br label %37
35: ; preds = %3
%36 = load i32, ptr %8, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %35, %27
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @fork(...) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphuzlbzmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spawn_proc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = 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
%9 = call i32 (...) @fork()
store i32 %9, ptr %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %35
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = call i32 @dup2(i32 noundef %15, i32 noundef 0)
%17 = load i32, ptr %5, align 4
%18 = call i32 @close(i32 noundef %17)
br label %19
19: ; preds = %14, %11
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = call i32 @dup2(i32 noundef %23, i32 noundef 1)
%25 = load i32, ptr %6, align 4
%26 = call i32 @close(i32 noundef %25)
br label %27
27: ; preds = %22, %19
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 0
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %32, align 8
%34 = call i32 @execvp(ptr noundef %31, ptr noundef %33)
store i32 %34, ptr %4, align 4
br label %37
35: ; preds = %3
%36 = load i32, ptr %8, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %35, %27
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare i32 @fork(...) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzlgw6gg_.c'
source_filename = "/tmp/tmpzlgw6gg_.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"/etc/resolv.conf\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [70 x i8] c"Failed to stat. Trying to fix because PIA is not running right now...\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Cannot stat, assuming PIA must be writing resolv.conf\00", align 1
@LOG_NOTICE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [49 x i8] c"Bug? Symlink exists but PIA is running. Weird...\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"All good, symlink and PIA isn't running\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"All good, not a symlink and PIA is running\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_resolv() #0 {
%1 = alloca %struct.stat, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @pia_running()
store i32 %3, ptr %2, align 4
%4 = call i64 @lstat(ptr noundef @.str, ptr noundef %1)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %17
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr @LOG_INFO, align 4
%11 = call i32 @syslog(i32 noundef %10, ptr noundef @.str.1)
%12 = call i32 (...) @fix_symlink()
br label %16
13: ; preds = %6
%14 = load i32, ptr @LOG_INFO, align 4
%15 = call i32 @syslog(i32 noundef %14, ptr noundef @.str.2)
br label %16
16: ; preds = %13, %9
br label %42
17: ; preds = %0
%18 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i64 @S_ISLNK(i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %17
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr @LOG_NOTICE, align 4
%27 = call i32 @syslog(i32 noundef %26, ptr noundef @.str.3)
br label %31
28: ; preds = %22
%29 = load i32, ptr @LOG_INFO, align 4
%30 = call i32 @syslog(i32 noundef %29, ptr noundef @.str.4)
br label %31
31: ; preds = %28, %25
br label %41
32: ; preds = %17
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr @LOG_INFO, align 4
%37 = call i32 @syslog(i32 noundef %36, ptr noundef @.str.5)
br label %40
38: ; preds = %32
%39 = call i32 (...) @fix_symlink()
br label %40
40: ; preds = %38, %35
br label %41
41: ; preds = %40, %31
br label %42
42: ; preds = %41, %16
ret void
}
declare i32 @pia_running(...) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef) #1
declare i32 @fix_symlink(...) #1
declare i64 @S_ISLNK(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/tmpzlgw6gg_.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"/etc/resolv.conf\00", align 1
@LOG_INFO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [70 x i8] c"Failed to stat. Trying to fix because PIA is not running right now...\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Cannot stat, assuming PIA must be writing resolv.conf\00", align 1
@LOG_NOTICE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [49 x i8] c"Bug? Symlink exists but PIA is running. Weird...\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"All good, symlink and PIA isn't running\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"All good, not a symlink and PIA is running\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_resolv() #0 {
%1 = alloca %struct.stat, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @pia_running()
store i32 %3, ptr %2, align 4
%4 = call i64 @lstat(ptr noundef @.str, ptr noundef %1)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %17
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr @LOG_INFO, align 4
%11 = call i32 @syslog(i32 noundef %10, ptr noundef @.str.1)
%12 = call i32 (...) @fix_symlink()
br label %16
13: ; preds = %6
%14 = load i32, ptr @LOG_INFO, align 4
%15 = call i32 @syslog(i32 noundef %14, ptr noundef @.str.2)
br label %16
16: ; preds = %13, %9
br label %42
17: ; preds = %0
%18 = getelementptr inbounds %struct.stat, ptr %1, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = call i64 @S_ISLNK(i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %17
%23 = load i32, ptr %2, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr @LOG_NOTICE, align 4
%27 = call i32 @syslog(i32 noundef %26, ptr noundef @.str.3)
br label %31
28: ; preds = %22
%29 = load i32, ptr @LOG_INFO, align 4
%30 = call i32 @syslog(i32 noundef %29, ptr noundef @.str.4)
br label %31
31: ; preds = %28, %25
br label %41
32: ; preds = %17
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr @LOG_INFO, align 4
%37 = call i32 @syslog(i32 noundef %36, ptr noundef @.str.5)
br label %40
38: ; preds = %32
%39 = call i32 (...) @fix_symlink()
br label %40
40: ; preds = %38, %35
br label %41
41: ; preds = %40, %31
br label %42
42: ; preds = %41, %16
ret void
}
declare i32 @pia_running(...) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @syslog(i32 noundef, ptr noundef) #1
declare i32 @fix_symlink(...) #1
declare i64 @S_ISLNK(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/tmp1of04541.c'
source_filename = "/tmp/tmp1of04541.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.2f K\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2f M\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_packets(float noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
store float %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load float, ptr %3, align 4
%6 = fcmp olt float %5, 1.000000e+03
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = load float, ptr %3, align 4
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 32, ptr noundef @.str, float noundef %9)
br label %26
11: ; preds = %2
%12 = load float, ptr %3, align 4
%13 = fcmp olt float %12, 1.000000e+06
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = load float, ptr %3, align 4
%17 = fdiv float %16, 1.000000e+03
%18 = call i32 @snprintf(ptr noundef %15, i32 noundef 32, ptr noundef @.str.1, float noundef %17)
br label %25
19: ; preds = %11
%20 = load float, ptr %3, align 4
%21 = fdiv float %20, 1.000000e+06
store float %21, ptr %3, align 4
%22 = load ptr, ptr %4, align 8
%23 = load float, ptr %3, align 4
%24 = call i32 @snprintf(ptr noundef %22, i32 noundef 32, ptr noundef @.str.2, float noundef %23)
br label %25
25: ; preds = %19, %14
br label %26
26: ; preds = %25, %7
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1of04541.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.2f K\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%.2f M\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @format_packets(float noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
store float %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load float, ptr %3, align 4
%6 = fcmp olt float %5, 1.000000e+03
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = load float, ptr %3, align 4
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 32, ptr noundef @.str, float noundef %9)
br label %26
11: ; preds = %2
%12 = load float, ptr %3, align 4
%13 = fcmp olt float %12, 1.000000e+06
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = load float, ptr %3, align 4
%17 = fdiv float %16, 1.000000e+03
%18 = call i32 @snprintf(ptr noundef %15, i32 noundef 32, ptr noundef @.str.1, float noundef %17)
br label %25
19: ; preds = %11
%20 = load float, ptr %3, align 4
%21 = fdiv float %20, 1.000000e+06
store float %21, ptr %3, align 4
%22 = load ptr, ptr %4, align 8
%23 = load float, ptr %3, align 4
%24 = call i32 @snprintf(ptr noundef %22, i32 noundef 32, ptr noundef @.str.2, float noundef %23)
br label %25
25: ; preds = %19, %14
br label %26
26: ; preds = %25, %7
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiq8atb3c.c'
source_filename = "/tmp/tmpiq8atb3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = call i32 @hanoi(i32 noundef %3, i32 noundef 1, i32 noundef 3)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @hanoi(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/tmpiq8atb3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = call i32 @hanoi(i32 noundef %3, i32 noundef 1, i32 noundef 3)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @hanoi(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/tmp3dri8km2.c'
source_filename = "/tmp/tmp3dri8km2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \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
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 @stdout, align 4
%10 = load i32, ptr @_IONBF, align 4
%11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0)
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0)
store i32 0, ptr %8, align 4
br label %13
13: ; preds = %33, %2
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 255
br i1 %15, label %16, label %36
16: ; preds = %13
%17 = load i32, ptr %8, align 4
%18 = call i32 @invert_port(i32 noundef 32, i32 noundef 0, i32 noundef %17)
%19 = call i32 @get_port_polarity(i32 noundef 32, i32 noundef 0)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 0, ptr %6, align 4
br label %36
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = call i32 @invert_port(i32 noundef 32, i32 noundef 1, i32 noundef %25)
%27 = call i32 @get_port_polarity(i32 noundef 32, i32 noundef 1)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %24
store i32 0, ptr %6, align 4
br label %36
32: ; preds = %24
br label %33
33: ; preds = %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %13, !llvm.loop !6
36: ; preds = %31, %23, %13
%37 = load i32, ptr %6, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(ptr noundef @.str)
br label %43
41: ; preds = %36
%42 = call i32 @printf(ptr noundef @.str.1)
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @invert_port(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @get_port_polarity(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3dri8km2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \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
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 @stdout, align 4
%10 = load i32, ptr @_IONBF, align 4
%11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0)
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0)
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %13, 255
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %32
%16 = load i32, ptr %8, align 4
%17 = call i32 @invert_port(i32 noundef 32, i32 noundef 0, i32 noundef %16)
%18 = call i32 @get_port_polarity(i32 noundef 32, i32 noundef 0)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 0, ptr %6, align 4
br label %37
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = call i32 @invert_port(i32 noundef 32, i32 noundef 1, i32 noundef %24)
%26 = call i32 @get_port_polarity(i32 noundef 32, i32 noundef 1)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %23
store i32 0, ptr %6, align 4
br label %37
31: ; preds = %23
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 255
br i1 %36, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %37
37: ; preds = %.loopexit, %30, %22
%38 = load i32, ptr %6, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(ptr noundef @.str)
br label %44
42: ; preds = %37
%43 = call i32 @printf(ptr noundef @.str.1)
br label %44
44: ; preds = %42, %40
%45 = load i32, ptr %4, align 4
%46 = load ptr, ptr %5, align 8
ret i32 0
}
declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @IOPi_init(i32 noundef, i32 noundef) #1
declare i32 @invert_port(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @get_port_polarity(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzby5qi72.c'
source_filename = "/tmp/tmpzby5qi72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shake256_squeezeblocks(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @keccak_squeezeblocks(ptr noundef %7, i64 noundef %8, ptr noundef %9, i32 noundef 136)
ret void
}
declare i32 @keccak_squeezeblocks(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzby5qi72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shake256_squeezeblocks(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @keccak_squeezeblocks(ptr noundef %7, i64 noundef %8, ptr noundef %9, i32 noundef 136)
ret void
}
declare i32 @keccak_squeezeblocks(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo0ddj1z1.c'
source_filename = "/tmp/tmpo0ddj1z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getentropy.fd = internal global i32 -1, align 4
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [40 x i8] c"Fatal read error while reading rand dev\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getentropy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load i32, ptr @getentropy.fd, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @randopen(ptr noundef @.str)
store i32 %11, ptr @getentropy.fd, align 4
br label %12
12: ; preds = %10, %2
br label %13
13: ; preds = %30, %26, %12
%14 = load i64, ptr %4, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %37
16: ; preds = %13
%17 = load i32, ptr @getentropy.fd, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %4, align 8
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp slt i64 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %16
%23 = load i64, ptr @errno, align 8
%24 = load i64, ptr @EINTR, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %22
br label %13, !llvm.loop !6
27: ; preds = %22
%28 = load i64, ptr @errno, align 8
%29 = call i32 @error(i32 noundef 1, i64 noundef %28, ptr noundef @.str.1)
br label %30
30: ; preds = %27, %16
%31 = load i64, ptr %6, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 %31
store ptr %33, ptr %5, align 8
%34 = load i64, ptr %6, align 8
%35 = load i64, ptr %4, align 8
%36 = sub i64 %35, %34
store i64 %36, ptr %4, align 8
br label %13, !llvm.loop !6
37: ; preds = %13
ret i32 0
}
declare i32 @randopen(ptr noundef) #1
declare i32 @error(i32 noundef, i64 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/tmpo0ddj1z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getentropy.fd = internal global i32 -1, align 4
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [40 x i8] c"Fatal read error while reading rand dev\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getentropy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load i32, ptr @getentropy.fd, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @randopen(ptr noundef @.str)
store i32 %11, ptr @getentropy.fd, align 4
br label %12
12: ; preds = %10, %2
%13 = load i64, ptr %4, align 8
%14 = icmp ugt i64 %13, 0
br i1 %14, label %.lr.ph, label %38
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load i32, ptr @getentropy.fd, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %4, align 8
store i64 %18, ptr %6, align 8
%19 = load i64, ptr %6, align 8
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %31
21: ; preds = %15
%22 = load i64, ptr @errno, align 8
%23 = load i64, ptr @EINTR, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %21
br label %.backedge
.backedge: ; preds = %25, %31
%26 = load i64, ptr %4, align 8
%27 = icmp ugt i64 %26, 0
br i1 %27, label %15, label %._crit_edge, !llvm.loop !6
28: ; preds = %21
%29 = load i64, ptr @errno, align 8
%30 = call i32 @error(i32 noundef 1, i64 noundef %29, ptr noundef @.str.1)
br label %31
31: ; preds = %28, %15
%32 = load i64, ptr %6, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 %32
store ptr %34, ptr %5, align 8
%35 = load i64, ptr %6, align 8
%36 = load i64, ptr %4, align 8
%37 = sub i64 %36, %35
store i64 %37, ptr %4, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %38
38: ; preds = %._crit_edge, %12
ret i32 0
}
declare i32 @randopen(ptr noundef) #1
declare i32 @error(i32 noundef, i64 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/tmpqzf0y236.c'
source_filename = "/tmp/tmpqzf0y236.c"
target datalayout = "e-m:e-p270: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 { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XExposeEvent_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpqzf0y236.c"
target datalayout = "e-m:e-p270: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 { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XExposeEvent_count(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, 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/tmpiuqoctf3.c'
source_filename = "/tmp/tmpiuqoctf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%e\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%e %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%zu\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"%s %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%.Re\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"fpif_export.expected\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"true\0A\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"false\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 double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @mpfr_init(i32 noundef %19)
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr @MPFR_RNDN, align 4
%23 = call i32 @mpfr_set_d(i32 noundef %21, i32 noundef 0, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr @MPFR_RNDN, align 4
%26 = call double @mpfr_get_d(i32 noundef %24, i32 noundef %25)
store double %26, ptr %9, align 8
%27 = load double, ptr %9, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %27)
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr @MPFR_RNDN, align 4
%31 = call i32 @mpfr_get_si(i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @MPFR_RNDN, align 4
%36 = call double @mpfr_get_d_2exp(ptr noundef %11, i32 noundef %34, i32 noundef %35)
store double %36, ptr %9, align 8
%37 = load double, ptr %9, align 8
%38 = load i32, ptr %11, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %37, i32 noundef %38)
%40 = load i32, ptr %7, align 4
%41 = call i32 @mpfr_init(i32 noundef %40)
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @MPFR_RNDN, align 4
%45 = call i32 @mpfr_frexp(ptr noundef %11, i32 noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %11, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 @mpfr_get_str_ndigits(i32 noundef 10, i32 noundef 100)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %48)
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @MPFR_RNDN, align 4
%52 = call ptr @mpfr_get_str(ptr noundef null, ptr noundef %11, i32 noundef 10, i32 noundef 0, i32 noundef %50, i32 noundef %51)
store ptr %52, ptr %12, align 8
%53 = load ptr, ptr %12, align 8
%54 = load i32, ptr %11, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %53, i32 noundef %54)
%56 = load i32, ptr %6, align 4
%57 = call i32 @mpfr_printf(ptr noundef @.str.6, i32 noundef %56)
%58 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
store ptr %58, ptr %13, align 8
%59 = load ptr, ptr %13, align 8
%60 = load i32, ptr %6, align 4
%61 = call i32 @mpfr_fpif_export(ptr noundef %59, i32 noundef %60)
%62 = load ptr, ptr %13, align 8
%63 = call i32 @fclose(ptr noundef %62)
%64 = load i32, ptr %8, align 4
%65 = call i32 @mpfr_init(i32 noundef %64)
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 1
%68 = load ptr, ptr %67, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.9)
store ptr %69, ptr %13, align 8
%70 = load i32, ptr %8, align 4
%71 = load ptr, ptr %13, align 8
%72 = call i32 @mpfr_fpif_import(i32 noundef %70, ptr noundef %71)
%73 = load i32, ptr %8, align 4
%74 = call i32 @mpfr_printf(ptr noundef @.str.6, i32 noundef %73)
%75 = load ptr, ptr %13, align 8
%76 = call i32 @fclose(ptr noundef %75)
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr @MPFR_RNDN, align 4
%79 = call i64 @mpfr_fits_sint_p(i32 noundef %77, i32 noundef %78)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %18
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %85
83: ; preds = %18
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %85
85: ; preds = %83, %81
%86 = load ptr, ptr %12, align 8
%87 = call i32 @mpfr_free_str(ptr noundef %86)
%88 = load i32, ptr %6, align 4
%89 = call i32 @mpfr_clear(i32 noundef %88)
%90 = load i32, ptr %7, align 4
%91 = call i32 @mpfr_clear(i32 noundef %90)
ret i32 0
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @mpfr_init(i32 noundef) #2
declare i32 @mpfr_set_d(i32 noundef, i32 noundef, i32 noundef) #2
declare double @mpfr_get_d(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @mpfr_get_si(i32 noundef, i32 noundef) #2
declare double @mpfr_get_d_2exp(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_frexp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_get_str_ndigits(i32 noundef, i32 noundef) #2
declare ptr @mpfr_get_str(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_printf(ptr noundef, i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @mpfr_fpif_export(ptr noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @mpfr_fpif_import(i32 noundef, ptr noundef) #2
declare i64 @mpfr_fits_sint_p(i32 noundef, i32 noundef) #2
declare i32 @mpfr_free_str(ptr noundef) #2
declare i32 @mpfr_clear(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpiuqoctf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%e\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%e %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%zu\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"%s %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%.Re\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"fpif_export.expected\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"true\0A\00", align 1
@.str.11 = private unnamed_addr constant [7 x i8] c"false\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 double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @mpfr_init(i32 noundef %19)
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr @MPFR_RNDN, align 4
%23 = call i32 @mpfr_set_d(i32 noundef %21, i32 noundef 0, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr @MPFR_RNDN, align 4
%26 = call double @mpfr_get_d(i32 noundef %24, i32 noundef %25)
store double %26, ptr %9, align 8
%27 = load double, ptr %9, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %27)
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr @MPFR_RNDN, align 4
%31 = call i32 @mpfr_get_si(i32 noundef %29, i32 noundef %30)
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @MPFR_RNDN, align 4
%36 = call double @mpfr_get_d_2exp(ptr noundef %11, i32 noundef %34, i32 noundef %35)
store double %36, ptr %9, align 8
%37 = load double, ptr %9, align 8
%38 = load i32, ptr %11, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %37, i32 noundef %38)
%40 = load i32, ptr %7, align 4
%41 = call i32 @mpfr_init(i32 noundef %40)
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr @MPFR_RNDN, align 4
%45 = call i32 @mpfr_frexp(ptr noundef %11, i32 noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %11, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = call i32 @mpfr_get_str_ndigits(i32 noundef 10, i32 noundef 100)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %48)
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @MPFR_RNDN, align 4
%52 = call ptr @mpfr_get_str(ptr noundef null, ptr noundef %11, i32 noundef 10, i32 noundef 0, i32 noundef %50, i32 noundef %51)
store ptr %52, ptr %12, align 8
%53 = load ptr, ptr %12, align 8
%54 = load i32, ptr %11, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %53, i32 noundef %54)
%56 = load i32, ptr %6, align 4
%57 = call i32 @mpfr_printf(ptr noundef @.str.6, i32 noundef %56)
%58 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
store ptr %58, ptr %13, align 8
%59 = load ptr, ptr %13, align 8
%60 = load i32, ptr %6, align 4
%61 = call i32 @mpfr_fpif_export(ptr noundef %59, i32 noundef %60)
%62 = load ptr, ptr %13, align 8
%63 = call i32 @fclose(ptr noundef %62)
%64 = load i32, ptr %8, align 4
%65 = call i32 @mpfr_init(i32 noundef %64)
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 1
%68 = load ptr, ptr %67, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.9)
store ptr %69, ptr %13, align 8
%70 = load i32, ptr %8, align 4
%71 = load ptr, ptr %13, align 8
%72 = call i32 @mpfr_fpif_import(i32 noundef %70, ptr noundef %71)
%73 = load i32, ptr %8, align 4
%74 = call i32 @mpfr_printf(ptr noundef @.str.6, i32 noundef %73)
%75 = load ptr, ptr %13, align 8
%76 = call i32 @fclose(ptr noundef %75)
%77 = load i32, ptr %6, align 4
%78 = load i32, ptr @MPFR_RNDN, align 4
%79 = call i64 @mpfr_fits_sint_p(i32 noundef %77, i32 noundef %78)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %18
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %85
83: ; preds = %18
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %85
85: ; preds = %83, %81
%86 = load ptr, ptr %12, align 8
%87 = call i32 @mpfr_free_str(ptr noundef %86)
%88 = load i32, ptr %6, align 4
%89 = call i32 @mpfr_clear(i32 noundef %88)
%90 = load i32, ptr %7, align 4
%91 = call i32 @mpfr_clear(i32 noundef %90)
ret i32 0
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @mpfr_init(i32 noundef) #2
declare i32 @mpfr_set_d(i32 noundef, i32 noundef, i32 noundef) #2
declare double @mpfr_get_d(i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @mpfr_get_si(i32 noundef, i32 noundef) #2
declare double @mpfr_get_d_2exp(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_frexp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_get_str_ndigits(i32 noundef, i32 noundef) #2
declare ptr @mpfr_get_str(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @mpfr_printf(ptr noundef, i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @mpfr_fpif_export(ptr noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @mpfr_fpif_import(i32 noundef, ptr noundef) #2
declare i64 @mpfr_fits_sint_p(i32 noundef, i32 noundef) #2
declare i32 @mpfr_free_str(ptr noundef) #2
declare i32 @mpfr_clear(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmp9zy_5l9c.c'
source_filename = "/tmp/tmp9zy_5l9c.c"
target datalayout = "e-m:e-p270: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/tmp9zy_5l9c.c"
target datalayout = "e-m:e-p270: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/tmpvnwbnpez.c'
source_filename = "/tmp/tmpvnwbnpez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.bpf_attr = type { i32 }
@BPF_PROG_DETACH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bpf_prog_detach2(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %union.bpf_attr, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = call i32 @bzero(ptr noundef %7, i32 noundef 4)
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr @BPF_PROG_DETACH, align 4
%13 = call i32 @sys_bpf(i32 noundef %12, ptr noundef %7, i32 noundef 4)
ret i32 %13
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @sys_bpf(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/tmpvnwbnpez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.bpf_attr = type { i32 }
@BPF_PROG_DETACH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bpf_prog_detach2(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %union.bpf_attr, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = call i32 @bzero(ptr noundef %7, i32 noundef 4)
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %6, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr @BPF_PROG_DETACH, align 4
%13 = call i32 @sys_bpf(i32 noundef %12, ptr noundef %7, i32 noundef 4)
ret i32 %13
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @sys_bpf(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/tmp5z4ge6o_.c'
source_filename = "/tmp/tmp5z4ge6o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_MD_SIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS1_MGF1(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca [4 x i8], align 1
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i64 0, ptr %12, align 8
%19 = call ptr (...) @EVP_MD_CTX_new()
store ptr %19, ptr %14, align 8
%20 = load i32, ptr @EVP_MAX_MD_SIZE, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %15, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %16, align 8
store i32 -1, ptr %18, align 4
%24 = load ptr, ptr %14, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %5
br label %116
27: ; preds = %5
%28 = load ptr, ptr %10, align 8
%29 = call i32 @EVP_MD_size(ptr noundef %28)
store i32 %29, ptr %17, align 4
%30 = load i32, ptr %17, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br label %116
33: ; preds = %27
store i64 0, ptr %11, align 8
br label %34
34: ; preds = %112, %33
%35 = load i64, ptr %12, align 8
%36 = load i64, ptr %7, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %115
38: ; preds = %34
%39 = load i64, ptr %11, align 8
%40 = ashr i64 %39, 24
%41 = and i64 %40, 255
%42 = trunc i64 %41 to i8
%43 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 0
store i8 %42, ptr %43, align 1
%44 = load i64, ptr %11, align 8
%45 = ashr i64 %44, 16
%46 = and i64 %45, 255
%47 = trunc i64 %46 to i8
%48 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 1
store i8 %47, ptr %48, align 1
%49 = load i64, ptr %11, align 8
%50 = ashr i64 %49, 8
%51 = trunc i64 %50 to i8
%52 = zext i8 %51 to i32
%53 = and i32 %52, 255
%54 = trunc i32 %53 to i8
%55 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 2
store i8 %54, ptr %55, align 1
%56 = load i64, ptr %11, align 8
%57 = and i64 %56, 255
%58 = trunc i64 %57 to i8
%59 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 3
store i8 %58, ptr %59, align 1
%60 = load ptr, ptr %14, align 8
%61 = load ptr, ptr %10, align 8
%62 = call i32 @EVP_DigestInit_ex(ptr noundef %60, ptr noundef %61, ptr noundef null)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %76
64: ; preds = %38
%65 = load ptr, ptr %14, align 8
%66 = load ptr, ptr %8, align 8
%67 = load i64, ptr %9, align 8
%68 = trunc i64 %67 to i32
%69 = call i32 @EVP_DigestUpdate(ptr noundef %65, ptr noundef %66, i32 noundef %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %64
%72 = load ptr, ptr %14, align 8
%73 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 0
%74 = call i32 @EVP_DigestUpdate(ptr noundef %72, ptr noundef %73, i32 noundef 4)
%75 = icmp ne i32 %74, 0
br i1 %75, label %77, label %76
76: ; preds = %71, %64, %38
br label %116
77: ; preds = %71
%78 = load i64, ptr %12, align 8
%79 = load i32, ptr %17, align 4
%80 = sext i32 %79 to i64
%81 = add nsw i64 %78, %80
%82 = load i64, ptr %7, align 8
%83 = icmp sle i64 %81, %82
br i1 %83, label %84, label %97
84: ; preds = %77
%85 = load ptr, ptr %14, align 8
%86 = load ptr, ptr %6, align 8
%87 = load i64, ptr %12, align 8
%88 = getelementptr inbounds i8, ptr %86, i64 %87
%89 = call i32 @EVP_DigestFinal_ex(ptr noundef %85, ptr noundef %88, ptr noundef null)
%90 = icmp ne i32 %89, 0
br i1 %90, label %92, label %91
91: ; preds = %84
br label %116
92: ; preds = %84
%93 = load i32, ptr %17, align 4
%94 = sext i32 %93 to i64
%95 = load i64, ptr %12, align 8
%96 = add nsw i64 %95, %94
store i64 %96, ptr %12, align 8
br label %111
97: ; preds = %77
%98 = load ptr, ptr %14, align 8
%99 = call i32 @EVP_DigestFinal_ex(ptr noundef %98, ptr noundef %23, ptr noundef null)
%100 = icmp ne i32 %99, 0
br i1 %100, label %102, label %101
101: ; preds = %97
br label %116
102: ; preds = %97
%103 = load ptr, ptr %6, align 8
%104 = load i64, ptr %12, align 8
%105 = getelementptr inbounds i8, ptr %103, i64 %104
%106 = load i64, ptr %7, align 8
%107 = load i64, ptr %12, align 8
%108 = sub nsw i64 %106, %107
%109 = call i32 @memcpy(ptr noundef %105, ptr noundef %23, i64 noundef %108)
%110 = load i64, ptr %7, align 8
store i64 %110, ptr %12, align 8
br label %111
111: ; preds = %102, %92
br label %112
112: ; preds = %111
%113 = load i64, ptr %11, align 8
%114 = add nsw i64 %113, 1
store i64 %114, ptr %11, align 8
br label %34, !llvm.loop !6
115: ; preds = %34
store i32 0, ptr %18, align 4
br label %116
116: ; preds = %115, %101, %91, %76, %32, %26
%117 = load ptr, ptr %14, align 8
%118 = call i32 @EVP_MD_CTX_free(ptr noundef %117)
%119 = load i32, ptr %18, align 4
%120 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %120)
ret i32 %119
}
declare ptr @EVP_MD_CTX_new(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @EVP_MD_size(ptr noundef) #1
declare i32 @EVP_DigestInit_ex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @EVP_DigestFinal_ex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @EVP_MD_CTX_free(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/tmp5z4ge6o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_MD_SIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS1_MGF1(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca [4 x i8], align 1
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i64 0, ptr %12, align 8
%19 = call ptr (...) @EVP_MD_CTX_new()
store ptr %19, ptr %14, align 8
%20 = load i32, ptr @EVP_MAX_MD_SIZE, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %15, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %16, align 8
store i32 -1, ptr %18, align 4
%24 = load ptr, ptr %14, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %5
br label %118
27: ; preds = %5
%28 = load ptr, ptr %10, align 8
%29 = call i32 @EVP_MD_size(ptr noundef %28)
store i32 %29, ptr %17, align 4
%30 = load i32, ptr %17, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br label %118
33: ; preds = %27
store i64 0, ptr %11, align 8
%34 = load i64, ptr %12, align 8
%35 = load i64, ptr %7, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph, label %117
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %111
%38 = load i64, ptr %11, align 8
%39 = ashr i64 %38, 24
%40 = and i64 %39, 255
%41 = trunc i64 %40 to i8
%42 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 0
store i8 %41, ptr %42, align 1
%43 = load i64, ptr %11, align 8
%44 = ashr i64 %43, 16
%45 = and i64 %44, 255
%46 = trunc i64 %45 to i8
%47 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 1
store i8 %46, ptr %47, align 1
%48 = load i64, ptr %11, align 8
%49 = ashr i64 %48, 8
%50 = trunc i64 %49 to i8
%51 = zext i8 %50 to i32
%52 = and i32 %51, 255
%53 = trunc i32 %52 to i8
%54 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 2
store i8 %53, ptr %54, align 1
%55 = load i64, ptr %11, align 8
%56 = and i64 %55, 255
%57 = trunc i64 %56 to i8
%58 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 3
store i8 %57, ptr %58, align 1
%59 = load ptr, ptr %14, align 8
%60 = load ptr, ptr %10, align 8
%61 = call i32 @EVP_DigestInit_ex(ptr noundef %59, ptr noundef %60, ptr noundef null)
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %75
63: ; preds = %37
%64 = load ptr, ptr %14, align 8
%65 = load ptr, ptr %8, align 8
%66 = load i64, ptr %9, align 8
%67 = trunc i64 %66 to i32
%68 = call i32 @EVP_DigestUpdate(ptr noundef %64, ptr noundef %65, i32 noundef %67)
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %63
%71 = load ptr, ptr %14, align 8
%72 = getelementptr inbounds [4 x i8], ptr %13, i64 0, i64 0
%73 = call i32 @EVP_DigestUpdate(ptr noundef %71, ptr noundef %72, i32 noundef 4)
%74 = icmp ne i32 %73, 0
br i1 %74, label %76, label %75
75: ; preds = %70, %63, %37
br label %118
76: ; preds = %70
%77 = load i64, ptr %12, align 8
%78 = load i32, ptr %17, align 4
%79 = sext i32 %78 to i64
%80 = add nsw i64 %77, %79
%81 = load i64, ptr %7, align 8
%82 = icmp sle i64 %80, %81
br i1 %82, label %83, label %96
83: ; preds = %76
%84 = load ptr, ptr %14, align 8
%85 = load ptr, ptr %6, align 8
%86 = load i64, ptr %12, align 8
%87 = getelementptr inbounds i8, ptr %85, i64 %86
%88 = call i32 @EVP_DigestFinal_ex(ptr noundef %84, ptr noundef %87, ptr noundef null)
%89 = icmp ne i32 %88, 0
br i1 %89, label %91, label %90
90: ; preds = %83
br label %118
91: ; preds = %83
%92 = load i32, ptr %17, align 4
%93 = sext i32 %92 to i64
%94 = load i64, ptr %12, align 8
%95 = add nsw i64 %94, %93
store i64 %95, ptr %12, align 8
br label %110
96: ; preds = %76
%97 = load ptr, ptr %14, align 8
%98 = call i32 @EVP_DigestFinal_ex(ptr noundef %97, ptr noundef %23, ptr noundef null)
%99 = icmp ne i32 %98, 0
br i1 %99, label %101, label %100
100: ; preds = %96
br label %118
101: ; preds = %96
%102 = load ptr, ptr %6, align 8
%103 = load i64, ptr %12, align 8
%104 = getelementptr inbounds i8, ptr %102, i64 %103
%105 = load i64, ptr %7, align 8
%106 = load i64, ptr %12, align 8
%107 = sub nsw i64 %105, %106
%108 = call i32 @memcpy(ptr noundef %104, ptr noundef %23, i64 noundef %107)
%109 = load i64, ptr %7, align 8
store i64 %109, ptr %12, align 8
br label %110
110: ; preds = %101, %91
br label %111
111: ; preds = %110
%112 = load i64, ptr %11, align 8
%113 = add nsw i64 %112, 1
store i64 %113, ptr %11, align 8
%114 = load i64, ptr %12, align 8
%115 = load i64, ptr %7, align 8
%116 = icmp slt i64 %114, %115
br i1 %116, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %117
117: ; preds = %._crit_edge, %33
store i32 0, ptr %18, align 4
br label %118
118: ; preds = %117, %100, %90, %75, %32, %26
%119 = load ptr, ptr %14, align 8
%120 = call i32 @EVP_MD_CTX_free(ptr noundef %119)
%121 = load i32, ptr %18, align 4
%122 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %122)
ret i32 %121
}
declare ptr @EVP_MD_CTX_new(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @EVP_MD_size(ptr noundef) #1
declare i32 @EVP_DigestInit_ex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @EVP_DigestFinal_ex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @EVP_MD_CTX_free(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/tmpgzmq97pl.c'
source_filename = "/tmp/tmpgzmq97pl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(none) uwtable
define dso_local float @fminf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%6 = load float, ptr %4, align 4
%7 = call i64 @isnan(float noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load float, ptr %5, align 4
store float %10, ptr %3, align 4
br label %27
11: ; preds = %2
%12 = load float, ptr %5, align 4
%13 = call i64 @isnan(float noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load float, ptr %4, align 4
store float %16, ptr %3, align 4
br label %27
17: ; preds = %11
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load float, ptr %4, align 4
br label %25
23: ; preds = %17
%24 = load float, ptr %5, align 4
br label %25
25: ; preds = %23, %21
%26 = phi float [ %22, %21 ], [ %24, %23 ]
store float %26, ptr %3, align 4
br label %27
27: ; preds = %25, %15, %9
%28 = load float, ptr %3, align 4
ret float %28
}
declare i64 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzmq97pl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(none) uwtable
define dso_local float @fminf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%6 = load float, ptr %4, align 4
%7 = call i64 @isnan(float noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load float, ptr %5, align 4
store float %10, ptr %3, align 4
br label %27
11: ; preds = %2
%12 = load float, ptr %5, align 4
%13 = call i64 @isnan(float noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load float, ptr %4, align 4
store float %16, ptr %3, align 4
br label %27
17: ; preds = %11
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fcmp olt float %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load float, ptr %4, align 4
br label %25
23: ; preds = %17
%24 = load float, ptr %5, align 4
br label %25
25: ; preds = %23, %21
%26 = phi float [ %22, %21 ], [ %24, %23 ]
store float %26, ptr %3, align 4
br label %27
27: ; preds = %25, %15, %9
%28 = load float, ptr %3, align 4
ret float %28
}
declare i64 @isnan(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp28gsmawf.c'
source_filename = "/tmp/tmp28gsmawf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp28gsmawf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT32_MAX = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvqusgqei.c'
source_filename = "/tmp/tmpvqusgqei.c"
target datalayout = "e-m:e-p270: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"ck\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"{\\'84}\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"\\lquote\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\\ldblquote\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GermanPrint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %14 [
i32 1, label %4
i32 2, label %6
i32 3, label %8
i32 4, label %10
i32 5, label %12
]
4: ; preds = %1
%5 = call i32 @fprintRTF(ptr noundef @.str)
br label %14
6: ; preds = %1
%7 = call i32 @fprintRTF(ptr noundef @.str.1)
br label %14
8: ; preds = %1
%9 = call i32 @fprintRTF(ptr noundef @.str.2)
br label %14
10: ; preds = %1
%11 = call i32 @fprintRTF(ptr noundef @.str.3)
br label %14
12: ; preds = %1
%13 = call i32 @fprintRTF(ptr noundef @.str.4)
br label %14
14: ; preds = %12, %1, %10, %8, %6, %4
ret void
}
declare i32 @fprintRTF(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/tmpvqusgqei.c"
target datalayout = "e-m:e-p270: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"ck\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"{\\'84}\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"\\lquote\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\\ldblquote\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GermanPrint(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %14 [
i32 1, label %4
i32 2, label %6
i32 3, label %8
i32 4, label %10
i32 5, label %12
]
4: ; preds = %1
%5 = call i32 @fprintRTF(ptr noundef @.str)
br label %14
6: ; preds = %1
%7 = call i32 @fprintRTF(ptr noundef @.str.1)
br label %14
8: ; preds = %1
%9 = call i32 @fprintRTF(ptr noundef @.str.2)
br label %14
10: ; preds = %1
%11 = call i32 @fprintRTF(ptr noundef @.str.3)
br label %14
12: ; preds = %1
%13 = call i32 @fprintRTF(ptr noundef @.str.4)
br label %14
14: ; preds = %12, %10, %8, %6, %4, %1
ret void
}
declare i32 @fprintRTF(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/tmpf0rn5ubw.c'
source_filename = "/tmp/tmpf0rn5ubw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"[<++++++>-]<\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bf255(i32 noundef %0) #0 {
%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
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 6
store i32 %8, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = sdiv i32 %10, 6
%12 = call i32 @bf50(i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load i32, ptr %5, align 4
%15 = call i32 @bf10(i32 noundef %14)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @bf50(i32 noundef) #1
declare i32 @bf10(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/tmpf0rn5ubw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"[<++++++>-]<\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bf255(i32 noundef %0) #0 {
%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
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 6
store i32 %8, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = sdiv i32 %10, 6
%12 = call i32 @bf50(i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load i32, ptr %5, align 4
%15 = call i32 @bf10(i32 noundef %14)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @bf50(i32 noundef) #1
declare i32 @bf10(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/tmpw9fgz1y0.c'
source_filename = "/tmp/tmpw9fgz1y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"extend/retract vector\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extend_vector(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds float, ptr %8, i64 %10
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = add nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call ptr @gp_realloc(ptr noundef %11, i32 noundef %18, ptr noundef @.str)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = sub i64 0, %22
%24 = getelementptr inbounds float, ptr %20, i64 %23
ret ptr %24
}
declare ptr @gp_realloc(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw9fgz1y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"extend/retract vector\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extend_vector(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds float, ptr %8, i64 %10
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = add nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call ptr @gp_realloc(ptr noundef %11, i32 noundef %18, ptr noundef @.str)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = sub i64 0, %22
%24 = getelementptr inbounds float, ptr %20, i64 %23
ret ptr %24
}
declare ptr @gp_realloc(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6vizj907.c'
source_filename = "/tmp/tmp6vizj907.c"
target datalayout = "e-m:e-p270: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 [564 x i8] c"Usage: %s [-h]\0A %s [-use_gc [-print_gc_info]]\0A [-log_max_mem_usage log_file]\0A [(( -f | -frec | -fnoauto | -fextenal) function_name)...\0A [-output_file_name output_file]\0A [-header_file_name header_file]\0A [-debug]\0A [-only_yielding_funs]\0A [-static_aux_funs]\0A input_c_file]]\0A\0APlease see the README.md file for more details.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help_text_and_exit(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 ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vizj907.c"
target datalayout = "e-m:e-p270: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 [564 x i8] c"Usage: %s [-h]\0A %s [-use_gc [-print_gc_info]]\0A [-log_max_mem_usage log_file]\0A [(( -f | -frec | -fnoauto | -fextenal) function_name)...\0A [-output_file_name output_file]\0A [-header_file_name header_file]\0A [-debug]\0A [-only_yielding_funs]\0A [-static_aux_funs]\0A input_c_file]]\0A\0APlease see the README.md file for more details.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help_text_and_exit(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 ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
%8 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2omdyu9.c'
source_filename = "/tmp/tmpb2omdyu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printCline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
br label %11
11: ; preds = %20, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %9, align 4
%18 = load i8, ptr %8, align 1
%19 = call i32 @mvaddch(i32 noundef %16, i32 noundef %17, i8 noundef signext %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
ret void
}
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb2omdyu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printCline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %19
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %9, align 4
%17 = load i8, ptr %8, align 1
%18 = call i32 @mvaddch(i32 noundef %15, i32 noundef %16, i8 noundef signext %17)
br label %19
19: ; preds = %14
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %4
ret void
}
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvqwflbhj.c'
source_filename = "/tmp/tmpvqwflbhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvqwflbhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxtf5xkqi.c'
source_filename = "/tmp/tmpxtf5xkqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @one_step(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store double %3, ptr %11, align 8
store double %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %17
17: ; preds = %30, %7
%18 = load i32, ptr %15, align 4
%19 = load i32, ptr %14, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %33
21: ; preds = %17
%22 = load double, ptr %8, align 8
%23 = load double, ptr %9, align 8
%24 = load double, ptr %10, align 8
%25 = load double, ptr %11, align 8
%26 = load double, ptr %12, align 8
%27 = load ptr, ptr %13, align 8
%28 = load double, ptr %27, align 8
%29 = call i32 @rhs(double noundef %22, double noundef %23, double noundef %24, double noundef %25, double noundef %26, double noundef %28)
br label %30
30: ; preds = %21
%31 = load i32, ptr %15, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %15, align 4
br label %17, !llvm.loop !6
33: ; preds = %17
ret void
}
declare i32 @rhs(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxtf5xkqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @one_step(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store double %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store double %3, ptr %11, align 8
store double %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
store i32 0, ptr %15, align 4
%17 = load i32, ptr %15, align 4
%18 = load i32, ptr %14, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %35
.lr.ph: ; preds = %7
br label %20
20: ; preds = %.lr.ph, %29
%21 = load double, ptr %8, align 8
%22 = load double, ptr %9, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %11, align 8
%25 = load double, ptr %12, align 8
%26 = load ptr, ptr %13, align 8
%27 = load double, ptr %26, align 8
%28 = call i32 @rhs(double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25, double noundef %27)
br label %29
29: ; preds = %20
%30 = load i32, ptr %15, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %15, align 4
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %14, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %7
ret void
}
declare i32 @rhs(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmjzh789_.c'
source_filename = "/tmp/tmpmjzh789_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buf = private unnamed_addr constant [64 x i8] c"abcdefghijklmnopqrstuvwxyz\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [11 x i8] c"helloworld\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 [64 x i8], align 16
%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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.buf, i64 64, i1 false)
store ptr @.str, ptr %7, align 8
%9 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %7, align 8
%11 = call ptr @stpncpy(ptr noundef %9, ptr noundef %10, i32 noundef 0)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%14 = icmp eq ptr %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call ptr @stpncpy(ptr noundef %17, ptr noundef %18, i32 noundef 5)
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 5
%23 = icmp eq ptr %20, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%27 = load ptr, ptr %7, align 8
%28 = call ptr @stpncpy(ptr noundef %26, ptr noundef %27, i32 noundef 10)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 10
%32 = icmp eq ptr %29, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = call ptr @stpncpy(ptr noundef %35, ptr noundef %36, i32 noundef 11)
store ptr %37, ptr %8, align 8
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 10
%41 = icmp eq ptr %38, %40
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
%44 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%45 = load ptr, ptr %7, align 8
%46 = call ptr @stpncpy(ptr noundef %44, ptr noundef %45, i32 noundef 12)
store ptr %46, ptr %8, align 8
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds i8, ptr %48, i64 10
%50 = icmp eq ptr %47, %49
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
%53 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%54 = load ptr, ptr %7, align 8
%55 = call ptr @stpncpy(ptr noundef %53, ptr noundef %54, i32 noundef 20)
store ptr %55, ptr %8, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%58 = getelementptr inbounds i8, ptr %57, i64 10
%59 = icmp eq ptr %56, %58
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 noundef %60)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @stpncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmjzh789_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buf = private unnamed_addr constant [64 x i8] c"abcdefghijklmnopqrstuvwxyz\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [11 x i8] c"helloworld\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 [64 x i8], align 16
%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
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.buf, i64 64, i1 false)
store ptr @.str, ptr %7, align 8
%9 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %7, align 8
%11 = call ptr @stpncpy(ptr noundef %9, ptr noundef %10, i32 noundef 0)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%14 = icmp eq ptr %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %7, align 8
%19 = call ptr @stpncpy(ptr noundef %17, ptr noundef %18, i32 noundef 5)
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%22 = getelementptr inbounds i8, ptr %21, i64 5
%23 = icmp eq ptr %20, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%27 = load ptr, ptr %7, align 8
%28 = call ptr @stpncpy(ptr noundef %26, ptr noundef %27, i32 noundef 10)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%31 = getelementptr inbounds i8, ptr %30, i64 10
%32 = icmp eq ptr %29, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%36 = load ptr, ptr %7, align 8
%37 = call ptr @stpncpy(ptr noundef %35, ptr noundef %36, i32 noundef 11)
store ptr %37, ptr %8, align 8
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 10
%41 = icmp eq ptr %38, %40
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
%44 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%45 = load ptr, ptr %7, align 8
%46 = call ptr @stpncpy(ptr noundef %44, ptr noundef %45, i32 noundef 12)
store ptr %46, ptr %8, align 8
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds i8, ptr %48, i64 10
%50 = icmp eq ptr %47, %49
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 noundef %51)
%53 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%54 = load ptr, ptr %7, align 8
%55 = call ptr @stpncpy(ptr noundef %53, ptr noundef %54, i32 noundef 20)
store ptr %55, ptr %8, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%58 = getelementptr inbounds i8, ptr %57, i64 10
%59 = icmp eq ptr %56, %58
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 noundef %60)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @stpncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @assert(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoz07pldf.c'
source_filename = "/tmp/tmpoz07pldf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Calculating sigma...\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0D\0D\0D\0D%d%%\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"\0D\0D\0D\0DDone!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @std(ptr noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %16
16: ; preds = %14, %4
store i32 0, ptr %11, align 4
br label %17
17: ; preds = %60, %16
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %63
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %11, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = load double, ptr %7, align 8
%28 = fsub double %26, %27
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load double, ptr %7, align 8
%35 = fsub double %33, %34
%36 = load double, ptr %9, align 8
%37 = call double @llvm.fmuladd.f64(double %28, double %35, double %36)
store double %37, ptr %9, align 8
%38 = load i32, ptr %8, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %59
40: ; preds = %21
%41 = load i32, ptr %11, align 4
%42 = sitofp i32 %41 to double
%43 = load i32, ptr %6, align 4
%44 = sitofp i32 %43 to double
%45 = fadd double %44, 0.000000e+00
%46 = fdiv double %42, %45
%47 = fmul double 1.000000e+02, %46
%48 = fptosi double %47 to i32
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %58
51: ; preds = %40
%52 = load i32, ptr %10, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52)
%54 = load i32, ptr @stdout, align 4
%55 = call i32 @fflush(i32 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %58
58: ; preds = %51, %40
br label %59
59: ; preds = %58, %21
br label %60
60: ; preds = %59
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
br label %17, !llvm.loop !6
63: ; preds = %17
%64 = load double, ptr %9, align 8
%65 = load i32, ptr %6, align 4
%66 = sitofp i32 %65 to double
%67 = fsub double %66, 1.000000e+00
%68 = fdiv double %64, %67
%69 = call double @sqrt(double noundef %68) #4
store double %69, ptr %9, align 8
%70 = load i32, ptr %8, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %63
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %74
74: ; preds = %72, %63
%75 = load double, ptr %9, align 8
ret double %75
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fflush(i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoz07pldf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Calculating sigma...\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0D\0D\0D\0D%d%%\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"\0D\0D\0D\0DDone!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @std(ptr noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %16
16: ; preds = %14, %4
store i32 0, ptr %11, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %65
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %59
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %11, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = load double, ptr %7, align 8
%27 = fsub double %25, %26
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = load double, ptr %7, align 8
%34 = fsub double %32, %33
%35 = load double, ptr %9, align 8
%36 = call double @llvm.fmuladd.f64(double %27, double %34, double %35)
store double %36, ptr %9, align 8
%37 = load i32, ptr %8, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %58
39: ; preds = %20
%40 = load i32, ptr %11, align 4
%41 = sitofp i32 %40 to double
%42 = load i32, ptr %6, align 4
%43 = sitofp i32 %42 to double
%44 = fadd double %43, 0.000000e+00
%45 = fdiv double %41, %44
%46 = fmul double 1.000000e+02, %45
%47 = fptosi double %46 to i32
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %57
50: ; preds = %39
%51 = load i32, ptr %10, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %51)
%53 = load i32, ptr @stdout, align 4
%54 = call i32 @fflush(i32 noundef %53)
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
br label %57
57: ; preds = %50, %39
br label %58
58: ; preds = %57, %20
br label %59
59: ; preds = %58
%60 = load i32, ptr %11, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %11, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %16
%66 = load double, ptr %9, align 8
%67 = load i32, ptr %6, align 4
%68 = sitofp i32 %67 to double
%69 = fsub double %68, 1.000000e+00
%70 = fdiv double %66, %69
%71 = call double @sqrt(double noundef %70) #4
store double %71, ptr %9, align 8
%72 = load i32, ptr %8, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %65
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %76
76: ; preds = %74, %65
%77 = load double, ptr %9, align 8
ret double %77
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fflush(i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3g34nzv7.c'
source_filename = "/tmp/tmp3g34nzv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__ocml_cos_f64(double noundef %3)
ret double %4
}
declare double @__ocml_cos_f64(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3g34nzv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__ocml_cos_f64(double noundef %3)
ret double %4
}
declare double @__ocml_cos_f64(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu7e4tlra.c'
source_filename = "/tmp/tmpu7e4tlra.c"
target datalayout = "e-m:e-p270: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/tmpu7e4tlra.c"
target datalayout = "e-m:e-p270: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/tmp2ma_t9yf.c'
source_filename = "/tmp/tmp2ma_t9yf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iacum_exp(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 %4, align 8
%6 = fneg double %5
%7 = load double, ptr %3, align 8
%8 = fmul double %6, %7
%9 = call double @exp(double noundef %8) #2
%10 = fsub double 1.000000e+00, %9
ret double %10
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp2ma_t9yf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iacum_exp(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 %4, align 8
%6 = fneg double %5
%7 = load double, ptr %3, align 8
%8 = fmul double %6, %7
%9 = call double @exp(double noundef %8) #2
%10 = fsub double 1.000000e+00, %9
ret double %10
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpenicb0g4.c'
source_filename = "/tmp/tmpenicb0g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @getshortel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [2 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 2, i32 noundef 1, ptr noundef %5)
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 0
%11 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 8
%15 = add nsw i32 %10, %14
%16 = trunc i32 %15 to i16
ret i16 %16
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpenicb0g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @getshortel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [2 x i8], align 1
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 2, i32 noundef 1, ptr noundef %5)
%7 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 0
%11 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 8
%15 = add nsw i32 %10, %14
%16 = trunc i32 %15 to i16
ret i16 %16
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpguamllli.c'
source_filename = "/tmp/tmpguamllli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = udiv i32 1193180, %4
store i32 %5, ptr %3, align 4
%6 = call i32 @inb_p(i32 noundef 97)
%7 = or i32 %6, 3
%8 = call i32 @outb_p(i32 noundef %7, i32 noundef 97)
%9 = call i32 @outb_p(i32 noundef 182, i32 noundef 67)
%10 = load i32, ptr %3, align 4
%11 = and i32 %10, 255
%12 = call i32 @outb_p(i32 noundef %11, i32 noundef 66)
%13 = load i32, ptr %3, align 4
%14 = lshr i32 %13, 8
%15 = and i32 %14, 255
%16 = call i32 @outb(i32 noundef %15, i32 noundef 66)
%17 = call i32 @sleep(i32 noundef 100, i32 noundef 1)
%18 = call i32 @inb_p(i32 noundef 97)
%19 = and i32 %18, 252
%20 = call i32 @outb(i32 noundef %19, i32 noundef 97)
ret void
}
declare i32 @outb_p(i32 noundef, i32 noundef) #1
declare i32 @inb_p(i32 noundef) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @sleep(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/tmpguamllli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = udiv i32 1193180, %4
store i32 %5, ptr %3, align 4
%6 = call i32 @inb_p(i32 noundef 97)
%7 = or i32 %6, 3
%8 = call i32 @outb_p(i32 noundef %7, i32 noundef 97)
%9 = call i32 @outb_p(i32 noundef 182, i32 noundef 67)
%10 = load i32, ptr %3, align 4
%11 = and i32 %10, 255
%12 = call i32 @outb_p(i32 noundef %11, i32 noundef 66)
%13 = load i32, ptr %3, align 4
%14 = lshr i32 %13, 8
%15 = and i32 %14, 255
%16 = call i32 @outb(i32 noundef %15, i32 noundef 66)
%17 = call i32 @sleep(i32 noundef 100, i32 noundef 1)
%18 = call i32 @inb_p(i32 noundef 97)
%19 = and i32 %18, 252
%20 = call i32 @outb(i32 noundef %19, i32 noundef 97)
ret void
}
declare i32 @outb_p(i32 noundef, i32 noundef) #1
declare i32 @inb_p(i32 noundef) #1
declare i32 @outb(i32 noundef, i32 noundef) #1
declare i32 @sleep(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/tmpjjotqvbx.c'
source_filename = "/tmp/tmpjjotqvbx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakF200_StateXORPermuteExtract(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = call i32 @KeccakF200_StateXORLanes(ptr noundef %11, ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @KeccakF200_StatePermute(ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %10, align 4
%20 = call i32 @KeccakF200_StateExtractLanes(ptr noundef %17, ptr noundef %18, i32 noundef %19)
ret void
}
declare i32 @KeccakF200_StateXORLanes(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @KeccakF200_StatePermute(ptr noundef) #1
declare i32 @KeccakF200_StateExtractLanes(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/tmpjjotqvbx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakF200_StateXORPermuteExtract(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %8, align 4
%14 = call i32 @KeccakF200_StateXORLanes(ptr noundef %11, ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @KeccakF200_StatePermute(ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %10, align 4
%20 = call i32 @KeccakF200_StateExtractLanes(ptr noundef %17, ptr noundef %18, i32 noundef %19)
ret void
}
declare i32 @KeccakF200_StateXORLanes(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @KeccakF200_StatePermute(ptr noundef) #1
declare i32 @KeccakF200_StateExtractLanes(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/tmp45ooe057.c'
source_filename = "/tmp/tmp45ooe057.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Digit a number to check if it's a Valgueiro number: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %ld\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"It isn't a Valgueiro Prime.\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"It's a Valgueiro Prime!!!\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i64, ptr %6, align 8
%11 = icmp sle i64 %10, 5
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %41
14: ; preds = %2
%15 = load i64, ptr %6, align 8
%16 = call i32 @isPrime(i64 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str.2)
br label %39
21: ; preds = %14
%22 = load i64, ptr %6, align 8
%23 = srem i64 %22, 2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.3)
br label %38
27: ; preds = %21
%28 = load i64, ptr %6, align 8
%29 = sub nsw i64 %28, 2
%30 = call i32 @isPrime(i64 noundef %29)
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = call i32 @printf(ptr noundef @.str.3)
br label %37
35: ; preds = %27
%36 = call i32 @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37, %25
br label %39
39: ; preds = %38, %19
%40 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %40, ptr %3, align 4
br label %41
41: ; preds = %39, %12
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @isPrime(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45ooe057.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Digit a number to check if it's a Valgueiro number: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %ld\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"It isn't a Valgueiro Prime.\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"It's a Valgueiro Prime!!!\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i64, ptr %6, align 8
%11 = icmp sle i64 %10, 5
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %41
14: ; preds = %2
%15 = load i64, ptr %6, align 8
%16 = call i32 @isPrime(i64 noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str.2)
br label %39
21: ; preds = %14
%22 = load i64, ptr %6, align 8
%23 = srem i64 %22, 2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i32 @printf(ptr noundef @.str.3)
br label %38
27: ; preds = %21
%28 = load i64, ptr %6, align 8
%29 = sub nsw i64 %28, 2
%30 = call i32 @isPrime(i64 noundef %29)
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = call i32 @printf(ptr noundef @.str.3)
br label %37
35: ; preds = %27
%36 = call i32 @printf(ptr noundef @.str.2)
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37, %25
br label %39
39: ; preds = %38, %19
%40 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %40, ptr %3, align 4
br label %41
41: ; preds = %39, %12
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @isPrime(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkq59dwut.c'
source_filename = "/tmp/tmpkq59dwut.c"
target datalayout = "e-m:e-p270: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/tmpkq59dwut.c"
target datalayout = "e-m:e-p270: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/tmpg3mkhx0q.c'
source_filename = "/tmp/tmpg3mkhx0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@LC_NUMERIC = 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/tmpg3mkhx0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@LC_NUMERIC = 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/tmp6nim7dhk.c'
source_filename = "/tmp/tmp6nim7dhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
ret i32 %4
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nim7dhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
ret i32 %4
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgoavtf0e.c'
source_filename = "/tmp/tmpgoavtf0e.c"
target datalayout = "e-m:e-p270: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/tmpgoavtf0e.c"
target datalayout = "e-m:e-p270: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/tmp83b6tuov.c'
source_filename = "/tmp/tmp83b6tuov.c"
target datalayout = "e-m:e-p270: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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_double_array(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %24, %3
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
store double %21, ptr %9, align 8
%22 = load ptr, ptr %7, align 8
%23 = call i32 @fwrite(ptr noundef %9, i32 noundef 8, i32 noundef 1, ptr noundef %22)
br label %24
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %7, align 8
%29 = call i32 @fclose(ptr noundef %28)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp83b6tuov.c"
target datalayout = "e-m:e-p270: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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_double_array(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
store double %20, ptr %9, align 8
%21 = load ptr, ptr %7, align 8
%22 = call i32 @fwrite(ptr noundef %9, i32 noundef 8, i32 noundef 1, ptr noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %7, align 8
%31 = call i32 @fclose(ptr noundef %30)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjae6v48l.c'
source_filename = "/tmp/tmpjae6v48l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundmpx_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call ptr @strncat(ptr noundef %8, ptr noundef %9, i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = call i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%13 = load ptr, ptr %7, align 8
ret ptr %13
}
declare ptr @strncat(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjae6v48l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundmpx_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call ptr @strncat(ptr noundef %8, ptr noundef %9, i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = call i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef 1, i32 noundef 0)
%13 = load ptr, ptr %7, align 8
ret ptr %13
}
declare ptr @strncat(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @__softboundmpx_propagate_metadata_shadow_stack_from(i32 noundef, i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8sue5yii.c'
source_filename = "/tmp/tmp8sue5yii.c"
target datalayout = "e-m:e-p270: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/tmp8sue5yii.c"
target datalayout = "e-m:e-p270: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/tmpzfzjbwye.c'
source_filename = "/tmp/tmpzfzjbwye.c"
target datalayout = "e-m:e-p270: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/tmpzfzjbwye.c"
target datalayout = "e-m:e-p270: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/tmplkxuoegs.c'
source_filename = "/tmp/tmplkxuoegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_irc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @bzero(ptr noundef %8, i32 noundef 1024)
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %4, align 8
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %3
%23 = call i32 @error(ptr noundef @.str.1)
br label %24
24: ; preds = %22, %3
ret void
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @error(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/tmplkxuoegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_irc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @bzero(ptr noundef %8, i32 noundef 1024)
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load ptr, ptr %4, align 8
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %3
%23 = call i32 @error(ptr noundef @.str.1)
br label %24
24: ; preds = %22, %3
ret void
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @error(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/tmp2hcvul9z.c'
source_filename = "/tmp/tmp2hcvul9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"0%d:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d:\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @seconds_to_clock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sdiv i32 %5, 3600
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 %7, 3600
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sdiv i32 %11, 60
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = mul nsw i32 %13, 60
%15 = load i32, ptr %2, align 4
%16 = sub nsw i32 %15, %14
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10
%19 = zext i1 %18 to i64
%20 = select i1 %18, ptr @.str, ptr @.str.1
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef %20, i32 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 10
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str, ptr @.str.1
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 10
%31 = zext i1 %30 to i64
%32 = select i1 %30, ptr @.str.2, ptr @.str.3
%33 = load i32, ptr %2, align 4
%34 = call i32 @printf(ptr noundef %32, i32 noundef %33)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2hcvul9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"0%d:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d:\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"0%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @seconds_to_clock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sdiv i32 %5, 3600
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 %7, 3600
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sdiv i32 %11, 60
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = mul nsw i32 %13, 60
%15 = load i32, ptr %2, align 4
%16 = sub nsw i32 %15, %14
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10
%19 = zext i1 %18 to i64
%20 = select i1 %18, ptr @.str, ptr @.str.1
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef %20, i32 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 10
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str, ptr @.str.1
%27 = load i32, ptr %4, align 4
%28 = call i32 @printf(ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 10
%31 = zext i1 %30 to i64
%32 = select i1 %30, ptr @.str.2, ptr @.str.3
%33 = load i32, ptr %2, align 4
%34 = call i32 @printf(ptr noundef %32, i32 noundef %33)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkq9ihlhx.c'
source_filename = "/tmp/tmpkq9ihlhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rdar8332221(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rdar8332221_vprintf_scanf(ptr noundef @.str, i32 noundef %7, ptr noundef @.str.1, ptr noundef %8)
ret void
}
declare i32 @rdar8332221_vprintf_scanf(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/tmpkq9ihlhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rdar8332221(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = call i32 @rdar8332221_vprintf_scanf(ptr noundef @.str, i32 noundef %7, ptr noundef @.str.1, ptr noundef %8)
ret void
}
declare i32 @rdar8332221_vprintf_scanf(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/tmpza3wiu0b.c'
source_filename = "/tmp/tmpza3wiu0b.c"
target datalayout = "e-m:e-p270: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/tmpza3wiu0b.c"
target datalayout = "e-m:e-p270: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/tmpvd0nm85n.c'
source_filename = "/tmp/tmpvd0nm85n.c"
target datalayout = "e-m:e-p270: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/tmpvd0nm85n.c"
target datalayout = "e-m:e-p270: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/tmp7x6946u_.c'
source_filename = "/tmp/tmp7x6946u_.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"[+] Executing DicDivider with (%u) arguments: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s[%d] \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.5 = private unnamed_addr constant [65 x i8] c"\0A ->> [+] I think you need help, let's do something about it...\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-l\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"--line\00", align 1
@.str.8 = private unnamed_addr constant [57 x i8] c"[+] Preparing to divide %s in files of %s lines each...\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"[!] Wrong options? Check \22dicdivider -- help\22 for help\0A\00", align 1
@.str.10 = private unnamed_addr constant [72 x i8] c"\0A[!] I need more/different arguments. See \22dicdivider --help\22 for help\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %33, %2
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 256
br label %17
17: ; preds = %14, %10
%18 = phi i1 [ false, %10 ], [ %16, %14 ]
br i1 %18, label %19, label %36
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i64 @strlen(ptr noundef %29)
%31 = trunc i64 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24, i32 noundef %31)
br label %33
33: ; preds = %19
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %10, !llvm.loop !6
36: ; preds = %17
%37 = call i32 @puts(ptr noundef @.str.2)
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 2
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 1
%43 = load ptr, ptr %42, align 8
%44 = call i64 @stringmatch(ptr noundef %43, ptr noundef @.str.3)
%45 = icmp ne i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i64 @stringmatch(ptr noundef %49, ptr noundef @.str.4)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %46, %40
%53 = call i32 @puts(ptr noundef @.str.5)
%54 = call i32 (...) @printhelp()
br label %92
55: ; preds = %46, %36
%56 = load i32, ptr %4, align 4
%57 = icmp eq i32 %56, 4
br i1 %57, label %58, label %89
58: ; preds = %55
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 1
%61 = load ptr, ptr %60, align 8
%62 = call i64 @stringmatch(ptr noundef %61, ptr noundef @.str.6)
%63 = icmp ne i64 %62, 0
br i1 %63, label %70, label %64
64: ; preds = %58
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
%67 = load ptr, ptr %66, align 8
%68 = call i64 @stringmatch(ptr noundef %67, ptr noundef @.str.7)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %86
70: ; preds = %64, %58
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 3
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 2
%76 = load ptr, ptr %75, align 8
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %73, ptr noundef %76)
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 3
%80 = load ptr, ptr %79, align 8
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds ptr, ptr %81, i64 2
%83 = load ptr, ptr %82, align 8
%84 = call i32 @parseint(ptr noundef %83)
%85 = call i32 @fdividebyline(ptr noundef %80, i32 noundef %84)
br label %88
86: ; preds = %64
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %88
88: ; preds = %86, %70
br label %91
89: ; preds = %55
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %91
91: ; preds = %89, %88
br label %92
92: ; preds = %91, %52
%93 = call i32 @puts(ptr noundef @.str.11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i64 @stringmatch(ptr noundef, ptr noundef) #1
declare i32 @printhelp(...) #1
declare i32 @fdividebyline(ptr noundef, i32 noundef) #1
declare i32 @parseint(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/tmp7x6946u_.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"[+] Executing DicDivider with (%u) arguments: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%s[%d] \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.5 = private unnamed_addr constant [65 x i8] c"\0A ->> [+] I think you need help, let's do something about it...\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-l\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"--line\00", align 1
@.str.8 = private unnamed_addr constant [57 x i8] c"[+] Preparing to divide %s in files of %s lines each...\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"[!] Wrong options? Check \22dicdivider -- help\22 for help\0A\00", align 1
@.str.10 = private unnamed_addr constant [72 x i8] c"\0A[!] I need more/different arguments. See \22dicdivider --help\22 for help\0A\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %33, %2
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 256
br label %17
17: ; preds = %14, %10
%18 = phi i1 [ false, %10 ], [ %16, %14 ]
br i1 %18, label %19, label %36
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i64 @strlen(ptr noundef %29)
%31 = trunc i64 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24, i32 noundef %31)
br label %33
33: ; preds = %19
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %10, !llvm.loop !6
36: ; preds = %17
%37 = call i32 @puts(ptr noundef @.str.2)
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 2
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 1
%43 = load ptr, ptr %42, align 8
%44 = call i64 @stringmatch(ptr noundef %43, ptr noundef @.str.3)
%45 = icmp ne i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %40
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i64 @stringmatch(ptr noundef %49, ptr noundef @.str.4)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %46, %40
%53 = call i32 @puts(ptr noundef @.str.5)
%54 = call i32 (...) @printhelp()
br label %92
55: ; preds = %46, %36
%56 = load i32, ptr %4, align 4
%57 = icmp eq i32 %56, 4
br i1 %57, label %58, label %89
58: ; preds = %55
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 1
%61 = load ptr, ptr %60, align 8
%62 = call i64 @stringmatch(ptr noundef %61, ptr noundef @.str.6)
%63 = icmp ne i64 %62, 0
br i1 %63, label %70, label %64
64: ; preds = %58
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds ptr, ptr %65, i64 1
%67 = load ptr, ptr %66, align 8
%68 = call i64 @stringmatch(ptr noundef %67, ptr noundef @.str.7)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %86
70: ; preds = %64, %58
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 3
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 2
%76 = load ptr, ptr %75, align 8
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %73, ptr noundef %76)
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 3
%80 = load ptr, ptr %79, align 8
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds ptr, ptr %81, i64 2
%83 = load ptr, ptr %82, align 8
%84 = call i32 @parseint(ptr noundef %83)
%85 = call i32 @fdividebyline(ptr noundef %80, i32 noundef %84)
br label %88
86: ; preds = %64
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %88
88: ; preds = %86, %70
br label %91
89: ; preds = %55
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %91
91: ; preds = %89, %88
br label %92
92: ; preds = %91, %52
%93 = call i32 @puts(ptr noundef @.str.11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i64 @stringmatch(ptr noundef, ptr noundef) #1
declare i32 @printhelp(...) #1
declare i32 @fdividebyline(ptr noundef, i32 noundef) #1
declare i32 @parseint(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/tmp1_toa0qx.c'
source_filename = "/tmp/tmp1_toa0qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KvadrRov2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 4, %17
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sub nsw i32 %16, %20
%22 = sitofp i32 %21 to double
store double %22, ptr %12, align 8
%23 = load double, ptr %12, align 8
%24 = call double @sqrt(double noundef %23) #2
store double %24, ptr %13, align 8
%25 = load double, ptr %12, align 8
%26 = fcmp oge double %25, 0.000000e+00
br i1 %26, label %27, label %50
27: ; preds = %5
%28 = load i32, ptr %8, align 4
%29 = sub nsw i32 0, %28
%30 = sitofp i32 %29 to double
%31 = load double, ptr %13, align 8
%32 = fadd double %30, %31
%33 = fdiv double %32, 2.000000e+00
%34 = load i32, ptr %7, align 4
%35 = sitofp i32 %34 to double
%36 = fmul double %33, %35
%37 = fptrunc double %36 to float
%38 = load ptr, ptr %10, align 8
store float %37, ptr %38, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 0, %39
%41 = sitofp i32 %40 to double
%42 = load double, ptr %13, align 8
%43 = fsub double %41, %42
%44 = fdiv double %43, 2.000000e+00
%45 = load i32, ptr %7, align 4
%46 = sitofp i32 %45 to double
%47 = fmul double %44, %46
%48 = fptrunc double %47 to float
%49 = load ptr, ptr %11, align 8
store float %48, ptr %49, align 4
store i32 1, ptr %6, align 4
br label %51
50: ; preds = %5
store i32 0, ptr %6, align 4
br label %51
51: ; preds = %50, %27
%52 = load i32, ptr %6, align 4
ret i32 %52
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmp1_toa0qx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KvadrRov2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = mul nsw i32 %14, %15
%17 = load i32, ptr %7, align 4
%18 = mul nsw i32 4, %17
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sub nsw i32 %16, %20
%22 = sitofp i32 %21 to double
store double %22, ptr %12, align 8
%23 = load double, ptr %12, align 8
%24 = call double @sqrt(double noundef %23) #2
store double %24, ptr %13, align 8
%25 = load double, ptr %12, align 8
%26 = fcmp oge double %25, 0.000000e+00
br i1 %26, label %27, label %50
27: ; preds = %5
%28 = load i32, ptr %8, align 4
%29 = sub nsw i32 0, %28
%30 = sitofp i32 %29 to double
%31 = load double, ptr %13, align 8
%32 = fadd double %30, %31
%33 = fdiv double %32, 2.000000e+00
%34 = load i32, ptr %7, align 4
%35 = sitofp i32 %34 to double
%36 = fmul double %33, %35
%37 = fptrunc double %36 to float
%38 = load ptr, ptr %10, align 8
store float %37, ptr %38, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 0, %39
%41 = sitofp i32 %40 to double
%42 = load double, ptr %13, align 8
%43 = fsub double %41, %42
%44 = fdiv double %43, 2.000000e+00
%45 = load i32, ptr %7, align 4
%46 = sitofp i32 %45 to double
%47 = fmul double %44, %46
%48 = fptrunc double %47 to float
%49 = load ptr, ptr %11, align 8
store float %48, ptr %49, align 4
store i32 1, ptr %6, align 4
br label %51
50: ; preds = %5
store i32 0, ptr %6, align 4
br label %51
51: ; preds = %50, %27
%52 = load i32, ptr %6, align 4
ret i32 %52
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmp6dnbeix_.c'
source_filename = "/tmp/tmp6dnbeix_.c"
target datalayout = "e-m:e-p270: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/tmp6dnbeix_.c"
target datalayout = "e-m:e-p270: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/tmpareaix7y.c'
source_filename = "/tmp/tmpareaix7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%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
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %18, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 15
br i1 %10, label %11, label %21
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 97, %12
%14 = trunc i32 %13 to i8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %16
store i8 %14, ptr %17, align 1
br label %18
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %8, !llvm.loop !6
21: ; preds = %8
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%23 = load i32, ptr %5, align 4
%24 = ashr i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = load i32, ptr %5, align 4
br label %32
30: ; preds = %21
%31 = load i32, ptr %4, align 4
br label %32
32: ; preds = %30, %28
%33 = phi i32 [ %29, %28 ], [ %31, %30 ]
store i32 %33, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %34
34: ; preds = %43, %32
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = sub nsw i32 %36, 1
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %46
39: ; preds = %34
%40 = load i32, ptr %7, align 4
%41 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%42 = call i32 @print(i32 noundef %40, ptr noundef %41, i32 noundef 1)
br label %43
43: ; preds = %39
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %34, !llvm.loop !8
46: ; preds = %34
%47 = load i32, ptr %6, align 4
%48 = sub nsw i32 %47, 1
%49 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%50 = call i32 @print(i32 noundef %48, ptr noundef %49, i32 noundef 0)
%51 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @print(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpareaix7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%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
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 15
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %17
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 97, %11
%13 = trunc i32 %12 to i8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %15
store i8 %13, ptr %16, align 1
br label %17
17: ; preds = %10
%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, 15
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%24 = load i32, ptr %5, align 4
%25 = ashr i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %22
%30 = load i32, ptr %5, align 4
br label %33
31: ; preds = %22
%32 = load i32, ptr %4, align 4
br label %33
33: ; preds = %31, %29
%34 = phi i32 [ %30, %29 ], [ %32, %31 ]
store i32 %34, ptr %6, align 4
store i32 0, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = sub nsw i32 %36, 1
%38 = icmp slt i32 %35, %37
br i1 %38, label %.lr.ph2, label %50
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %43
%40 = load i32, ptr %7, align 4
%41 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%42 = call i32 @print(i32 noundef %40, ptr noundef %41, i32 noundef 1)
br label %43
43: ; preds = %39
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %6, align 4
%48 = sub nsw i32 %47, 1
%49 = icmp slt i32 %46, %48
br i1 %49, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %50
50: ; preds = %._crit_edge3, %33
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%54 = call i32 @print(i32 noundef %52, ptr noundef %53, i32 noundef 0)
%55 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @print(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpngg7b93g.c'
source_filename = "/tmp/tmpngg7b93g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_GetExecutionState() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = call i64 (...) @BSP_ReadTSR()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = and i64 %4, 64
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 0, ptr %1, align 4
br label %9
8: ; preds = %0
store i32 1, ptr %1, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i64 @BSP_ReadTSR(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpngg7b93g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_GetExecutionState() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = call i64 (...) @BSP_ReadTSR()
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = and i64 %4, 64
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 0, ptr %1, align 4
br label %9
8: ; preds = %0
store i32 1, ptr %1, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i64 @BSP_ReadTSR(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu1_oxfp6.c'
source_filename = "/tmp/tmpu1_oxfp6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wget_wch(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 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(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/tmpu1_oxfp6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wget_wch(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 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(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/tmp2mmr647p.c'
source_filename = "/tmp/tmp2mmr647p.c"
target datalayout = "e-m:e-p270: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/tmp2mmr647p.c"
target datalayout = "e-m:e-p270: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/tmpldosag__.c'
source_filename = "/tmp/tmpldosag__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @outputlong(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i8 0, ptr %7, align 1
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = load i8, ptr %6, align 1
%17 = zext i8 %16 to i32
%18 = sub nsw i32 %15, %17
%19 = trunc i32 %18 to i8
store i8 %19, ptr %12, align 1
%20 = load i8, ptr %12, align 1
%21 = zext i8 %20 to i32
%22 = shl i32 1, %21
%23 = trunc i32 %22 to i8
store i8 %23, ptr %7, align 1
%24 = load i8, ptr %12, align 1
%25 = zext i8 %24 to i32
store i32 %25, ptr %8, align 4
store i32 0, ptr %10, align 4
br label %26
26: ; preds = %57, %3
%27 = load i32, ptr %8, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %62
29: ; preds = %26
store i32 1, ptr %9, align 4
store i32 6, ptr %11, align 4
br label %30
30: ; preds = %37, %29
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load i32, ptr %9, align 4
%36 = mul nsw i32 %35, 2
store i32 %36, ptr %9, align 4
br label %37
37: ; preds = %34
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %11, align 4
br label %30, !llvm.loop !6
40: ; preds = %30
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 2
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i32, ptr %9, align 4
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %56
48: ; preds = %40
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %49, 1
%51 = shl i32 1, %50
%52 = load i8, ptr %7, align 1
%53 = zext i8 %52 to i32
%54 = or i32 %53, %51
%55 = trunc i32 %54 to i8
store i8 %55, ptr %7, align 1
br label %56
56: ; preds = %48, %40
br label %57
57: ; preds = %56
%58 = load i32, ptr %8, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
br label %26, !llvm.loop !8
62: ; preds = %26
%63 = load i8, ptr %7, align 1
%64 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %63)
%65 = load i8, ptr %7, align 1
ret i8 %65
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpldosag__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @outputlong(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i8 0, ptr %7, align 1
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = load i8, ptr %6, align 1
%17 = zext i8 %16 to i32
%18 = sub nsw i32 %15, %17
%19 = trunc i32 %18 to i8
store i8 %19, ptr %12, align 1
%20 = load i8, ptr %12, align 1
%21 = zext i8 %20 to i32
%22 = shl i32 1, %21
%23 = trunc i32 %22 to i8
store i8 %23, ptr %7, align 1
%24 = load i8, ptr %12, align 1
%25 = zext i8 %24 to i32
store i32 %25, ptr %8, align 4
store i32 0, ptr %10, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %.lr.ph2, label %65
.lr.ph2: ; preds = %3
br label %28
28: ; preds = %.lr.ph2, %58
store i32 1, ptr %9, align 4
store i32 6, ptr %11, align 4
%29 = load i32, ptr %11, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %.lr.ph, label %41
.lr.ph: ; preds = %28
br label %32
32: ; preds = %.lr.ph, %35
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %33, 2
store i32 %34, ptr %9, align 4
br label %35
35: ; preds = %32
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %11, align 4
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %10, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %28
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 2
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = load i32, ptr %9, align 4
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %57
49: ; preds = %41
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 %50, 1
%52 = shl i32 1, %51
%53 = load i8, ptr %7, align 1
%54 = zext i8 %53 to i32
%55 = or i32 %54, %52
%56 = trunc i32 %55 to i8
store i8 %56, ptr %7, align 1
br label %57
57: ; preds = %49, %41
br label %58
58: ; preds = %57
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp sgt i32 %63, 0
br i1 %64, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %65
65: ; preds = %._crit_edge3, %3
%66 = load i8, ptr %7, align 1
%67 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %66)
%68 = load i8, ptr %7, align 1
ret i8 %68
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8snet382.c'
source_filename = "/tmp/tmp8snet382.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sieve(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 @sqrt(i32 noundef 1000000)
%8 = call i64 @floor(i32 noundef %7)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
store i32 2, ptr %4, align 4
br label %10
10: ; preds = %34, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %37
14: ; preds = %10
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %14, %32
%16 = load i32, ptr %4, align 4
%17 = call i64 @pow(i32 noundef %16, i32 noundef 2)
%18 = trunc i64 %17 to i32
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = mul nsw i32 %19, %21
%23 = add nsw i32 %18, %22
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp sle i32 %24, 1000000
br i1 %25, label %26, label %31
26: ; preds = %15
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 0, ptr %30, align 4
br label %32
31: ; preds = %15
br label %33
32: ; preds = %26
br label %15
33: ; preds = %31
br label %34
34: ; preds = %33
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %10, !llvm.loop !6
37: ; preds = %10
ret void
}
declare i64 @floor(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8snet382.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sieve(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 @sqrt(i32 noundef 1000000)
%8 = call i64 @floor(i32 noundef %7)
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
store i32 2, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph2, label %48
.lr.ph2: ; preds = %1
br label %13
13: ; preds = %.lr.ph2, %42
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = call i64 @pow(i32 noundef %14, i32 noundef 2)
%16 = trunc i64 %15 to i32
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %4, align 4
%20 = mul nsw i32 %17, %19
%21 = add nsw i32 %16, %20
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp sle i32 %22, 1000000
br i1 %23, label %.lr.ph, label %29
.lr.ph: ; preds = %13
br label %24
24: ; preds = %.lr.ph, %30
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
store i32 0, ptr %28, align 4
br label %30
._crit_edge: ; preds = %30
br label %29
29: ; preds = %._crit_edge, %13
br label %41
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = call i64 @pow(i32 noundef %31, i32 noundef 2)
%33 = trunc i64 %32 to i32
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = mul nsw i32 %34, %36
%38 = add nsw i32 %33, %37
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp sle i32 %39, 1000000
br i1 %40, label %24, label %._crit_edge
41: ; preds = %29
br label %42
42: ; preds = %41
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = load i32, ptr %3, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %13, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %1
ret void
}
declare i64 @floor(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfbifxos2.c'
source_filename = "/tmp/tmpfbifxos2.c"
target datalayout = "e-m:e-p270: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"Inserisci il primo numero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Inserisci il secondo numero\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Inserisci il terzo numero\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"La media e' %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load float, ptr %1, align 4
%12 = load float, ptr %2, align 4
%13 = fadd float %11, %12
%14 = load float, ptr %3, align 4
%15 = fadd float %13, %14
%16 = fdiv float %15, 3.000000e+00
store float %16, ptr %4, align 4
%17 = load float, ptr %4, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbifxos2.c"
target datalayout = "e-m:e-p270: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"Inserisci il primo numero\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Inserisci il secondo numero\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"Inserisci il terzo numero\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"La media e' %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load float, ptr %1, align 4
%12 = load float, ptr %2, align 4
%13 = fadd float %11, %12
%14 = load float, ptr %3, align 4
%15 = fadd float %13, %14
%16 = fdiv float %15, 3.000000e+00
store float %16, ptr %4, align 4
%17 = load float, ptr %4, align 4
%18 = fpext float %17 to double
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxa2nu6h2.c'
source_filename = "/tmp/tmpxa2nu6h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTIC1H_Work_WaitTaskComplete.iysf = internal global i32 128, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BTIC1H_Work_WaitTaskComplete(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%11 = mul nsw i32 %9, %10
%12 = ashr i32 %11, 8
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %51, %33, %1
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %52
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp sgt i32 %17, %18
br i1 %19, label %20, label %34
20: ; preds = %16
%21 = call i32 @thSleep(i32 noundef 1)
%22 = load i32, ptr %2, align 4
%23 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %22)
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %20
%27 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%28 = add nsw i32 %27, 32
store i32 %28, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%29 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%30 = icmp sgt i32 %29, 255
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 255, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
br label %32
32: ; preds = %31, %26
br label %33
33: ; preds = %32, %20
br label %13, !llvm.loop !6
34: ; preds = %16
%35 = call i32 @thSleep(i32 noundef 0)
%36 = load i32, ptr %2, align 4
%37 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %36)
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %51
40: ; preds = %34
%41 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%43 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %45, label %46
45: ; preds = %40
store i32 1, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
br label %46
46: ; preds = %45, %40
%47 = load i32, ptr %4, align 4
%48 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%49 = mul nsw i32 %47, %48
%50 = ashr i32 %49, 8
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %46, %34
br label %13, !llvm.loop !6
52: ; preds = %13
ret void
}
declare i32 @BTIC1H_Work_GetTidCountNb(i32 noundef) #1
declare i32 @thSleep(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/tmpxa2nu6h2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTIC1H_Work_WaitTaskComplete.iysf = internal global i32 128, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @BTIC1H_Work_WaitTaskComplete(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%11 = mul nsw i32 %9, %10
%12 = ashr i32 %11, 8
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %.lr.ph, label %53
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %35
19: ; preds = %15
%20 = call i32 @thSleep(i32 noundef 1)
%21 = load i32, ptr %2, align 4
%22 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %21)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %32, label %25
25: ; preds = %19
%26 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%27 = add nsw i32 %26, 32
store i32 %27, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%28 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%29 = icmp sgt i32 %28, 255
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 255, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
br label %31
31: ; preds = %30, %25
br label %32
32: ; preds = %31, %19
br label %.backedge
.backedge: ; preds = %32, %52
%33 = load i32, ptr %3, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %15, label %._crit_edge, !llvm.loop !6
35: ; preds = %15
%36 = call i32 @thSleep(i32 noundef 0)
%37 = load i32, ptr %2, align 4
%38 = call i32 @BTIC1H_Work_GetTidCountNb(i32 noundef %37)
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %52
41: ; preds = %35
%42 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%43 = add nsw i32 %42, -1
store i32 %43, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%44 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%45 = icmp slt i32 %44, 1
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 1, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
br label %47
47: ; preds = %46, %41
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr @BTIC1H_Work_WaitTaskComplete.iysf, align 4
%50 = mul nsw i32 %48, %49
%51 = ashr i32 %50, 8
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %47, %35
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %53
53: ; preds = %._crit_edge, %1
ret void
}
declare i32 @BTIC1H_Work_GetTidCountNb(i32 noundef) #1
declare i32 @thSleep(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/tmptjx5hz7i.c'
source_filename = "/tmp/tmptjx5hz7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_number_of_dobldobl_solutions(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 342, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
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/tmptjx5hz7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_number_of_dobldobl_solutions(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 342, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
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/tmpm4qry8nf.c'
source_filename = "/tmp/tmpm4qry8nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndBactrianLaplace() #0 {
%1 = alloca double, align 8
%2 = call double (...) @rndLaplace()
%3 = call double @sqrt(i32 noundef 0)
%4 = call double @llvm.fmuladd.f64(double %2, double %3, double 0x3FEE666666666666)
store double %4, ptr %1, align 8
%5 = call double (...) @rndu()
%6 = fcmp olt double %5, 5.000000e-01
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load double, ptr %1, align 8
%9 = fneg double %8
store double %9, ptr %1, align 8
br label %10
10: ; preds = %7, %0
%11 = load double, ptr %1, align 8
ret double %11
}
declare double @rndLaplace(...) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @rndu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm4qry8nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndBactrianLaplace() #0 {
%1 = alloca double, align 8
%2 = call double (...) @rndLaplace()
%3 = call double @sqrt(i32 noundef 0)
%4 = call double @llvm.fmuladd.f64(double %2, double %3, double 0x3FEE666666666666)
store double %4, ptr %1, align 8
%5 = call double (...) @rndu()
%6 = fcmp olt double %5, 5.000000e-01
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load double, ptr %1, align 8
%9 = fneg double %8
store double %9, ptr %1, align 8
br label %10
10: ; preds = %7, %0
%11 = load double, ptr %1, align 8
ret double %11
}
declare double @rndLaplace(...) #1
declare double @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @rndu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpirb3nslp.c'
source_filename = "/tmp/tmpirb3nslp.c"
target datalayout = "e-m:e-p270: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/tmpirb3nslp.c"
target datalayout = "e-m:e-p270: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/tmpd7zwqu7k.c'
source_filename = "/tmp/tmpd7zwqu7k.c"
target datalayout = "e-m:e-p270: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 [68 x i8] c"%s failed at line %d in function %s.\0AThe failing predicate is:\0A%s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @e_acsl_assert(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %5
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %10, align 4
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd7zwqu7k.c"
target datalayout = "e-m:e-p270: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 [68 x i8] c"%s failed at line %d in function %s.\0AThe failing predicate is:\0A%s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @e_acsl_assert(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %5
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %10, align 4
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %15, ptr noundef %16, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpobhojg16.c'
source_filename = "/tmp/tmpobhojg16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestCommonSubsequence(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = zext i32 %19 to i64
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
%23 = zext i32 %22 to i64
%24 = call ptr @llvm.stacksave()
store ptr %24, ptr %7, align 8
%25 = mul nuw i64 %20, %23
%26 = alloca i32, i64 %25, align 16
store i64 %20, ptr %8, align 8
store i64 %23, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %27
27: ; preds = %140, %2
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %143
31: ; preds = %27
store i32 0, ptr %11, align 4
br label %32
32: ; preds = %136, %31
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %36, label %139
36: ; preds = %32
%37 = load i32, ptr %10, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr %11, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %50
42: ; preds = %39, %36
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = mul nsw i64 %44, %23
%46 = getelementptr inbounds i32, ptr %26, i64 %45
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 0, ptr %49, align 4
br label %135
50: ; preds = %39
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %10, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %11, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %58, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %57, %64
br i1 %65, label %66, label %85
66: ; preds = %50
%67 = load i32, ptr %10, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = mul nsw i64 %69, %23
%71 = getelementptr inbounds i32, ptr %26, i64 %70
%72 = load i32, ptr %11, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
%76 = load i32, ptr %75, align 4
%77 = add nsw i32 %76, 1
%78 = load i32, ptr %10, align 4
%79 = sext i32 %78 to i64
%80 = mul nsw i64 %79, %23
%81 = getelementptr inbounds i32, ptr %26, i64 %80
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %77, ptr %84, align 4
br label %134
85: ; preds = %50
%86 = load i32, ptr %10, align 4
%87 = sub nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = mul nsw i64 %88, %23
%90 = getelementptr inbounds i32, ptr %26, i64 %89
%91 = load i32, ptr %11, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
%94 = load i32, ptr %93, align 4
%95 = load i32, ptr %10, align 4
%96 = sext i32 %95 to i64
%97 = mul nsw i64 %96, %23
%98 = getelementptr inbounds i32, ptr %26, i64 %97
%99 = load i32, ptr %11, align 4
%100 = sub nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %98, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp sgt i32 %94, %103
br i1 %104, label %105, label %115
105: ; preds = %85
%106 = load i32, ptr %10, align 4
%107 = sub nsw i32 %106, 1
%108 = sext i32 %107 to i64
%109 = mul nsw i64 %108, %23
%110 = getelementptr inbounds i32, ptr %26, i64 %109
%111 = load i32, ptr %11, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
%114 = load i32, ptr %113, align 4
br label %125
115: ; preds = %85
%116 = load i32, ptr %10, align 4
%117 = sext i32 %116 to i64
%118 = mul nsw i64 %117, %23
%119 = getelementptr inbounds i32, ptr %26, i64 %118
%120 = load i32, ptr %11, align 4
%121 = sub nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %119, i64 %122
%124 = load i32, ptr %123, align 4
br label %125
125: ; preds = %115, %105
%126 = phi i32 [ %114, %105 ], [ %124, %115 ]
%127 = load i32, ptr %10, align 4
%128 = sext i32 %127 to i64
%129 = mul nsw i64 %128, %23
%130 = getelementptr inbounds i32, ptr %26, i64 %129
%131 = load i32, ptr %11, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
store i32 %126, ptr %133, align 4
br label %134
134: ; preds = %125, %66
br label %135
135: ; preds = %134, %42
br label %136
136: ; preds = %135
%137 = load i32, ptr %11, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %11, align 4
br label %32, !llvm.loop !6
139: ; preds = %32
br label %140
140: ; preds = %139
%141 = load i32, ptr %10, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %10, align 4
br label %27, !llvm.loop !8
143: ; preds = %27
%144 = load i32, ptr %5, align 4
%145 = sext i32 %144 to i64
%146 = mul nsw i64 %145, %23
%147 = getelementptr inbounds i32, ptr %26, i64 %146
%148 = load i32, ptr %6, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load i32, ptr %150, align 4
%152 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %152)
ret i32 %151
}
declare i64 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpobhojg16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestCommonSubsequence(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = trunc i64 %16 to i32
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = zext i32 %19 to i64
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
%23 = zext i32 %22 to i64
%24 = call ptr @llvm.stacksave()
store ptr %24, ptr %7, align 8
%25 = mul nuw i64 %20, %23
%26 = alloca i32, i64 %25, align 16
store i64 %20, ptr %8, align 8
store i64 %23, ptr %9, align 8
store i32 0, ptr %10, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph2, label %147
.lr.ph2: ; preds = %2
br label %30
30: ; preds = %.lr.ph2, %141
store i32 0, ptr %11, align 4
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %140
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %134
%35 = load i32, ptr %10, align 4
%36 = icmp eq i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = load i32, ptr %11, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %48
40: ; preds = %37, %34
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = mul nsw i64 %42, %23
%44 = getelementptr inbounds i32, ptr %26, i64 %43
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 0, ptr %47, align 4
br label %133
48: ; preds = %37
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %10, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %11, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %55, %62
br i1 %63, label %64, label %83
64: ; preds = %48
%65 = load i32, ptr %10, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = mul nsw i64 %67, %23
%69 = getelementptr inbounds i32, ptr %26, i64 %68
%70 = load i32, ptr %11, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %69, i64 %72
%74 = load i32, ptr %73, align 4
%75 = add nsw i32 %74, 1
%76 = load i32, ptr %10, align 4
%77 = sext i32 %76 to i64
%78 = mul nsw i64 %77, %23
%79 = getelementptr inbounds i32, ptr %26, i64 %78
%80 = load i32, ptr %11, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
store i32 %75, ptr %82, align 4
br label %132
83: ; preds = %48
%84 = load i32, ptr %10, align 4
%85 = sub nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = mul nsw i64 %86, %23
%88 = getelementptr inbounds i32, ptr %26, i64 %87
%89 = load i32, ptr %11, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load i32, ptr %10, align 4
%94 = sext i32 %93 to i64
%95 = mul nsw i64 %94, %23
%96 = getelementptr inbounds i32, ptr %26, i64 %95
%97 = load i32, ptr %11, align 4
%98 = sub nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %96, i64 %99
%101 = load i32, ptr %100, align 4
%102 = icmp sgt i32 %92, %101
br i1 %102, label %103, label %113
103: ; preds = %83
%104 = load i32, ptr %10, align 4
%105 = sub nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = mul nsw i64 %106, %23
%108 = getelementptr inbounds i32, ptr %26, i64 %107
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %108, i64 %110
%112 = load i32, ptr %111, align 4
br label %123
113: ; preds = %83
%114 = load i32, ptr %10, align 4
%115 = sext i32 %114 to i64
%116 = mul nsw i64 %115, %23
%117 = getelementptr inbounds i32, ptr %26, i64 %116
%118 = load i32, ptr %11, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %117, i64 %120
%122 = load i32, ptr %121, align 4
br label %123
123: ; preds = %113, %103
%124 = phi i32 [ %112, %103 ], [ %122, %113 ]
%125 = load i32, ptr %10, align 4
%126 = sext i32 %125 to i64
%127 = mul nsw i64 %126, %23
%128 = getelementptr inbounds i32, ptr %26, i64 %127
%129 = load i32, ptr %11, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %128, i64 %130
store i32 %124, ptr %131, align 4
br label %132
132: ; preds = %123, %64
br label %133
133: ; preds = %132, %40
br label %134
134: ; preds = %133
%135 = load i32, ptr %11, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %11, align 4
%137 = load i32, ptr %11, align 4
%138 = load i32, ptr %6, align 4
%139 = icmp sle i32 %137, %138
br i1 %139, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %134
br label %140
140: ; preds = %._crit_edge, %30
br label %141
141: ; preds = %140
%142 = load i32, ptr %10, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %10, align 4
%144 = load i32, ptr %10, align 4
%145 = load i32, ptr %5, align 4
%146 = icmp sle i32 %144, %145
br i1 %146, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %141
br label %147
147: ; preds = %._crit_edge3, %2
%148 = load i32, ptr %5, align 4
%149 = sext i32 %148 to i64
%150 = mul nsw i64 %149, %23
%151 = getelementptr inbounds i32, ptr %26, i64 %150
%152 = load i32, ptr %6, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i32, ptr %151, i64 %153
%155 = load i32, ptr %154, align 4
%156 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %156)
ret i32 %155
}
declare i64 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqu8tns0s.c'
source_filename = "/tmp/tmpqu8tns0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tfrand() #0 {
%1 = call i64 (...) @trand()
%2 = sitofp i64 %1 to double
%3 = fdiv double %2, 0x41DFFFFFFFC00000
ret double %3
}
declare i64 @trand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqu8tns0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tfrand() #0 {
%1 = call i64 (...) @trand()
%2 = sitofp i64 %1 to double
%3 = fdiv double %2, 0x41DFFFFFFFC00000
ret double %3
}
declare i64 @trand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi29wnhjf.c'
source_filename = "/tmp/tmpi29wnhjf.c"
target datalayout = "e-m:e-p270: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/tmpi29wnhjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.