llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmppr4m1lq5.c'
source_filename = "/tmp/tmppr4m1lq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\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 void @imprimir_vetor(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppr4m1lq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\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 void @imprimir_vetor(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8j11f1eb.c'
source_filename = "/tmp/tmp8j11f1eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel230nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel230nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel230nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8j11f1eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel230nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel230nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel230nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_bph4ik.c'
source_filename = "/tmp/tmpz_bph4ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i32 0, align 4
@True = 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/tmpz_bph4ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@False = dso_local global i32 0, align 4
@True = 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/tmptjlwl_5o.c'
source_filename = "/tmp/tmptjlwl_5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findmaxidx(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %26, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %29
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp sgt i32 %16, %21
br i1 %22, label %23, label %25
23: ; preds = %11
%24 = load i32, ptr %5, align 4
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %23, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %7, !llvm.loop !6
29: ; preds = %7
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = call i32 (...) @__poet_fail()
br label %35
35: ; preds = %33, %29
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = sub nsw i32 0, %40
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 %41, ptr %45, align 4
%46 = load i32, ptr %6, align 4
ret i32 %46
}
declare i32 @__poet_fail(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptjlwl_5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findmaxidx(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %25
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp sgt i32 %15, %20
br i1 %21, label %22, label %24
22: ; preds = %10
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %22, %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = call i32 (...) @__poet_fail()
br label %37
37: ; preds = %35, %31
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sub nsw i32 0, %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
%48 = load i32, ptr %6, align 4
ret i32 %48
}
declare i32 @__poet_fail(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp712rb09e.c'
source_filename = "/tmp/tmp712rb09e.c"
target datalayout = "e-m:e-p270: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/tmp712rb09e.c"
target datalayout = "e-m:e-p270: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/tmpo5fez6qa.c'
source_filename = "/tmp/tmpo5fez6qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = call i32 @f2(i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
ret i32 %14
}
declare i32 @f2(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/tmpo5fez6qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = call i32 @f2(i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
ret i32 %14
}
declare i32 @f2(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/tmpi5q9y76w.c'
source_filename = "/tmp/tmpi5q9y76w.c"
target datalayout = "e-m:e-p270: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/tmpi5q9y76w.c"
target datalayout = "e-m:e-p270: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/tmprhdh6i5e.c'
source_filename = "/tmp/tmprhdh6i5e.c"
target datalayout = "e-m:e-p270: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/tmprhdh6i5e.c"
target datalayout = "e-m:e-p270: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/tmpew6f305r.c'
source_filename = "/tmp/tmpew6f305r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"192.168.3.40\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i64 } @init_address(i32 noundef %0) #0 {
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr @AF_INET, align 4
%5 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 3
store i32 %4, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @htons(i32 noundef %6)
%8 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %7, ptr %8, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%10 = call i32 @inet_aton(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @memset(i32 noundef %12, i32 noundef 0, i32 noundef 8)
%14 = load { i64, i64 }, ptr %2, align 4
ret { i64, i64 } %14
}
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @memset(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/tmpew6f305r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"192.168.3.40\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local { i64, i64 } @init_address(i32 noundef %0) #0 {
%2 = alloca %struct.sockaddr_in, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr @AF_INET, align 4
%5 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 3
store i32 %4, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @htons(i32 noundef %6)
%8 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2
store i32 %7, ptr %8, align 4
%9 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1
%10 = call i32 @inet_aton(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @memset(i32 noundef %12, i32 noundef 0, i32 noundef 8)
%14 = load { i64, i64 }, ptr %2, align 4
ret { i64, i64 } %14
}
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @memset(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/tmpgth5du1t.c'
source_filename = "/tmp/tmpgth5du1t.c"
target datalayout = "e-m:e-p270: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/tmpgth5du1t.c"
target datalayout = "e-m:e-p270: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/tmp6lk1m_ay.c'
source_filename = "/tmp/tmp6lk1m_ay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min_heap_sort(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @build_min_heap(ptr noundef %7, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 @print_heap_struct(ptr noundef %10, i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %38, %2
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 1
br i1 %17, label %18, label %41
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 0
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, 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 %26, ptr %30, align 4
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %3, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 0
store i32 %31, ptr %33, align 4
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, 1
%37 = call i32 @min_heap_fixup(ptr noundef %34, i32 noundef %36, i32 noundef 0)
br label %38
38: ; preds = %18
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %5, align 4
br label %15, !llvm.loop !6
41: ; preds = %15
ret void
}
declare i32 @build_min_heap(ptr noundef, i32 noundef) #1
declare i32 @print_heap_struct(ptr noundef, i32 noundef) #1
declare i32 @min_heap_fixup(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6lk1m_ay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @min_heap_sort(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @build_min_heap(ptr noundef %7, i32 noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 @print_heap_struct(ptr noundef %10, i32 noundef %11)
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp sge i32 %15, 1
br i1 %16, label %.lr.ph, label %42
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %37
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 %25, ptr %29, align 4
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 0
store i32 %30, ptr %32, align 4
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = sub nsw i32 %34, 1
%36 = call i32 @min_heap_fixup(ptr noundef %33, i32 noundef %35, i32 noundef 0)
br label %37
37: ; preds = %17
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp sge i32 %40, 1
br i1 %41, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %2
ret void
}
declare i32 @build_min_heap(ptr noundef, i32 noundef) #1
declare i32 @print_heap_struct(ptr noundef, i32 noundef) #1
declare i32 @min_heap_fixup(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnzkqb_hm.c'
source_filename = "/tmp/tmpnzkqb_hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Latitude: %f Longitude %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GPS_Fmt_Print_Position(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %5, align 8
%10 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8, double noundef %9)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @fflush(ptr noundef %11)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
declare i32 @fflush(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/tmpnzkqb_hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Latitude: %f Longitude %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GPS_Fmt_Print_Position(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %5, align 8
%10 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8, double noundef %9)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @fflush(ptr noundef %11)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, double noundef, double noundef) #1
declare i32 @fflush(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/tmpedg5wzmy.c'
source_filename = "/tmp/tmpedg5wzmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %8, %9
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %13
%18 = load i32, ptr %6, align 4
ret i32 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpedg5wzmy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %13, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %8, %9
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %7, label %17, !llvm.loop !6
17: ; preds = %13
%18 = load i32, ptr %6, align 4
ret i32 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphql7fczk.c'
source_filename = "/tmp/tmphql7fczk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %8, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %27, %1
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i64 @isalnum(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %26
26: ; preds = %23, %15
br label %27
27: ; preds = %26
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %11, !llvm.loop !6
30: ; preds = %11
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %75
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 1
%39 = trunc i64 %38 to i32
%40 = call i64 @emalloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %8, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %42
42: ; preds = %66, %34
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %69
46: ; preds = %42
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i64 @isalnum(i8 noundef signext %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %65
54: ; preds = %46
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds i8, ptr %60, i64 %63
store i8 %59, ptr %64, align 1
br label %65
65: ; preds = %54, %46
br label %66
66: ; preds = %65
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %4, align 4
br label %42, !llvm.loop !8
69: ; preds = %42
%70 = load ptr, ptr %8, align 8
%71 = load i32, ptr %5, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
store i8 0, ptr %73, align 1
%74 = load ptr, ptr %8, align 8
store ptr %74, ptr %2, align 8
br label %77
75: ; preds = %30
%76 = load ptr, ptr %3, align 8
store ptr %76, ptr %2, align 8
br label %77
77: ; preds = %75, %69
%78 = load ptr, ptr %2, align 8
ret ptr %78
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @emalloc(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/tmphql7fczk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleanWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %8, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %14
14: ; preds = %.lr.ph, %26
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i64 @isalnum(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
br label %25
25: ; preds = %22, %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %79
36: ; preds = %32
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = call i64 @emalloc(i32 noundef %41)
%43 = inttoptr i64 %42 to ptr
store ptr %43, ptr %8, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph2, label %73
.lr.ph2: ; preds = %36
br label %47
47: ; preds = %.lr.ph2, %67
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i64 @isalnum(i8 noundef signext %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %66
55: ; preds = %47
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
store i8 %60, ptr %65, align 1
br label %66
66: ; preds = %55, %47
br label %67
67: ; preds = %66
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %7, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %36
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 0, ptr %77, align 1
%78 = load ptr, ptr %8, align 8
store ptr %78, ptr %2, align 8
br label %81
79: ; preds = %32
%80 = load ptr, ptr %3, align 8
store ptr %80, ptr %2, align 8
br label %81
81: ; preds = %79, %73
%82 = load ptr, ptr %2, align 8
ret ptr %82
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isalnum(i8 noundef signext) #1
declare i64 @emalloc(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/tmp0bcflw07.c'
source_filename = "/tmp/tmp0bcflw07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POSIX_FADV_DONTNEED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fadv_dontneed(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca 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 i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %26, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr %10, align 4
%17 = icmp eq i32 %16, 0
br label %18
18: ; preds = %15, %11
%19 = phi i1 [ false, %11 ], [ %17, %15 ]
br i1 %19, label %20, label %29
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @POSIX_FADV_DONTNEED, align 4
%25 = call i32 @posix_fadvise(i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
store i32 %25, ptr %10, align 4
br label %26
26: ; preds = %20
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %11, !llvm.loop !6
29: ; preds = %18
%30 = load i32, ptr %10, align 4
ret i32 %30
}
declare i32 @posix_fadvise(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0bcflw07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POSIX_FADV_DONTNEED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fadv_dontneed(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca 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 i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %26, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load i32, ptr %10, align 4
%17 = icmp eq i32 %16, 0
br label %18
18: ; preds = %15, %11
%19 = phi i1 [ false, %11 ], [ %17, %15 ]
br i1 %19, label %20, label %29
20: ; preds = %18
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr @POSIX_FADV_DONTNEED, align 4
%25 = call i32 @posix_fadvise(i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
store i32 %25, ptr %10, align 4
br label %26
26: ; preds = %20
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %11, !llvm.loop !6
29: ; preds = %18
%30 = load i32, ptr %10, align 4
ret i32 %30
}
declare i32 @posix_fadvise(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp_rzrl5q.c'
source_filename = "/tmp/tmpp_rzrl5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dsub_rn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dsub_rn(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dsub_rn(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp_rzrl5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dsub_rn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_dsub_rn(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_dsub_rn(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0cw31ibm.c'
source_filename = "/tmp/tmp0cw31ibm.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Error(vector): allocation failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @nrerror(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = getelementptr inbounds float, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(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/tmp0cw31ibm.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Error(vector): allocation failure\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @vector(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = sub nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = add nsw i64 %9, 1
%11 = mul i64 %10, 4
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = call i32 @nrerror(ptr noundef @.str)
br label %18
18: ; preds = %16, %2
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %3, align 8
%21 = sub i64 0, %20
%22 = getelementptr inbounds float, ptr %19, i64 %21
%23 = getelementptr inbounds float, ptr %22, i64 1
ret ptr %23
}
declare i64 @malloc(i64 noundef) #1
declare i32 @nrerror(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/tmp266hpeoo.c'
source_filename = "/tmp/tmp266hpeoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_armstrong_number(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
store i32 0, ptr %3, align 4
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %14, %1
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = sdiv i32 %15, 10
store i32 %16, ptr %4, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
store i32 0, ptr %5, align 4
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %31, %17
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %34
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = srem i32 %23, 10
%25 = load i32, ptr %3, align 4
%26 = call i64 @pow(i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = add nsw i64 %28, %26
%30 = trunc i64 %29 to i32
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %22
%32 = load i32, ptr %6, align 4
%33 = sdiv i32 %32, 10
store i32 %33, ptr %6, align 4
br label %19, !llvm.loop !8
34: ; preds = %19
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %35, %36
%38 = zext i1 %37 to i32
ret i32 %38
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp266hpeoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_armstrong_number(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
store i32 0, ptr %3, align 4
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %13
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = sdiv i32 %14, 10
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
store i32 0, ptr %5, align 4
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph2, label %36
.lr.ph2: ; preds = %18
br label %22
22: ; preds = %.lr.ph2, %31
%23 = load i32, ptr %6, align 4
%24 = srem i32 %23, 10
%25 = load i32, ptr %3, align 4
%26 = call i64 @pow(i32 noundef %24, i32 noundef %25)
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = add nsw i64 %28, %26
%30 = trunc i64 %29 to i32
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %22
%32 = load i32, ptr %6, align 4
%33 = sdiv i32 %32, 10
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %18
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp eq i32 %37, %38
%40 = zext i1 %39 to i32
ret i32 %40
}
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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpg1lyhflx.c'
source_filename = "/tmp/tmpg1lyhflx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kfifo_ready(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i32 @kfifo_size(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @kfifo_free(ptr noundef %9)
%11 = sub nsw i32 %8, %10
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @kfifo_size(ptr noundef) #1
declare i32 @kfifo_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/tmpg1lyhflx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kfifo_ready(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i32 @kfifo_size(ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @kfifo_free(ptr noundef %9)
%11 = sub nsw i32 %8, %10
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @kfifo_size(ptr noundef) #1
declare i32 @kfifo_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/tmppm56czag.c'
source_filename = "/tmp/tmppm56czag.c"
target datalayout = "e-m:e-p270: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"%c\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 void @print_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppm56czag.c"
target datalayout = "e-m:e-p270: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"%c\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 void @print_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %28
28: ; preds = %._crit_edge, %1
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvlc6wckn.c'
source_filename = "/tmp/tmpvlc6wckn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @_itoa(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1)
ret ptr %10
}
declare ptr @_itoa(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvlc6wckn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @_itoa(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1)
ret ptr %10
}
declare ptr @_itoa(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3kt090r.c'
source_filename = "/tmp/tmpg3kt090r.c"
target datalayout = "e-m:e-p270: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 [117 x i8] c"get_folder_data\09application=everglades\09\09 \09\09\09folder=estimation_event_parameter \09\09\09select=\22%s\22\09\09\09 \09\09\09where=\22%s\22\09\09\09 \00", align 1
@.str.1 = private unnamed_addr constant [92 x i8] c"station,datatype,measurement_update_date,measurement_update_time,login_name,parameter_value\00", align 1
@.str.2 = private unnamed_addr constant [116 x i8] c"measurement_update_method = 'nearest_neighbor' and parameter = 'destination_station' and parameter_value != station\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_fetch_sys_string() #0 {
%1 = alloca [1024 x i8], align 16
%2 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%4 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%5 = call ptr @strdup(ptr noundef %4)
ret ptr %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strdup(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/tmpg3kt090r.c"
target datalayout = "e-m:e-p270: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 [117 x i8] c"get_folder_data\09application=everglades\09\09 \09\09\09folder=estimation_event_parameter \09\09\09select=\22%s\22\09\09\09 \09\09\09where=\22%s\22\09\09\09 \00", align 1
@.str.1 = private unnamed_addr constant [92 x i8] c"station,datatype,measurement_update_date,measurement_update_time,login_name,parameter_value\00", align 1
@.str.2 = private unnamed_addr constant [116 x i8] c"measurement_update_method = 'nearest_neighbor' and parameter = 'destination_station' and parameter_value != station\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_fetch_sys_string() #0 {
%1 = alloca [1024 x i8], align 16
%2 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%4 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0
%5 = call ptr @strdup(ptr noundef %4)
ret ptr %5
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strdup(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/tmpld1y72z1.c'
source_filename = "/tmp/tmpld1y72z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@IPC_SET = dso_local global i32 0, align 4
@IPC_STAT = 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/tmpld1y72z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@IPC_SET = dso_local global i32 0, align 4
@IPC_STAT = 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/tmp_41c26iw.c'
source_filename = "/tmp/tmp_41c26iw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @dis(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %13, %14
%16 = mul nsw i32 %12, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %8, align 4
%19 = sub nsw i32 %17, %18
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %20, %21
%23 = mul nsw i32 %19, %22
%24 = add nsw i32 %16, %23
%25 = call float @sqrt(i32 noundef %24)
store float %25, ptr %9, align 4
%26 = load float, ptr %9, align 4
ret float %26
}
declare float @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_41c26iw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @dis(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %7, align 4
%15 = sub nsw i32 %13, %14
%16 = mul nsw i32 %12, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %8, align 4
%19 = sub nsw i32 %17, %18
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %20, %21
%23 = mul nsw i32 %19, %22
%24 = add nsw i32 %16, %23
%25 = call float @sqrt(i32 noundef %24)
store float %25, ptr %9, align 4
%26 = load float, ptr %9, align 4
ret float %26
}
declare float @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvwhjatfr.c'
source_filename = "/tmp/tmpvwhjatfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_args(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %20
8: ; preds = %2
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %16, %8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = call i32 @process_arg(ptr noundef %5, ptr noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
br label %20
20: ; preds = %19, %2
ret void
}
declare i32 @process_arg(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvwhjatfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_args(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 1
br i1 %7, label %8, label %22
8: ; preds = %2
store i32 1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %21
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %15
%13 = load ptr, ptr %4, align 8
%14 = call i32 @process_arg(ptr noundef %5, ptr noundef %13)
br label %15
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %8
br label %22
22: ; preds = %21, %2
ret void
}
declare i32 @process_arg(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdiscgafd.c'
source_filename = "/tmp/tmpdiscgafd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeFan(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i64, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2)
%8 = load i64, ptr %3, align 8
%9 = load i8, ptr %4, align 1
%10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 1, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, 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/tmpdiscgafd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeFan(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i64, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2)
%8 = load i64, ptr %3, align 8
%9 = load i8, ptr %4, align 1
%10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 1, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, 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/tmpohg8140h.c'
source_filename = "/tmp/tmpohg8140h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_keyword(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %78
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %78
12: ; preds = %9
br label %13
13: ; preds = %76, %12
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %77
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %6, align 8
br label %19
19: ; preds = %39, %17
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = call i64 @isspace(i8 noundef signext %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %37, label %29
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %5, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %32, %35
br label %37
37: ; preds = %29, %24, %19
%38 = phi i1 [ false, %24 ], [ false, %19 ], [ %36, %29 ]
br i1 %38, label %39, label %44
39: ; preds = %37
%40 = load ptr, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %6, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %5, align 8
br label %19, !llvm.loop !6
44: ; preds = %37
%45 = load ptr, ptr %6, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %60
49: ; preds = %44
%50 = load ptr, ptr %5, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 0
br i1 %53, label %59, label %54
54: ; preds = %49
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = call i64 @isspace(i8 noundef signext %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54, %49
store i32 1, ptr %3, align 4
br label %79
60: ; preds = %54, %44
br label %61
61: ; preds = %75, %60
%62 = load ptr, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %61
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %5, align 8
%69 = load i8, ptr %67, align 1
%70 = call i64 @isspace(i8 noundef signext %69)
%71 = icmp ne i64 %70, 0
%72 = xor i1 %71, true
br label %73
73: ; preds = %66, %61
%74 = phi i1 [ false, %61 ], [ %72, %66 ]
br i1 %74, label %75, label %76
75: ; preds = %73
br label %61, !llvm.loop !8
76: ; preds = %73
br label %13, !llvm.loop !9
77: ; preds = %13
br label %78
78: ; preds = %77, %9, %2
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %78, %59
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpohg8140h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_keyword(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %79
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %79
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %78
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %74
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %6, align 8
br label %18
18: ; preds = %38, %16
%19 = load ptr, ptr %6, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %36
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %36, label %28
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %31, %34
br label %36
36: ; preds = %28, %23, %18
%37 = phi i1 [ false, %23 ], [ false, %18 ], [ %35, %28 ]
br i1 %37, label %38, label %43
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %6, align 8
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %5, align 8
br label %18, !llvm.loop !6
43: ; preds = %36
%44 = load ptr, ptr %6, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %59
48: ; preds = %43
%49 = load ptr, ptr %5, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 0
br i1 %52, label %58, label %53
53: ; preds = %48
%54 = load ptr, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = call i64 @isspace(i8 noundef signext %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53, %48
store i32 1, ptr %3, align 4
br label %80
59: ; preds = %53, %43
br label %60
60: ; preds = %72, %59
%61 = load ptr, ptr %5, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %72
65: ; preds = %60
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %5, align 8
%68 = load i8, ptr %66, align 1
%69 = call i64 @isspace(i8 noundef signext %68)
%70 = icmp ne i64 %69, 0
%71 = xor i1 %70, true
br label %72
72: ; preds = %65, %60
%73 = phi i1 [ false, %60 ], [ %71, %65 ]
br i1 %73, label %60, label %74, !llvm.loop !8
74: ; preds = %72
%75 = load ptr, ptr %5, align 8
%76 = load i8, ptr %75, align 1
%77 = icmp ne i8 %76, 0
br i1 %77, label %16, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %74
br label %78
78: ; preds = %._crit_edge, %12
br label %79
79: ; preds = %78, %9, %2
store i32 0, ptr %3, align 4
br label %80
80: ; preds = %79, %58
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmplngi9csi.c'
source_filename = "/tmp/tmplngi9csi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destructive_reset() #0 {
%1 = call i32 (...) @init_reg()
%2 = call i32 (...) @init_state()
ret void
}
declare i32 @init_reg(...) #1
declare i32 @init_state(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplngi9csi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destructive_reset() #0 {
%1 = call i32 (...) @init_reg()
%2 = call i32 (...) @init_state()
ret void
}
declare i32 @init_reg(...) #1
declare i32 @init_state(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqku1viz.c'
source_filename = "/tmp/tmpkqku1viz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_2_times_constant() #0 {
%1 = call i32 @do_n_times(i32 noundef 2)
ret void
}
declare i32 @do_n_times(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/tmpkqku1viz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_2_times_constant() #0 {
%1 = call i32 @do_n_times(i32 noundef 2)
ret void
}
declare i32 @do_n_times(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/tmpeanf6wme.c'
source_filename = "/tmp/tmpeanf6wme.c"
target datalayout = "e-m:e-p270: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/tmpeanf6wme.c"
target datalayout = "e-m:e-p270: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/tmpjn724wcd.c'
source_filename = "/tmp/tmpjn724wcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <n>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%li\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 2, %7
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %24
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @atoi(ptr noundef %18)
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = call i64 @fibonacci(i64 noundef %20)
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22)
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %15, %9
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i64 @fibonacci(i64 noundef) #1
declare i32 @printf(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/tmpjn724wcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <n>\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%li\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 2, %7
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %24
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i64 @atoi(ptr noundef %18)
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = call i64 @fibonacci(i64 noundef %20)
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22)
store i32 0, ptr %3, align 4
br label %24
24: ; preds = %15, %9
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @atoi(ptr noundef) #1
declare i64 @fibonacci(i64 noundef) #1
declare i32 @printf(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/tmp48rmh00_.c'
source_filename = "/tmp/tmp48rmh00_.c"
target datalayout = "e-m:e-p270: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/tmp48rmh00_.c"
target datalayout = "e-m:e-p270: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/tmpbx1kiuja.c'
source_filename = "/tmp/tmpbx1kiuja.c"
target datalayout = "e-m:e-p270: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/tmpbx1kiuja.c"
target datalayout = "e-m:e-p270: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/tmplep37u54.c'
source_filename = "/tmp/tmplep37u54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LeslieStrncpy(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %7
7: ; preds = %11, %3
%8 = load i64, ptr %6, align 8
%9 = add i64 %8, -1
store i64 %9, ptr %6, align 8
%10 = icmp ne i64 %8, 0
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %5, align 8
%14 = load i8, ptr %12, align 1
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %4, align 8
store i8 %14, ptr %15, align 1
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = load ptr, ptr %4, align 8
ret ptr %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplep37u54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LeslieStrncpy(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = add i64 %7, -1
store i64 %8, ptr %6, align 8
%9 = icmp ne i64 %7, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %4, align 8
store i8 %13, ptr %14, align 1
%16 = load i64, ptr %6, align 8
%17 = add i64 %16, -1
store i64 %17, ptr %6, align 8
%18 = icmp ne i64 %16, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %3
%20 = load ptr, ptr %4, align 8
ret ptr %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpybvdz6n5.c'
source_filename = "/tmp/tmpybvdz6n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_Newton_Laurent_step() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 326, ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybvdz6n5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_Newton_Laurent_step() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 326, ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_j395ruw.c'
source_filename = "/tmp/tmp_j395ruw.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, 1442356187
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %59
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %48, !llvm.loop !8
59: ; preds = %48
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_j395ruw.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 1442356187
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %38
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %.lr.ph2, label %61
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1
br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %61
61: ; preds = %._crit_edge3, %48
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0d1w9q3z.c'
source_filename = "/tmp/tmp0d1w9q3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @ft_memcpy(ptr noundef %5, ptr noundef %6, i64 noundef %9)
ret ptr %10
}
declare ptr @ft_memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @ft_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/tmp0d1w9q3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @ft_strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = call ptr @ft_memcpy(ptr noundef %5, ptr noundef %6, i64 noundef %9)
ret ptr %10
}
declare ptr @ft_memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @ft_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/tmp7e6a1kt4.c'
source_filename = "/tmp/tmp7e6a1kt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpk_pkginfo_signature_deserialize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @read_hexstr(ptr noundef %5, i32 noundef 256, ptr noundef %6)
ret i32 %7
}
declare i32 @read_hexstr(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/tmp7e6a1kt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpk_pkginfo_signature_deserialize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @read_hexstr(ptr noundef %5, i32 noundef 256, ptr noundef %6)
ret i32 %7
}
declare i32 @read_hexstr(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/tmp5fp259em.c'
source_filename = "/tmp/tmp5fp259em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"serial line from Kmode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oline() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sputline(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @sputline(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/tmp5fp259em.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"serial line from Kmode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oline() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sputline(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @sputline(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zf156h5.c'
source_filename = "/tmp/tmp_zf156h5.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
br label %8
8: ; preds = %24, %2
%9 = call i32 (...) @getchar()
store i32 %9, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = icmp sgt i32 %13, 127
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15, %12
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %24
24: ; preds = %21, %18
br label %8, !llvm.loop !6
25: ; preds = %8
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zf156h5.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %7, align 4
%8 = call i32 (...) @getchar()
store i32 %8, ptr %6, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %23
%12 = load i32, ptr %6, align 4
%13 = icmp sgt i32 %12, 127
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %7, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, 10
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %23
23: ; preds = %20, %17
%24 = call i32 (...) @getchar()
store i32 %24, ptr %6, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3hs6eppq.c'
source_filename = "/tmp/tmp3hs6eppq.c"
target datalayout = "e-m:e-p270: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"Enter the card_name: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The card value is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 0, ptr %3, align 4
%7 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
switch i32 %9, label %12 [
i32 74, label %10
i32 81, label %10
i32 75, label %10
i32 65, label %11
]
10: ; preds = %0, %0, %0
store i32 10, ptr %3, align 4
br label %15
11: ; preds = %0
store i32 11, ptr %3, align 4
br label %15
12: ; preds = %0
%13 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %12, %11, %10
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hs6eppq.c"
target datalayout = "e-m:e-p270: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"Enter the card_name: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The card value is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
store i32 0, ptr %3, align 4
%7 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
switch i32 %9, label %12 [
i32 74, label %10
i32 81, label %10
i32 75, label %10
i32 65, label %11
]
10: ; preds = %0, %0, %0
store i32 10, ptr %3, align 4
br label %15
11: ; preds = %0
store i32 11, ptr %3, align 4
br label %15
12: ; preds = %0
%13 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %12, %11, %10
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwe6a2npz.c'
source_filename = "/tmp/tmpwe6a2npz.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @OllY25605934475341_br_dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %52
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call ptr @strdup(ptr noundef @.str)
store ptr %15, ptr %2, align 8
br label %52
16: ; preds = %9
br label %17
17: ; preds = %28, %16
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = icmp ugt ptr %18, %19
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br label %26
26: ; preds = %21, %17
%27 = phi i1 [ false, %17 ], [ %25, %21 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 -1
store ptr %30, ptr %4, align 8
br label %17, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %3, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = add nsw i64 %37, 1
%39 = trunc i64 %38 to i32
%40 = call ptr @br_strndup(ptr noundef %32, i32 noundef %39)
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %31
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = call ptr @strdup(ptr noundef @.str.1)
store ptr %49, ptr %2, align 8
br label %52
50: ; preds = %31
%51 = load ptr, ptr %5, align 8
store ptr %51, ptr %2, align 8
br label %52
52: ; preds = %50, %46, %14, %8
%53 = load ptr, ptr %2, align 8
ret ptr %53
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @br_strndup(ptr noundef, 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwe6a2npz.c"
target datalayout = "e-m:e-p270: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 [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @OllY25605934475341_br_dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %52
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call ptr @strdup(ptr noundef @.str)
store ptr %15, ptr %2, align 8
br label %52
16: ; preds = %9
br label %17
17: ; preds = %28, %16
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = icmp ugt ptr %18, %19
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br label %26
26: ; preds = %21, %17
%27 = phi i1 [ false, %17 ], [ %25, %21 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 -1
store ptr %30, ptr %4, align 8
br label %17, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %3, align 8
%35 = ptrtoint ptr %33 to i64
%36 = ptrtoint ptr %34 to i64
%37 = sub i64 %35, %36
%38 = add nsw i64 %37, 1
%39 = trunc i64 %38 to i32
%40 = call ptr @br_strndup(ptr noundef %32, i32 noundef %39)
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %31
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = call ptr @strdup(ptr noundef @.str.1)
store ptr %49, ptr %2, align 8
br label %52
50: ; preds = %31
%51 = load ptr, ptr %5, align 8
store ptr %51, ptr %2, align 8
br label %52
52: ; preds = %50, %46, %14, %8
%53 = load ptr, ptr %2, align 8
ret ptr %53
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @br_strndup(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpmyycpb8l.c'
source_filename = "/tmp/tmpmyycpb8l.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"Masukkan uang dalam ratusan : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Ada %d lembar ribuan\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Ada %d koin lima ratus\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Ada %d koin dua ratus\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Ada %d koin seratus\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%13 = load i32, ptr %10, align 4
%14 = sdiv i32 %13, 1000
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %10, align 4
%16 = srem i32 %15, 1000
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = sdiv i32 %17, 500
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %10, align 4
%20 = srem i32 %19, 500
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = sdiv i32 %21, 200
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %10, align 4
%24 = srem i32 %23, 200
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = sdiv i32 %25, 100
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %2
%30 = load i32, ptr %6, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %29, %2
%33 = load i32, ptr %7, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr %7, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36)
br label %38
38: ; preds = %35, %32
%39 = load i32, ptr %8, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %8, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
br label %44
44: ; preds = %41, %38
%45 = load i32, ptr %9, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %9, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %48)
br label %50
50: ; preds = %47, %44
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/tmpmyycpb8l.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"Masukkan uang dalam ratusan : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Ada %d lembar ribuan\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Ada %d koin lima ratus\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Ada %d koin dua ratus\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Ada %d koin seratus\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%13 = load i32, ptr %10, align 4
%14 = sdiv i32 %13, 1000
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %10, align 4
%16 = srem i32 %15, 1000
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = sdiv i32 %17, 500
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %10, align 4
%20 = srem i32 %19, 500
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = sdiv i32 %21, 200
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %10, align 4
%24 = srem i32 %23, 200
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %10, align 4
%26 = sdiv i32 %25, 100
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %2
%30 = load i32, ptr %6, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %29, %2
%33 = load i32, ptr %7, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr %7, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36)
br label %38
38: ; preds = %35, %32
%39 = load i32, ptr %8, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %8, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
br label %44
44: ; preds = %41, %38
%45 = load i32, ptr %9, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %9, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %48)
br label %50
50: ; preds = %47, %44
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/tmp0927u7or.c'
source_filename = "/tmp/tmp0927u7or.c"
target datalayout = "e-m:e-p270: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"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\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
br label %9
9: ; preds = %29, %2
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %23
12: ; preds = %9
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %19, %12
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = call i32 @printf(ptr noundef @.str)
br label %19
19: ; preds = %17
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %8, align 4
br label %13, !llvm.loop !6
22: ; preds = %13
br label %23
23: ; preds = %22, %9
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, 2
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.1)
br label %28
28: ; preds = %26, %23
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %30, 3
br i1 %31, label %9, label %32, !llvm.loop !8
32: ; preds = %29
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0927u7or.c"
target datalayout = "e-m:e-p270: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"1\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"2\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
br label %9
9: ; preds = %31, %2
%10 = load i32, ptr %6, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %25
12: ; preds = %9
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %18
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %16
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %12
br label %25
25: ; preds = %24, %9
%26 = load i32, ptr %6, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %25
br label %31
31: ; preds = %30
%32 = load i32, ptr %6, align 4
%33 = icmp ne i32 %32, 3
br i1 %33, label %9, label %34, !llvm.loop !8
34: ; preds = %31
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu_4kyk70.c'
source_filename = "/tmp/tmpu_4kyk70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recursion_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %11, %3
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %7, align 4
br label %16
16: ; preds = %43, %14
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %46
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = call i32 @swap(ptr noundef %24, ptr noundef %28)
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %6, align 4
call void @recursion_sort(ptr noundef %30, i32 noundef %32, i32 noundef %33)
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = call i32 @swap(ptr noundef %37, ptr noundef %41)
br label %43
43: ; preds = %20
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %16, !llvm.loop !6
46: ; preds = %16
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu_4kyk70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @recursion_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %11, %3
%15 = load i32, ptr %5, align 4
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph, label %48
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %42
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = call i32 @swap(ptr noundef %23, ptr noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
%32 = load i32, ptr %6, align 4
call void @recursion_sort(ptr noundef %29, i32 noundef %31, i32 noundef %32)
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = call i32 @swap(ptr noundef %36, ptr noundef %40)
br label %42
42: ; preds = %19
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %14
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpghnra4q1.c'
source_filename = "/tmp/tmpghnra4q1.c"
target datalayout = "e-m:e-p270: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/tmpghnra4q1.c"
target datalayout = "e-m:e-p270: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/tmp6ho2og28.c'
source_filename = "/tmp/tmp6ho2og28.c"
target datalayout = "e-m:e-p270: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/tmp6ho2og28.c"
target datalayout = "e-m:e-p270: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/tmpzv829v7j.c'
source_filename = "/tmp/tmpzv829v7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iprange_free_fn(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 @clear_sip(ptr noundef %3)
ret void
}
declare i32 @clear_sip(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/tmpzv829v7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iprange_free_fn(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 @clear_sip(ptr noundef %3)
ret void
}
declare i32 @clear_sip(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/tmpvs9xjfrp.c'
source_filename = "/tmp/tmpvs9xjfrp.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"\0AEnter information about each author. If your entry is after\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"%s and before the contest deadline, the judges\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"07Jan2004 00:00 UTC\00", align 1
@.str.3 = private unnamed_addr constant [63 x i8] c"will attempt to EMail back a confirmation to the first author\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"---author---\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\0AAuthor #%d name: \00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"\0Aname too long, please re-enter: \00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"name:\09%s\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"\0AEnter the School/Company/Organization of author #%d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"\0AAuthor #%d org: \00", align 1
@.str.10 = private unnamed_addr constant [34 x i8] c"\0Aline too long, please re-enter: \00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"org:\09%s\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c"\0AEnter the postal address for author #%d. Be sure to include\0A\00", align 1
@.str.13 = private unnamed_addr constant [44 x i8] c"your country and do not include your name.\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"addr:\00", align 1
@.str.15 = private unnamed_addr constant [63 x i8] c"\0AEnter the EMail address for author #%d. Use an address from\0A\00", align 1
@.str.16 = private unnamed_addr constant [62 x i8] c"a registered domain or well known site. If you give several\0A\00", align 1
@.str.17 = private unnamed_addr constant [32 x i8] c"forms, list them one per line.\0A\00", align 1
@.str.18 = private unnamed_addr constant [7 x i8] c"email:\00", align 1
@.str.19 = private unnamed_addr constant [57 x i8] c"\0AEnter the fully qualified home page URL for author #%d\0A\00", align 1
@.str.20 = private unnamed_addr constant [46 x i8] c"including the http: part or just enter none: \00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@.str.23 = private unnamed_addr constant [47 x i8] c"\0AURL too long, does not begin with http:// or\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"is not the word none\0A\00", align 1
@.str.25 = private unnamed_addr constant [8 x i8] c"url:\09%s\00", align 1
@.str.26 = private unnamed_addr constant [53 x i8] c"\0AShould author #%d remain anonymous (enter y or n)? \00", align 1
@.str.27 = private unnamed_addr constant [24 x i8] c"\0Aplease answer y or n: \00", align 1
@.str.28 = private unnamed_addr constant [9 x i8] c"anon:\09%s\00", align 1
@.str.29 = private unnamed_addr constant [42 x i8] c"\0AIs there another author (enter y or n)? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_author(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [81 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %11
11: ; preds = %152, %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str.4)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @check_io(ptr noundef %14, ptr noundef %15, i32 noundef 0)
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %18)
br label %20
20: ; preds = %24, %11
%21 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%22 = call i64 @get_line(ptr noundef %21, i32 noundef 80, i32 noundef 70)
%23 = icmp sle i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %20, !llvm.loop !6
26: ; preds = %20
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.7, ptr noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @check_io(ptr noundef %30, ptr noundef %31, i32 noundef 0)
%33 = load i32, ptr %7, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %35)
br label %37
37: ; preds = %41, %26
%38 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%39 = call i64 @get_line(ptr noundef %38, i32 noundef 80, i32 noundef 70)
%40 = icmp sle i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %37, !llvm.loop !8
43: ; preds = %37
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.11, ptr noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = load ptr, ptr %4, align 8
%49 = call i32 @check_io(ptr noundef %47, ptr noundef %48, i32 noundef 0)
%50 = load i32, ptr %7, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%53 = load ptr, ptr %3, align 8
%54 = load ptr, ptr %4, align 8
%55 = call i32 @output_till_dot(ptr noundef %53, ptr noundef %54, ptr noundef @.str.14)
%56 = load i32, ptr %7, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%60 = load ptr, ptr %3, align 8
%61 = load ptr, ptr %4, align 8
%62 = call i32 @output_till_dot(ptr noundef %60, ptr noundef %61, ptr noundef @.str.18)
%63 = load i32, ptr %7, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %63)
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %66
66: ; preds = %82, %43
%67 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%68 = call i64 @get_line(ptr noundef %67, i32 noundef 80, i32 noundef 70)
%69 = icmp sle i64 %68, 0
br i1 %69, label %80, label %70
70: ; preds = %66
%71 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.21, i32 noundef 7)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %70
%75 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%76 = call i64 @strcmp(ptr noundef %75, ptr noundef @.str.22)
%77 = icmp ne i64 %76, 0
br label %78
78: ; preds = %74, %70
%79 = phi i1 [ false, %70 ], [ %77, %74 ]
br label %80
80: ; preds = %78, %66
%81 = phi i1 [ true, %66 ], [ %79, %78 ]
br i1 %81, label %82, label %85
82: ; preds = %80
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
br label %66, !llvm.loop !9
85: ; preds = %80
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.25, ptr noundef %87)
%89 = load ptr, ptr %3, align 8
%90 = load ptr, ptr %4, align 8
%91 = call i32 @check_io(ptr noundef %89, ptr noundef %90, i32 noundef 0)
%92 = load i32, ptr %7, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %92)
br label %94
94: ; preds = %113, %85
%95 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%96 = call i64 @get_line(ptr noundef %95, i32 noundef 2, i32 noundef 0)
%97 = icmp sle i64 %96, 0
br i1 %97, label %111, label %98
98: ; preds = %94
%99 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%100 = load i8, ptr %99, align 16
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 121
br i1 %102, label %108, label %103
103: ; preds = %98
%104 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%105 = load i8, ptr %104, align 16
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 110
br label %108
108: ; preds = %103, %98
%109 = phi i1 [ true, %98 ], [ %107, %103 ]
%110 = xor i1 %109, true
br label %111
111: ; preds = %108, %94
%112 = phi i1 [ true, %94 ], [ %110, %108 ]
br i1 %112, label %113, label %115
113: ; preds = %111
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
br label %94, !llvm.loop !10
115: ; preds = %111
%116 = load ptr, ptr %3, align 8
%117 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.28, ptr noundef %117)
%119 = load ptr, ptr %3, align 8
%120 = load ptr, ptr %4, align 8
%121 = call i32 @check_io(ptr noundef %119, ptr noundef %120, i32 noundef 0)
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
br label %123
123: ; preds = %142, %115
%124 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%125 = call i64 @get_line(ptr noundef %124, i32 noundef 2, i32 noundef 0)
%126 = icmp sle i64 %125, 0
br i1 %126, label %140, label %127
127: ; preds = %123
%128 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%129 = load i8, ptr %128, align 16
%130 = sext i8 %129 to i32
%131 = icmp eq i32 %130, 121
br i1 %131, label %137, label %132
132: ; preds = %127
%133 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%134 = load i8, ptr %133, align 16
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 110
br label %137
137: ; preds = %132, %127
%138 = phi i1 [ true, %127 ], [ %136, %132 ]
%139 = xor i1 %138, true
br label %140
140: ; preds = %137, %123
%141 = phi i1 [ true, %123 ], [ %139, %137 ]
br i1 %141, label %142, label %144
142: ; preds = %140
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
br label %123, !llvm.loop !11
144: ; preds = %140
%145 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%146 = load i8, ptr %145, align 16
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 121
br i1 %148, label %149, label %150
149: ; preds = %144
store i32 1, ptr %6, align 4
br label %151
150: ; preds = %144
store i32 0, ptr %6, align 4
br label %151
151: ; preds = %150, %149
br label %152
152: ; preds = %151
%153 = load i32, ptr %6, align 4
%154 = icmp eq i32 %153, 1
br i1 %154, label %11, label %155, !llvm.loop !12
155: ; preds = %152
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @check_io(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @get_line(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @output_till_dot(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvs9xjfrp.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c"\0AEnter information about each author. If your entry is after\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"%s and before the contest deadline, the judges\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"07Jan2004 00:00 UTC\00", align 1
@.str.3 = private unnamed_addr constant [63 x i8] c"will attempt to EMail back a confirmation to the first author\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"---author---\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\0AAuthor #%d name: \00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"\0Aname too long, please re-enter: \00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"name:\09%s\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"\0AEnter the School/Company/Organization of author #%d\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"\0AAuthor #%d org: \00", align 1
@.str.10 = private unnamed_addr constant [34 x i8] c"\0Aline too long, please re-enter: \00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"org:\09%s\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c"\0AEnter the postal address for author #%d. Be sure to include\0A\00", align 1
@.str.13 = private unnamed_addr constant [44 x i8] c"your country and do not include your name.\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"addr:\00", align 1
@.str.15 = private unnamed_addr constant [63 x i8] c"\0AEnter the EMail address for author #%d. Use an address from\0A\00", align 1
@.str.16 = private unnamed_addr constant [62 x i8] c"a registered domain or well known site. If you give several\0A\00", align 1
@.str.17 = private unnamed_addr constant [32 x i8] c"forms, list them one per line.\0A\00", align 1
@.str.18 = private unnamed_addr constant [7 x i8] c"email:\00", align 1
@.str.19 = private unnamed_addr constant [57 x i8] c"\0AEnter the fully qualified home page URL for author #%d\0A\00", align 1
@.str.20 = private unnamed_addr constant [46 x i8] c"including the http: part or just enter none: \00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.22 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@.str.23 = private unnamed_addr constant [47 x i8] c"\0AURL too long, does not begin with http:// or\0A\00", align 1
@.str.24 = private unnamed_addr constant [22 x i8] c"is not the word none\0A\00", align 1
@.str.25 = private unnamed_addr constant [8 x i8] c"url:\09%s\00", align 1
@.str.26 = private unnamed_addr constant [53 x i8] c"\0AShould author #%d remain anonymous (enter y or n)? \00", align 1
@.str.27 = private unnamed_addr constant [24 x i8] c"\0Aplease answer y or n: \00", align 1
@.str.28 = private unnamed_addr constant [9 x i8] c"anon:\09%s\00", align 1
@.str.29 = private unnamed_addr constant [42 x i8] c"\0AIs there another author (enter y or n)? \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_author(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [81 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %11
11: ; preds = %154, %2
%12 = load ptr, ptr %3, align 8
%13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str.4)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @check_io(ptr noundef %14, ptr noundef %15, i32 noundef 0)
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %18)
%20 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%21 = call i64 @get_line(ptr noundef %20, i32 noundef 80, i32 noundef 70)
%22 = icmp sle i64 %21, 0
br i1 %22, label %.lr.ph, label %27
.lr.ph: ; preds = %11
br label %23
23: ; preds = %.lr.ph, %23
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%25 = call i64 @get_line(ptr noundef %20, i32 noundef 80, i32 noundef 70)
%26 = icmp sle i64 %25, 0
br i1 %26, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %11
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.7, ptr noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @check_io(ptr noundef %31, ptr noundef %32, i32 noundef 0)
%34 = load i32, ptr %7, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %34)
%36 = load i32, ptr %7, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %36)
%38 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%39 = call i64 @get_line(ptr noundef %38, i32 noundef 80, i32 noundef 70)
%40 = icmp sle i64 %39, 0
br i1 %40, label %.lr.ph2, label %45
.lr.ph2: ; preds = %27
br label %41
41: ; preds = %.lr.ph2, %41
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%43 = call i64 @get_line(ptr noundef %38, i32 noundef 80, i32 noundef 70)
%44 = icmp sle i64 %43, 0
br i1 %44, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %45
45: ; preds = %._crit_edge3, %27
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.11, ptr noundef %47)
%49 = load ptr, ptr %3, align 8
%50 = load ptr, ptr %4, align 8
%51 = call i32 @check_io(ptr noundef %49, ptr noundef %50, i32 noundef 0)
%52 = load i32, ptr %7, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%55 = load ptr, ptr %3, align 8
%56 = load ptr, ptr %4, align 8
%57 = call i32 @output_till_dot(ptr noundef %55, ptr noundef %56, ptr noundef @.str.14)
%58 = load i32, ptr %7, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %58)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%62 = load ptr, ptr %3, align 8
%63 = load ptr, ptr %4, align 8
%64 = call i32 @output_till_dot(ptr noundef %62, ptr noundef %63, ptr noundef @.str.18)
%65 = load i32, ptr %7, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %65)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %68
68: ; preds = %84, %45
%69 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%70 = call i64 @get_line(ptr noundef %69, i32 noundef 80, i32 noundef 70)
%71 = icmp sle i64 %70, 0
br i1 %71, label %82, label %72
72: ; preds = %68
%73 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%74 = call i64 @strncmp(ptr noundef %73, ptr noundef @.str.21, i32 noundef 7)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %72
%77 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.22)
%79 = icmp ne i64 %78, 0
br label %80
80: ; preds = %76, %72
%81 = phi i1 [ false, %72 ], [ %79, %76 ]
br label %82
82: ; preds = %80, %68
%83 = phi i1 [ true, %68 ], [ %81, %80 ]
br i1 %83, label %84, label %87
84: ; preds = %82
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
br label %68, !llvm.loop !9
87: ; preds = %82
%88 = load ptr, ptr %3, align 8
%89 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.25, ptr noundef %89)
%91 = load ptr, ptr %3, align 8
%92 = load ptr, ptr %4, align 8
%93 = call i32 @check_io(ptr noundef %91, ptr noundef %92, i32 noundef 0)
%94 = load i32, ptr %7, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %94)
br label %96
96: ; preds = %115, %87
%97 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%98 = call i64 @get_line(ptr noundef %97, i32 noundef 2, i32 noundef 0)
%99 = icmp sle i64 %98, 0
br i1 %99, label %113, label %100
100: ; preds = %96
%101 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%102 = load i8, ptr %101, align 16
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 121
br i1 %104, label %110, label %105
105: ; preds = %100
%106 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%107 = load i8, ptr %106, align 16
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 110
br label %110
110: ; preds = %105, %100
%111 = phi i1 [ true, %100 ], [ %109, %105 ]
%112 = xor i1 %111, true
br label %113
113: ; preds = %110, %96
%114 = phi i1 [ true, %96 ], [ %112, %110 ]
br i1 %114, label %115, label %117
115: ; preds = %113
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
br label %96, !llvm.loop !10
117: ; preds = %113
%118 = load ptr, ptr %3, align 8
%119 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.28, ptr noundef %119)
%121 = load ptr, ptr %3, align 8
%122 = load ptr, ptr %4, align 8
%123 = call i32 @check_io(ptr noundef %121, ptr noundef %122, i32 noundef 0)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
br label %125
125: ; preds = %144, %117
%126 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%127 = call i64 @get_line(ptr noundef %126, i32 noundef 2, i32 noundef 0)
%128 = icmp sle i64 %127, 0
br i1 %128, label %142, label %129
129: ; preds = %125
%130 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%131 = load i8, ptr %130, align 16
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 121
br i1 %133, label %139, label %134
134: ; preds = %129
%135 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%136 = load i8, ptr %135, align 16
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 110
br label %139
139: ; preds = %134, %129
%140 = phi i1 [ true, %129 ], [ %138, %134 ]
%141 = xor i1 %140, true
br label %142
142: ; preds = %139, %125
%143 = phi i1 [ true, %125 ], [ %141, %139 ]
br i1 %143, label %144, label %146
144: ; preds = %142
%145 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
br label %125, !llvm.loop !11
146: ; preds = %142
%147 = getelementptr inbounds [81 x i8], ptr %5, i64 0, i64 0
%148 = load i8, ptr %147, align 16
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 121
br i1 %150, label %151, label %152
151: ; preds = %146
store i32 1, ptr %6, align 4
br label %153
152: ; preds = %146
store i32 0, ptr %6, align 4
br label %153
153: ; preds = %152, %151
br label %154
154: ; preds = %153
%155 = load i32, ptr %6, align 4
%156 = icmp eq i32 %155, 1
br i1 %156, label %11, label %157, !llvm.loop !12
157: ; preds = %154
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @check_io(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @get_line(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @output_till_dot(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmps6u79814.c'
source_filename = "/tmp/tmps6u79814.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @savingComparison(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store ptr null, ptr %11, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %82, %4
%13 = load i32, ptr %9, align 4
%14 = icmp slt i32 %13, 8
br i1 %14, label %15, label %85
15: ; preds = %12
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp ne i32 %20, -1
br i1 %21, label %22, label %81
22: ; preds = %15
%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
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %81
29: ; preds = %22
%30 = load ptr, ptr %11, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %47
32: ; preds = %29
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %37, i64 %43
%45 = load ptr, ptr %44, align 8
store ptr %45, ptr %11, align 8
%46 = load i32, ptr %9, align 4
store i32 %46, ptr %10, align 4
br label %80
47: ; preds = %29
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %52, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load ptr, ptr %11, align 8
%62 = call i64 @strcasecmp(ptr noundef %60, ptr noundef %61)
%63 = icmp slt i64 %62, 0
br i1 %63, label %64, label %79
64: ; preds = %47
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %69, i64 %75
%77 = load ptr, ptr %76, align 8
store ptr %77, ptr %11, align 8
%78 = load i32, ptr %9, align 4
store i32 %78, ptr %10, align 4
br label %79
79: ; preds = %64, %47
br label %80
80: ; preds = %79, %32
br label %81
81: ; preds = %80, %22, %15
br label %82
82: ; preds = %81
%83 = load i32, ptr %9, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %9, align 4
br label %12, !llvm.loop !6
85: ; preds = %12
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %10, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %89, align 4
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %10, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %92, i64 %94
%96 = load i32, ptr %95, align 4
%97 = load ptr, ptr %8, align 8
%98 = load i32, ptr %10, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
%102 = icmp eq i32 %96, %101
br i1 %102, label %103, label %112
103: ; preds = %85
%104 = load ptr, ptr %5, align 8
%105 = load i32, ptr %10, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %104, i64 %106
store i32 -1, ptr %107, align 4
%108 = load ptr, ptr %7, align 8
%109 = load i32, ptr %108, align 4
%110 = sub nsw i32 %109, 1
%111 = load ptr, ptr %7, align 8
store i32 %110, ptr %111, align 4
br label %112
112: ; preds = %103, %85
%113 = load ptr, ptr %11, align 8
ret ptr %113
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps6u79814.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @savingComparison(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store ptr null, ptr %11, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp slt i32 %12, 8
br i1 %13, label %.lr.ph, label %86
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %81
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %80
21: ; preds = %14
%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
%26 = load i32, ptr %25, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %80
28: ; preds = %21
%29 = load ptr, ptr %11, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %46
31: ; preds = %28
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %9, 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 ptr, ptr %5, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %36, i64 %42
%44 = load ptr, ptr %43, align 8
store ptr %44, ptr %11, align 8
%45 = load i32, ptr %9, align 4
store i32 %45, ptr %10, align 4
br label %79
46: ; preds = %28
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %51, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %11, align 8
%61 = call i64 @strcasecmp(ptr noundef %59, ptr noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %78
63: ; preds = %46
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds ptr, ptr %68, i64 %74
%76 = load ptr, ptr %75, align 8
store ptr %76, ptr %11, align 8
%77 = load i32, ptr %9, align 4
store i32 %77, ptr %10, align 4
br label %78
78: ; preds = %63, %46
br label %79
79: ; preds = %78, %31
br label %80
80: ; preds = %79, %21, %14
br label %81
81: ; preds = %80
%82 = load i32, ptr %9, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %9, align 4
%84 = load i32, ptr %9, align 4
%85 = icmp slt i32 %84, 8
br i1 %85, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %86
86: ; preds = %._crit_edge, %4
%87 = load ptr, ptr %5, align 8
%88 = load i32, ptr %10, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
%91 = load i32, ptr %90, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %90, align 4
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %10, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
%97 = load i32, ptr %96, align 4
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %10, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = icmp eq i32 %97, %102
br i1 %103, label %104, label %113
104: ; preds = %86
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %10, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
store i32 -1, ptr %108, align 4
%109 = load ptr, ptr %7, align 8
%110 = load i32, ptr %109, align 4
%111 = sub nsw i32 %110, 1
%112 = load ptr, ptr %7, align 8
store i32 %111, ptr %112, align 4
br label %113
113: ; preds = %104, %86
%114 = load ptr, ptr %11, align 8
ret ptr %114
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8zvtvsww.c'
source_filename = "/tmp/tmp8zvtvsww.c"
target datalayout = "e-m:e-p270: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.secson = private unnamed_addr constant [8 x i32] [i32 100, i32 100, i32 100, i32 100, i32 100, i32 100, i32 100, i32 200], align 16
@.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 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [8 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.secson, i64 32, i1 false)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %30, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %8, label %33
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = icmp sgt i32 %12, 150
br i1 %13, label %14, label %26
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = or i32 %18, 2
store i32 %19, ptr %3, align 4
br label %25
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = shl i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = or i32 %23, 2
store i32 %24, ptr %3, align 4
br label %25
25: ; preds = %20, %17
br label %29
26: ; preds = %8
%27 = load i32, ptr %3, align 4
%28 = shl i32 %27, 1
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %26, %25
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %5, !llvm.loop !6
33: ; preds = %5
%34 = load i32, ptr %3, align 4
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %34)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, 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/tmp8zvtvsww.c"
target datalayout = "e-m:e-p270: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.secson = private unnamed_addr constant [8 x i32] [i32 100, i32 100, i32 100, i32 100, i32 100, i32 100, i32 100, i32 200], align 16
@.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 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [8 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.secson, i64 32, i1 false)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 8
br i1 %6, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %29
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 150
br i1 %12, label %13, label %25
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, 2
store i32 %18, ptr %3, align 4
br label %24
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = shl i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = or i32 %22, 2
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %19, %16
br label %28
25: ; preds = %7
%26 = load i32, ptr %3, align 4
%27 = shl i32 %26, 1
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %25, %24
br label %29
29: ; preds = %28
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 8
br i1 %33, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %0
%35 = load i32, ptr %3, align 4
%36 = call i32 @printf(ptr noundef @.str, i32 noundef %35)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, 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/tmp12av6ysv.c'
source_filename = "/tmp/tmp12av6ysv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dbg_wb_write8(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @dbg_set_chain(i32 noundef 0)
%6 = call i32 @send_command_to_vpi(i32 noundef 7)
%7 = load i32, ptr %3, align 4
%8 = call i32 @send_address_to_vpi(i32 noundef %7)
%9 = call i32 @send_data_to_vpi(i32 noundef 4)
%10 = load i32, ptr %4, align 4
%11 = call i32 @send_data_to_vpi(i32 noundef %10)
%12 = call i32 (...) @get_response_from_vpi()
ret i32 0
}
declare i32 @dbg_set_chain(i32 noundef) #1
declare i32 @send_command_to_vpi(i32 noundef) #1
declare i32 @send_address_to_vpi(i32 noundef) #1
declare i32 @send_data_to_vpi(i32 noundef) #1
declare i32 @get_response_from_vpi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12av6ysv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dbg_wb_write8(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @dbg_set_chain(i32 noundef 0)
%6 = call i32 @send_command_to_vpi(i32 noundef 7)
%7 = load i32, ptr %3, align 4
%8 = call i32 @send_address_to_vpi(i32 noundef %7)
%9 = call i32 @send_data_to_vpi(i32 noundef 4)
%10 = load i32, ptr %4, align 4
%11 = call i32 @send_data_to_vpi(i32 noundef %10)
%12 = call i32 (...) @get_response_from_vpi()
ret i32 0
}
declare i32 @dbg_set_chain(i32 noundef) #1
declare i32 @send_command_to_vpi(i32 noundef) #1
declare i32 @send_address_to_vpi(i32 noundef) #1
declare i32 @send_data_to_vpi(i32 noundef) #1
declare i32 @get_response_from_vpi(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpco_37uoc.c'
source_filename = "/tmp/tmpco_37uoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 8)
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @foo(i32 noundef 0)
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %6
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmpco_37uoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @foo(i32 noundef 8)
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @foo(i32 noundef 0)
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 (...) @abort() #3
unreachable
11: ; preds = %6
%12 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmp6owdoy3t.c'
source_filename = "/tmp/tmp6owdoy3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call double @atof(ptr noundef %8)
store double %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call double @atof(ptr noundef %10)
store double %11, ptr %7, align 8
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fcmp olt double %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %22
16: ; preds = %2
%17 = load double, ptr %6, align 8
%18 = load double, ptr %7, align 8
%19 = fcmp ogt double %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 1, ptr %3, align 4
br label %22
21: ; preds = %16
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %21, %20, %15
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6owdoy3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call double @atof(ptr noundef %8)
store double %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call double @atof(ptr noundef %10)
store double %11, ptr %7, align 8
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fcmp olt double %12, %13
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %22
16: ; preds = %2
%17 = load double, ptr %6, align 8
%18 = load double, ptr %7, align 8
%19 = fcmp ogt double %17, %18
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 1, ptr %3, align 4
br label %22
21: ; preds = %16
store i32 0, ptr %3, align 4
br label %22
22: ; preds = %21, %20, %15
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppsdickrg.c'
source_filename = "/tmp/tmppsdickrg.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_events(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %75, %5
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %78
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds %struct.epoll_event, ptr %18, i64 %20
%22 = getelementptr inbounds %struct.epoll_event, ptr %21, i32 0, i32 1
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 4
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %42
28: ; preds = %17
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds %struct.epoll_event, ptr %29, i64 %31
%33 = getelementptr inbounds %struct.epoll_event, ptr %32, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr @EPOLLIN, align 4
%36 = and i32 %34, %35
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %28
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %9, align 4
%41 = call i32 @handle_accpet(i32 noundef %39, i32 noundef %40)
br label %74
42: ; preds = %28, %17
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds %struct.epoll_event, ptr %43, i64 %45
%47 = getelementptr inbounds %struct.epoll_event, ptr %46, i32 0, i32 0
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr @EPOLLIN, align 4
%50 = and i32 %48, %49
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %42
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %12, align 4
%55 = load ptr, ptr %10, align 8
%56 = call i32 @do_read(i32 noundef %53, i32 noundef %54, ptr noundef %55)
br label %73
57: ; preds = %42
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds %struct.epoll_event, ptr %58, i64 %60
%62 = getelementptr inbounds %struct.epoll_event, ptr %61, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr @EPOLLOUT, align 4
%65 = and i32 %63, %64
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %72
67: ; preds = %57
%68 = load i32, ptr %6, align 4
%69 = load i32, ptr %12, align 4
%70 = load ptr, ptr %10, align 8
%71 = call i32 @do_write(i32 noundef %68, i32 noundef %69, ptr noundef %70)
br label %72
72: ; preds = %67, %57
br label %73
73: ; preds = %72, %52
br label %74
74: ; preds = %73, %38
br label %75
75: ; preds = %74
%76 = load i32, ptr %11, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %11, align 4
br label %13, !llvm.loop !6
78: ; preds = %13
ret void
}
declare i32 @handle_accpet(i32 noundef, i32 noundef) #1
declare i32 @do_read(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @do_write(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppsdickrg.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLLOUT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handle_events(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %80
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %74
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds %struct.epoll_event, ptr %17, i64 %19
%21 = getelementptr inbounds %struct.epoll_event, ptr %20, i32 0, i32 1
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %12, align 4
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %41
27: ; preds = %16
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds %struct.epoll_event, ptr %28, i64 %30
%32 = getelementptr inbounds %struct.epoll_event, ptr %31, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr @EPOLLIN, align 4
%35 = and i32 %33, %34
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %27
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %9, align 4
%40 = call i32 @handle_accpet(i32 noundef %38, i32 noundef %39)
br label %73
41: ; preds = %27, %16
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds %struct.epoll_event, ptr %42, i64 %44
%46 = getelementptr inbounds %struct.epoll_event, ptr %45, i32 0, i32 0
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr @EPOLLIN, align 4
%49 = and i32 %47, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %56
51: ; preds = %41
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %12, align 4
%54 = load ptr, ptr %10, align 8
%55 = call i32 @do_read(i32 noundef %52, i32 noundef %53, ptr noundef %54)
br label %72
56: ; preds = %41
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds %struct.epoll_event, ptr %57, i64 %59
%61 = getelementptr inbounds %struct.epoll_event, ptr %60, i32 0, i32 0
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr @EPOLLOUT, align 4
%64 = and i32 %62, %63
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %56
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %12, align 4
%69 = load ptr, ptr %10, align 8
%70 = call i32 @do_write(i32 noundef %67, i32 noundef %68, ptr noundef %69)
br label %71
71: ; preds = %66, %56
br label %72
72: ; preds = %71, %51
br label %73
73: ; preds = %72, %37
br label %74
74: ; preds = %73
%75 = load i32, ptr %11, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %11, align 4
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %8, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %5
ret void
}
declare i32 @handle_accpet(i32 noundef, i32 noundef) #1
declare i32 @do_read(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @do_write(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiotejb_0.c'
source_filename = "/tmp/tmpiotejb_0.c"
target datalayout = "e-m:e-p270: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/tmpiotejb_0.c"
target datalayout = "e-m:e-p270: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/tmprqj0hzr8.c'
source_filename = "/tmp/tmprqj0hzr8.c"
target datalayout = "e-m:e-p270: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/tmprqj0hzr8.c"
target datalayout = "e-m:e-p270: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/tmputa2r71y.c'
source_filename = "/tmp/tmputa2r71y.c"
target datalayout = "e-m:e-p270: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"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"lispd\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmdline_parser_file_save(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cmdline_parser_dump(ptr 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmputa2r71y.c"
target datalayout = "e-m:e-p270: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"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"lispd\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmdline_parser_file_save(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 i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cmdline_parser_dump(ptr 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"}
|
; ModuleID = '/tmp/tmpdbv4s2s0.c'
source_filename = "/tmp/tmpdbv4s2s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OTHERNAME_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OTHERNAME_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @OTHERNAME_it)
ret void
}
declare i32 @ASN1_item_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbv4s2s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OTHERNAME_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OTHERNAME_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @OTHERNAME_it)
ret void
}
declare i32 @ASN1_item_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpasr0a9j8.c'
source_filename = "/tmp/tmpasr0a9j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EDOM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @fmod(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%11 = load double, ptr %5, align 8
%12 = fcmp oeq double %11, 0.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @EDOM, align 4
store i32 %14, ptr @errno, align 4
store double 0.000000e+00, ptr %3, align 8
br label %64
15: ; preds = %2
%16 = load double, ptr %5, align 8
%17 = fcmp olt double %16, 0.000000e+00
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load double, ptr %5, align 8
%20 = fneg double %19
store double %20, ptr %5, align 8
br label %21
21: ; preds = %18, %15
%22 = load double, ptr %4, align 8
%23 = fcmp olt double %22, 0.000000e+00
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load double, ptr %4, align 8
%26 = fneg double %25
store double %26, ptr %4, align 8
store i32 1, ptr %8, align 4
br label %28
27: ; preds = %21
store i32 0, ptr %8, align 4
br label %28
28: ; preds = %27, %24
%29 = load double, ptr %5, align 8
%30 = call double @frexp(double noundef %29, ptr noundef %9) #2
store double %30, ptr %6, align 8
%31 = load double, ptr %4, align 8
%32 = call double @frexp(double noundef %31, ptr noundef %10) #2
store double %32, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %51, %28
%37 = load i32, ptr %7, align 4
%38 = icmp sle i32 0, %37
br i1 %38, label %39, label %54
39: ; preds = %36
%40 = load double, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = call double @ldexp(double noundef %40, i32 noundef %41) #2
store double %42, ptr %6, align 8
%43 = load double, ptr %6, align 8
%44 = load double, ptr %4, align 8
%45 = fcmp ole double %43, %44
br i1 %45, label %46, label %50
46: ; preds = %39
%47 = load double, ptr %6, align 8
%48 = load double, ptr %4, align 8
%49 = fsub double %48, %47
store double %49, ptr %4, align 8
br label %50
50: ; preds = %46, %39
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %7, align 4
br label %36, !llvm.loop !6
54: ; preds = %36
%55 = load i32, ptr %8, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load double, ptr %4, align 8
%59 = fneg double %58
br label %62
60: ; preds = %54
%61 = load double, ptr %4, align 8
br label %62
62: ; preds = %60, %57
%63 = phi double [ %59, %57 ], [ %61, %60 ]
store double %63, ptr %3, align 8
br label %64
64: ; preds = %62, %13
%65 = load double, ptr %3, align 8
ret double %65
}
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @ldexp(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpasr0a9j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EDOM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @fmod(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%11 = load double, ptr %5, align 8
%12 = fcmp oeq double %11, 0.000000e+00
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr @EDOM, align 4
store i32 %14, ptr @errno, align 4
store double 0.000000e+00, ptr %3, align 8
br label %65
15: ; preds = %2
%16 = load double, ptr %5, align 8
%17 = fcmp olt double %16, 0.000000e+00
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load double, ptr %5, align 8
%20 = fneg double %19
store double %20, ptr %5, align 8
br label %21
21: ; preds = %18, %15
%22 = load double, ptr %4, align 8
%23 = fcmp olt double %22, 0.000000e+00
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load double, ptr %4, align 8
%26 = fneg double %25
store double %26, ptr %4, align 8
store i32 1, ptr %8, align 4
br label %28
27: ; preds = %21
store i32 0, ptr %8, align 4
br label %28
28: ; preds = %27, %24
%29 = load double, ptr %5, align 8
%30 = call double @frexp(double noundef %29, ptr noundef %9) #2
store double %30, ptr %6, align 8
%31 = load double, ptr %4, align 8
%32 = call double @frexp(double noundef %31, ptr noundef %10) #2
store double %32, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = sub nsw i32 %33, %34
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp sle i32 0, %36
br i1 %37, label %.lr.ph, label %55
.lr.ph: ; preds = %28
br label %38
38: ; preds = %.lr.ph, %50
%39 = load double, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = call double @ldexp(double noundef %39, i32 noundef %40) #2
store double %41, ptr %6, align 8
%42 = load double, ptr %6, align 8
%43 = load double, ptr %4, align 8
%44 = fcmp ole double %42, %43
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load double, ptr %6, align 8
%47 = load double, ptr %4, align 8
%48 = fsub double %47, %46
store double %48, ptr %4, align 8
br label %49
49: ; preds = %45, %38
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp sle i32 0, %53
br i1 %54, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %28
%56 = load i32, ptr %8, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load double, ptr %4, align 8
%60 = fneg double %59
br label %63
61: ; preds = %55
%62 = load double, ptr %4, align 8
br label %63
63: ; preds = %61, %58
%64 = phi double [ %60, %58 ], [ %62, %61 ]
store double %64, ptr %3, align 8
br label %65
65: ; preds = %63, %13
%66 = load double, ptr %3, align 8
ret double %66
}
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @ldexp(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa3_84xo7.c'
source_filename = "/tmp/tmpa3_84xo7.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"minfind: illegal option %c\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Usage: minfind [-x] [-n] pattern [file ...]\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"minfind: cannot open %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %45, %2
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br label %23
23: ; preds = %15, %11
%24 = phi i1 [ false, %11 ], [ %22, %15 ]
br i1 %24, label %25, label %46
25: ; preds = %23
br label %26
26: ; preds = %44, %25
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %28, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
store i32 %32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %45
34: ; preds = %26
%35 = load i32, ptr %7, align 4
switch i32 %35, label %38 [
i32 120, label %36
i32 110, label %37
]
36: ; preds = %34
store i32 1, ptr %8, align 4
br label %44
37: ; preds = %34
store i32 1, ptr %9, align 4
br label %44
38: ; preds = %34
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str, i32 noundef %40)
%42 = load i32, ptr @EXIT_FAILURE, align 4
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; preds = %37, %36
br label %26, !llvm.loop !6
45: ; preds = %26
br label %11, !llvm.loop !8
46: ; preds = %23
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %47, 1
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load i32, ptr @stderr, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.1)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; preds = %46
%55 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%56 = load ptr, ptr %5, align 8
%57 = load ptr, ptr %56, align 8
%58 = call i32 @strcpy(ptr noundef %55, ptr noundef %57)
%59 = load i32, ptr %4, align 4
%60 = icmp eq i32 %59, 1
br i1 %60, label %61, label %69
61: ; preds = %54
%62 = load ptr, ptr @stdin, align 8
%63 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %9, align 4
%66 = call i32 @findpat(ptr noundef %62, ptr noundef @.str.2, ptr noundef %63, i32 noundef %64, i32 noundef %65)
%67 = load i32, ptr @EXIT_SUCCESS, align 4
%68 = call i32 @exit(i32 noundef %67) #3
unreachable
69: ; preds = %54
br label %70
70: ; preds = %87, %69
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %4, align 4
%73 = icmp sgt i32 %72, 0
br i1 %73, label %74, label %97
74: ; preds = %70
%75 = load ptr, ptr %5, align 8
%76 = getelementptr inbounds ptr, ptr %75, i32 1
store ptr %76, ptr %5, align 8
%77 = load ptr, ptr %76, align 8
%78 = call ptr @fopen(ptr noundef %77, ptr noundef @.str.3)
store ptr %78, ptr %10, align 8
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %87
80: ; preds = %74
%81 = load i32, ptr @stderr, align 4
%82 = load ptr, ptr %5, align 8
%83 = load ptr, ptr %82, align 8
%84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.4, ptr noundef %83)
%85 = load i32, ptr @EXIT_FAILURE, align 4
%86 = call i32 @exit(i32 noundef %85) #3
unreachable
87: ; preds = %74
%88 = load ptr, ptr %10, align 8
%89 = load ptr, ptr %5, align 8
%90 = load ptr, ptr %89, align 8
%91 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %9, align 4
%94 = call i32 @findpat(ptr noundef %88, ptr noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93)
%95 = load ptr, ptr %10, align 8
%96 = call i32 @fclose(ptr noundef %95)
br label %70, !llvm.loop !9
97: ; preds = %70
%98 = load i32, ptr @EXIT_SUCCESS, align 4
%99 = call i32 @exit(i32 noundef %98) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @findpat(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa3_84xo7.c"
target datalayout = "e-m:e-p270: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 [28 x i8] c"minfind: illegal option %c\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Usage: minfind [-x] [-n] pattern [file ...]\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"minfind: cannot open %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %50, %2
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br label %23
23: ; preds = %15, %11
%24 = phi i1 [ false, %11 ], [ %22, %15 ]
br i1 %24, label %25, label %51
25: ; preds = %23
%26 = load ptr, ptr %5, align 8
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %26, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
store i32 %30, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %.lr.ph, label %50
.lr.ph: ; preds = %25
br label %32
32: ; preds = %.lr.ph, %42
%33 = load i32, ptr %7, align 4
switch i32 %33, label %36 [
i32 120, label %34
i32 110, label %35
]
34: ; preds = %32
store i32 1, ptr %8, align 4
br label %42
35: ; preds = %32
store i32 1, ptr %9, align 4
br label %42
36: ; preds = %32
%37 = load i32, ptr @stderr, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, i32 noundef %38)
%40 = load i32, ptr @EXIT_FAILURE, align 4
%41 = call i32 @exit(i32 noundef %40) #3
unreachable
42: ; preds = %35, %34
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 0
%45 = load ptr, ptr %44, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %44, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
store i32 %48, ptr %7, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %50
50: ; preds = %._crit_edge, %25
br label %11, !llvm.loop !8
51: ; preds = %23
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %52, 1
br i1 %53, label %54, label %59
54: ; preds = %51
%55 = load i32, ptr @stderr, align 4
%56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.1)
%57 = load i32, ptr @EXIT_FAILURE, align 4
%58 = call i32 @exit(i32 noundef %57) #3
unreachable
59: ; preds = %51
%60 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = load ptr, ptr %61, align 8
%63 = call i32 @strcpy(ptr noundef %60, ptr noundef %62)
%64 = load i32, ptr %4, align 4
%65 = icmp eq i32 %64, 1
br i1 %65, label %66, label %74
66: ; preds = %59
%67 = load ptr, ptr @stdin, align 8
%68 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %9, align 4
%71 = call i32 @findpat(ptr noundef %67, ptr noundef @.str.2, ptr noundef %68, i32 noundef %69, i32 noundef %70)
%72 = load i32, ptr @EXIT_SUCCESS, align 4
%73 = call i32 @exit(i32 noundef %72) #3
unreachable
74: ; preds = %59
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, -1
store i32 %76, ptr %4, align 4
%77 = icmp sgt i32 %76, 0
br i1 %77, label %.lr.ph2, label %104
.lr.ph2: ; preds = %74
br label %78
78: ; preds = %.lr.ph2, %91
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds ptr, ptr %79, i32 1
store ptr %80, ptr %5, align 8
%81 = load ptr, ptr %80, align 8
%82 = call ptr @fopen(ptr noundef %81, ptr noundef @.str.3)
store ptr %82, ptr %10, align 8
%83 = icmp eq ptr %82, null
br i1 %83, label %84, label %91
84: ; preds = %78
%85 = load i32, ptr @stderr, align 4
%86 = load ptr, ptr %5, align 8
%87 = load ptr, ptr %86, align 8
%88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %85, ptr noundef @.str.4, ptr noundef %87)
%89 = load i32, ptr @EXIT_FAILURE, align 4
%90 = call i32 @exit(i32 noundef %89) #3
unreachable
91: ; preds = %78
%92 = load ptr, ptr %10, align 8
%93 = load ptr, ptr %5, align 8
%94 = load ptr, ptr %93, align 8
%95 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0
%96 = load i32, ptr %8, align 4
%97 = load i32, ptr %9, align 4
%98 = call i32 @findpat(ptr noundef %92, ptr noundef %94, ptr noundef %95, i32 noundef %96, i32 noundef %97)
%99 = load ptr, ptr %10, align 8
%100 = call i32 @fclose(ptr noundef %99)
%101 = load i32, ptr %4, align 4
%102 = add nsw i32 %101, -1
store i32 %102, ptr %4, align 4
%103 = icmp sgt i32 %102, 0
br i1 %103, label %78, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %91
br label %104
104: ; preds = %._crit_edge3, %74
%105 = load i32, ptr @EXIT_SUCCESS, align 4
%106 = call i32 @exit(i32 noundef %105) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @findpat(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fopen(ptr 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpvry5mosr.c'
source_filename = "/tmp/tmpvry5mosr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%3 = alloca [30 x i8], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %9, %0
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = load i8, ptr %2, align 1
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %13
store i8 %10, ptr %14, align 1
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %17
store i8 0, ptr %18, align 1
%19 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%20 = call i32 @puts(ptr noundef %19)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @puts(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/tmpvry5mosr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%3 = alloca [30 x i8], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 10
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i8, ptr %2, align 1
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %12
store i8 %9, ptr %13, align 1
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 %19
store i8 0, ptr %20, align 1
%21 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @puts(ptr noundef %21)
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @puts(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/tmpnu9fgedm.c'
source_filename = "/tmp/tmpnu9fgedm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binsearch7(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
store i64 %15, ptr %10, align 8
br label %16
16: ; preds = %42, %3
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %43
20: ; preds = %16
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %21, %22
%24 = sdiv i32 %23, 2
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %24, %25
%27 = sext i32 %26 to i64
store i64 %27, ptr %10, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %10, align 8
%30 = getelementptr inbounds i32, ptr %28, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %20
%35 = load i64, ptr %10, align 8
%36 = add i64 %35, 1
%37 = trunc i64 %36 to i32
store i32 %37, ptr %8, align 4
br label %42
38: ; preds = %20
%39 = load i64, ptr %10, align 8
%40 = sub i64 %39, 1
%41 = trunc i64 %40 to i32
store i32 %41, ptr %9, align 4
br label %42
42: ; preds = %38, %34
br label %16, !llvm.loop !6
43: ; preds = %16
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp eq i32 %44, %45
br i1 %46, label %47, label %57
47: ; preds = %43
%48 = load ptr, ptr %5, align 8
%49 = load i64, ptr %10, align 8
%50 = getelementptr inbounds i32, ptr %48, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %57
54: ; preds = %47
%55 = load i64, ptr %10, align 8
%56 = trunc i64 %55 to i32
store i32 %56, ptr %4, align 4
br label %58
57: ; preds = %47, %43
store i32 -1, ptr %4, align 4
br label %58
58: ; preds = %57, %54
%59 = load i32, ptr %4, align 4
ret i32 %59
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnu9fgedm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binsearch7(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
store i64 %15, ptr %10, align 8
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %41
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %20, %21
%23 = sdiv i32 %22, 2
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %23, %24
%26 = sext i32 %25 to i64
store i64 %26, ptr %10, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr %10, align 8
%29 = getelementptr inbounds i32, ptr %27, i64 %28
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %37
33: ; preds = %19
%34 = load i64, ptr %10, align 8
%35 = add i64 %34, 1
%36 = trunc i64 %35 to i32
store i32 %36, ptr %8, align 4
br label %41
37: ; preds = %19
%38 = load i64, ptr %10, align 8
%39 = sub i64 %38, 1
%40 = trunc i64 %39 to i32
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %37, %33
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %45
45: ; preds = %._crit_edge, %3
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr %10, align 8
%52 = getelementptr inbounds i32, ptr %50, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %7, align 4
%55 = icmp eq i32 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %49
%57 = load i64, ptr %10, align 8
%58 = trunc i64 %57 to i32
store i32 %58, ptr %4, align 4
br label %60
59: ; preds = %49, %45
store i32 -1, ptr %4, align 4
br label %60
60: ; preds = %59, %56
%61 = load i32, ptr %4, align 4
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmph0ims101.c'
source_filename = "/tmp/tmph0ims101.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.utmp = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.utsname = type { ptr }
%struct.timeval = type { i32 }
@WTMP_FILE = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_wtmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca %struct.utmp, align 4
%13 = alloca %struct.utsname, align 8
%14 = alloca %struct.timeval, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr @WTMP_FILE, align 4
%16 = load i32, ptr @W_OK, align 4
%17 = call i64 @access(i32 noundef %15, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %5
br label %61
20: ; preds = %5
%21 = load i32, ptr @WTMP_FILE, align 4
%22 = load i32, ptr @O_WRONLY, align 4
%23 = load i32, ptr @O_APPEND, align 4
%24 = or i32 %22, %23
%25 = call i32 @open(i32 noundef %21, i32 noundef %24)
store i32 %25, ptr %11, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %20
br label %61
28: ; preds = %20
%29 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 28)
%30 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 6
%31 = call i32 @time(ptr noundef %30)
%32 = load i32, ptr %8, align 4
%33 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 0
store i32 %32, ptr %33, align 4
%34 = load i32, ptr %9, align 4
%35 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 1
store i32 %34, ptr %35, align 4
%36 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 5
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %6, align 8
%39 = call i32 @strncpy(i32 noundef %37, ptr noundef %38, i32 noundef 4)
%40 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 4
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %7, align 8
%43 = call i32 @strncpy(i32 noundef %41, ptr noundef %42, i32 noundef 4)
%44 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 3
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %10, align 8
%47 = call i32 @strncpy(i32 noundef %45, ptr noundef %46, i32 noundef 4)
%48 = call i64 @uname(ptr noundef %13)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %56
50: ; preds = %28
%51 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 2
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds %struct.utsname, ptr %13, i32 0, i32 0
%54 = load ptr, ptr %53, align 8
%55 = call i32 @strncpy(i32 noundef %52, ptr noundef %54, i32 noundef 4)
br label %56
56: ; preds = %50, %28
%57 = load i32, ptr %11, align 4
%58 = call i32 @write(i32 noundef %57, ptr noundef %12, i32 noundef 28)
%59 = load i32, ptr %11, align 4
%60 = call i32 @close(i32 noundef %59)
br label %61
61: ; preds = %56, %27, %19
ret void
}
declare i64 @access(i32 noundef, i32 noundef) #1
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @uname(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph0ims101.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.utmp = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.utsname = type { ptr }
%struct.timeval = type { i32 }
@WTMP_FILE = dso_local global i32 0, align 4
@W_OK = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_wtmp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca %struct.utmp, align 4
%13 = alloca %struct.utsname, align 8
%14 = alloca %struct.timeval, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr @WTMP_FILE, align 4
%16 = load i32, ptr @W_OK, align 4
%17 = call i64 @access(i32 noundef %15, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %5
br label %61
20: ; preds = %5
%21 = load i32, ptr @WTMP_FILE, align 4
%22 = load i32, ptr @O_WRONLY, align 4
%23 = load i32, ptr @O_APPEND, align 4
%24 = or i32 %22, %23
%25 = call i32 @open(i32 noundef %21, i32 noundef %24)
store i32 %25, ptr %11, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %20
br label %61
28: ; preds = %20
%29 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 28)
%30 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 6
%31 = call i32 @time(ptr noundef %30)
%32 = load i32, ptr %8, align 4
%33 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 0
store i32 %32, ptr %33, align 4
%34 = load i32, ptr %9, align 4
%35 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 1
store i32 %34, ptr %35, align 4
%36 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 5
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %6, align 8
%39 = call i32 @strncpy(i32 noundef %37, ptr noundef %38, i32 noundef 4)
%40 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 4
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %7, align 8
%43 = call i32 @strncpy(i32 noundef %41, ptr noundef %42, i32 noundef 4)
%44 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 3
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %10, align 8
%47 = call i32 @strncpy(i32 noundef %45, ptr noundef %46, i32 noundef 4)
%48 = call i64 @uname(ptr noundef %13)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %56
50: ; preds = %28
%51 = getelementptr inbounds %struct.utmp, ptr %12, i32 0, i32 2
%52 = load i32, ptr %51, align 4
%53 = getelementptr inbounds %struct.utsname, ptr %13, i32 0, i32 0
%54 = load ptr, ptr %53, align 8
%55 = call i32 @strncpy(i32 noundef %52, ptr noundef %54, i32 noundef 4)
br label %56
56: ; preds = %50, %28
%57 = load i32, ptr %11, align 4
%58 = call i32 @write(i32 noundef %57, ptr noundef %12, i32 noundef 28)
%59 = load i32, ptr %11, align 4
%60 = call i32 @close(i32 noundef %59)
br label %61
61: ; preds = %56, %27, %19
ret void
}
declare i64 @access(i32 noundef, i32 noundef) #1
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @uname(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplv5nqlcf.c'
source_filename = "/tmp/tmplv5nqlcf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @francisQR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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 float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%22 = call i64 @malloc(i32 noundef 12)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %17, align 8
%24 = call i64 @malloc(i32 noundef 12)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %18, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 12, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %19, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = mul i64 4, %33
%35 = trunc i64 %34 to i32
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %20, align 8
%38 = load i32, ptr %4, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = mul nsw i32 %42, %43
store i32 %44, ptr %21, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %21, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %45, i64 %48
%50 = load float, ptr %49, align 4
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %21, align 4
%53 = load i32, ptr %4, align 4
%54 = sub nsw i32 %52, %53
%55 = sub nsw i32 %54, 2
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %51, i64 %56
%58 = load float, ptr %57, align 4
%59 = fadd float %50, %58
store float %59, ptr %14, align 4
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %21, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %60, i64 %63
%65 = load float, ptr %64, align 4
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %21, align 4
%68 = load i32, ptr %4, align 4
%69 = sub nsw i32 %67, %68
%70 = sub nsw i32 %69, 2
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %66, i64 %71
%73 = load float, ptr %72, align 4
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %21, align 4
%76 = sub nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %74, i64 %77
%79 = load float, ptr %78, align 4
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %21, align 4
%82 = load i32, ptr %4, align 4
%83 = sub nsw i32 %81, %82
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %80, i64 %85
%87 = load float, ptr %86, align 4
%88 = fmul float %79, %87
%89 = fneg float %88
%90 = call float @llvm.fmuladd.f32(float %65, float %73, float %89)
store float %90, ptr %15, align 4
%91 = load ptr, ptr %3, align 8
%92 = getelementptr inbounds float, ptr %91, i64 0
%93 = load float, ptr %92, align 4
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds float, ptr %94, i64 0
%96 = load float, ptr %95, align 4
%97 = load ptr, ptr %3, align 8
%98 = getelementptr inbounds float, ptr %97, i64 1
%99 = load float, ptr %98, align 4
%100 = load ptr, ptr %3, align 8
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
%104 = load float, ptr %103, align 4
%105 = fmul float %99, %104
%106 = call float @llvm.fmuladd.f32(float %93, float %96, float %105)
%107 = load float, ptr %14, align 4
%108 = load ptr, ptr %3, align 8
%109 = getelementptr inbounds float, ptr %108, i64 0
%110 = load float, ptr %109, align 4
%111 = fneg float %107
%112 = call float @llvm.fmuladd.f32(float %111, float %110, float %106)
%113 = load float, ptr %15, align 4
%114 = fadd float %112, %113
%115 = load ptr, ptr %17, align 8
%116 = getelementptr inbounds float, ptr %115, i64 0
store float %114, ptr %116, align 4
%117 = load ptr, ptr %3, align 8
%118 = load i32, ptr %4, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, ptr %117, i64 %119
%121 = load float, ptr %120, align 4
%122 = load ptr, ptr %3, align 8
%123 = getelementptr inbounds float, ptr %122, i64 0
%124 = load float, ptr %123, align 4
%125 = load ptr, ptr %3, align 8
%126 = load i32, ptr %4, align 4
%127 = add nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds float, ptr %125, i64 %128
%130 = load float, ptr %129, align 4
%131 = fadd float %124, %130
%132 = load float, ptr %14, align 4
%133 = fsub float %131, %132
%134 = fmul float %121, %133
%135 = load ptr, ptr %17, align 8
%136 = getelementptr inbounds float, ptr %135, i64 1
store float %134, ptr %136, align 4
%137 = load ptr, ptr %3, align 8
%138 = load i32, ptr %4, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, ptr %137, i64 %139
%141 = load float, ptr %140, align 4
%142 = load ptr, ptr %3, align 8
%143 = load i32, ptr %4, align 4
%144 = load i32, ptr %4, align 4
%145 = add nsw i32 %143, %144
%146 = add nsw i32 %145, 1
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds float, ptr %142, i64 %147
%149 = load float, ptr %148, align 4
%150 = fmul float %141, %149
%151 = load ptr, ptr %17, align 8
%152 = getelementptr inbounds float, ptr %151, i64 2
store float %150, ptr %152, align 4
%153 = load i32, ptr %4, align 4
%154 = icmp sle i32 %153, 2
br i1 %154, label %155, label %156
155: ; preds = %2
br label %654
156: ; preds = %2
store i32 -1, ptr %7, align 4
br label %157
157: ; preds = %440, %156
%158 = load i32, ptr %7, align 4
%159 = load i32, ptr %4, align 4
%160 = sub nsw i32 %159, 3
%161 = icmp slt i32 %158, %160
br i1 %161, label %162, label %443
162: ; preds = %157
%163 = load ptr, ptr %17, align 8
%164 = load ptr, ptr %18, align 8
%165 = call float @house(ptr noundef %163, i32 noundef 3, ptr noundef %164)
store float %165, ptr %16, align 4
%166 = load i32, ptr %7, align 4
%167 = icmp sgt i32 %166, 0
br i1 %167, label %168, label %170
168: ; preds = %162
%169 = load i32, ptr %7, align 4
store i32 %169, ptr %8, align 4
br label %171
170: ; preds = %162
store i32 0, ptr %8, align 4
br label %171
171: ; preds = %170, %168
%172 = load i32, ptr %7, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %12, align 4
br label %174
174: ; preds = %211, %171
%175 = load i32, ptr %12, align 4
%176 = load i32, ptr %7, align 4
%177 = add nsw i32 %176, 4
%178 = icmp slt i32 %175, %177
br i1 %178, label %179, label %214
179: ; preds = %174
%180 = load i32, ptr %12, align 4
%181 = load i32, ptr %4, align 4
%182 = mul nsw i32 %180, %181
store i32 %182, ptr %10, align 4
store i32 0, ptr %11, align 4
%183 = load i32, ptr %8, align 4
store i32 %183, ptr %13, align 4
br label %184
184: ; preds = %207, %179
%185 = load i32, ptr %13, align 4
%186 = load i32, ptr %4, align 4
%187 = icmp slt i32 %185, %186
br i1 %187, label %188, label %210
188: ; preds = %184
%189 = load ptr, ptr %3, align 8
%190 = load i32, ptr %13, align 4
%191 = load i32, ptr %10, align 4
%192 = add nsw i32 %190, %191
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, ptr %189, i64 %193
%195 = load float, ptr %194, align 4
%196 = load ptr, ptr %19, align 8
%197 = load i32, ptr %11, align 4
%198 = load i32, ptr %12, align 4
%199 = add nsw i32 %197, %198
%200 = load i32, ptr %7, align 4
%201 = sub nsw i32 %199, %200
%202 = sub nsw i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds float, ptr %196, i64 %203
store float %195, ptr %204, align 4
%205 = load i32, ptr %11, align 4
%206 = add nsw i32 %205, 3
store i32 %206, ptr %11, align 4
br label %207
207: ; preds = %188
%208 = load i32, ptr %13, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %13, align 4
br label %184, !llvm.loop !6
210: ; preds = %184
br label %211
211: ; preds = %210
%212 = load i32, ptr %12, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %12, align 4
br label %174, !llvm.loop !8
214: ; preds = %174
%215 = load ptr, ptr %19, align 8
%216 = load ptr, ptr %18, align 8
%217 = load ptr, ptr %20, align 8
%218 = load i32, ptr %4, align 4
%219 = load i32, ptr %8, align 4
%220 = sub nsw i32 %218, %219
%221 = call i32 @mmult(ptr noundef %215, ptr noundef %216, ptr noundef %217, i32 noundef %220, i32 noundef 3, i32 noundef 1)
%222 = load ptr, ptr %20, align 8
%223 = load i32, ptr %4, align 4
%224 = load i32, ptr %8, align 4
%225 = sub nsw i32 %223, %224
%226 = load float, ptr %16, align 4
%227 = call i32 @scale(ptr noundef %222, i32 noundef %225, i32 noundef 1, float noundef %226)
%228 = load ptr, ptr %18, align 8
%229 = load ptr, ptr %20, align 8
%230 = load ptr, ptr %19, align 8
%231 = load i32, ptr %4, align 4
%232 = load i32, ptr %8, align 4
%233 = sub nsw i32 %231, %232
%234 = call i32 @mmult(ptr noundef %228, ptr noundef %229, ptr noundef %230, i32 noundef 3, i32 noundef 1, i32 noundef %233)
%235 = load i32, ptr %7, align 4
%236 = add nsw i32 %235, 1
store i32 %236, ptr %12, align 4
br label %237
237: ; preds = %280, %214
%238 = load i32, ptr %12, align 4
%239 = load i32, ptr %7, align 4
%240 = add nsw i32 %239, 4
%241 = icmp slt i32 %238, %240
br i1 %241, label %242, label %283
242: ; preds = %237
%243 = load i32, ptr %12, align 4
%244 = load i32, ptr %4, align 4
%245 = mul nsw i32 %243, %244
store i32 %245, ptr %10, align 4
%246 = load i32, ptr %8, align 4
store i32 %246, ptr %13, align 4
br label %247
247: ; preds = %276, %242
%248 = load i32, ptr %13, align 4
%249 = load i32, ptr %4, align 4
%250 = icmp slt i32 %248, %249
br i1 %250, label %251, label %279
251: ; preds = %247
%252 = load ptr, ptr %19, align 8
%253 = load i32, ptr %12, align 4
%254 = load i32, ptr %7, align 4
%255 = sub nsw i32 %253, %254
%256 = sub nsw i32 %255, 1
%257 = load i32, ptr %4, align 4
%258 = load i32, ptr %8, align 4
%259 = sub nsw i32 %257, %258
%260 = mul nsw i32 %256, %259
%261 = load i32, ptr %13, align 4
%262 = add nsw i32 %260, %261
%263 = load i32, ptr %8, align 4
%264 = sub nsw i32 %262, %263
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds float, ptr %252, i64 %265
%267 = load float, ptr %266, align 4
%268 = load ptr, ptr %3, align 8
%269 = load i32, ptr %10, align 4
%270 = load i32, ptr %13, align 4
%271 = add nsw i32 %269, %270
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds float, ptr %268, i64 %272
%274 = load float, ptr %273, align 4
%275 = fsub float %274, %267
store float %275, ptr %273, align 4
br label %276
276: ; preds = %251
%277 = load i32, ptr %13, align 4
%278 = add nsw i32 %277, 1
store i32 %278, ptr %13, align 4
br label %247, !llvm.loop !9
279: ; preds = %247
br label %280
280: ; preds = %279
%281 = load i32, ptr %12, align 4
%282 = add nsw i32 %281, 1
store i32 %282, ptr %12, align 4
br label %237, !llvm.loop !10
283: ; preds = %237
%284 = load i32, ptr %7, align 4
%285 = add nsw i32 %284, 4
%286 = load i32, ptr %6, align 4
%287 = icmp sge i32 %285, %286
br i1 %287, label %288, label %290
288: ; preds = %283
%289 = load i32, ptr %4, align 4
store i32 %289, ptr %9, align 4
br label %294
290: ; preds = %283
%291 = load i32, ptr %7, align 4
%292 = add nsw i32 %291, 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %9, align 4
br label %294
294: ; preds = %290, %288
store i32 0, ptr %12, align 4
br label %295
295: ; preds = %333, %294
%296 = load i32, ptr %12, align 4
%297 = load i32, ptr %9, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %299, label %336
299: ; preds = %295
%300 = load i32, ptr %12, align 4
%301 = load i32, ptr %4, align 4
%302 = mul nsw i32 %300, %301
store i32 %302, ptr %10, align 4
%303 = load i32, ptr %12, align 4
%304 = mul nsw i32 %303, 3
store i32 %304, ptr %11, align 4
%305 = load i32, ptr %7, align 4
%306 = add nsw i32 %305, 1
store i32 %306, ptr %13, align 4
br label %307
307: ; preds = %329, %299
%308 = load i32, ptr %13, align 4
%309 = load i32, ptr %7, align 4
%310 = add nsw i32 %309, 4
%311 = icmp slt i32 %308, %310
br i1 %311, label %312, label %332
312: ; preds = %307
%313 = load ptr, ptr %3, align 8
%314 = load i32, ptr %10, align 4
%315 = load i32, ptr %13, align 4
%316 = add nsw i32 %314, %315
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds float, ptr %313, i64 %317
%319 = load float, ptr %318, align 4
%320 = load ptr, ptr %19, align 8
%321 = load i32, ptr %11, align 4
%322 = load i32, ptr %13, align 4
%323 = add nsw i32 %321, %322
%324 = load i32, ptr %7, align 4
%325 = sub nsw i32 %323, %324
%326 = sub nsw i32 %325, 1
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds float, ptr %320, i64 %327
store float %319, ptr %328, align 4
br label %329
329: ; preds = %312
%330 = load i32, ptr %13, align 4
%331 = add nsw i32 %330, 1
store i32 %331, ptr %13, align 4
br label %307, !llvm.loop !11
332: ; preds = %307
br label %333
333: ; preds = %332
%334 = load i32, ptr %12, align 4
%335 = add nsw i32 %334, 1
store i32 %335, ptr %12, align 4
br label %295, !llvm.loop !12
336: ; preds = %295
%337 = load ptr, ptr %19, align 8
%338 = load ptr, ptr %18, align 8
%339 = load ptr, ptr %20, align 8
%340 = load i32, ptr %9, align 4
%341 = call i32 @mmult(ptr noundef %337, ptr noundef %338, ptr noundef %339, i32 noundef %340, i32 noundef 3, i32 noundef 1)
%342 = load ptr, ptr %20, align 8
%343 = load i32, ptr %9, align 4
%344 = load float, ptr %16, align 4
%345 = call i32 @scale(ptr noundef %342, i32 noundef %343, i32 noundef 1, float noundef %344)
%346 = load ptr, ptr %20, align 8
%347 = load ptr, ptr %18, align 8
%348 = load ptr, ptr %19, align 8
%349 = load i32, ptr %9, align 4
%350 = call i32 @mmult(ptr noundef %346, ptr noundef %347, ptr noundef %348, i32 noundef %349, i32 noundef 1, i32 noundef 3)
store i32 0, ptr %12, align 4
br label %351
351: ; preds = %391, %336
%352 = load i32, ptr %12, align 4
%353 = load i32, ptr %9, align 4
%354 = icmp slt i32 %352, %353
br i1 %354, label %355, label %394
355: ; preds = %351
%356 = load i32, ptr %12, align 4
%357 = load i32, ptr %4, align 4
%358 = mul nsw i32 %356, %357
store i32 %358, ptr %10, align 4
%359 = load i32, ptr %12, align 4
%360 = mul nsw i32 %359, 3
store i32 %360, ptr %11, align 4
%361 = load i32, ptr %7, align 4
%362 = add nsw i32 %361, 1
store i32 %362, ptr %13, align 4
br label %363
363: ; preds = %387, %355
%364 = load i32, ptr %13, align 4
%365 = load i32, ptr %7, align 4
%366 = add nsw i32 %365, 4
%367 = icmp slt i32 %364, %366
br i1 %367, label %368, label %390
368: ; preds = %363
%369 = load ptr, ptr %19, align 8
%370 = load i32, ptr %11, align 4
%371 = load i32, ptr %13, align 4
%372 = add nsw i32 %370, %371
%373 = load i32, ptr %7, align 4
%374 = sub nsw i32 %372, %373
%375 = sub nsw i32 %374, 1
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds float, ptr %369, i64 %376
%378 = load float, ptr %377, align 4
%379 = load ptr, ptr %3, align 8
%380 = load i32, ptr %10, align 4
%381 = load i32, ptr %13, align 4
%382 = add nsw i32 %380, %381
%383 = sext i32 %382 to i64
%384 = getelementptr inbounds float, ptr %379, i64 %383
%385 = load float, ptr %384, align 4
%386 = fsub float %385, %378
store float %386, ptr %384, align 4
br label %387
387: ; preds = %368
%388 = load i32, ptr %13, align 4
%389 = add nsw i32 %388, 1
store i32 %389, ptr %13, align 4
br label %363, !llvm.loop !13
390: ; preds = %363
br label %391
391: ; preds = %390
%392 = load i32, ptr %12, align 4
%393 = add nsw i32 %392, 1
store i32 %393, ptr %12, align 4
br label %351, !llvm.loop !14
394: ; preds = %351
%395 = load ptr, ptr %3, align 8
%396 = load i32, ptr %4, align 4
%397 = load i32, ptr %7, align 4
%398 = add nsw i32 %397, 2
%399 = mul nsw i32 %396, %398
%400 = load i32, ptr %7, align 4
%401 = add nsw i32 %399, %400
%402 = add nsw i32 %401, 1
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds float, ptr %395, i64 %403
%405 = load float, ptr %404, align 4
%406 = load ptr, ptr %17, align 8
%407 = getelementptr inbounds float, ptr %406, i64 0
store float %405, ptr %407, align 4
%408 = load ptr, ptr %3, align 8
%409 = load i32, ptr %4, align 4
%410 = load i32, ptr %7, align 4
%411 = add nsw i32 %410, 3
%412 = mul nsw i32 %409, %411
%413 = load i32, ptr %7, align 4
%414 = add nsw i32 %412, %413
%415 = add nsw i32 %414, 1
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds float, ptr %408, i64 %416
%418 = load float, ptr %417, align 4
%419 = load ptr, ptr %17, align 8
%420 = getelementptr inbounds float, ptr %419, i64 1
store float %418, ptr %420, align 4
%421 = load i32, ptr %7, align 4
%422 = load i32, ptr %6, align 4
%423 = sub nsw i32 %422, 3
%424 = icmp slt i32 %421, %423
br i1 %424, label %425, label %439
425: ; preds = %394
%426 = load ptr, ptr %3, align 8
%427 = load i32, ptr %4, align 4
%428 = load i32, ptr %7, align 4
%429 = add nsw i32 %428, 4
%430 = mul nsw i32 %427, %429
%431 = load i32, ptr %7, align 4
%432 = add nsw i32 %430, %431
%433 = add nsw i32 %432, 1
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds float, ptr %426, i64 %434
%436 = load float, ptr %435, align 4
%437 = load ptr, ptr %17, align 8
%438 = getelementptr inbounds float, ptr %437, i64 2
store float %436, ptr %438, align 4
br label %439
439: ; preds = %425, %394
br label %440
440: ; preds = %439
%441 = load i32, ptr %7, align 4
%442 = add nsw i32 %441, 1
store i32 %442, ptr %7, align 4
br label %157, !llvm.loop !15
443: ; preds = %157
%444 = load ptr, ptr %17, align 8
%445 = load ptr, ptr %18, align 8
%446 = call float @house(ptr noundef %444, i32 noundef 2, ptr noundef %445)
store float %446, ptr %16, align 4
%447 = load i32, ptr %6, align 4
%448 = sub nsw i32 %447, 1
store i32 %448, ptr %12, align 4
br label %449
449: ; preds = %486, %443
%450 = load i32, ptr %12, align 4
%451 = load i32, ptr %4, align 4
%452 = icmp slt i32 %450, %451
br i1 %452, label %453, label %489
453: ; preds = %449
%454 = load i32, ptr %12, align 4
%455 = load i32, ptr %4, align 4
%456 = mul nsw i32 %454, %455
store i32 %456, ptr %10, align 4
store i32 0, ptr %11, align 4
%457 = load i32, ptr %6, align 4
%458 = sub nsw i32 %457, 2
store i32 %458, ptr %13, align 4
br label %459
459: ; preds = %482, %453
%460 = load i32, ptr %13, align 4
%461 = load i32, ptr %4, align 4
%462 = icmp slt i32 %460, %461
br i1 %462, label %463, label %485
463: ; preds = %459
%464 = load ptr, ptr %3, align 8
%465 = load i32, ptr %13, align 4
%466 = load i32, ptr %10, align 4
%467 = add nsw i32 %465, %466
%468 = sext i32 %467 to i64
%469 = getelementptr inbounds float, ptr %464, i64 %468
%470 = load float, ptr %469, align 4
%471 = load ptr, ptr %19, align 8
%472 = load i32, ptr %11, align 4
%473 = load i32, ptr %12, align 4
%474 = add nsw i32 %472, %473
%475 = load i32, ptr %6, align 4
%476 = sub nsw i32 %474, %475
%477 = add nsw i32 %476, 1
%478 = sext i32 %477 to i64
%479 = getelementptr inbounds float, ptr %471, i64 %478
store float %470, ptr %479, align 4
%480 = load i32, ptr %11, align 4
%481 = add nsw i32 %480, 2
store i32 %481, ptr %11, align 4
br label %482
482: ; preds = %463
%483 = load i32, ptr %13, align 4
%484 = add nsw i32 %483, 1
store i32 %484, ptr %13, align 4
br label %459, !llvm.loop !16
485: ; preds = %459
br label %486
486: ; preds = %485
%487 = load i32, ptr %12, align 4
%488 = add nsw i32 %487, 1
store i32 %488, ptr %12, align 4
br label %449, !llvm.loop !17
489: ; preds = %449
%490 = load ptr, ptr %19, align 8
%491 = load ptr, ptr %18, align 8
%492 = load ptr, ptr %20, align 8
%493 = call i32 @mmult(ptr noundef %490, ptr noundef %491, ptr noundef %492, i32 noundef 3, i32 noundef 2, i32 noundef 1)
%494 = load ptr, ptr %20, align 8
%495 = load float, ptr %16, align 4
%496 = call i32 @scale(ptr noundef %494, i32 noundef 3, i32 noundef 1, float noundef %495)
%497 = load ptr, ptr %18, align 8
%498 = load ptr, ptr %20, align 8
%499 = load ptr, ptr %19, align 8
%500 = call i32 @mmult(ptr noundef %497, ptr noundef %498, ptr noundef %499, i32 noundef 2, i32 noundef 1, i32 noundef 3)
%501 = load i32, ptr %6, align 4
%502 = sub nsw i32 %501, 1
store i32 %502, ptr %12, align 4
br label %503
503: ; preds = %544, %489
%504 = load i32, ptr %12, align 4
%505 = load i32, ptr %4, align 4
%506 = icmp slt i32 %504, %505
br i1 %506, label %507, label %547
507: ; preds = %503
%508 = load i32, ptr %12, align 4
%509 = load i32, ptr %4, align 4
%510 = mul nsw i32 %508, %509
store i32 %510, ptr %10, align 4
%511 = load i32, ptr %6, align 4
%512 = sub nsw i32 %511, 2
store i32 %512, ptr %13, align 4
br label %513
513: ; preds = %540, %507
%514 = load i32, ptr %13, align 4
%515 = load i32, ptr %4, align 4
%516 = icmp slt i32 %514, %515
br i1 %516, label %517, label %543
517: ; preds = %513
%518 = load ptr, ptr %19, align 8
%519 = load i32, ptr %12, align 4
%520 = load i32, ptr %6, align 4
%521 = sub nsw i32 %519, %520
%522 = add nsw i32 %521, 1
%523 = mul nsw i32 %522, 3
%524 = load i32, ptr %13, align 4
%525 = add nsw i32 %523, %524
%526 = load i32, ptr %6, align 4
%527 = sub nsw i32 %525, %526
%528 = add nsw i32 %527, 2
%529 = sext i32 %528 to i64
%530 = getelementptr inbounds float, ptr %518, i64 %529
%531 = load float, ptr %530, align 4
%532 = load ptr, ptr %3, align 8
%533 = load i32, ptr %10, align 4
%534 = load i32, ptr %13, align 4
%535 = add nsw i32 %533, %534
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds float, ptr %532, i64 %536
%538 = load float, ptr %537, align 4
%539 = fsub float %538, %531
store float %539, ptr %537, align 4
br label %540
540: ; preds = %517
%541 = load i32, ptr %13, align 4
%542 = add nsw i32 %541, 1
store i32 %542, ptr %13, align 4
br label %513, !llvm.loop !18
543: ; preds = %513
br label %544
544: ; preds = %543
%545 = load i32, ptr %12, align 4
%546 = add nsw i32 %545, 1
store i32 %546, ptr %12, align 4
br label %503, !llvm.loop !19
547: ; preds = %503
store i32 0, ptr %12, align 4
br label %548
548: ; preds = %585, %547
%549 = load i32, ptr %12, align 4
%550 = load i32, ptr %4, align 4
%551 = icmp slt i32 %549, %550
br i1 %551, label %552, label %588
552: ; preds = %548
%553 = load i32, ptr %12, align 4
%554 = load i32, ptr %4, align 4
%555 = mul nsw i32 %553, %554
store i32 %555, ptr %10, align 4
%556 = load i32, ptr %12, align 4
%557 = mul nsw i32 %556, 2
store i32 %557, ptr %11, align 4
%558 = load i32, ptr %6, align 4
%559 = sub nsw i32 %558, 1
store i32 %559, ptr %13, align 4
br label %560
560: ; preds = %581, %552
%561 = load i32, ptr %13, align 4
%562 = load i32, ptr %4, align 4
%563 = icmp slt i32 %561, %562
br i1 %563, label %564, label %584
564: ; preds = %560
%565 = load ptr, ptr %3, align 8
%566 = load i32, ptr %10, align 4
%567 = load i32, ptr %13, align 4
%568 = add nsw i32 %566, %567
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds float, ptr %565, i64 %569
%571 = load float, ptr %570, align 4
%572 = load ptr, ptr %19, align 8
%573 = load i32, ptr %11, align 4
%574 = load i32, ptr %13, align 4
%575 = add nsw i32 %573, %574
%576 = load i32, ptr %6, align 4
%577 = sub nsw i32 %575, %576
%578 = add nsw i32 %577, 1
%579 = sext i32 %578 to i64
%580 = getelementptr inbounds float, ptr %572, i64 %579
store float %571, ptr %580, align 4
br label %581
581: ; preds = %564
%582 = load i32, ptr %13, align 4
%583 = add nsw i32 %582, 1
store i32 %583, ptr %13, align 4
br label %560, !llvm.loop !20
584: ; preds = %560
br label %585
585: ; preds = %584
%586 = load i32, ptr %12, align 4
%587 = add nsw i32 %586, 1
store i32 %587, ptr %12, align 4
br label %548, !llvm.loop !21
588: ; preds = %548
%589 = load ptr, ptr %19, align 8
%590 = load ptr, ptr %18, align 8
%591 = load ptr, ptr %20, align 8
%592 = load i32, ptr %4, align 4
%593 = call i32 @mmult(ptr noundef %589, ptr noundef %590, ptr noundef %591, i32 noundef %592, i32 noundef 2, i32 noundef 1)
%594 = load ptr, ptr %20, align 8
%595 = load i32, ptr %4, align 4
%596 = load float, ptr %16, align 4
%597 = call i32 @scale(ptr noundef %594, i32 noundef %595, i32 noundef 1, float noundef %596)
%598 = load ptr, ptr %20, align 8
%599 = load ptr, ptr %18, align 8
%600 = load ptr, ptr %19, align 8
%601 = load i32, ptr %4, align 4
%602 = call i32 @mmult(ptr noundef %598, ptr noundef %599, ptr noundef %600, i32 noundef %601, i32 noundef 1, i32 noundef 2)
store i32 0, ptr %12, align 4
br label %603
603: ; preds = %642, %588
%604 = load i32, ptr %12, align 4
%605 = load i32, ptr %4, align 4
%606 = icmp slt i32 %604, %605
br i1 %606, label %607, label %645
607: ; preds = %603
%608 = load i32, ptr %12, align 4
%609 = load i32, ptr %4, align 4
%610 = mul nsw i32 %608, %609
store i32 %610, ptr %10, align 4
%611 = load i32, ptr %12, align 4
%612 = mul nsw i32 %611, 2
store i32 %612, ptr %11, align 4
%613 = load i32, ptr %6, align 4
%614 = sub nsw i32 %613, 1
store i32 %614, ptr %13, align 4
br label %615
615: ; preds = %638, %607
%616 = load i32, ptr %13, align 4
%617 = load i32, ptr %4, align 4
%618 = icmp slt i32 %616, %617
br i1 %618, label %619, label %641
619: ; preds = %615
%620 = load ptr, ptr %19, align 8
%621 = load i32, ptr %11, align 4
%622 = load i32, ptr %13, align 4
%623 = add nsw i32 %621, %622
%624 = load i32, ptr %6, align 4
%625 = sub nsw i32 %623, %624
%626 = add nsw i32 %625, 1
%627 = sext i32 %626 to i64
%628 = getelementptr inbounds float, ptr %620, i64 %627
%629 = load float, ptr %628, align 4
%630 = load ptr, ptr %3, align 8
%631 = load i32, ptr %10, align 4
%632 = load i32, ptr %13, align 4
%633 = add nsw i32 %631, %632
%634 = sext i32 %633 to i64
%635 = getelementptr inbounds float, ptr %630, i64 %634
%636 = load float, ptr %635, align 4
%637 = fsub float %636, %629
store float %637, ptr %635, align 4
br label %638
638: ; preds = %619
%639 = load i32, ptr %13, align 4
%640 = add nsw i32 %639, 1
store i32 %640, ptr %13, align 4
br label %615, !llvm.loop !22
641: ; preds = %615
br label %642
642: ; preds = %641
%643 = load i32, ptr %12, align 4
%644 = add nsw i32 %643, 1
store i32 %644, ptr %12, align 4
br label %603, !llvm.loop !23
645: ; preds = %603
%646 = load ptr, ptr %17, align 8
%647 = call i32 @free(ptr noundef %646)
%648 = load ptr, ptr %18, align 8
%649 = call i32 @free(ptr noundef %648)
%650 = load ptr, ptr %19, align 8
%651 = call i32 @free(ptr noundef %650)
%652 = load ptr, ptr %20, align 8
%653 = call i32 @free(ptr noundef %652)
br label %654
654: ; preds = %645, %155
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @house(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @mmult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale(ptr noundef, i32 noundef, i32 noundef, float 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplv5nqlcf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @francisQR(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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 float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%22 = call i64 @malloc(i32 noundef 12)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %17, align 8
%24 = call i64 @malloc(i32 noundef 12)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %18, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 12, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %19, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = mul i64 4, %33
%35 = trunc i64 %34 to i32
%36 = call i64 @malloc(i32 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %20, align 8
%38 = load i32, ptr %4, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = mul nsw i32 %42, %43
store i32 %44, ptr %21, align 4
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %21, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %45, i64 %48
%50 = load float, ptr %49, align 4
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %21, align 4
%53 = load i32, ptr %4, align 4
%54 = sub nsw i32 %52, %53
%55 = sub nsw i32 %54, 2
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %51, i64 %56
%58 = load float, ptr %57, align 4
%59 = fadd float %50, %58
store float %59, ptr %14, align 4
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %21, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %60, i64 %63
%65 = load float, ptr %64, align 4
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %21, align 4
%68 = load i32, ptr %4, align 4
%69 = sub nsw i32 %67, %68
%70 = sub nsw i32 %69, 2
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds float, ptr %66, i64 %71
%73 = load float, ptr %72, align 4
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %21, align 4
%76 = sub nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %74, i64 %77
%79 = load float, ptr %78, align 4
%80 = load ptr, ptr %3, align 8
%81 = load i32, ptr %21, align 4
%82 = load i32, ptr %4, align 4
%83 = sub nsw i32 %81, %82
%84 = sub nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %80, i64 %85
%87 = load float, ptr %86, align 4
%88 = fmul float %79, %87
%89 = fneg float %88
%90 = call float @llvm.fmuladd.f32(float %65, float %73, float %89)
store float %90, ptr %15, align 4
%91 = load ptr, ptr %3, align 8
%92 = getelementptr inbounds float, ptr %91, i64 0
%93 = load float, ptr %92, align 4
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds float, ptr %94, i64 0
%96 = load float, ptr %95, align 4
%97 = load ptr, ptr %3, align 8
%98 = getelementptr inbounds float, ptr %97, i64 1
%99 = load float, ptr %98, align 4
%100 = load ptr, ptr %3, align 8
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
%104 = load float, ptr %103, align 4
%105 = fmul float %99, %104
%106 = call float @llvm.fmuladd.f32(float %93, float %96, float %105)
%107 = load float, ptr %14, align 4
%108 = load ptr, ptr %3, align 8
%109 = getelementptr inbounds float, ptr %108, i64 0
%110 = load float, ptr %109, align 4
%111 = fneg float %107
%112 = call float @llvm.fmuladd.f32(float %111, float %110, float %106)
%113 = load float, ptr %15, align 4
%114 = fadd float %112, %113
%115 = load ptr, ptr %17, align 8
%116 = getelementptr inbounds float, ptr %115, i64 0
store float %114, ptr %116, align 4
%117 = load ptr, ptr %3, align 8
%118 = load i32, ptr %4, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, ptr %117, i64 %119
%121 = load float, ptr %120, align 4
%122 = load ptr, ptr %3, align 8
%123 = getelementptr inbounds float, ptr %122, i64 0
%124 = load float, ptr %123, align 4
%125 = load ptr, ptr %3, align 8
%126 = load i32, ptr %4, align 4
%127 = add nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds float, ptr %125, i64 %128
%130 = load float, ptr %129, align 4
%131 = fadd float %124, %130
%132 = load float, ptr %14, align 4
%133 = fsub float %131, %132
%134 = fmul float %121, %133
%135 = load ptr, ptr %17, align 8
%136 = getelementptr inbounds float, ptr %135, i64 1
store float %134, ptr %136, align 4
%137 = load ptr, ptr %3, align 8
%138 = load i32, ptr %4, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, ptr %137, i64 %139
%141 = load float, ptr %140, align 4
%142 = load ptr, ptr %3, align 8
%143 = load i32, ptr %4, align 4
%144 = load i32, ptr %4, align 4
%145 = add nsw i32 %143, %144
%146 = add nsw i32 %145, 1
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds float, ptr %142, i64 %147
%149 = load float, ptr %148, align 4
%150 = fmul float %141, %149
%151 = load ptr, ptr %17, align 8
%152 = getelementptr inbounds float, ptr %151, i64 2
store float %150, ptr %152, align 4
%153 = load i32, ptr %4, align 4
%154 = icmp sle i32 %153, 2
br i1 %154, label %155, label %156
155: ; preds = %2
br label %693
156: ; preds = %2
store i32 -1, ptr %7, align 4
%157 = load i32, ptr %7, align 4
%158 = load i32, ptr %4, align 4
%159 = sub nsw i32 %158, 3
%160 = icmp slt i32 %157, %159
br i1 %160, label %.lr.ph23, label %466
.lr.ph23: ; preds = %156
br label %161
161: ; preds = %.lr.ph23, %459
%162 = load ptr, ptr %17, align 8
%163 = load ptr, ptr %18, align 8
%164 = call float @house(ptr noundef %162, i32 noundef 3, ptr noundef %163)
store float %164, ptr %16, align 4
%165 = load i32, ptr %7, align 4
%166 = icmp sgt i32 %165, 0
br i1 %166, label %167, label %169
167: ; preds = %161
%168 = load i32, ptr %7, align 4
store i32 %168, ptr %8, align 4
br label %170
169: ; preds = %161
store i32 0, ptr %8, align 4
br label %170
170: ; preds = %169, %167
%171 = load i32, ptr %7, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %12, align 4
%173 = load i32, ptr %12, align 4
%174 = load i32, ptr %7, align 4
%175 = add nsw i32 %174, 4
%176 = icmp slt i32 %173, %175
br i1 %176, label %.lr.ph2, label %218
.lr.ph2: ; preds = %170
br label %177
177: ; preds = %.lr.ph2, %211
%178 = load i32, ptr %12, align 4
%179 = load i32, ptr %4, align 4
%180 = mul nsw i32 %178, %179
store i32 %180, ptr %10, align 4
store i32 0, ptr %11, align 4
%181 = load i32, ptr %8, align 4
store i32 %181, ptr %13, align 4
%182 = load i32, ptr %13, align 4
%183 = load i32, ptr %4, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %.lr.ph, label %210
.lr.ph: ; preds = %177
br label %185
185: ; preds = %.lr.ph, %204
%186 = load ptr, ptr %3, align 8
%187 = load i32, ptr %13, align 4
%188 = load i32, ptr %10, align 4
%189 = add nsw i32 %187, %188
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %186, i64 %190
%192 = load float, ptr %191, align 4
%193 = load ptr, ptr %19, align 8
%194 = load i32, ptr %11, align 4
%195 = load i32, ptr %12, align 4
%196 = add nsw i32 %194, %195
%197 = load i32, ptr %7, align 4
%198 = sub nsw i32 %196, %197
%199 = sub nsw i32 %198, 1
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds float, ptr %193, i64 %200
store float %192, ptr %201, align 4
%202 = load i32, ptr %11, align 4
%203 = add nsw i32 %202, 3
store i32 %203, ptr %11, align 4
br label %204
204: ; preds = %185
%205 = load i32, ptr %13, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %13, align 4
%207 = load i32, ptr %13, align 4
%208 = load i32, ptr %4, align 4
%209 = icmp slt i32 %207, %208
br i1 %209, label %185, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %204
br label %210
210: ; preds = %._crit_edge, %177
br label %211
211: ; preds = %210
%212 = load i32, ptr %12, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %12, align 4
%214 = load i32, ptr %12, align 4
%215 = load i32, ptr %7, align 4
%216 = add nsw i32 %215, 4
%217 = icmp slt i32 %214, %216
br i1 %217, label %177, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %211
br label %218
218: ; preds = %._crit_edge3, %170
%219 = load ptr, ptr %19, align 8
%220 = load ptr, ptr %18, align 8
%221 = load ptr, ptr %20, align 8
%222 = load i32, ptr %4, align 4
%223 = load i32, ptr %8, align 4
%224 = sub nsw i32 %222, %223
%225 = call i32 @mmult(ptr noundef %219, ptr noundef %220, ptr noundef %221, i32 noundef %224, i32 noundef 3, i32 noundef 1)
%226 = load ptr, ptr %20, align 8
%227 = load i32, ptr %4, align 4
%228 = load i32, ptr %8, align 4
%229 = sub nsw i32 %227, %228
%230 = load float, ptr %16, align 4
%231 = call i32 @scale(ptr noundef %226, i32 noundef %229, i32 noundef 1, float noundef %230)
%232 = load ptr, ptr %18, align 8
%233 = load ptr, ptr %20, align 8
%234 = load ptr, ptr %19, align 8
%235 = load i32, ptr %4, align 4
%236 = load i32, ptr %8, align 4
%237 = sub nsw i32 %235, %236
%238 = call i32 @mmult(ptr noundef %232, ptr noundef %233, ptr noundef %234, i32 noundef 3, i32 noundef 1, i32 noundef %237)
%239 = load i32, ptr %7, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %12, align 4
%241 = load i32, ptr %12, align 4
%242 = load i32, ptr %7, align 4
%243 = add nsw i32 %242, 4
%244 = icmp slt i32 %241, %243
br i1 %244, label %.lr.ph8, label %292
.lr.ph8: ; preds = %218
br label %245
245: ; preds = %.lr.ph8, %285
%246 = load i32, ptr %12, align 4
%247 = load i32, ptr %4, align 4
%248 = mul nsw i32 %246, %247
store i32 %248, ptr %10, align 4
%249 = load i32, ptr %8, align 4
store i32 %249, ptr %13, align 4
%250 = load i32, ptr %13, align 4
%251 = load i32, ptr %4, align 4
%252 = icmp slt i32 %250, %251
br i1 %252, label %.lr.ph5, label %284
.lr.ph5: ; preds = %245
br label %253
253: ; preds = %.lr.ph5, %278
%254 = load ptr, ptr %19, align 8
%255 = load i32, ptr %12, align 4
%256 = load i32, ptr %7, align 4
%257 = sub nsw i32 %255, %256
%258 = sub nsw i32 %257, 1
%259 = load i32, ptr %4, align 4
%260 = load i32, ptr %8, align 4
%261 = sub nsw i32 %259, %260
%262 = mul nsw i32 %258, %261
%263 = load i32, ptr %13, align 4
%264 = add nsw i32 %262, %263
%265 = load i32, ptr %8, align 4
%266 = sub nsw i32 %264, %265
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds float, ptr %254, i64 %267
%269 = load float, ptr %268, align 4
%270 = load ptr, ptr %3, align 8
%271 = load i32, ptr %10, align 4
%272 = load i32, ptr %13, align 4
%273 = add nsw i32 %271, %272
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds float, ptr %270, i64 %274
%276 = load float, ptr %275, align 4
%277 = fsub float %276, %269
store float %277, ptr %275, align 4
br label %278
278: ; preds = %253
%279 = load i32, ptr %13, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %13, align 4
%281 = load i32, ptr %13, align 4
%282 = load i32, ptr %4, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %253, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %278
br label %284
284: ; preds = %._crit_edge6, %245
br label %285
285: ; preds = %284
%286 = load i32, ptr %12, align 4
%287 = add nsw i32 %286, 1
store i32 %287, ptr %12, align 4
%288 = load i32, ptr %12, align 4
%289 = load i32, ptr %7, align 4
%290 = add nsw i32 %289, 4
%291 = icmp slt i32 %288, %290
br i1 %291, label %245, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %285
br label %292
292: ; preds = %._crit_edge9, %218
%293 = load i32, ptr %7, align 4
%294 = add nsw i32 %293, 4
%295 = load i32, ptr %6, align 4
%296 = icmp sge i32 %294, %295
br i1 %296, label %297, label %299
297: ; preds = %292
%298 = load i32, ptr %4, align 4
store i32 %298, ptr %9, align 4
br label %303
299: ; preds = %292
%300 = load i32, ptr %7, align 4
%301 = add nsw i32 %300, 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %9, align 4
br label %303
303: ; preds = %299, %297
store i32 0, ptr %12, align 4
%304 = load i32, ptr %12, align 4
%305 = load i32, ptr %9, align 4
%306 = icmp slt i32 %304, %305
br i1 %306, label %.lr.ph14, label %350
.lr.ph14: ; preds = %303
br label %307
307: ; preds = %.lr.ph14, %344
%308 = load i32, ptr %12, align 4
%309 = load i32, ptr %4, align 4
%310 = mul nsw i32 %308, %309
store i32 %310, ptr %10, align 4
%311 = load i32, ptr %12, align 4
%312 = mul nsw i32 %311, 3
store i32 %312, ptr %11, align 4
%313 = load i32, ptr %7, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %13, align 4
%315 = load i32, ptr %13, align 4
%316 = load i32, ptr %7, align 4
%317 = add nsw i32 %316, 4
%318 = icmp slt i32 %315, %317
br i1 %318, label %.lr.ph11, label %343
.lr.ph11: ; preds = %307
br label %319
319: ; preds = %.lr.ph11, %336
%320 = load ptr, ptr %3, align 8
%321 = load i32, ptr %10, align 4
%322 = load i32, ptr %13, align 4
%323 = add nsw i32 %321, %322
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds float, ptr %320, i64 %324
%326 = load float, ptr %325, align 4
%327 = load ptr, ptr %19, align 8
%328 = load i32, ptr %11, align 4
%329 = load i32, ptr %13, align 4
%330 = add nsw i32 %328, %329
%331 = load i32, ptr %7, align 4
%332 = sub nsw i32 %330, %331
%333 = sub nsw i32 %332, 1
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds float, ptr %327, i64 %334
store float %326, ptr %335, align 4
br label %336
336: ; preds = %319
%337 = load i32, ptr %13, align 4
%338 = add nsw i32 %337, 1
store i32 %338, ptr %13, align 4
%339 = load i32, ptr %13, align 4
%340 = load i32, ptr %7, align 4
%341 = add nsw i32 %340, 4
%342 = icmp slt i32 %339, %341
br i1 %342, label %319, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %336
br label %343
343: ; preds = %._crit_edge12, %307
br label %344
344: ; preds = %343
%345 = load i32, ptr %12, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %12, align 4
%347 = load i32, ptr %12, align 4
%348 = load i32, ptr %9, align 4
%349 = icmp slt i32 %347, %348
br i1 %349, label %307, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %344
br label %350
350: ; preds = %._crit_edge15, %303
%351 = load ptr, ptr %19, align 8
%352 = load ptr, ptr %18, align 8
%353 = load ptr, ptr %20, align 8
%354 = load i32, ptr %9, align 4
%355 = call i32 @mmult(ptr noundef %351, ptr noundef %352, ptr noundef %353, i32 noundef %354, i32 noundef 3, i32 noundef 1)
%356 = load ptr, ptr %20, align 8
%357 = load i32, ptr %9, align 4
%358 = load float, ptr %16, align 4
%359 = call i32 @scale(ptr noundef %356, i32 noundef %357, i32 noundef 1, float noundef %358)
%360 = load ptr, ptr %20, align 8
%361 = load ptr, ptr %18, align 8
%362 = load ptr, ptr %19, align 8
%363 = load i32, ptr %9, align 4
%364 = call i32 @mmult(ptr noundef %360, ptr noundef %361, ptr noundef %362, i32 noundef %363, i32 noundef 1, i32 noundef 3)
store i32 0, ptr %12, align 4
%365 = load i32, ptr %12, align 4
%366 = load i32, ptr %9, align 4
%367 = icmp slt i32 %365, %366
br i1 %367, label %.lr.ph20, label %413
.lr.ph20: ; preds = %350
br label %368
368: ; preds = %.lr.ph20, %407
%369 = load i32, ptr %12, align 4
%370 = load i32, ptr %4, align 4
%371 = mul nsw i32 %369, %370
store i32 %371, ptr %10, align 4
%372 = load i32, ptr %12, align 4
%373 = mul nsw i32 %372, 3
store i32 %373, ptr %11, align 4
%374 = load i32, ptr %7, align 4
%375 = add nsw i32 %374, 1
store i32 %375, ptr %13, align 4
%376 = load i32, ptr %13, align 4
%377 = load i32, ptr %7, align 4
%378 = add nsw i32 %377, 4
%379 = icmp slt i32 %376, %378
br i1 %379, label %.lr.ph17, label %406
.lr.ph17: ; preds = %368
br label %380
380: ; preds = %.lr.ph17, %399
%381 = load ptr, ptr %19, align 8
%382 = load i32, ptr %11, align 4
%383 = load i32, ptr %13, align 4
%384 = add nsw i32 %382, %383
%385 = load i32, ptr %7, align 4
%386 = sub nsw i32 %384, %385
%387 = sub nsw i32 %386, 1
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds float, ptr %381, i64 %388
%390 = load float, ptr %389, align 4
%391 = load ptr, ptr %3, align 8
%392 = load i32, ptr %10, align 4
%393 = load i32, ptr %13, align 4
%394 = add nsw i32 %392, %393
%395 = sext i32 %394 to i64
%396 = getelementptr inbounds float, ptr %391, i64 %395
%397 = load float, ptr %396, align 4
%398 = fsub float %397, %390
store float %398, ptr %396, align 4
br label %399
399: ; preds = %380
%400 = load i32, ptr %13, align 4
%401 = add nsw i32 %400, 1
store i32 %401, ptr %13, align 4
%402 = load i32, ptr %13, align 4
%403 = load i32, ptr %7, align 4
%404 = add nsw i32 %403, 4
%405 = icmp slt i32 %402, %404
br i1 %405, label %380, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %399
br label %406
406: ; preds = %._crit_edge18, %368
br label %407
407: ; preds = %406
%408 = load i32, ptr %12, align 4
%409 = add nsw i32 %408, 1
store i32 %409, ptr %12, align 4
%410 = load i32, ptr %12, align 4
%411 = load i32, ptr %9, align 4
%412 = icmp slt i32 %410, %411
br i1 %412, label %368, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %407
br label %413
413: ; preds = %._crit_edge21, %350
%414 = load ptr, ptr %3, align 8
%415 = load i32, ptr %4, align 4
%416 = load i32, ptr %7, align 4
%417 = add nsw i32 %416, 2
%418 = mul nsw i32 %415, %417
%419 = load i32, ptr %7, align 4
%420 = add nsw i32 %418, %419
%421 = add nsw i32 %420, 1
%422 = sext i32 %421 to i64
%423 = getelementptr inbounds float, ptr %414, i64 %422
%424 = load float, ptr %423, align 4
%425 = load ptr, ptr %17, align 8
%426 = getelementptr inbounds float, ptr %425, i64 0
store float %424, ptr %426, align 4
%427 = load ptr, ptr %3, align 8
%428 = load i32, ptr %4, align 4
%429 = load i32, ptr %7, align 4
%430 = add nsw i32 %429, 3
%431 = mul nsw i32 %428, %430
%432 = load i32, ptr %7, align 4
%433 = add nsw i32 %431, %432
%434 = add nsw i32 %433, 1
%435 = sext i32 %434 to i64
%436 = getelementptr inbounds float, ptr %427, i64 %435
%437 = load float, ptr %436, align 4
%438 = load ptr, ptr %17, align 8
%439 = getelementptr inbounds float, ptr %438, i64 1
store float %437, ptr %439, align 4
%440 = load i32, ptr %7, align 4
%441 = load i32, ptr %6, align 4
%442 = sub nsw i32 %441, 3
%443 = icmp slt i32 %440, %442
br i1 %443, label %444, label %458
444: ; preds = %413
%445 = load ptr, ptr %3, align 8
%446 = load i32, ptr %4, align 4
%447 = load i32, ptr %7, align 4
%448 = add nsw i32 %447, 4
%449 = mul nsw i32 %446, %448
%450 = load i32, ptr %7, align 4
%451 = add nsw i32 %449, %450
%452 = add nsw i32 %451, 1
%453 = sext i32 %452 to i64
%454 = getelementptr inbounds float, ptr %445, i64 %453
%455 = load float, ptr %454, align 4
%456 = load ptr, ptr %17, align 8
%457 = getelementptr inbounds float, ptr %456, i64 2
store float %455, ptr %457, align 4
br label %458
458: ; preds = %444, %413
br label %459
459: ; preds = %458
%460 = load i32, ptr %7, align 4
%461 = add nsw i32 %460, 1
store i32 %461, ptr %7, align 4
%462 = load i32, ptr %7, align 4
%463 = load i32, ptr %4, align 4
%464 = sub nsw i32 %463, 3
%465 = icmp slt i32 %462, %464
br i1 %465, label %161, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %459
br label %466
466: ; preds = %._crit_edge24, %156
%467 = load ptr, ptr %17, align 8
%468 = load ptr, ptr %18, align 8
%469 = call float @house(ptr noundef %467, i32 noundef 2, ptr noundef %468)
store float %469, ptr %16, align 4
%470 = load i32, ptr %6, align 4
%471 = sub nsw i32 %470, 1
store i32 %471, ptr %12, align 4
%472 = load i32, ptr %12, align 4
%473 = load i32, ptr %4, align 4
%474 = icmp slt i32 %472, %473
br i1 %474, label %.lr.ph29, label %516
.lr.ph29: ; preds = %466
br label %475
475: ; preds = %.lr.ph29, %510
%476 = load i32, ptr %12, align 4
%477 = load i32, ptr %4, align 4
%478 = mul nsw i32 %476, %477
store i32 %478, ptr %10, align 4
store i32 0, ptr %11, align 4
%479 = load i32, ptr %6, align 4
%480 = sub nsw i32 %479, 2
store i32 %480, ptr %13, align 4
%481 = load i32, ptr %13, align 4
%482 = load i32, ptr %4, align 4
%483 = icmp slt i32 %481, %482
br i1 %483, label %.lr.ph26, label %509
.lr.ph26: ; preds = %475
br label %484
484: ; preds = %.lr.ph26, %503
%485 = load ptr, ptr %3, align 8
%486 = load i32, ptr %13, align 4
%487 = load i32, ptr %10, align 4
%488 = add nsw i32 %486, %487
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds float, ptr %485, i64 %489
%491 = load float, ptr %490, align 4
%492 = load ptr, ptr %19, align 8
%493 = load i32, ptr %11, align 4
%494 = load i32, ptr %12, align 4
%495 = add nsw i32 %493, %494
%496 = load i32, ptr %6, align 4
%497 = sub nsw i32 %495, %496
%498 = add nsw i32 %497, 1
%499 = sext i32 %498 to i64
%500 = getelementptr inbounds float, ptr %492, i64 %499
store float %491, ptr %500, align 4
%501 = load i32, ptr %11, align 4
%502 = add nsw i32 %501, 2
store i32 %502, ptr %11, align 4
br label %503
503: ; preds = %484
%504 = load i32, ptr %13, align 4
%505 = add nsw i32 %504, 1
store i32 %505, ptr %13, align 4
%506 = load i32, ptr %13, align 4
%507 = load i32, ptr %4, align 4
%508 = icmp slt i32 %506, %507
br i1 %508, label %484, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %503
br label %509
509: ; preds = %._crit_edge27, %475
br label %510
510: ; preds = %509
%511 = load i32, ptr %12, align 4
%512 = add nsw i32 %511, 1
store i32 %512, ptr %12, align 4
%513 = load i32, ptr %12, align 4
%514 = load i32, ptr %4, align 4
%515 = icmp slt i32 %513, %514
br i1 %515, label %475, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %510
br label %516
516: ; preds = %._crit_edge30, %466
%517 = load ptr, ptr %19, align 8
%518 = load ptr, ptr %18, align 8
%519 = load ptr, ptr %20, align 8
%520 = call i32 @mmult(ptr noundef %517, ptr noundef %518, ptr noundef %519, i32 noundef 3, i32 noundef 2, i32 noundef 1)
%521 = load ptr, ptr %20, align 8
%522 = load float, ptr %16, align 4
%523 = call i32 @scale(ptr noundef %521, i32 noundef 3, i32 noundef 1, float noundef %522)
%524 = load ptr, ptr %18, align 8
%525 = load ptr, ptr %20, align 8
%526 = load ptr, ptr %19, align 8
%527 = call i32 @mmult(ptr noundef %524, ptr noundef %525, ptr noundef %526, i32 noundef 2, i32 noundef 1, i32 noundef 3)
%528 = load i32, ptr %6, align 4
%529 = sub nsw i32 %528, 1
store i32 %529, ptr %12, align 4
%530 = load i32, ptr %12, align 4
%531 = load i32, ptr %4, align 4
%532 = icmp slt i32 %530, %531
br i1 %532, label %.lr.ph35, label %578
.lr.ph35: ; preds = %516
br label %533
533: ; preds = %.lr.ph35, %572
%534 = load i32, ptr %12, align 4
%535 = load i32, ptr %4, align 4
%536 = mul nsw i32 %534, %535
store i32 %536, ptr %10, align 4
%537 = load i32, ptr %6, align 4
%538 = sub nsw i32 %537, 2
store i32 %538, ptr %13, align 4
%539 = load i32, ptr %13, align 4
%540 = load i32, ptr %4, align 4
%541 = icmp slt i32 %539, %540
br i1 %541, label %.lr.ph32, label %571
.lr.ph32: ; preds = %533
br label %542
542: ; preds = %.lr.ph32, %565
%543 = load ptr, ptr %19, align 8
%544 = load i32, ptr %12, align 4
%545 = load i32, ptr %6, align 4
%546 = sub nsw i32 %544, %545
%547 = add nsw i32 %546, 1
%548 = mul nsw i32 %547, 3
%549 = load i32, ptr %13, align 4
%550 = add nsw i32 %548, %549
%551 = load i32, ptr %6, align 4
%552 = sub nsw i32 %550, %551
%553 = add nsw i32 %552, 2
%554 = sext i32 %553 to i64
%555 = getelementptr inbounds float, ptr %543, i64 %554
%556 = load float, ptr %555, align 4
%557 = load ptr, ptr %3, align 8
%558 = load i32, ptr %10, align 4
%559 = load i32, ptr %13, align 4
%560 = add nsw i32 %558, %559
%561 = sext i32 %560 to i64
%562 = getelementptr inbounds float, ptr %557, i64 %561
%563 = load float, ptr %562, align 4
%564 = fsub float %563, %556
store float %564, ptr %562, align 4
br label %565
565: ; preds = %542
%566 = load i32, ptr %13, align 4
%567 = add nsw i32 %566, 1
store i32 %567, ptr %13, align 4
%568 = load i32, ptr %13, align 4
%569 = load i32, ptr %4, align 4
%570 = icmp slt i32 %568, %569
br i1 %570, label %542, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %565
br label %571
571: ; preds = %._crit_edge33, %533
br label %572
572: ; preds = %571
%573 = load i32, ptr %12, align 4
%574 = add nsw i32 %573, 1
store i32 %574, ptr %12, align 4
%575 = load i32, ptr %12, align 4
%576 = load i32, ptr %4, align 4
%577 = icmp slt i32 %575, %576
br i1 %577, label %533, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %572
br label %578
578: ; preds = %._crit_edge36, %516
store i32 0, ptr %12, align 4
%579 = load i32, ptr %12, align 4
%580 = load i32, ptr %4, align 4
%581 = icmp slt i32 %579, %580
br i1 %581, label %.lr.ph41, label %623
.lr.ph41: ; preds = %578
br label %582
582: ; preds = %.lr.ph41, %617
%583 = load i32, ptr %12, align 4
%584 = load i32, ptr %4, align 4
%585 = mul nsw i32 %583, %584
store i32 %585, ptr %10, align 4
%586 = load i32, ptr %12, align 4
%587 = mul nsw i32 %586, 2
store i32 %587, ptr %11, align 4
%588 = load i32, ptr %6, align 4
%589 = sub nsw i32 %588, 1
store i32 %589, ptr %13, align 4
%590 = load i32, ptr %13, align 4
%591 = load i32, ptr %4, align 4
%592 = icmp slt i32 %590, %591
br i1 %592, label %.lr.ph38, label %616
.lr.ph38: ; preds = %582
br label %593
593: ; preds = %.lr.ph38, %610
%594 = load ptr, ptr %3, align 8
%595 = load i32, ptr %10, align 4
%596 = load i32, ptr %13, align 4
%597 = add nsw i32 %595, %596
%598 = sext i32 %597 to i64
%599 = getelementptr inbounds float, ptr %594, i64 %598
%600 = load float, ptr %599, align 4
%601 = load ptr, ptr %19, align 8
%602 = load i32, ptr %11, align 4
%603 = load i32, ptr %13, align 4
%604 = add nsw i32 %602, %603
%605 = load i32, ptr %6, align 4
%606 = sub nsw i32 %604, %605
%607 = add nsw i32 %606, 1
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds float, ptr %601, i64 %608
store float %600, ptr %609, align 4
br label %610
610: ; preds = %593
%611 = load i32, ptr %13, align 4
%612 = add nsw i32 %611, 1
store i32 %612, ptr %13, align 4
%613 = load i32, ptr %13, align 4
%614 = load i32, ptr %4, align 4
%615 = icmp slt i32 %613, %614
br i1 %615, label %593, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %610
br label %616
616: ; preds = %._crit_edge39, %582
br label %617
617: ; preds = %616
%618 = load i32, ptr %12, align 4
%619 = add nsw i32 %618, 1
store i32 %619, ptr %12, align 4
%620 = load i32, ptr %12, align 4
%621 = load i32, ptr %4, align 4
%622 = icmp slt i32 %620, %621
br i1 %622, label %582, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %617
br label %623
623: ; preds = %._crit_edge42, %578
%624 = load ptr, ptr %19, align 8
%625 = load ptr, ptr %18, align 8
%626 = load ptr, ptr %20, align 8
%627 = load i32, ptr %4, align 4
%628 = call i32 @mmult(ptr noundef %624, ptr noundef %625, ptr noundef %626, i32 noundef %627, i32 noundef 2, i32 noundef 1)
%629 = load ptr, ptr %20, align 8
%630 = load i32, ptr %4, align 4
%631 = load float, ptr %16, align 4
%632 = call i32 @scale(ptr noundef %629, i32 noundef %630, i32 noundef 1, float noundef %631)
%633 = load ptr, ptr %20, align 8
%634 = load ptr, ptr %18, align 8
%635 = load ptr, ptr %19, align 8
%636 = load i32, ptr %4, align 4
%637 = call i32 @mmult(ptr noundef %633, ptr noundef %634, ptr noundef %635, i32 noundef %636, i32 noundef 1, i32 noundef 2)
store i32 0, ptr %12, align 4
%638 = load i32, ptr %12, align 4
%639 = load i32, ptr %4, align 4
%640 = icmp slt i32 %638, %639
br i1 %640, label %.lr.ph47, label %684
.lr.ph47: ; preds = %623
br label %641
641: ; preds = %.lr.ph47, %678
%642 = load i32, ptr %12, align 4
%643 = load i32, ptr %4, align 4
%644 = mul nsw i32 %642, %643
store i32 %644, ptr %10, align 4
%645 = load i32, ptr %12, align 4
%646 = mul nsw i32 %645, 2
store i32 %646, ptr %11, align 4
%647 = load i32, ptr %6, align 4
%648 = sub nsw i32 %647, 1
store i32 %648, ptr %13, align 4
%649 = load i32, ptr %13, align 4
%650 = load i32, ptr %4, align 4
%651 = icmp slt i32 %649, %650
br i1 %651, label %.lr.ph44, label %677
.lr.ph44: ; preds = %641
br label %652
652: ; preds = %.lr.ph44, %671
%653 = load ptr, ptr %19, align 8
%654 = load i32, ptr %11, align 4
%655 = load i32, ptr %13, align 4
%656 = add nsw i32 %654, %655
%657 = load i32, ptr %6, align 4
%658 = sub nsw i32 %656, %657
%659 = add nsw i32 %658, 1
%660 = sext i32 %659 to i64
%661 = getelementptr inbounds float, ptr %653, i64 %660
%662 = load float, ptr %661, align 4
%663 = load ptr, ptr %3, align 8
%664 = load i32, ptr %10, align 4
%665 = load i32, ptr %13, align 4
%666 = add nsw i32 %664, %665
%667 = sext i32 %666 to i64
%668 = getelementptr inbounds float, ptr %663, i64 %667
%669 = load float, ptr %668, align 4
%670 = fsub float %669, %662
store float %670, ptr %668, align 4
br label %671
671: ; preds = %652
%672 = load i32, ptr %13, align 4
%673 = add nsw i32 %672, 1
store i32 %673, ptr %13, align 4
%674 = load i32, ptr %13, align 4
%675 = load i32, ptr %4, align 4
%676 = icmp slt i32 %674, %675
br i1 %676, label %652, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %671
br label %677
677: ; preds = %._crit_edge45, %641
br label %678
678: ; preds = %677
%679 = load i32, ptr %12, align 4
%680 = add nsw i32 %679, 1
store i32 %680, ptr %12, align 4
%681 = load i32, ptr %12, align 4
%682 = load i32, ptr %4, align 4
%683 = icmp slt i32 %681, %682
br i1 %683, label %641, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %678
br label %684
684: ; preds = %._crit_edge48, %623
%685 = load ptr, ptr %17, align 8
%686 = call i32 @free(ptr noundef %685)
%687 = load ptr, ptr %18, align 8
%688 = call i32 @free(ptr noundef %687)
%689 = load ptr, ptr %19, align 8
%690 = call i32 @free(ptr noundef %689)
%691 = load ptr, ptr %20, align 8
%692 = call i32 @free(ptr noundef %691)
br label %693
693: ; preds = %684, %155
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @house(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @mmult(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale(ptr noundef, i32 noundef, i32 noundef, float 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
|
; ModuleID = '/tmp/tmpwpjmvy14.c'
source_filename = "/tmp/tmpwpjmvy14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 1024)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = call ptr @malloc(i32 noundef 512)
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %16, %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 350
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = call ptr @malloc(i32 noundef 256)
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
br label %16
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
ret i32 0
}
declare ptr @malloc(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwpjmvy14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr @malloc(i32 noundef 1024)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @free(ptr noundef %6)
%8 = call ptr @malloc(i32 noundef 512)
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 350
br i1 %10, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %15
%12 = call ptr @malloc(i32 noundef 256)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 350
br i1 %19, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
declare ptr @malloc(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"}
|
; ModuleID = '/tmp/tmp9ag__lf9.c'
source_filename = "/tmp/tmp9ag__lf9.c"
target datalayout = "e-m:e-p270: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 [67 x i8] c"*****************************************************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Enter the number corresponding to the desired pay rate or action:\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"a) $8.75/hr\09\09b) $9.33/hr\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"c) $10.00/hr\09\09d) $11.20/hr\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"q) quit\0A\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c"No such option! Please enter a English letter within the range a ~ d & q.\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"Now enter the working hours\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c"Total salary: %.2f\0ATax: %.2f\0ANet salary: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %14
14: ; preds = %89, %31, %0
%15 = call signext i8 (...) @get_choice()
store i8 %15, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 113
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %100
24: ; preds = %22
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
switch i32 %26, label %31 [
i32 97, label %27
i32 98, label %28
i32 99, label %29
i32 100, label %30
]
27: ; preds = %24
store float 8.750000e+00, ptr %3, align 4
br label %33
28: ; preds = %24
store float 0x4022A8F5C0000000, ptr %3, align 4
br label %33
29: ; preds = %24
store float 1.000000e+01, ptr %3, align 4
br label %33
30: ; preds = %24
store float 0x4026666660000000, ptr %3, align 4
br label %33
31: ; preds = %24
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %14, !llvm.loop !6
33: ; preds = %30, %29, %28, %27
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%35 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %4)
br label %36
36: ; preds = %40, %33
%37 = call signext i8 (...) @getchar()
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 10
br i1 %39, label %40, label %41
40: ; preds = %36
br label %36, !llvm.loop !8
41: ; preds = %36
%42 = load float, ptr %3, align 4
%43 = load float, ptr %4, align 4
%44 = fcmp ogt float %43, 4.000000e+01
br i1 %44, label %45, label %46
45: ; preds = %41
br label %48
46: ; preds = %41
%47 = load float, ptr %4, align 4
br label %48
48: ; preds = %46, %45
%49 = phi float [ 4.000000e+01, %45 ], [ %47, %46 ]
%50 = fmul float %42, %49
%51 = fpext float %50 to double
%52 = load float, ptr %3, align 4
%53 = fpext float %52 to double
%54 = fmul double 1.500000e+00, %53
%55 = load float, ptr %4, align 4
%56 = fcmp ogt float %55, 4.000000e+01
br i1 %56, label %57, label %60
57: ; preds = %48
%58 = load float, ptr %4, align 4
%59 = fsub float %58, 4.000000e+01
br label %61
60: ; preds = %48
br label %61
61: ; preds = %60, %57
%62 = phi float [ %59, %57 ], [ 0.000000e+00, %60 ]
%63 = fpext float %62 to double
%64 = call double @llvm.fmuladd.f64(double %54, double %63, double %51)
%65 = fptrunc double %64 to float
store float %65, ptr %5, align 4
%66 = load float, ptr %5, align 4
%67 = fcmp ole float %66, 3.000000e+02
br i1 %67, label %68, label %73
68: ; preds = %61
%69 = load float, ptr %5, align 4
%70 = fpext float %69 to double
%71 = fmul double %70, 1.500000e-01
%72 = fptrunc double %71 to float
store float %72, ptr %6, align 4
br label %89
73: ; preds = %61
%74 = load float, ptr %5, align 4
%75 = fcmp ole float %74, 4.500000e+02
br i1 %75, label %76, label %82
76: ; preds = %73
%77 = load float, ptr %5, align 4
%78 = fsub float %77, 3.000000e+02
%79 = fpext float %78 to double
%80 = call double @llvm.fmuladd.f64(double %79, double 2.000000e-01, double 4.500000e+01)
%81 = fptrunc double %80 to float
store float %81, ptr %6, align 4
br label %88
82: ; preds = %73
%83 = load float, ptr %5, align 4
%84 = fsub float %83, 4.500000e+02
%85 = fpext float %84 to double
%86 = call double @llvm.fmuladd.f64(double %85, double 2.500000e-01, double 7.500000e+01)
%87 = fptrunc double %86 to float
store float %87, ptr %6, align 4
br label %88
88: ; preds = %82, %76
br label %89
89: ; preds = %88, %68
%90 = load float, ptr %5, align 4
%91 = load float, ptr %6, align 4
%92 = fsub float %90, %91
store float %92, ptr %7, align 4
%93 = load float, ptr %5, align 4
%94 = fpext float %93 to double
%95 = load float, ptr %6, align 4
%96 = fpext float %95 to double
%97 = load float, ptr %7, align 4
%98 = fpext float %97 to double
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %94, double noundef %96, double noundef %98)
br label %14, !llvm.loop !6
100: ; preds = %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @get_choice(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ag__lf9.c"
target datalayout = "e-m:e-p270: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 [67 x i8] c"*****************************************************************\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"Enter the number corresponding to the desired pay rate or action:\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"a) $8.75/hr\09\09b) $9.33/hr\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"c) $10.00/hr\09\09d) $11.20/hr\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"q) quit\0A\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c"No such option! Please enter a English letter within the range a ~ d & q.\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"Now enter the working hours\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.8 = private unnamed_addr constant [47 x i8] c"Total salary: %.2f\0ATax: %.2f\0ANet salary: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %14
14: ; preds = %.backedge, %0
%15 = call signext i8 (...) @get_choice()
store i8 %15, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 113
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %99
24: ; preds = %22
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
switch i32 %26, label %31 [
i32 97, label %27
i32 98, label %28
i32 99, label %29
i32 100, label %30
]
27: ; preds = %24
store float 8.750000e+00, ptr %3, align 4
br label %33
28: ; preds = %24
store float 0x4022A8F5C0000000, ptr %3, align 4
br label %33
29: ; preds = %24
store float 1.000000e+01, ptr %3, align 4
br label %33
30: ; preds = %24
store float 0x4026666660000000, ptr %3, align 4
br label %33
31: ; preds = %24
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %.backedge
.backedge: ; preds = %31, %88
br label %14, !llvm.loop !6
33: ; preds = %30, %29, %28, %27
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%35 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %4)
br label %36
36: ; preds = %36, %33
%37 = call signext i8 (...) @getchar()
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 10
br i1 %39, label %36, label %40, !llvm.loop !8
40: ; preds = %36
%41 = load float, ptr %3, align 4
%42 = load float, ptr %4, align 4
%43 = fcmp ogt float %42, 4.000000e+01
br i1 %43, label %44, label %45
44: ; preds = %40
br label %47
45: ; preds = %40
%46 = load float, ptr %4, align 4
br label %47
47: ; preds = %45, %44
%48 = phi float [ 4.000000e+01, %44 ], [ %46, %45 ]
%49 = fmul float %41, %48
%50 = fpext float %49 to double
%51 = load float, ptr %3, align 4
%52 = fpext float %51 to double
%53 = fmul double 1.500000e+00, %52
%54 = load float, ptr %4, align 4
%55 = fcmp ogt float %54, 4.000000e+01
br i1 %55, label %56, label %59
56: ; preds = %47
%57 = load float, ptr %4, align 4
%58 = fsub float %57, 4.000000e+01
br label %60
59: ; preds = %47
br label %60
60: ; preds = %59, %56
%61 = phi float [ %58, %56 ], [ 0.000000e+00, %59 ]
%62 = fpext float %61 to double
%63 = call double @llvm.fmuladd.f64(double %53, double %62, double %50)
%64 = fptrunc double %63 to float
store float %64, ptr %5, align 4
%65 = load float, ptr %5, align 4
%66 = fcmp ole float %65, 3.000000e+02
br i1 %66, label %67, label %72
67: ; preds = %60
%68 = load float, ptr %5, align 4
%69 = fpext float %68 to double
%70 = fmul double %69, 1.500000e-01
%71 = fptrunc double %70 to float
store float %71, ptr %6, align 4
br label %88
72: ; preds = %60
%73 = load float, ptr %5, align 4
%74 = fcmp ole float %73, 4.500000e+02
br i1 %74, label %75, label %81
75: ; preds = %72
%76 = load float, ptr %5, align 4
%77 = fsub float %76, 3.000000e+02
%78 = fpext float %77 to double
%79 = call double @llvm.fmuladd.f64(double %78, double 2.000000e-01, double 4.500000e+01)
%80 = fptrunc double %79 to float
store float %80, ptr %6, align 4
br label %87
81: ; preds = %72
%82 = load float, ptr %5, align 4
%83 = fsub float %82, 4.500000e+02
%84 = fpext float %83 to double
%85 = call double @llvm.fmuladd.f64(double %84, double 2.500000e-01, double 7.500000e+01)
%86 = fptrunc double %85 to float
store float %86, ptr %6, align 4
br label %87
87: ; preds = %81, %75
br label %88
88: ; preds = %87, %67
%89 = load float, ptr %5, align 4
%90 = load float, ptr %6, align 4
%91 = fsub float %89, %90
store float %91, ptr %7, align 4
%92 = load float, ptr %5, align 4
%93 = fpext float %92 to double
%94 = load float, ptr %6, align 4
%95 = fpext float %94 to double
%96 = load float, ptr %7, align 4
%97 = fpext float %96 to double
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %93, double noundef %95, double noundef %97)
br label %.backedge
99: ; preds = %22
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @get_choice(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz_3f7xmz.c'
source_filename = "/tmp/tmpz_3f7xmz.c"
target datalayout = "e-m:e-p270: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/tmpz_3f7xmz.c"
target datalayout = "e-m:e-p270: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/tmpfs23912l.c'
source_filename = "/tmp/tmpfs23912l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @func(i32 noundef 10)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @func(i32 noundef 10)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @func(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfs23912l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @func(i32 noundef 10)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @func(i32 noundef 10)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @func(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwx9l96i7.c'
source_filename = "/tmp/tmpwx9l96i7.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"gtk_accelerator_set_default_mod_mask\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @accelerator_set_default_mod_mask(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 @putfun(ptr noundef @.str, i32 noundef 1, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @putfun(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwx9l96i7.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"gtk_accelerator_set_default_mod_mask\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @accelerator_set_default_mod_mask(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 @putfun(ptr noundef @.str, i32 noundef 1, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @putfun(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_lo0l15.c'
source_filename = "/tmp/tmpm_lo0l15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Enter any one of the below options,\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"1.Bit manipulation\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"2.Pointers\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"3.Structures and unions\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"4.Function pointers\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"5.String manipulation\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"6.Interesting stuff\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"0. Exit program\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"option: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_options_main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_lo0l15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Enter any one of the below options,\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"1.Bit manipulation\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"2.Pointers\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"3.Structures and unions\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"4.Function pointers\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"5.String manipulation\0D\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"6.Interesting stuff\0D\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"0. Exit program\0D\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"option: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_options_main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt78y3azl.c'
source_filename = "/tmp/tmpt78y3azl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_normal_utf8_string_widthn(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %35, %2
%12 = load i64, ptr %5, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i64, ptr %4, align 8
%16 = icmp ugt i64 %15, 0
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %48
19: ; preds = %17
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = call i64 @guess_char_width(i8 noundef signext %21)
store i64 %22, ptr %8, align 8
%23 = load i64, ptr %8, align 8
%24 = load i64, ptr %5, align 8
%25 = icmp ugt i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %19
br label %48
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %8, align 8
%30 = call i64 @get_char_screen_width(ptr noundef %28, i64 noundef %29)
store i64 %30, ptr %7, align 8
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp ugt i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %27
br label %48
35: ; preds = %27
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, %36
store i64 %38, ptr %6, align 8
%39 = load i64, ptr %7, align 8
%40 = load i64, ptr %4, align 8
%41 = sub i64 %40, %39
store i64 %41, ptr %4, align 8
%42 = load i64, ptr %8, align 8
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 %42
store ptr %44, ptr %3, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %5, align 8
%47 = sub i64 %46, %45
store i64 %47, ptr %5, align 8
br label %11, !llvm.loop !6
48: ; preds = %34, %26, %17
%49 = load i64, ptr %6, align 8
ret i64 %49
}
declare i64 @strlen(ptr noundef) #1
declare i64 @guess_char_width(i8 noundef signext) #1
declare i64 @get_char_screen_width(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt78y3azl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_normal_utf8_string_widthn(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %11
11: ; preds = %35, %2
%12 = load i64, ptr %5, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i64, ptr %4, align 8
%16 = icmp ugt i64 %15, 0
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %.loopexit
19: ; preds = %17
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = call i64 @guess_char_width(i8 noundef signext %21)
store i64 %22, ptr %8, align 8
%23 = load i64, ptr %8, align 8
%24 = load i64, ptr %5, align 8
%25 = icmp ugt i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %19
br label %48
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %8, align 8
%30 = call i64 @get_char_screen_width(ptr noundef %28, i64 noundef %29)
store i64 %30, ptr %7, align 8
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp ugt i64 %31, %32
br i1 %33, label %34, label %35
34: ; preds = %27
br label %48
35: ; preds = %27
%36 = load i64, ptr %8, align 8
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, %36
store i64 %38, ptr %6, align 8
%39 = load i64, ptr %7, align 8
%40 = load i64, ptr %4, align 8
%41 = sub i64 %40, %39
store i64 %41, ptr %4, align 8
%42 = load i64, ptr %8, align 8
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 %42
store ptr %44, ptr %3, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %5, align 8
%47 = sub i64 %46, %45
store i64 %47, ptr %5, align 8
br label %11, !llvm.loop !6
.loopexit: ; preds = %17
br label %48
48: ; preds = %.loopexit, %34, %26
%49 = load i64, ptr %6, align 8
ret i64 %49
}
declare i64 @strlen(ptr noundef) #1
declare i64 @guess_char_width(i8 noundef signext) #1
declare i64 @get_char_screen_width(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg8phso52.c'
source_filename = "/tmp/tmpg8phso52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %c\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"NO\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 [100 x i8], align 16
%5 = alloca [150 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
br label %10
10: ; preds = %82, %0
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %14, label %83
14: ; preds = %10
store i32 0, ptr %7, align 4
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %24, %14
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %16, 99
br i1 %17, label %18, label %27
18: ; preds = %15
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %8)
%20 = load i8, ptr %8, align 1
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %22
store i8 %20, ptr %23, align 1
br label %24
24: ; preds = %18
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
store i32 65, ptr %2, align 4
br label %28
28: ; preds = %35, %27
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %29, 122
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %33
store i8 0, ptr %34, align 1
br label %35
35: ; preds = %31
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
br label %28, !llvm.loop !8
38: ; preds = %28
store i32 9, ptr %2, align 4
br label %39
39: ; preds = %51, %38
%40 = load i32, ptr %2, align 4
%41 = icmp sle i32 %40, 81
br i1 %41, label %42, label %54
42: ; preds = %39
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i64
%48 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = add i8 %49, 1
store i8 %50, ptr %48, align 1
br label %51
51: ; preds = %42
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 9
store i32 %53, ptr %2, align 4
br label %39, !llvm.loop !9
54: ; preds = %39
store i32 65, ptr %2, align 4
br label %55
55: ; preds = %72, %54
%56 = load i32, ptr %2, align 4
%57 = icmp sle i32 %56, 122
br i1 %57, label %58, label %75
58: ; preds = %55
%59 = load i32, ptr %2, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp sgt i32 %63, 1
br i1 %64, label %65, label %71
65: ; preds = %58
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
store i32 %70, ptr %7, align 4
br label %75
71: ; preds = %58
br label %72
72: ; preds = %71
%73 = load i32, ptr %2, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %2, align 4
br label %55, !llvm.loop !10
75: ; preds = %65, %55
%76 = load i32, ptr %7, align 4
%77 = icmp eq i32 %76, 9
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = call i32 @printf(ptr noundef @.str.2)
br label %82
80: ; preds = %75
%81 = call i32 @printf(ptr noundef @.str.3)
br label %82
82: ; preds = %80, %78
br label %10, !llvm.loop !11
83: ; preds = %10
ret i32 0
}
declare i32 @scanf(ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8phso52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %c\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"NO\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 [100 x i8], align 16
%5 = alloca [150 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
%9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %.lr.ph10, label %89
.lr.ph10: ; preds = %0
br label %13
13: ; preds = %.lr.ph10, %85
store i32 0, ptr %7, align 4
store i32 1, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 99
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %22
%17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %8)
%18 = load i8, ptr %8, align 1
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %20
store i8 %18, ptr %21, align 1
br label %22
22: ; preds = %16
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp sle i32 %25, 99
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %13
store i32 65, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %28, 122
br i1 %29, label %.lr.ph2, label %39
.lr.ph2: ; preds = %27
br label %30
30: ; preds = %.lr.ph2, %34
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %32
store i8 0, ptr %33, align 1
br label %34
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp sle i32 %37, 122
br i1 %38, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %39
39: ; preds = %._crit_edge3, %27
store i32 9, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp sle i32 %40, 81
br i1 %41, label %.lr.ph5, label %56
.lr.ph5: ; preds = %39
br label %42
42: ; preds = %.lr.ph5, %51
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i64
%48 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = add i8 %49, 1
store i8 %50, ptr %48, align 1
br label %51
51: ; preds = %42
%52 = load i32, ptr %2, align 4
%53 = add nsw i32 %52, 9
store i32 %53, ptr %2, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp sle i32 %54, 81
br i1 %55, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %56
56: ; preds = %._crit_edge6, %39
store i32 65, ptr %2, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp sle i32 %57, 122
br i1 %58, label %.lr.ph8, label %.loopexit
.lr.ph8: ; preds = %56
br label %59
59: ; preds = %.lr.ph8, %73
%60 = load i32, ptr %2, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp sgt i32 %64, 1
br i1 %65, label %66, label %72
66: ; preds = %59
%67 = load i32, ptr %2, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [150 x i8], ptr %5, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
store i32 %71, ptr %7, align 4
br label %78
72: ; preds = %59
br label %73
73: ; preds = %72
%74 = load i32, ptr %2, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %2, align 4
%76 = load i32, ptr %2, align 4
%77 = icmp sle i32 %76, 122
br i1 %77, label %59, label %..loopexit_crit_edge, !llvm.loop !10
..loopexit_crit_edge: ; preds = %73
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %56
br label %78
78: ; preds = %.loopexit, %66
%79 = load i32, ptr %7, align 4
%80 = icmp eq i32 %79, 9
br i1 %80, label %81, label %83
81: ; preds = %78
%82 = call i32 @printf(ptr noundef @.str.2)
br label %85
83: ; preds = %78
%84 = call i32 @printf(ptr noundef @.str.3)
br label %85
85: ; preds = %83, %81
%86 = load i32, ptr %6, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %6, align 4
%88 = icmp ne i32 %86, 0
br i1 %88, label %13, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %85
br label %89
89: ; preds = %._crit_edge11, %0
ret i32 0
}
declare i32 @scanf(ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp3f5_b_oj.c'
source_filename = "/tmp/tmp3f5_b_oj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_lvector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = getelementptr inbounds i64, ptr %7, i64 %8
%10 = getelementptr inbounds i64, ptr %9, i64 -1
%11 = call i32 @free(ptr noundef %10)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3f5_b_oj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_lvector(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = getelementptr inbounds i64, ptr %7, i64 %8
%10 = getelementptr inbounds i64, ptr %9, i64 -1
%11 = call i32 @free(ptr noundef %10)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphgfsa2g_.c'
source_filename = "/tmp/tmphgfsa2g_.c"
target datalayout = "e-m:e-p270: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"Compile time support:\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\09- AppArmor support is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\09- AppImage support is %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"\09- chroot support is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"\09- file and directory whitelisting support is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"\09- file transfer support is %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"\09- networking support is %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"\09- overlayfs support is %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"\09- private-home support is %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"\09- seccomp-bpf support is %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"\09- user namespace support is %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [33 x i8] c"\09- X11 sandboxing support is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_compiletime_support() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphgfsa2g_.c"
target datalayout = "e-m:e-p270: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"Compile time support:\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\09- AppArmor support is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\09- AppImage support is %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"\09- chroot support is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"\09- file and directory whitelisting support is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"\09- file transfer support is %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"\09- networking support is %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"\09- overlayfs support is %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [31 x i8] c"\09- private-home support is %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"\09- seccomp-bpf support is %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"\09- user namespace support is %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [33 x i8] c"\09- X11 sandboxing support is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_compiletime_support() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcae97sm8.c'
source_filename = "/tmp/tmpcae97sm8.c"
target datalayout = "e-m:e-p270: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/tmpcae97sm8.c"
target datalayout = "e-m:e-p270: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/tmpyujvjwh2.c'
source_filename = "/tmp/tmpyujvjwh2.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [10 x i8] c"regninger\00", align 1
@.str = private unnamed_addr constant [34 x i8] c"Checking if %s is a palindrome..\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Iterative function: TRUE\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Iterative function: FALSE\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Recursive function: TRUE\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Recursive function: FALSE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 10, i1 false)
%3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%6 = call i64 @is_palindrome_iter(ptr noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %12
12: ; preds = %10, %8
%13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%14 = call i64 @is_palindrome_rec(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %20
18: ; preds = %12
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %20
20: ; preds = %18, %16
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @is_palindrome_iter(ptr noundef) #2
declare i64 @is_palindrome_rec(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyujvjwh2.c"
target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [10 x i8] c"regninger\00", align 1
@.str = private unnamed_addr constant [34 x i8] c"Checking if %s is a palindrome..\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Iterative function: TRUE\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Iterative function: FALSE\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Recursive function: TRUE\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Recursive function: FALSE\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 10, i1 false)
%3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%6 = call i64 @is_palindrome_iter(ptr noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %12
12: ; preds = %10, %8
%13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
%14 = call i64 @is_palindrome_rec(ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %20
18: ; preds = %12
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %20
20: ; preds = %18, %16
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i64 @is_palindrome_iter(ptr noundef) #2
declare i64 @is_palindrome_rec(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9eoz14er.c'
source_filename = "/tmp/tmp9eoz14er.c"
target datalayout = "e-m:e-p270: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/tmp9eoz14er.c"
target datalayout = "e-m:e-p270: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/tmplw3zvg6m.c'
source_filename = "/tmp/tmplw3zvg6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strindex(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store i32 -2, ptr %3, align 4
br label %69
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %6, align 8
br label %17
17: ; preds = %65, %15
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %68
21: ; preds = %17
%22 = load ptr, ptr %6, align 8
store ptr %22, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %8, align 8
br label %24
24: ; preds = %40, %21
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = load ptr, ptr %7, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load ptr, ptr %8, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %32, %35
br label %37
37: ; preds = %29, %24
%38 = phi i1 [ false, %24 ], [ %36, %29 ]
br i1 %38, label %39, label %45
39: ; preds = %37
br label %40
40: ; preds = %39
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %8, align 8
br label %24, !llvm.loop !6
45: ; preds = %37
%46 = load ptr, ptr %8, align 8
%47 = load ptr, ptr %5, align 8
%48 = ptrtoint ptr %46 to i64
%49 = ptrtoint ptr %47 to i64
%50 = sub i64 %48, %49
%51 = icmp sgt i64 %50, 0
br i1 %51, label %52, label %64
52: ; preds = %45
%53 = load ptr, ptr %8, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %52
%58 = load ptr, ptr %6, align 8
%59 = load ptr, ptr %4, align 8
%60 = ptrtoint ptr %58 to i64
%61 = ptrtoint ptr %59 to i64
%62 = sub i64 %60, %61
%63 = trunc i64 %62 to i32
store i32 %63, ptr %3, align 4
br label %69
64: ; preds = %52, %45
br label %65
65: ; preds = %64
%66 = load ptr, ptr %6, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %6, align 8
br label %17, !llvm.loop !8
68: ; preds = %17
store i32 -1, ptr %3, align 4
br label %69
69: ; preds = %68, %57, %14
%70 = load i32, ptr %3, align 4
ret i32 %70
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplw3zvg6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strindex(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store i32 -2, ptr %3, align 4
br label %71
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %70
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %64
%21 = load ptr, ptr %6, align 8
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
store ptr %22, ptr %8, align 8
br label %23
23: ; preds = %39, %20
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %8, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %31, %34
br label %36
36: ; preds = %28, %23
%37 = phi i1 [ false, %23 ], [ %35, %28 ]
br i1 %37, label %38, label %44
38: ; preds = %36
br label %39
39: ; preds = %38
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %8, align 8
br label %23, !llvm.loop !6
44: ; preds = %36
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %5, align 8
%47 = ptrtoint ptr %45 to i64
%48 = ptrtoint ptr %46 to i64
%49 = sub i64 %47, %48
%50 = icmp sgt i64 %49, 0
br i1 %50, label %51, label %63
51: ; preds = %44
%52 = load ptr, ptr %8, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %51
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %4, align 8
%59 = ptrtoint ptr %57 to i64
%60 = ptrtoint ptr %58 to i64
%61 = sub i64 %59, %60
%62 = trunc i64 %61 to i32
store i32 %62, ptr %3, align 4
br label %71
63: ; preds = %51, %44
br label %64
64: ; preds = %63
%65 = load ptr, ptr %6, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %6, align 8
%67 = load ptr, ptr %6, align 8
%68 = load i8, ptr %67, align 1
%69 = icmp ne i8 %68, 0
br i1 %69, label %20, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %15
store i32 -1, ptr %3, align 4
br label %71
71: ; preds = %70, %56, %14
%72 = load i32, ptr %3, align 4
ret i32 %72
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp96147uhw.c'
source_filename = "/tmp/tmp96147uhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chirp_client_sread(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i32 noundef %7) #0 {
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store i32 %7, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = load i64, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = load i64, ptr %15, align 8
%25 = load i64, ptr %16, align 8
%26 = load i32, ptr %17, align 4
%27 = call i64 @chirp_client_sread_begin(ptr noundef %19, i64 noundef %20, ptr noundef %21, i64 noundef %22, i64 noundef %23, i64 noundef %24, i64 noundef %25, i32 noundef %26)
store i64 %27, ptr %18, align 8
%28 = load i64, ptr %18, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %8
%31 = load i64, ptr %18, align 8
store i64 %31, ptr %9, align 8
br label %42
32: ; preds = %8
%33 = load ptr, ptr %10, align 8
%34 = load i64, ptr %11, align 8
%35 = load ptr, ptr %12, align 8
%36 = load i64, ptr %13, align 8
%37 = load i64, ptr %14, align 8
%38 = load i64, ptr %15, align 8
%39 = load i64, ptr %16, align 8
%40 = load i32, ptr %17, align 4
%41 = call i64 @chirp_client_sread_finish(ptr noundef %33, i64 noundef %34, ptr noundef %35, i64 noundef %36, i64 noundef %37, i64 noundef %38, i64 noundef %39, i32 noundef %40)
store i64 %41, ptr %9, align 8
br label %42
42: ; preds = %32, %30
%43 = load i64, ptr %9, align 8
ret i64 %43
}
declare i64 @chirp_client_sread_begin(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1
declare i64 @chirp_client_sread_finish(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 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/tmp96147uhw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chirp_client_sread(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i32 noundef %7) #0 {
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i64, align 8
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store i32 %7, ptr %17, align 4
%19 = load ptr, ptr %10, align 8
%20 = load i64, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = load i64, ptr %13, align 8
%23 = load i64, ptr %14, align 8
%24 = load i64, ptr %15, align 8
%25 = load i64, ptr %16, align 8
%26 = load i32, ptr %17, align 4
%27 = call i64 @chirp_client_sread_begin(ptr noundef %19, i64 noundef %20, ptr noundef %21, i64 noundef %22, i64 noundef %23, i64 noundef %24, i64 noundef %25, i32 noundef %26)
store i64 %27, ptr %18, align 8
%28 = load i64, ptr %18, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %8
%31 = load i64, ptr %18, align 8
store i64 %31, ptr %9, align 8
br label %42
32: ; preds = %8
%33 = load ptr, ptr %10, align 8
%34 = load i64, ptr %11, align 8
%35 = load ptr, ptr %12, align 8
%36 = load i64, ptr %13, align 8
%37 = load i64, ptr %14, align 8
%38 = load i64, ptr %15, align 8
%39 = load i64, ptr %16, align 8
%40 = load i32, ptr %17, align 4
%41 = call i64 @chirp_client_sread_finish(ptr noundef %33, i64 noundef %34, ptr noundef %35, i64 noundef %36, i64 noundef %37, i64 noundef %38, i64 noundef %39, i32 noundef %40)
store i64 %41, ptr %9, align 8
br label %42
42: ; preds = %32, %30
%43 = load i64, ptr %9, align 8
ret i64 %43
}
declare i64 @chirp_client_sread_begin(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1
declare i64 @chirp_client_sread_finish(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 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/tmp_y0kgk18.c'
source_filename = "/tmp/tmp_y0kgk18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bootFilter(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @mCalloc(i32 noundef %7, i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %28, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %31
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = call ptr @initZeroArray(i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
store ptr %16, ptr %20, align 8
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 @bootstrapSelect(i32 noundef %21, ptr noundef %26)
br label %28
28: ; preds = %14
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %10, !llvm.loop !6
31: ; preds = %10
%32 = load ptr, ptr %6, align 8
ret ptr %32
}
declare i64 @mCalloc(i32 noundef, i32 noundef) #1
declare ptr @initZeroArray(i32 noundef) #1
declare i32 @bootstrapSelect(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/tmp_y0kgk18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bootFilter(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @mCalloc(i32 noundef %7, i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %27
%14 = load i32, ptr %4, align 4
%15 = call ptr @initZeroArray(i32 noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
store ptr %15, ptr %19, align 8
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i32 @bootstrapSelect(i32 noundef %20, ptr noundef %25)
br label %27
27: ; preds = %13
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
declare i64 @mCalloc(i32 noundef, i32 noundef) #1
declare ptr @initZeroArray(i32 noundef) #1
declare i32 @bootstrapSelect(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/tmpx1h1regj.c'
source_filename = "/tmp/tmpx1h1regj.c"
target datalayout = "e-m:e-p270: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/tmpx1h1regj.c"
target datalayout = "e-m:e-p270: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/tmp3xmvtwl8.c'
source_filename = "/tmp/tmp3xmvtwl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"k=%d, alpha=%f\0Aweights:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%3d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bin_filters(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 i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %49, %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %52
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12, double noundef %17)
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %44, %11
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %20, 5
br i1 %21, label %22, label %47
22: ; preds = %19
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %39, %22
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %24, 5
br i1 %25, label %26, label %42
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x [5 x i32]], ptr %27, i64 %29
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [5 x [5 x i32]], ptr %30, i64 0, i64 %32
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %39
39: ; preds = %26
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %23, !llvm.loop !6
42: ; preds = %23
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %44
44: ; preds = %42
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %19, !llvm.loop !8
47: ; preds = %19
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %49
49: ; preds = %47
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %8, !llvm.loop !9
52: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xmvtwl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"k=%d, alpha=%f\0Aweights:\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%3d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_bin_filters(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 i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %.lr.ph5, label %55
.lr.ph5: ; preds = %2
br label %10
10: ; preds = %.lr.ph5, %50
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, double noundef %16)
store i32 0, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %.lr.ph2, label %48
.lr.ph2: ; preds = %10
br label %20
20: ; preds = %.lr.ph2, %43
store i32 0, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %.lr.ph, label %41
.lr.ph: ; preds = %20
br label %23
23: ; preds = %.lr.ph, %36
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [5 x [5 x i32]], ptr %24, i64 %26
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x [5 x i32]], ptr %27, i64 0, i64 %29
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [5 x i32], ptr %30, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %23
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %39, 5
br i1 %40, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %20
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %43
43: ; preds = %41
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %46, 5
br i1 %47, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %48
48: ; preds = %._crit_edge3, %10
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %50
50: ; preds = %48
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp slt i32 %53, 3
br i1 %54, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %50
br label %55
55: ; preds = %._crit_edge6, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpho7tidig.c'
source_filename = "/tmp/tmpho7tidig.c"
target datalayout = "e-m:e-p270: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/tmpho7tidig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_hy5tf2c.c'
source_filename = "/tmp/tmp_hy5tf2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"error in mulnor %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mvn1(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [8 x double], align 16
%20 = alloca [8 x double], align 16
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca [22 x double], align 16
%24 = alloca double, align 8
%25 = alloca [20 x double], align 16
%26 = alloca [20 x [20 x double]], align 16
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca [8 x i32], align 16
%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 [20 x i32], align 16
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca [20 x i32], align 16
store i32 %0, ptr %10, align 4
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store double %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%44 = load ptr, ptr %18, align 8
store i32 0, ptr %44, align 4
store i32 1, ptr %30, align 4
br label %45
45: ; preds = %66, %9
%46 = load i32, ptr %30, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %49, label %69
49: ; preds = %45
%50 = load ptr, ptr %11, align 8
%51 = load i32, ptr %30, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = load ptr, ptr %12, align 8
%56 = load i32, ptr %30, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = fcmp oge double %54, %59
br i1 %60, label %61, label %65
61: ; preds = %49
%62 = load ptr, ptr %18, align 8
store i32 1, ptr %62, align 4
%63 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %63, align 8
%64 = load ptr, ptr %17, align 8
store double 0.000000e+00, ptr %64, align 8
br label %448
65: ; preds = %49
br label %66
66: ; preds = %65
%67 = load i32, ptr %30, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %30, align 4
br label %45, !llvm.loop !6
69: ; preds = %45
%70 = load i32, ptr %10, align 4
%71 = icmp eq i32 %70, 1
br i1 %71, label %72, label %84
72: ; preds = %69
%73 = load ptr, ptr %12, align 8
%74 = getelementptr inbounds double, ptr %73, i64 1
%75 = load double, ptr %74, align 8
%76 = call double @pnorms(double noundef %75)
%77 = load ptr, ptr %11, align 8
%78 = getelementptr inbounds double, ptr %77, i64 1
%79 = load double, ptr %78, align 8
%80 = call double @pnorms(double noundef %79)
%81 = fsub double %76, %80
%82 = load ptr, ptr %16, align 8
store double %81, ptr %82, align 8
%83 = load ptr, ptr %17, align 8
store double 0x3EB0C6F7A0B5ED8D, ptr %83, align 8
br label %448
84: ; preds = %69
%85 = load i32, ptr %10, align 4
%86 = icmp eq i32 %85, 2
br i1 %86, label %87, label %129
87: ; preds = %84
%88 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
store i32 2, ptr %88, align 16
%89 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 1
store i32 2, ptr %89, align 4
store double 0x3EB0C6F7A0B5ED8D, ptr %22, align 8
%90 = load ptr, ptr %11, align 8
%91 = getelementptr inbounds double, ptr %90, i64 1
%92 = load double, ptr %91, align 8
%93 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
store double %92, ptr %93, align 16
%94 = load ptr, ptr %11, align 8
%95 = getelementptr inbounds double, ptr %94, i64 2
%96 = load double, ptr %95, align 8
%97 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 1
store double %96, ptr %97, align 8
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds double, ptr %98, i64 1
%100 = load double, ptr %99, align 8
%101 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
store double %100, ptr %101, align 16
%102 = load ptr, ptr %12, align 8
%103 = getelementptr inbounds double, ptr %102, i64 2
%104 = load double, ptr %103, align 8
%105 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 1
store double %104, ptr %105, align 8
%106 = load ptr, ptr %13, align 8
%107 = getelementptr inbounds [20 x double], ptr %106, i64 1
%108 = getelementptr inbounds [20 x double], ptr %107, i64 0, i64 2
%109 = load double, ptr %108, align 8
%110 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
store double %109, ptr %110, align 16
%111 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
%112 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
%113 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
%114 = load double, ptr %22, align 8
%115 = load i32, ptr %10, align 4
%116 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
call void @mulnor(ptr noundef %111, ptr noundef %112, ptr noundef %113, double noundef %114, i32 noundef %115, ptr noundef %116, ptr noundef %29, ptr noundef %21, ptr noundef %31)
%117 = load i32, ptr %31, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %122
119: ; preds = %87
%120 = load i32, ptr %31, align 4
%121 = call i32 @printf(ptr noundef @.str, i32 noundef %120)
br label %122
122: ; preds = %119, %87
%123 = load double, ptr %29, align 8
%124 = load ptr, ptr %16, align 8
store double %123, ptr %124, align 8
%125 = load double, ptr %21, align 8
%126 = load ptr, ptr %17, align 8
store double %125, ptr %126, align 8
%127 = load i32, ptr %31, align 4
%128 = load ptr, ptr %18, align 8
store i32 %127, ptr %128, align 4
br label %448
129: ; preds = %84
store i32 1, ptr %30, align 4
br label %130
130: ; preds = %197, %129
%131 = load i32, ptr %30, align 4
%132 = load i32, ptr %10, align 4
%133 = icmp sle i32 %131, %132
br i1 %133, label %134, label %200
134: ; preds = %130
%135 = load ptr, ptr %11, align 8
%136 = load i32, ptr %30, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %135, i64 %137
%139 = load double, ptr %138, align 8
%140 = fcmp ole double %139, -5.000000e+00
br i1 %140, label %141, label %154
141: ; preds = %134
%142 = load i32, ptr %30, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %143
store i32 1, ptr %144, align 4
%145 = load ptr, ptr %12, align 8
%146 = load i32, ptr %30, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = call double @pnorms(double noundef %149)
%151 = load i32, ptr %30, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %152
store double %150, ptr %153, align 8
br label %196
154: ; preds = %134
%155 = load ptr, ptr %12, align 8
%156 = load i32, ptr %30, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds double, ptr %155, i64 %157
%159 = load double, ptr %158, align 8
%160 = fcmp oge double %159, 5.000000e+00
br i1 %160, label %161, label %175
161: ; preds = %154
%162 = load i32, ptr %30, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %163
store i32 0, ptr %164, align 4
%165 = load ptr, ptr %11, align 8
%166 = load i32, ptr %30, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %165, i64 %167
%169 = load double, ptr %168, align 8
%170 = call double @pnorms(double noundef %169)
%171 = fsub double 1.000000e+00, %170
%172 = load i32, ptr %30, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %173
store double %171, ptr %174, align 8
br label %195
175: ; preds = %154
%176 = load i32, ptr %30, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %177
store i32 2, ptr %178, align 4
%179 = load ptr, ptr %12, align 8
%180 = load i32, ptr %30, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %179, i64 %181
%183 = load double, ptr %182, align 8
%184 = call double @pnorms(double noundef %183)
%185 = load ptr, ptr %11, align 8
%186 = load i32, ptr %30, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %185, i64 %187
%189 = load double, ptr %188, align 8
%190 = call double @pnorms(double noundef %189)
%191 = fsub double %184, %190
%192 = load i32, ptr %30, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %193
store double %191, ptr %194, align 8
br label %195
195: ; preds = %175, %161
br label %196
196: ; preds = %195, %141
br label %197
197: ; preds = %196
%198 = load i32, ptr %30, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %30, align 4
br label %130, !llvm.loop !8
200: ; preds = %130
store i32 2, ptr %33, align 4
store i32 1, ptr %30, align 4
br label %201
201: ; preds = %222, %200
%202 = load i32, ptr %30, align 4
%203 = load i32, ptr %10, align 4
%204 = icmp sle i32 %202, %203
br i1 %204, label %205, label %225
205: ; preds = %201
%206 = load i32, ptr %30, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %207
%209 = load double, ptr %208, align 8
%210 = load i32, ptr %30, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %211
%213 = load double, ptr %212, align 8
%214 = fsub double 1.000000e+00, %213
%215 = fmul double %209, %214
%216 = load i32, ptr %30, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %217
%219 = load i32, ptr %30, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [20 x double], ptr %218, i64 0, i64 %220
store double %215, ptr %221, align 8
br label %222
222: ; preds = %205
%223 = load i32, ptr %30, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %30, align 4
br label %201, !llvm.loop !9
225: ; preds = %201
store i32 1, ptr %30, align 4
br label %226
226: ; preds = %332, %225
%227 = load i32, ptr %30, align 4
%228 = load i32, ptr %10, align 4
%229 = icmp slt i32 %227, %228
br i1 %229, label %230, label %335
230: ; preds = %226
%231 = load i32, ptr %30, align 4
%232 = add nsw i32 %231, 1
store i32 %232, ptr %34, align 4
br label %233
233: ; preds = %328, %230
%234 = load i32, ptr %34, align 4
%235 = load i32, ptr %10, align 4
%236 = icmp sle i32 %234, %235
br i1 %236, label %237, label %331
237: ; preds = %233
%238 = load ptr, ptr %11, align 8
%239 = load i32, ptr %30, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds double, ptr %238, i64 %240
%242 = load double, ptr %241, align 8
%243 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
store double %242, ptr %243, align 16
%244 = load ptr, ptr %11, align 8
%245 = load i32, ptr %34, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %244, i64 %246
%248 = load double, ptr %247, align 8
%249 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 1
store double %248, ptr %249, align 8
%250 = load ptr, ptr %12, align 8
%251 = load i32, ptr %30, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds double, ptr %250, i64 %252
%254 = load double, ptr %253, align 8
%255 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
store double %254, ptr %255, align 16
%256 = load ptr, ptr %12, align 8
%257 = load i32, ptr %34, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, ptr %256, i64 %258
%260 = load double, ptr %259, align 8
%261 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 1
store double %260, ptr %261, align 8
%262 = load ptr, ptr %13, align 8
%263 = load i32, ptr %30, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [20 x double], ptr %262, i64 %264
%266 = load i32, ptr %34, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds [20 x double], ptr %265, i64 0, i64 %267
%269 = load double, ptr %268, align 8
%270 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
store double %269, ptr %270, align 16
%271 = load i32, ptr %30, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %272
%274 = load i32, ptr %273, align 4
%275 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
store i32 %274, ptr %275, align 16
%276 = load i32, ptr %34, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %277
%279 = load i32, ptr %278, align 4
%280 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 1
store i32 %279, ptr %280, align 4
%281 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
%282 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
%283 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
%284 = load double, ptr %15, align 8
%285 = load i32, ptr %33, align 4
%286 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
call void @mulnor(ptr noundef %281, ptr noundef %282, ptr noundef %283, double noundef %284, i32 noundef %285, ptr noundef %286, ptr noundef %24, ptr noundef %21, ptr noundef %31)
%287 = load i32, ptr %31, align 4
%288 = icmp ne i32 %287, 0
br i1 %288, label %289, label %297
289: ; preds = %237
%290 = load i32, ptr %31, align 4
%291 = call i32 @printf(ptr noundef @.str, i32 noundef %290)
%292 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %292, align 8
%293 = load double, ptr %21, align 8
%294 = load ptr, ptr %17, align 8
store double %293, ptr %294, align 8
%295 = load i32, ptr %31, align 4
%296 = load ptr, ptr %18, align 8
store i32 %295, ptr %296, align 4
br label %448
297: ; preds = %237
%298 = load double, ptr %24, align 8
%299 = load i32, ptr %34, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %300
%302 = load double, ptr %301, align 8
%303 = load i32, ptr %30, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %304
%306 = load double, ptr %305, align 8
%307 = fneg double %302
%308 = call double @llvm.fmuladd.f64(double %307, double %306, double %298)
%309 = load i32, ptr %30, align 4
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %310
%312 = load i32, ptr %34, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds [20 x double], ptr %311, i64 0, i64 %313
store double %308, ptr %314, align 8
%315 = load i32, ptr %30, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %316
%318 = load i32, ptr %34, align 4
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds [20 x double], ptr %317, i64 0, i64 %319
%321 = load double, ptr %320, align 8
%322 = load i32, ptr %34, align 4
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %323
%325 = load i32, ptr %30, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds [20 x double], ptr %324, i64 0, i64 %326
store double %321, ptr %327, align 8
br label %328
328: ; preds = %297
%329 = load i32, ptr %34, align 4
%330 = add nsw i32 %329, 1
store i32 %330, ptr %34, align 4
br label %233, !llvm.loop !10
331: ; preds = %233
br label %332
332: ; preds = %331
%333 = load i32, ptr %30, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %30, align 4
br label %226, !llvm.loop !11
335: ; preds = %226
%336 = load i32, ptr %14, align 4
%337 = icmp eq i32 %336, 0
br i1 %337, label %338, label %389
338: ; preds = %335
store i32 0, ptr %36, align 4
store i32 0, ptr %35, align 4
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store i32 2, ptr %30, align 4
store i32 1, ptr %42, align 4
br label %339
339: ; preds = %347, %338
%340 = load i32, ptr %30, align 4
%341 = load i32, ptr %10, align 4
%342 = icmp sle i32 %340, %341
br i1 %342, label %343, label %350
343: ; preds = %339
%344 = load i32, ptr %30, align 4
%345 = load i32, ptr %42, align 4
%346 = mul nsw i32 %345, %344
store i32 %346, ptr %42, align 4
br label %347
347: ; preds = %343
%348 = load i32, ptr %30, align 4
%349 = add nsw i32 %348, 1
store i32 %349, ptr %30, align 4
br label %339, !llvm.loop !12
350: ; preds = %339
store i32 1, ptr %41, align 4
br label %351
351: ; preds = %385, %350
%352 = load i32, ptr %41, align 4
%353 = load i32, ptr %42, align 4
%354 = icmp sle i32 %352, %353
br i1 %354, label %355, label %388
355: ; preds = %351
%356 = load i32, ptr %10, align 4
%357 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
call void @nexper(i32 noundef %356, ptr noundef %357, ptr noundef %36, ptr noundef %37)
%358 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 1
%359 = load i32, ptr %358, align 4
%360 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 2
%361 = load i32, ptr %360, align 8
%362 = icmp slt i32 %359, %361
br i1 %362, label %363, label %384
363: ; preds = %355
%364 = load ptr, ptr %11, align 8
%365 = load ptr, ptr %12, align 8
%366 = load ptr, ptr %13, align 8
%367 = load i32, ptr %10, align 4
%368 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%369 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 0
%370 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 0
call void @approx1(ptr noundef %364, ptr noundef %365, ptr noundef %366, i32 noundef %367, ptr noundef %368, ptr noundef %369, ptr noundef %370, ptr noundef %29, ptr noundef %39)
%371 = load i32, ptr %39, align 4
%372 = icmp eq i32 %371, 1
br i1 %372, label %373, label %383
373: ; preds = %363
%374 = load i32, ptr %35, align 4
%375 = add nsw i32 %374, 1
store i32 %375, ptr %35, align 4
%376 = load double, ptr %29, align 8
%377 = load double, ptr %27, align 8
%378 = fadd double %377, %376
store double %378, ptr %27, align 8
%379 = load double, ptr %29, align 8
%380 = load double, ptr %29, align 8
%381 = load double, ptr %28, align 8
%382 = call double @llvm.fmuladd.f64(double %379, double %380, double %381)
store double %382, ptr %28, align 8
br label %383
383: ; preds = %373, %363
br label %384
384: ; preds = %383, %355
br label %385
385: ; preds = %384
%386 = load i32, ptr %41, align 4
%387 = add nsw i32 %386, 1
store i32 %387, ptr %41, align 4
br label %351, !llvm.loop !13
388: ; preds = %351
br label %421
389: ; preds = %335
store i32 0, ptr %35, align 4
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store i32 1, ptr %40, align 4
br label %390
390: ; preds = %417, %389
%391 = load i32, ptr %40, align 4
%392 = load i32, ptr %14, align 4
%393 = icmp sle i32 %391, %392
br i1 %393, label %394, label %420
394: ; preds = %390
%395 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%396 = load i32, ptr %10, align 4
call void @isamp(ptr noundef %395, i32 noundef %396)
%397 = load ptr, ptr %11, align 8
%398 = load ptr, ptr %12, align 8
%399 = load ptr, ptr %13, align 8
%400 = load i32, ptr %10, align 4
%401 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%402 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 0
%403 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 0
call void @approx1(ptr noundef %397, ptr noundef %398, ptr noundef %399, i32 noundef %400, ptr noundef %401, ptr noundef %402, ptr noundef %403, ptr noundef %29, ptr noundef %39)
%404 = load i32, ptr %39, align 4
%405 = icmp eq i32 %404, 1
br i1 %405, label %406, label %416
406: ; preds = %394
%407 = load i32, ptr %35, align 4
%408 = add nsw i32 %407, 1
store i32 %408, ptr %35, align 4
%409 = load double, ptr %29, align 8
%410 = load double, ptr %27, align 8
%411 = fadd double %410, %409
store double %411, ptr %27, align 8
%412 = load double, ptr %29, align 8
%413 = load double, ptr %29, align 8
%414 = load double, ptr %28, align 8
%415 = call double @llvm.fmuladd.f64(double %412, double %413, double %414)
store double %415, ptr %28, align 8
br label %416
416: ; preds = %406, %394
br label %417
417: ; preds = %416
%418 = load i32, ptr %40, align 4
%419 = add nsw i32 %418, 1
store i32 %419, ptr %40, align 4
br label %390, !llvm.loop !14
420: ; preds = %390
br label %421
421: ; preds = %420, %388
%422 = load i32, ptr %35, align 4
%423 = sitofp i32 %422 to double
%424 = load double, ptr %27, align 8
%425 = fdiv double %424, %423
store double %425, ptr %27, align 8
%426 = load double, ptr %28, align 8
%427 = load i32, ptr %35, align 4
%428 = sitofp i32 %427 to double
%429 = load double, ptr %27, align 8
%430 = fmul double %428, %429
%431 = load double, ptr %27, align 8
%432 = fneg double %430
%433 = call double @llvm.fmuladd.f64(double %432, double %431, double %426)
%434 = load i32, ptr %35, align 4
%435 = sitofp i32 %434 to double
%436 = fsub double %435, 1.000000e+00
%437 = fdiv double %433, %436
store double %437, ptr %28, align 8
%438 = load double, ptr %27, align 8
%439 = load ptr, ptr %16, align 8
store double %438, ptr %439, align 8
%440 = load double, ptr %28, align 8
%441 = fcmp ogt double %440, 0.000000e+00
br i1 %441, label %442, label %446
442: ; preds = %421
%443 = load double, ptr %28, align 8
%444 = call double @sqrt(double noundef %443) #4
%445 = load ptr, ptr %17, align 8
store double %444, ptr %445, align 8
br label %448
446: ; preds = %421
%447 = load ptr, ptr %17, align 8
store double 0.000000e+00, ptr %447, align 8
br label %448
448: ; preds = %61, %72, %122, %289, %446, %442
ret void
}
declare double @pnorms(double noundef) #1
declare void @mulnor(ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare void @nexper(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @approx1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @isamp(ptr noundef, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hy5tf2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"error in mulnor %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mvn1(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [8 x double], align 16
%20 = alloca [8 x double], align 16
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca [22 x double], align 16
%24 = alloca double, align 8
%25 = alloca [20 x double], align 16
%26 = alloca [20 x [20 x double]], align 16
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca [8 x i32], align 16
%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 [20 x i32], align 16
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca [20 x i32], align 16
store i32 %0, ptr %10, align 4
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store double %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%44 = load ptr, ptr %18, align 8
store i32 0, ptr %44, align 4
store i32 1, ptr %30, align 4
%45 = load i32, ptr %30, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %.lr.ph, label %71
.lr.ph: ; preds = %9
br label %48
48: ; preds = %.lr.ph, %65
%49 = load ptr, ptr %11, align 8
%50 = load i32, ptr %30, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %12, align 8
%55 = load i32, ptr %30, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = fcmp oge double %53, %58
br i1 %59, label %60, label %64
60: ; preds = %48
%61 = load ptr, ptr %18, align 8
store i32 1, ptr %61, align 4
%62 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %62, align 8
%63 = load ptr, ptr %17, align 8
store double 0.000000e+00, ptr %63, align 8
br label %464
64: ; preds = %48
br label %65
65: ; preds = %64
%66 = load i32, ptr %30, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %30, align 4
%68 = load i32, ptr %30, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %9
%72 = load i32, ptr %10, align 4
%73 = icmp eq i32 %72, 1
br i1 %73, label %74, label %86
74: ; preds = %71
%75 = load ptr, ptr %12, align 8
%76 = getelementptr inbounds double, ptr %75, i64 1
%77 = load double, ptr %76, align 8
%78 = call double @pnorms(double noundef %77)
%79 = load ptr, ptr %11, align 8
%80 = getelementptr inbounds double, ptr %79, i64 1
%81 = load double, ptr %80, align 8
%82 = call double @pnorms(double noundef %81)
%83 = fsub double %78, %82
%84 = load ptr, ptr %16, align 8
store double %83, ptr %84, align 8
%85 = load ptr, ptr %17, align 8
store double 0x3EB0C6F7A0B5ED8D, ptr %85, align 8
br label %464
86: ; preds = %71
%87 = load i32, ptr %10, align 4
%88 = icmp eq i32 %87, 2
br i1 %88, label %89, label %131
89: ; preds = %86
%90 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
store i32 2, ptr %90, align 16
%91 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 1
store i32 2, ptr %91, align 4
store double 0x3EB0C6F7A0B5ED8D, ptr %22, align 8
%92 = load ptr, ptr %11, align 8
%93 = getelementptr inbounds double, ptr %92, i64 1
%94 = load double, ptr %93, align 8
%95 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
store double %94, ptr %95, align 16
%96 = load ptr, ptr %11, align 8
%97 = getelementptr inbounds double, ptr %96, i64 2
%98 = load double, ptr %97, align 8
%99 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 1
store double %98, ptr %99, align 8
%100 = load ptr, ptr %12, align 8
%101 = getelementptr inbounds double, ptr %100, i64 1
%102 = load double, ptr %101, align 8
%103 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
store double %102, ptr %103, align 16
%104 = load ptr, ptr %12, align 8
%105 = getelementptr inbounds double, ptr %104, i64 2
%106 = load double, ptr %105, align 8
%107 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 1
store double %106, ptr %107, align 8
%108 = load ptr, ptr %13, align 8
%109 = getelementptr inbounds [20 x double], ptr %108, i64 1
%110 = getelementptr inbounds [20 x double], ptr %109, i64 0, i64 2
%111 = load double, ptr %110, align 8
%112 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
store double %111, ptr %112, align 16
%113 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
%114 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
%115 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
%116 = load double, ptr %22, align 8
%117 = load i32, ptr %10, align 4
%118 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
call void @mulnor(ptr noundef %113, ptr noundef %114, ptr noundef %115, double noundef %116, i32 noundef %117, ptr noundef %118, ptr noundef %29, ptr noundef %21, ptr noundef %31)
%119 = load i32, ptr %31, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %124
121: ; preds = %89
%122 = load i32, ptr %31, align 4
%123 = call i32 @printf(ptr noundef @.str, i32 noundef %122)
br label %124
124: ; preds = %121, %89
%125 = load double, ptr %29, align 8
%126 = load ptr, ptr %16, align 8
store double %125, ptr %126, align 8
%127 = load double, ptr %21, align 8
%128 = load ptr, ptr %17, align 8
store double %127, ptr %128, align 8
%129 = load i32, ptr %31, align 4
%130 = load ptr, ptr %18, align 8
store i32 %129, ptr %130, align 4
br label %464
131: ; preds = %86
store i32 1, ptr %30, align 4
%132 = load i32, ptr %30, align 4
%133 = load i32, ptr %10, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %.lr.ph2, label %204
.lr.ph2: ; preds = %131
br label %135
135: ; preds = %.lr.ph2, %198
%136 = load ptr, ptr %11, align 8
%137 = load i32, ptr %30, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
%141 = fcmp ole double %140, -5.000000e+00
br i1 %141, label %142, label %155
142: ; preds = %135
%143 = load i32, ptr %30, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %144
store i32 1, ptr %145, align 4
%146 = load ptr, ptr %12, align 8
%147 = load i32, ptr %30, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds double, ptr %146, i64 %148
%150 = load double, ptr %149, align 8
%151 = call double @pnorms(double noundef %150)
%152 = load i32, ptr %30, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %153
store double %151, ptr %154, align 8
br label %197
155: ; preds = %135
%156 = load ptr, ptr %12, align 8
%157 = load i32, ptr %30, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %156, i64 %158
%160 = load double, ptr %159, align 8
%161 = fcmp oge double %160, 5.000000e+00
br i1 %161, label %162, label %176
162: ; preds = %155
%163 = load i32, ptr %30, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %164
store i32 0, ptr %165, align 4
%166 = load ptr, ptr %11, align 8
%167 = load i32, ptr %30, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %166, i64 %168
%170 = load double, ptr %169, align 8
%171 = call double @pnorms(double noundef %170)
%172 = fsub double 1.000000e+00, %171
%173 = load i32, ptr %30, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %174
store double %172, ptr %175, align 8
br label %196
176: ; preds = %155
%177 = load i32, ptr %30, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %178
store i32 2, ptr %179, align 4
%180 = load ptr, ptr %12, align 8
%181 = load i32, ptr %30, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %180, i64 %182
%184 = load double, ptr %183, align 8
%185 = call double @pnorms(double noundef %184)
%186 = load ptr, ptr %11, align 8
%187 = load i32, ptr %30, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds double, ptr %186, i64 %188
%190 = load double, ptr %189, align 8
%191 = call double @pnorms(double noundef %190)
%192 = fsub double %185, %191
%193 = load i32, ptr %30, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %194
store double %192, ptr %195, align 8
br label %196
196: ; preds = %176, %162
br label %197
197: ; preds = %196, %142
br label %198
198: ; preds = %197
%199 = load i32, ptr %30, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %30, align 4
%201 = load i32, ptr %30, align 4
%202 = load i32, ptr %10, align 4
%203 = icmp sle i32 %201, %202
br i1 %203, label %135, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %198
br label %204
204: ; preds = %._crit_edge3, %131
store i32 2, ptr %33, align 4
store i32 1, ptr %30, align 4
%205 = load i32, ptr %30, align 4
%206 = load i32, ptr %10, align 4
%207 = icmp sle i32 %205, %206
br i1 %207, label %.lr.ph5, label %231
.lr.ph5: ; preds = %204
br label %208
208: ; preds = %.lr.ph5, %225
%209 = load i32, ptr %30, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %210
%212 = load double, ptr %211, align 8
%213 = load i32, ptr %30, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %214
%216 = load double, ptr %215, align 8
%217 = fsub double 1.000000e+00, %216
%218 = fmul double %212, %217
%219 = load i32, ptr %30, align 4
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %220
%222 = load i32, ptr %30, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [20 x double], ptr %221, i64 0, i64 %223
store double %218, ptr %224, align 8
br label %225
225: ; preds = %208
%226 = load i32, ptr %30, align 4
%227 = add nsw i32 %226, 1
store i32 %227, ptr %30, align 4
%228 = load i32, ptr %30, align 4
%229 = load i32, ptr %10, align 4
%230 = icmp sle i32 %228, %229
br i1 %230, label %208, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %225
br label %231
231: ; preds = %._crit_edge6, %204
store i32 1, ptr %30, align 4
%232 = load i32, ptr %30, align 4
%233 = load i32, ptr %10, align 4
%234 = icmp slt i32 %232, %233
br i1 %234, label %.lr.ph11, label %345
.lr.ph11: ; preds = %231
br label %235
235: ; preds = %.lr.ph11, %339
%236 = load i32, ptr %30, align 4
%237 = add nsw i32 %236, 1
store i32 %237, ptr %34, align 4
%238 = load i32, ptr %34, align 4
%239 = load i32, ptr %10, align 4
%240 = icmp sle i32 %238, %239
br i1 %240, label %.lr.ph8, label %338
.lr.ph8: ; preds = %235
br label %241
241: ; preds = %.lr.ph8, %332
%242 = load ptr, ptr %11, align 8
%243 = load i32, ptr %30, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds double, ptr %242, i64 %244
%246 = load double, ptr %245, align 8
%247 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
store double %246, ptr %247, align 16
%248 = load ptr, ptr %11, align 8
%249 = load i32, ptr %34, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
%252 = load double, ptr %251, align 8
%253 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 1
store double %252, ptr %253, align 8
%254 = load ptr, ptr %12, align 8
%255 = load i32, ptr %30, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %254, i64 %256
%258 = load double, ptr %257, align 8
%259 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
store double %258, ptr %259, align 16
%260 = load ptr, ptr %12, align 8
%261 = load i32, ptr %34, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, ptr %260, i64 %262
%264 = load double, ptr %263, align 8
%265 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 1
store double %264, ptr %265, align 8
%266 = load ptr, ptr %13, align 8
%267 = load i32, ptr %30, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds [20 x double], ptr %266, i64 %268
%270 = load i32, ptr %34, align 4
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds [20 x double], ptr %269, i64 0, i64 %271
%273 = load double, ptr %272, align 8
%274 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
store double %273, ptr %274, align 16
%275 = load i32, ptr %30, align 4
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %276
%278 = load i32, ptr %277, align 4
%279 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
store i32 %278, ptr %279, align 16
%280 = load i32, ptr %34, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [20 x i32], ptr %43, i64 0, i64 %281
%283 = load i32, ptr %282, align 4
%284 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 1
store i32 %283, ptr %284, align 4
%285 = getelementptr inbounds [8 x double], ptr %20, i64 0, i64 0
%286 = getelementptr inbounds [8 x double], ptr %19, i64 0, i64 0
%287 = getelementptr inbounds [22 x double], ptr %23, i64 0, i64 0
%288 = load double, ptr %15, align 8
%289 = load i32, ptr %33, align 4
%290 = getelementptr inbounds [8 x i32], ptr %32, i64 0, i64 0
call void @mulnor(ptr noundef %285, ptr noundef %286, ptr noundef %287, double noundef %288, i32 noundef %289, ptr noundef %290, ptr noundef %24, ptr noundef %21, ptr noundef %31)
%291 = load i32, ptr %31, align 4
%292 = icmp ne i32 %291, 0
br i1 %292, label %293, label %301
293: ; preds = %241
%294 = load i32, ptr %31, align 4
%295 = call i32 @printf(ptr noundef @.str, i32 noundef %294)
%296 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %296, align 8
%297 = load double, ptr %21, align 8
%298 = load ptr, ptr %17, align 8
store double %297, ptr %298, align 8
%299 = load i32, ptr %31, align 4
%300 = load ptr, ptr %18, align 8
store i32 %299, ptr %300, align 4
br label %464
301: ; preds = %241
%302 = load double, ptr %24, align 8
%303 = load i32, ptr %34, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %304
%306 = load double, ptr %305, align 8
%307 = load i32, ptr %30, align 4
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 %308
%310 = load double, ptr %309, align 8
%311 = fneg double %306
%312 = call double @llvm.fmuladd.f64(double %311, double %310, double %302)
%313 = load i32, ptr %30, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %314
%316 = load i32, ptr %34, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds [20 x double], ptr %315, i64 0, i64 %317
store double %312, ptr %318, align 8
%319 = load i32, ptr %30, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %320
%322 = load i32, ptr %34, align 4
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds [20 x double], ptr %321, i64 0, i64 %323
%325 = load double, ptr %324, align 8
%326 = load i32, ptr %34, align 4
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 %327
%329 = load i32, ptr %30, align 4
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds [20 x double], ptr %328, i64 0, i64 %330
store double %325, ptr %331, align 8
br label %332
332: ; preds = %301
%333 = load i32, ptr %34, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %34, align 4
%335 = load i32, ptr %34, align 4
%336 = load i32, ptr %10, align 4
%337 = icmp sle i32 %335, %336
br i1 %337, label %241, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %332
br label %338
338: ; preds = %._crit_edge9, %235
br label %339
339: ; preds = %338
%340 = load i32, ptr %30, align 4
%341 = add nsw i32 %340, 1
store i32 %341, ptr %30, align 4
%342 = load i32, ptr %30, align 4
%343 = load i32, ptr %10, align 4
%344 = icmp slt i32 %342, %343
br i1 %344, label %235, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %339
br label %345
345: ; preds = %._crit_edge12, %231
%346 = load i32, ptr %14, align 4
%347 = icmp eq i32 %346, 0
br i1 %347, label %348, label %403
348: ; preds = %345
store i32 0, ptr %36, align 4
store i32 0, ptr %35, align 4
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store i32 2, ptr %30, align 4
store i32 1, ptr %42, align 4
%349 = load i32, ptr %30, align 4
%350 = load i32, ptr %10, align 4
%351 = icmp sle i32 %349, %350
br i1 %351, label %.lr.ph17, label %362
.lr.ph17: ; preds = %348
br label %352
352: ; preds = %.lr.ph17, %356
%353 = load i32, ptr %30, align 4
%354 = load i32, ptr %42, align 4
%355 = mul nsw i32 %354, %353
store i32 %355, ptr %42, align 4
br label %356
356: ; preds = %352
%357 = load i32, ptr %30, align 4
%358 = add nsw i32 %357, 1
store i32 %358, ptr %30, align 4
%359 = load i32, ptr %30, align 4
%360 = load i32, ptr %10, align 4
%361 = icmp sle i32 %359, %360
br i1 %361, label %352, label %._crit_edge18, !llvm.loop !12
._crit_edge18: ; preds = %356
br label %362
362: ; preds = %._crit_edge18, %348
store i32 1, ptr %41, align 4
%363 = load i32, ptr %41, align 4
%364 = load i32, ptr %42, align 4
%365 = icmp sle i32 %363, %364
br i1 %365, label %.lr.ph20, label %402
.lr.ph20: ; preds = %362
br label %366
366: ; preds = %.lr.ph20, %396
%367 = load i32, ptr %10, align 4
%368 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
call void @nexper(i32 noundef %367, ptr noundef %368, ptr noundef %36, ptr noundef %37)
%369 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 1
%370 = load i32, ptr %369, align 4
%371 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 2
%372 = load i32, ptr %371, align 8
%373 = icmp slt i32 %370, %372
br i1 %373, label %374, label %395
374: ; preds = %366
%375 = load ptr, ptr %11, align 8
%376 = load ptr, ptr %12, align 8
%377 = load ptr, ptr %13, align 8
%378 = load i32, ptr %10, align 4
%379 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%380 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 0
%381 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 0
call void @approx1(ptr noundef %375, ptr noundef %376, ptr noundef %377, i32 noundef %378, ptr noundef %379, ptr noundef %380, ptr noundef %381, ptr noundef %29, ptr noundef %39)
%382 = load i32, ptr %39, align 4
%383 = icmp eq i32 %382, 1
br i1 %383, label %384, label %394
384: ; preds = %374
%385 = load i32, ptr %35, align 4
%386 = add nsw i32 %385, 1
store i32 %386, ptr %35, align 4
%387 = load double, ptr %29, align 8
%388 = load double, ptr %27, align 8
%389 = fadd double %388, %387
store double %389, ptr %27, align 8
%390 = load double, ptr %29, align 8
%391 = load double, ptr %29, align 8
%392 = load double, ptr %28, align 8
%393 = call double @llvm.fmuladd.f64(double %390, double %391, double %392)
store double %393, ptr %28, align 8
br label %394
394: ; preds = %384, %374
br label %395
395: ; preds = %394, %366
br label %396
396: ; preds = %395
%397 = load i32, ptr %41, align 4
%398 = add nsw i32 %397, 1
store i32 %398, ptr %41, align 4
%399 = load i32, ptr %41, align 4
%400 = load i32, ptr %42, align 4
%401 = icmp sle i32 %399, %400
br i1 %401, label %366, label %._crit_edge21, !llvm.loop !13
._crit_edge21: ; preds = %396
br label %402
402: ; preds = %._crit_edge21, %362
br label %437
403: ; preds = %345
store i32 0, ptr %35, align 4
store double 0.000000e+00, ptr %27, align 8
store double 0.000000e+00, ptr %28, align 8
store i32 1, ptr %40, align 4
%404 = load i32, ptr %40, align 4
%405 = load i32, ptr %14, align 4
%406 = icmp sle i32 %404, %405
br i1 %406, label %.lr.ph14, label %436
.lr.ph14: ; preds = %403
br label %407
407: ; preds = %.lr.ph14, %430
%408 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%409 = load i32, ptr %10, align 4
call void @isamp(ptr noundef %408, i32 noundef %409)
%410 = load ptr, ptr %11, align 8
%411 = load ptr, ptr %12, align 8
%412 = load ptr, ptr %13, align 8
%413 = load i32, ptr %10, align 4
%414 = getelementptr inbounds [20 x i32], ptr %38, i64 0, i64 0
%415 = getelementptr inbounds [20 x double], ptr %25, i64 0, i64 0
%416 = getelementptr inbounds [20 x [20 x double]], ptr %26, i64 0, i64 0
call void @approx1(ptr noundef %410, ptr noundef %411, ptr noundef %412, i32 noundef %413, ptr noundef %414, ptr noundef %415, ptr noundef %416, ptr noundef %29, ptr noundef %39)
%417 = load i32, ptr %39, align 4
%418 = icmp eq i32 %417, 1
br i1 %418, label %419, label %429
419: ; preds = %407
%420 = load i32, ptr %35, align 4
%421 = add nsw i32 %420, 1
store i32 %421, ptr %35, align 4
%422 = load double, ptr %29, align 8
%423 = load double, ptr %27, align 8
%424 = fadd double %423, %422
store double %424, ptr %27, align 8
%425 = load double, ptr %29, align 8
%426 = load double, ptr %29, align 8
%427 = load double, ptr %28, align 8
%428 = call double @llvm.fmuladd.f64(double %425, double %426, double %427)
store double %428, ptr %28, align 8
br label %429
429: ; preds = %419, %407
br label %430
430: ; preds = %429
%431 = load i32, ptr %40, align 4
%432 = add nsw i32 %431, 1
store i32 %432, ptr %40, align 4
%433 = load i32, ptr %40, align 4
%434 = load i32, ptr %14, align 4
%435 = icmp sle i32 %433, %434
br i1 %435, label %407, label %._crit_edge15, !llvm.loop !14
._crit_edge15: ; preds = %430
br label %436
436: ; preds = %._crit_edge15, %403
br label %437
437: ; preds = %436, %402
%438 = load i32, ptr %35, align 4
%439 = sitofp i32 %438 to double
%440 = load double, ptr %27, align 8
%441 = fdiv double %440, %439
store double %441, ptr %27, align 8
%442 = load double, ptr %28, align 8
%443 = load i32, ptr %35, align 4
%444 = sitofp i32 %443 to double
%445 = load double, ptr %27, align 8
%446 = fmul double %444, %445
%447 = load double, ptr %27, align 8
%448 = fneg double %446
%449 = call double @llvm.fmuladd.f64(double %448, double %447, double %442)
%450 = load i32, ptr %35, align 4
%451 = sitofp i32 %450 to double
%452 = fsub double %451, 1.000000e+00
%453 = fdiv double %449, %452
store double %453, ptr %28, align 8
%454 = load double, ptr %27, align 8
%455 = load ptr, ptr %16, align 8
store double %454, ptr %455, align 8
%456 = load double, ptr %28, align 8
%457 = fcmp ogt double %456, 0.000000e+00
br i1 %457, label %458, label %462
458: ; preds = %437
%459 = load double, ptr %28, align 8
%460 = call double @sqrt(double noundef %459) #4
%461 = load ptr, ptr %17, align 8
store double %460, ptr %461, align 8
br label %464
462: ; preds = %437
%463 = load ptr, ptr %17, align 8
store double 0.000000e+00, ptr %463, align 8
br label %464
464: ; preds = %462, %458, %293, %124, %74, %60
ret void
}
declare double @pnorms(double noundef) #1
declare void @mulnor(ptr noundef, ptr noundef, ptr noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare void @nexper(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @approx1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @isamp(ptr noundef, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmp8gr0hk8k.c'
source_filename = "/tmp/tmp8gr0hk8k.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"\09\09NEWTON'S FORWARD INTERPOLATION\09\09\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Enter the number of pairs you would like to feed:\09\07\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [75 x i8] c"\0A\0AEnter the values of x and y in the format shown below:\0A\0A\09 x y\0A\0A\07\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"\0A\0AThe difference table is as follows:\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"\0A\0ADifferences of order %f are as follows:\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"\0A\09%c(%f,%d) = %f\00", align 1
@.str.8 = private unnamed_addr constant [53 x i8] c"\0AEnter the value at which interpolation is desired:\09\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\0A\0AThe value after interpolation is %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x float], align 16
%3 = alloca [20 x float], align 16
%4 = alloca [19 x [19 x float]], align 16
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %7, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %27, %0
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %30
19: ; preds = %15
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %24
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %22, ptr noundef %25)
br label %27
27: ; preds = %19
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %15, !llvm.loop !6
30: ; preds = %15
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %103, %30
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %106
37: ; preds = %32
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %39)
store i32 0, ptr %9, align 4
br label %41
41: ; preds = %77, %37
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %8, align 4
%45 = sub nsw i32 %43, %44
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %42, %46
br i1 %47, label %48, label %80
48: ; preds = %41
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %51
%53 = load float, ptr %52, align 4
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = fsub float %53, %57
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %60
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [19 x float], ptr %61, i64 0, i64 %63
store float %58, ptr %64, align 4
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %69
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [19 x float], ptr %70, i64 0, i64 %72
%74 = load float, ptr %73, align 4
%75 = fpext float %74 to double
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 30, i32 noundef %66, i32 noundef %67, double noundef %75)
br label %77
77: ; preds = %48
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
br label %41, !llvm.loop !8
80: ; preds = %41
store i32 0, ptr %9, align 4
br label %81
81: ; preds = %99, %80
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %10, align 4
%84 = sub nsw i32 %83, 1
%85 = load i32, ptr %8, align 4
%86 = sub nsw i32 %84, %85
%87 = icmp slt i32 %82, %86
br i1 %87, label %88, label %102
88: ; preds = %81
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %90
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [19 x float], ptr %91, i64 0, i64 %93
%95 = load float, ptr %94, align 4
%96 = load i32, ptr %9, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %97
store float %95, ptr %98, align 4
br label %99
99: ; preds = %88
%100 = load i32, ptr %9, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %9, align 4
br label %81, !llvm.loop !9
102: ; preds = %81
br label %103
103: ; preds = %102
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %8, align 4
br label %32, !llvm.loop !10
106: ; preds = %32
store i32 0, ptr %9, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%108 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %6)
%109 = load float, ptr %6, align 4
%110 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 0
%111 = load float, ptr %110, align 16
%112 = fsub float %109, %111
%113 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 1
%114 = load float, ptr %113, align 4
%115 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 0
%116 = load float, ptr %115, align 16
%117 = fsub float %114, %116
%118 = fdiv float %112, %117
store float %118, ptr %5, align 4
%119 = load float, ptr %7, align 4
%120 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 0
%121 = load float, ptr %120, align 16
%122 = fadd float %119, %121
store float %122, ptr %7, align 4
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr %10, align 4
%125 = icmp sgt i32 %123, %124
br i1 %125, label %126, label %141
126: ; preds = %106
store i32 0, ptr %9, align 4
br label %127
127: ; preds = %137, %126
%128 = load i32, ptr %9, align 4
%129 = load i32, ptr %10, align 4
%130 = sub nsw i32 %129, 1
%131 = icmp slt i32 %128, %130
br i1 %131, label %132, label %140
132: ; preds = %127
%133 = load i32, ptr %9, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %134
%136 = getelementptr inbounds [19 x float], ptr %135, i64 0, i64 0
store float 0.000000e+00, ptr %136, align 4
br label %137
137: ; preds = %132
%138 = load i32, ptr %9, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %9, align 4
br label %127, !llvm.loop !11
140: ; preds = %127
br label %141
141: ; preds = %140, %106
%142 = load float, ptr %5, align 4
%143 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 0
%144 = getelementptr inbounds [19 x float], ptr %143, i64 0, i64 0
%145 = load float, ptr %144, align 16
%146 = load float, ptr %5, align 4
%147 = load float, ptr %5, align 4
%148 = fsub float %147, 1.000000e+00
%149 = fmul float %146, %148
%150 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 1
%151 = getelementptr inbounds [19 x float], ptr %150, i64 0, i64 0
%152 = load float, ptr %151, align 4
%153 = fmul float %149, %152
%154 = fdiv float %153, 2.000000e+00
%155 = call float @llvm.fmuladd.f32(float %142, float %145, float %154)
%156 = load float, ptr %5, align 4
%157 = load float, ptr %5, align 4
%158 = fsub float %157, 1.000000e+00
%159 = fmul float %156, %158
%160 = load float, ptr %5, align 4
%161 = fsub float %160, 2.000000e+00
%162 = fmul float %159, %161
%163 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 2
%164 = getelementptr inbounds [19 x float], ptr %163, i64 0, i64 0
%165 = load float, ptr %164, align 8
%166 = fmul float %162, %165
%167 = fdiv float %166, 6.000000e+00
%168 = fadd float %155, %167
%169 = load float, ptr %5, align 4
%170 = load float, ptr %5, align 4
%171 = fsub float %170, 1.000000e+00
%172 = fmul float %169, %171
%173 = load float, ptr %5, align 4
%174 = fsub float %173, 2.000000e+00
%175 = fmul float %172, %174
%176 = load float, ptr %5, align 4
%177 = fsub float %176, 3.000000e+00
%178 = fmul float %175, %177
%179 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 3
%180 = getelementptr inbounds [19 x float], ptr %179, i64 0, i64 0
%181 = load float, ptr %180, align 4
%182 = fmul float %178, %181
%183 = fdiv float %182, 2.400000e+01
%184 = fadd float %168, %183
store float %184, ptr %7, align 4
%185 = load float, ptr %7, align 4
%186 = fpext float %185 to double
%187 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %186)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8gr0hk8k.c"
target datalayout = "e-m:e-p270: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 [37 x i8] c"\09\09NEWTON'S FORWARD INTERPOLATION\09\09\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Enter the number of pairs you would like to feed:\09\07\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [75 x i8] c"\0A\0AEnter the values of x and y in the format shown below:\0A\0A\09 x y\0A\0A\07\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"\0A\0AThe difference table is as follows:\0A\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"\0A\0ADifferences of order %f are as follows:\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"\0A\09%c(%f,%d) = %f\00", align 1
@.str.8 = private unnamed_addr constant [53 x i8] c"\0AEnter the value at which interpolation is desired:\09\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\0A\0AThe value after interpolation is %f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x float], align 16
%3 = alloca [20 x float], align 16
%4 = alloca [19 x [19 x float]], align 16
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %7, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %26
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 %20
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %23
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %21, ptr noundef %24)
br label %26
26: ; preds = %18
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %10, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph8, label %121
.lr.ph8: ; preds = %32
br label %38
38: ; preds = %.lr.ph8, %114
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %40)
store i32 0, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %8, align 4
%45 = sub nsw i32 %43, %44
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %42, %46
br i1 %47, label %.lr.ph2, label %86
.lr.ph2: ; preds = %38
br label %48
48: ; preds = %.lr.ph2, %77
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %51
%53 = load float, ptr %52, align 4
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = fsub float %53, %57
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %60
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [19 x float], ptr %61, i64 0, i64 %63
store float %58, ptr %64, align 4
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %69
%71 = load i32, ptr %9, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [19 x float], ptr %70, i64 0, i64 %72
%74 = load float, ptr %73, align 4
%75 = fpext float %74 to double
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 30, i32 noundef %66, i32 noundef %67, double noundef %75)
br label %77
77: ; preds = %48
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %9, align 4
%81 = load i32, ptr %10, align 4
%82 = load i32, ptr %8, align 4
%83 = sub nsw i32 %81, %82
%84 = sub nsw i32 %83, 1
%85 = icmp slt i32 %80, %84
br i1 %85, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %86
86: ; preds = %._crit_edge3, %38
store i32 0, ptr %9, align 4
%87 = load i32, ptr %9, align 4
%88 = load i32, ptr %10, align 4
%89 = sub nsw i32 %88, 1
%90 = load i32, ptr %8, align 4
%91 = sub nsw i32 %89, %90
%92 = icmp slt i32 %87, %91
br i1 %92, label %.lr.ph5, label %113
.lr.ph5: ; preds = %86
br label %93
93: ; preds = %.lr.ph5, %104
%94 = load i32, ptr %8, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %95
%97 = load i32, ptr %9, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [19 x float], ptr %96, i64 0, i64 %98
%100 = load float, ptr %99, align 4
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 %102
store float %100, ptr %103, align 4
br label %104
104: ; preds = %93
%105 = load i32, ptr %9, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %9, align 4
%107 = load i32, ptr %9, align 4
%108 = load i32, ptr %10, align 4
%109 = sub nsw i32 %108, 1
%110 = load i32, ptr %8, align 4
%111 = sub nsw i32 %109, %110
%112 = icmp slt i32 %107, %111
br i1 %112, label %93, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %104
br label %113
113: ; preds = %._crit_edge6, %86
br label %114
114: ; preds = %113
%115 = load i32, ptr %8, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %8, align 4
%117 = load i32, ptr %8, align 4
%118 = load i32, ptr %10, align 4
%119 = sub nsw i32 %118, 1
%120 = icmp slt i32 %117, %119
br i1 %120, label %38, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %114
br label %121
121: ; preds = %._crit_edge9, %32
store i32 0, ptr %9, align 4
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%123 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %6)
%124 = load float, ptr %6, align 4
%125 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 0
%126 = load float, ptr %125, align 16
%127 = fsub float %124, %126
%128 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 1
%129 = load float, ptr %128, align 4
%130 = getelementptr inbounds [20 x float], ptr %2, i64 0, i64 0
%131 = load float, ptr %130, align 16
%132 = fsub float %129, %131
%133 = fdiv float %127, %132
store float %133, ptr %5, align 4
%134 = load float, ptr %7, align 4
%135 = getelementptr inbounds [20 x float], ptr %3, i64 0, i64 0
%136 = load float, ptr %135, align 16
%137 = fadd float %134, %136
store float %137, ptr %7, align 4
%138 = load i32, ptr %8, align 4
%139 = load i32, ptr %10, align 4
%140 = icmp sgt i32 %138, %139
br i1 %140, label %141, label %159
141: ; preds = %121
store i32 0, ptr %9, align 4
%142 = load i32, ptr %9, align 4
%143 = load i32, ptr %10, align 4
%144 = sub nsw i32 %143, 1
%145 = icmp slt i32 %142, %144
br i1 %145, label %.lr.ph11, label %158
.lr.ph11: ; preds = %141
br label %146
146: ; preds = %.lr.ph11, %151
%147 = load i32, ptr %9, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 %148
%150 = getelementptr inbounds [19 x float], ptr %149, i64 0, i64 0
store float 0.000000e+00, ptr %150, align 4
br label %151
151: ; preds = %146
%152 = load i32, ptr %9, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %9, align 4
%154 = load i32, ptr %9, align 4
%155 = load i32, ptr %10, align 4
%156 = sub nsw i32 %155, 1
%157 = icmp slt i32 %154, %156
br i1 %157, label %146, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %151
br label %158
158: ; preds = %._crit_edge12, %141
br label %159
159: ; preds = %158, %121
%160 = load float, ptr %5, align 4
%161 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 0
%162 = getelementptr inbounds [19 x float], ptr %161, i64 0, i64 0
%163 = load float, ptr %162, align 16
%164 = load float, ptr %5, align 4
%165 = load float, ptr %5, align 4
%166 = fsub float %165, 1.000000e+00
%167 = fmul float %164, %166
%168 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 1
%169 = getelementptr inbounds [19 x float], ptr %168, i64 0, i64 0
%170 = load float, ptr %169, align 4
%171 = fmul float %167, %170
%172 = fdiv float %171, 2.000000e+00
%173 = call float @llvm.fmuladd.f32(float %160, float %163, float %172)
%174 = load float, ptr %5, align 4
%175 = load float, ptr %5, align 4
%176 = fsub float %175, 1.000000e+00
%177 = fmul float %174, %176
%178 = load float, ptr %5, align 4
%179 = fsub float %178, 2.000000e+00
%180 = fmul float %177, %179
%181 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 2
%182 = getelementptr inbounds [19 x float], ptr %181, i64 0, i64 0
%183 = load float, ptr %182, align 8
%184 = fmul float %180, %183
%185 = fdiv float %184, 6.000000e+00
%186 = fadd float %173, %185
%187 = load float, ptr %5, align 4
%188 = load float, ptr %5, align 4
%189 = fsub float %188, 1.000000e+00
%190 = fmul float %187, %189
%191 = load float, ptr %5, align 4
%192 = fsub float %191, 2.000000e+00
%193 = fmul float %190, %192
%194 = load float, ptr %5, align 4
%195 = fsub float %194, 3.000000e+00
%196 = fmul float %193, %195
%197 = getelementptr inbounds [19 x [19 x float]], ptr %4, i64 0, i64 3
%198 = getelementptr inbounds [19 x float], ptr %197, i64 0, i64 0
%199 = load float, ptr %198, align 4
%200 = fmul float %196, %199
%201 = fdiv float %200, 2.400000e+01
%202 = fadd float %186, %201
store float %202, ptr %7, align 4
%203 = load float, ptr %7, align 4
%204 = fpext float %203 to double
%205 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %204)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpoe5rmirm.c'
source_filename = "/tmp/tmpoe5rmirm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bug() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 1)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 1
store i32 0, ptr %4, align 4
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoe5rmirm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bug() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 1)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 1
store i32 0, ptr %4, align 4
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphgr5noqu.c'
source_filename = "/tmp/tmphgr5noqu.c"
target datalayout = "e-m:e-p270: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/tmphgr5noqu.c"
target datalayout = "e-m:e-p270: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/tmpn_7sn5i1.c'
source_filename = "/tmp/tmpn_7sn5i1.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %11, %12
%14 = call i32 @gluPerspective(double noundef 3.000000e+01, i32 noundef %13, double noundef 1.000000e+00, double noundef 2.000000e+01)
%15 = load i32, ptr @GL_MODELVIEW, align 4
%16 = call i32 @glMatrixMode(i32 noundef %15)
%17 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn_7sn5i1.c"
target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %11, %12
%14 = call i32 @gluPerspective(double noundef 3.000000e+01, i32 noundef %13, double noundef 1.000000e+00, double noundef 2.000000e+01)
%15 = load i32, ptr @GL_MODELVIEW, align 4
%16 = call i32 @glMatrixMode(i32 noundef %15)
%17 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(double noundef, i32 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"}
|
; ModuleID = '/tmp/tmp4r5zmw28.c'
source_filename = "/tmp/tmp4r5zmw28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"New ord:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prtv(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %18, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4r5zmw28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"New ord:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prtv(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn3l1pdnk.c'
source_filename = "/tmp/tmpn3l1pdnk.c"
target datalayout = "e-m:e-p270: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/tmpn3l1pdnk.c"
target datalayout = "e-m:e-p270: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/tmp063dokln.c'
source_filename = "/tmp/tmp063dokln.c"
target datalayout = "e-m:e-p270: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/tmp063dokln.c"
target datalayout = "e-m:e-p270: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/tmprram4cyn.c'
source_filename = "/tmp/tmprram4cyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Library returns: %i\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 (...) @configurableLibraryResult()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @configurableLibraryResult(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprram4cyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Library returns: %i\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 (...) @configurableLibraryResult()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @configurableLibraryResult(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph4pphkb3.c'
source_filename = "/tmp/tmph4pphkb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endmntent(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 @fclose(ptr noundef %3)
ret i32 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph4pphkb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endmntent(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 @fclose(ptr noundef %3)
ret i32 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"}
|
; ModuleID = '/tmp/tmp7ubv3e70.c'
source_filename = "/tmp/tmp7ubv3e70.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"usage: %s -{flags} where:\0A%s%s\00", align 1
@.str.1 = private unnamed_addr constant [681 x i8] c" -h gives the usage message\0A -H gives a more complete usage message\0A -c grabs a color image\0A -g grabs a greyscale image\0A -v grabs a viewfinder image\0A (if none of -v, -g, or -c is used, no image will be grabbed,\0A but camera will still be discovered and initialized)\0A -2 to double-scan an image\0A -z N sets image reduction factor, or viewfinder zoom. (1, 2, 4, or 8)\0A -b NN - brightness (1-100, 0 for default) [50]\0A -l color-adjustment\0A -a causes an audible alert (beep) when image is exposed\0A -s SPEED sets the preferred baud rate\0A -i IDSTRING assigns a prefix for all config info looked up\0A -o FILE sets the output file to use in place of stdout\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [863 x i8] c" -S NN saves a starfield image, using NN as the \22bad\22 threshold\0A -e NN sets exposure in milliseconds\0A -E NN sets exposure in microseconds\0A -f don't do faster grab\0A -n leaves \22narrow\22 image, rather than widening\0A -r leaves a dark image, rather than brightening corners\0A\09-G VAL processes with gamma function . (100 normal, 110 default)\0A -d runs camera diagnostics\0A -t STR sets tracing; arg is a string of traceflags:\0A\09 v just shows program and camera version information\0A\09 V will turn on all possible messages\0A\09 e to get exposure information\0A\09 a for simple API tracing\0A\09 A for full API tracing\0A\09 c for camera commands\0A\09 s for serial protocol\0A\09 S for all bytes of serial protocol\0A\09 g for graphics output routine tracing\0A\09 r for winc.rc file tracing\0A -R writes .wcd format data\0A -D gets .wcd format data from stdin\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.2, ptr @.str.3
%12 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef @.str.1, ptr noundef %11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ubv3e70.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"usage: %s -{flags} where:\0A%s%s\00", align 1
@.str.1 = private unnamed_addr constant [681 x i8] c" -h gives the usage message\0A -H gives a more complete usage message\0A -c grabs a color image\0A -g grabs a greyscale image\0A -v grabs a viewfinder image\0A (if none of -v, -g, or -c is used, no image will be grabbed,\0A but camera will still be discovered and initialized)\0A -2 to double-scan an image\0A -z N sets image reduction factor, or viewfinder zoom. (1, 2, 4, or 8)\0A -b NN - brightness (1-100, 0 for default) [50]\0A -l color-adjustment\0A -a causes an audible alert (beep) when image is exposed\0A -s SPEED sets the preferred baud rate\0A -i IDSTRING assigns a prefix for all config info looked up\0A -o FILE sets the output file to use in place of stdout\0A\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [863 x i8] c" -S NN saves a starfield image, using NN as the \22bad\22 threshold\0A -e NN sets exposure in milliseconds\0A -E NN sets exposure in microseconds\0A -f don't do faster grab\0A -n leaves \22narrow\22 image, rather than widening\0A -r leaves a dark image, rather than brightening corners\0A\09-G VAL processes with gamma function . (100 normal, 110 default)\0A -d runs camera diagnostics\0A -t STR sets tracing; arg is a string of traceflags:\0A\09 v just shows program and camera version information\0A\09 V will turn on all possible messages\0A\09 e to get exposure information\0A\09 a for simple API tracing\0A\09 A for full API tracing\0A\09 c for camera commands\0A\09 s for serial protocol\0A\09 S for all bytes of serial protocol\0A\09 g for graphics output routine tracing\0A\09 r for winc.rc file tracing\0A -R writes .wcd format data\0A -D gets .wcd format data from stdin\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.2, ptr @.str.3
%12 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef @.str.1, ptr noundef %11)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwlv71bj.c'
source_filename = "/tmp/tmprwlv71bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_wvline(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @wvline(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @wvline(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwlv71bj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_wvline(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @wvline(ptr noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @wvline(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lt_z0hk.c'
source_filename = "/tmp/tmp0lt_z0hk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = 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/tmp0lt_z0hk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = 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/tmphvjsz5w9.c'
source_filename = "/tmp/tmphvjsz5w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Double Addition - 1 op HR\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Double Addition - 2 ops\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Double Addition - 4 ops\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Double Addition - 5 ops\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Double Addition - 8 ops\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Double Addition - 10 ops\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Double Subtraction - 1 op\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 2 ops\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 4 ops\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 5 ops\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Integer Subtraction - 8 ops\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Double Subtraction - 10 ops\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"Double Multiplication - 1 op\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 2 ops\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 4 ops\00", align 1
@.str.15 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 5 ops\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 8 ops\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"Double Multiplication - 10 ops\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"Double Division - 1 op\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"Double Division - 2 ops\00", align 1
@.str.20 = private unnamed_addr constant [24 x i8] c"Double Division - 4 ops\00", align 1
@.str.21 = private unnamed_addr constant [24 x i8] c"Double Division - 5 ops\00", align 1
@.str.22 = private unnamed_addr constant [24 x i8] c"Double Division - 8 ops\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"Double Division - 10 ops\00", align 1
@.str.24 = private unnamed_addr constant [60 x i8] c"Only possible operation choices are '+', '-', '*' and '/'.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @double_basic_op(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i8, align 1
%11 = alloca %struct.timespec, align 4
%12 = alloca %struct.timespec, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %10, align 1
%26 = call i64 @time(ptr noundef null)
%27 = trunc i64 %26 to i32
%28 = call i32 @srand(i32 noundef %27)
%29 = call double (...) @rand()
store double %29, ptr %6, align 8
%30 = call double (...) @rand()
store double %30, ptr %7, align 8
%31 = call double (...) @rand()
store double %31, ptr %8, align 8
%32 = call double (...) @rand()
store double %32, ptr %9, align 8
%33 = load i64, ptr %4, align 8
%34 = call i32 @warmup_loop(i64 noundef %33)
%35 = load i64, ptr %4, align 8
%36 = call i32 @loop_timer_nop(i64 noundef %35)
%37 = load i64, ptr %4, align 8
%38 = call i32 @loop_timer(i64 noundef %37)
%39 = load i8, ptr %10, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %987 [
i32 43, label %41
i32 45, label %270
i32 42, label %498
i32 47, label %726
]
41: ; preds = %2
store i32 0, ptr %5, align 4
br label %42
42: ; preds = %49, %41
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 100
br i1 %44, label %45, label %52
45: ; preds = %42
%46 = load double, ptr %6, align 8
%47 = load double, ptr %7, align 8
%48 = fadd double %46, %47
store double %48, ptr %8, align 8
br label %49
49: ; preds = %45
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %42, !llvm.loop !6
52: ; preds = %42
%53 = load i32, ptr @CLOCK_MONOTONIC, align 4
%54 = call i32 @clock_gettime(i32 noundef %53, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %55
55: ; preds = %64, %52
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = load i64, ptr %4, align 8
%59 = icmp ult i64 %57, %58
br i1 %59, label %60, label %67
60: ; preds = %55
%61 = load double, ptr %6, align 8
%62 = load double, ptr %9, align 8
%63 = fadd double %61, %62
store double %63, ptr %8, align 8
br label %64
64: ; preds = %60
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %55, !llvm.loop !8
67: ; preds = %55
%68 = load i32, ptr @CLOCK_MONOTONIC, align 4
%69 = call i32 @clock_gettime(i32 noundef %68, ptr noundef %12)
%70 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%71 = load i32, ptr %70, align 4
%72 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%73 = load i32, ptr %72, align 4
%74 = call i32 @elapsed_time_hr(i32 %71, i32 %73, ptr noundef @.str)
%75 = load i64, ptr %4, align 8
%76 = udiv i64 %75, 2
store i64 %76, ptr %4, align 8
%77 = load i32, ptr @CLOCK_MONOTONIC, align 4
%78 = call i32 @clock_gettime(i32 noundef %77, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %79
79: ; preds = %91, %67
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = load i64, ptr %4, align 8
%83 = icmp ult i64 %81, %82
br i1 %83, label %84, label %94
84: ; preds = %79
%85 = load double, ptr %6, align 8
%86 = load double, ptr %9, align 8
%87 = fadd double %85, %86
store double %87, ptr %8, align 8
%88 = load double, ptr %9, align 8
%89 = load double, ptr %8, align 8
%90 = fadd double %88, %89
store double %90, ptr %7, align 8
br label %91
91: ; preds = %84
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
br label %79, !llvm.loop !9
94: ; preds = %79
%95 = load i32, ptr @CLOCK_MONOTONIC, align 4
%96 = call i32 @clock_gettime(i32 noundef %95, ptr noundef %12)
%97 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%98 = load i32, ptr %97, align 4
%99 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%100 = load i32, ptr %99, align 4
%101 = call i32 @elapsed_time_hr(i32 %98, i32 %100, ptr noundef @.str.1)
%102 = load i64, ptr %4, align 8
%103 = udiv i64 %102, 2
store i64 %103, ptr %4, align 8
%104 = load i32, ptr @CLOCK_MONOTONIC, align 4
%105 = call i32 @clock_gettime(i32 noundef %104, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %106
106: ; preds = %124, %94
%107 = load i32, ptr %5, align 4
%108 = sext i32 %107 to i64
%109 = load i64, ptr %4, align 8
%110 = icmp ult i64 %108, %109
br i1 %110, label %111, label %127
111: ; preds = %106
%112 = load double, ptr %6, align 8
%113 = load double, ptr %9, align 8
%114 = fadd double %112, %113
store double %114, ptr %8, align 8
%115 = load double, ptr %9, align 8
%116 = load double, ptr %8, align 8
%117 = fadd double %115, %116
store double %117, ptr %7, align 8
%118 = load double, ptr %7, align 8
%119 = load double, ptr %9, align 8
%120 = fadd double %118, %119
store double %120, ptr %6, align 8
%121 = load double, ptr %9, align 8
%122 = load double, ptr %6, align 8
%123 = fadd double %121, %122
store double %123, ptr %8, align 8
br label %124
124: ; preds = %111
%125 = load i32, ptr %5, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %5, align 4
br label %106, !llvm.loop !10
127: ; preds = %106
%128 = load i32, ptr @CLOCK_MONOTONIC, align 4
%129 = call i32 @clock_gettime(i32 noundef %128, ptr noundef %12)
%130 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%131 = load i32, ptr %130, align 4
%132 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%133 = load i32, ptr %132, align 4
%134 = call i32 @elapsed_time_hr(i32 %131, i32 %133, ptr noundef @.str.2)
%135 = load i64, ptr %4, align 8
%136 = mul i64 %135, 4
%137 = udiv i64 %136, 5
store i64 %137, ptr %4, align 8
%138 = load i32, ptr @CLOCK_MONOTONIC, align 4
%139 = call i32 @clock_gettime(i32 noundef %138, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %140
140: ; preds = %161, %127
%141 = load i32, ptr %5, align 4
%142 = sext i32 %141 to i64
%143 = load i64, ptr %4, align 8
%144 = icmp ult i64 %142, %143
br i1 %144, label %145, label %164
145: ; preds = %140
%146 = load double, ptr %6, align 8
%147 = load double, ptr %9, align 8
%148 = fadd double %146, %147
store double %148, ptr %8, align 8
%149 = load double, ptr %9, align 8
%150 = load double, ptr %8, align 8
%151 = fadd double %149, %150
store double %151, ptr %7, align 8
%152 = load double, ptr %7, align 8
%153 = load double, ptr %9, align 8
%154 = fadd double %152, %153
store double %154, ptr %6, align 8
%155 = load double, ptr %9, align 8
%156 = load double, ptr %6, align 8
%157 = fadd double %155, %156
store double %157, ptr %8, align 8
%158 = load double, ptr %8, align 8
%159 = load double, ptr %9, align 8
%160 = fadd double %158, %159
store double %160, ptr %7, align 8
br label %161
161: ; preds = %145
%162 = load i32, ptr %5, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %5, align 4
br label %140, !llvm.loop !11
164: ; preds = %140
%165 = load i32, ptr @CLOCK_MONOTONIC, align 4
%166 = call i32 @clock_gettime(i32 noundef %165, ptr noundef %12)
%167 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%168 = load i32, ptr %167, align 4
%169 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%170 = load i32, ptr %169, align 4
%171 = call i32 @elapsed_time_hr(i32 %168, i32 %170, ptr noundef @.str.3)
%172 = load i64, ptr %4, align 8
%173 = mul i64 %172, 5
%174 = udiv i64 %173, 8
store i64 %174, ptr %4, align 8
%175 = load i32, ptr @CLOCK_MONOTONIC, align 4
%176 = call i32 @clock_gettime(i32 noundef %175, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %177
177: ; preds = %207, %164
%178 = load i32, ptr %5, align 4
%179 = sext i32 %178 to i64
%180 = load i64, ptr %4, align 8
%181 = icmp ult i64 %179, %180
br i1 %181, label %182, label %210
182: ; preds = %177
%183 = load double, ptr %6, align 8
%184 = load double, ptr %9, align 8
%185 = fadd double %183, %184
store double %185, ptr %8, align 8
%186 = load double, ptr %9, align 8
%187 = load double, ptr %8, align 8
%188 = fadd double %186, %187
store double %188, ptr %7, align 8
%189 = load double, ptr %7, align 8
%190 = load double, ptr %9, align 8
%191 = fadd double %189, %190
store double %191, ptr %6, align 8
%192 = load double, ptr %9, align 8
%193 = load double, ptr %6, align 8
%194 = fadd double %192, %193
store double %194, ptr %8, align 8
%195 = load double, ptr %8, align 8
%196 = load double, ptr %9, align 8
%197 = fadd double %195, %196
store double %197, ptr %7, align 8
%198 = load double, ptr %9, align 8
%199 = load double, ptr %7, align 8
%200 = fadd double %198, %199
store double %200, ptr %8, align 8
%201 = load double, ptr %9, align 8
%202 = load double, ptr %8, align 8
%203 = fadd double %201, %202
store double %203, ptr %6, align 8
%204 = load double, ptr %6, align 8
%205 = load double, ptr %9, align 8
%206 = fadd double %204, %205
store double %206, ptr %7, align 8
br label %207
207: ; preds = %182
%208 = load i32, ptr %5, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %5, align 4
br label %177, !llvm.loop !12
210: ; preds = %177
%211 = load i32, ptr @CLOCK_MONOTONIC, align 4
%212 = call i32 @clock_gettime(i32 noundef %211, ptr noundef %12)
%213 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%214 = load i32, ptr %213, align 4
%215 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%216 = load i32, ptr %215, align 4
%217 = call i32 @elapsed_time_hr(i32 %214, i32 %216, ptr noundef @.str.4)
%218 = load i64, ptr %4, align 8
%219 = mul i64 %218, 4
%220 = udiv i64 %219, 5
store i64 %220, ptr %4, align 8
%221 = load i32, ptr @CLOCK_MONOTONIC, align 4
%222 = call i32 @clock_gettime(i32 noundef %221, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %223
223: ; preds = %259, %210
%224 = load i32, ptr %5, align 4
%225 = sext i32 %224 to i64
%226 = load i64, ptr %4, align 8
%227 = icmp ult i64 %225, %226
br i1 %227, label %228, label %262
228: ; preds = %223
%229 = load double, ptr %6, align 8
%230 = load double, ptr %9, align 8
%231 = fadd double %229, %230
store double %231, ptr %8, align 8
%232 = load double, ptr %9, align 8
%233 = load double, ptr %8, align 8
%234 = fadd double %232, %233
store double %234, ptr %7, align 8
%235 = load double, ptr %7, align 8
%236 = load double, ptr %9, align 8
%237 = fadd double %235, %236
store double %237, ptr %6, align 8
%238 = load double, ptr %9, align 8
%239 = load double, ptr %6, align 8
%240 = fadd double %238, %239
store double %240, ptr %8, align 8
%241 = load double, ptr %8, align 8
%242 = load double, ptr %9, align 8
%243 = fadd double %241, %242
store double %243, ptr %7, align 8
%244 = load double, ptr %9, align 8
%245 = load double, ptr %7, align 8
%246 = fadd double %244, %245
store double %246, ptr %8, align 8
%247 = load double, ptr %9, align 8
%248 = load double, ptr %8, align 8
%249 = fadd double %247, %248
store double %249, ptr %6, align 8
%250 = load double, ptr %6, align 8
%251 = load double, ptr %9, align 8
%252 = fadd double %250, %251
store double %252, ptr %7, align 8
%253 = load double, ptr %7, align 8
%254 = load double, ptr %9, align 8
%255 = fadd double %253, %254
store double %255, ptr %8, align 8
%256 = load double, ptr %8, align 8
%257 = load double, ptr %9, align 8
%258 = fadd double %256, %257
store double %258, ptr %7, align 8
br label %259
259: ; preds = %228
%260 = load i32, ptr %5, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %5, align 4
br label %223, !llvm.loop !13
262: ; preds = %223
%263 = load i32, ptr @CLOCK_MONOTONIC, align 4
%264 = call i32 @clock_gettime(i32 noundef %263, ptr noundef %12)
%265 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%266 = load i32, ptr %265, align 4
%267 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%268 = load i32, ptr %267, align 4
%269 = call i32 @elapsed_time_hr(i32 %266, i32 %268, ptr noundef @.str.5)
br label %989
270: ; preds = %2
store i32 0, ptr %5, align 4
br label %271
271: ; preds = %278, %270
%272 = load i32, ptr %5, align 4
%273 = icmp slt i32 %272, 100
br i1 %273, label %274, label %281
274: ; preds = %271
%275 = load double, ptr %6, align 8
%276 = load double, ptr %7, align 8
%277 = fsub double %275, %276
store double %277, ptr %8, align 8
br label %278
278: ; preds = %274
%279 = load i32, ptr %5, align 4
%280 = add nsw i32 %279, 1
store i32 %280, ptr %5, align 4
br label %271, !llvm.loop !14
281: ; preds = %271
%282 = load i32, ptr @CLOCK_MONOTONIC, align 4
%283 = call i32 @clock_gettime(i32 noundef %282, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %284
284: ; preds = %293, %281
%285 = load i32, ptr %5, align 4
%286 = sext i32 %285 to i64
%287 = load i64, ptr %4, align 8
%288 = icmp ult i64 %286, %287
br i1 %288, label %289, label %296
289: ; preds = %284
%290 = load double, ptr %6, align 8
%291 = load double, ptr %7, align 8
%292 = fsub double %290, %291
store double %292, ptr %8, align 8
br label %293
293: ; preds = %289
%294 = load i32, ptr %5, align 4
%295 = add nsw i32 %294, 1
store i32 %295, ptr %5, align 4
br label %284, !llvm.loop !15
296: ; preds = %284
%297 = load i32, ptr @CLOCK_MONOTONIC, align 4
%298 = call i32 @clock_gettime(i32 noundef %297, ptr noundef %12)
%299 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%300 = load i32, ptr %299, align 4
%301 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%302 = load i32, ptr %301, align 4
%303 = call i32 @elapsed_time_hr(i32 %300, i32 %302, ptr noundef @.str.6)
%304 = load i64, ptr %4, align 8
%305 = udiv i64 %304, 2
store i64 %305, ptr %4, align 8
%306 = load i32, ptr @CLOCK_MONOTONIC, align 4
%307 = call i32 @clock_gettime(i32 noundef %306, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %308
308: ; preds = %320, %296
%309 = load i32, ptr %5, align 4
%310 = sext i32 %309 to i64
%311 = load i64, ptr %4, align 8
%312 = icmp ult i64 %310, %311
br i1 %312, label %313, label %323
313: ; preds = %308
%314 = load double, ptr %6, align 8
%315 = load double, ptr %7, align 8
%316 = fsub double %314, %315
store double %316, ptr %8, align 8
%317 = load double, ptr %7, align 8
%318 = load double, ptr %8, align 8
%319 = fsub double %317, %318
store double %319, ptr %6, align 8
br label %320
320: ; preds = %313
%321 = load i32, ptr %5, align 4
%322 = add nsw i32 %321, 1
store i32 %322, ptr %5, align 4
br label %308, !llvm.loop !16
323: ; preds = %308
%324 = load i32, ptr @CLOCK_MONOTONIC, align 4
%325 = call i32 @clock_gettime(i32 noundef %324, ptr noundef %12)
%326 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%327 = load i32, ptr %326, align 4
%328 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%329 = load i32, ptr %328, align 4
%330 = call i32 @elapsed_time_hr(i32 %327, i32 %329, ptr noundef @.str.7)
%331 = load i64, ptr %4, align 8
%332 = udiv i64 %331, 2
store i64 %332, ptr %4, align 8
%333 = load i32, ptr @CLOCK_MONOTONIC, align 4
%334 = call i32 @clock_gettime(i32 noundef %333, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %335
335: ; preds = %353, %323
%336 = load i32, ptr %5, align 4
%337 = sext i32 %336 to i64
%338 = load i64, ptr %4, align 8
%339 = icmp ult i64 %337, %338
br i1 %339, label %340, label %356
340: ; preds = %335
%341 = load double, ptr %6, align 8
%342 = load double, ptr %7, align 8
%343 = fsub double %341, %342
store double %343, ptr %8, align 8
%344 = load double, ptr %7, align 8
%345 = load double, ptr %8, align 8
%346 = fsub double %344, %345
store double %346, ptr %6, align 8
%347 = load double, ptr %6, align 8
%348 = load double, ptr %8, align 8
%349 = fsub double %347, %348
store double %349, ptr %7, align 8
%350 = load double, ptr %8, align 8
%351 = load double, ptr %6, align 8
%352 = fsub double %350, %351
store double %352, ptr %8, align 8
br label %353
353: ; preds = %340
%354 = load i32, ptr %5, align 4
%355 = add nsw i32 %354, 1
store i32 %355, ptr %5, align 4
br label %335, !llvm.loop !17
356: ; preds = %335
%357 = load i32, ptr @CLOCK_MONOTONIC, align 4
%358 = call i32 @clock_gettime(i32 noundef %357, ptr noundef %12)
%359 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%360 = load i32, ptr %359, align 4
%361 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%362 = load i32, ptr %361, align 4
%363 = call i32 @elapsed_time_hr(i32 %360, i32 %362, ptr noundef @.str.8)
%364 = load i64, ptr %4, align 8
%365 = mul i64 %364, 4
%366 = udiv i64 %365, 5
store i64 %366, ptr %4, align 8
%367 = load i32, ptr @CLOCK_MONOTONIC, align 4
%368 = call i32 @clock_gettime(i32 noundef %367, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %369
369: ; preds = %390, %356
%370 = load i32, ptr %5, align 4
%371 = sext i32 %370 to i64
%372 = load i64, ptr %4, align 8
%373 = icmp ult i64 %371, %372
br i1 %373, label %374, label %393
374: ; preds = %369
%375 = load double, ptr %6, align 8
%376 = load double, ptr %7, align 8
%377 = fsub double %375, %376
store double %377, ptr %8, align 8
%378 = load double, ptr %7, align 8
%379 = load double, ptr %8, align 8
%380 = fsub double %378, %379
store double %380, ptr %6, align 8
%381 = load double, ptr %6, align 8
%382 = load double, ptr %8, align 8
%383 = fsub double %381, %382
store double %383, ptr %7, align 8
%384 = load double, ptr %8, align 8
%385 = load double, ptr %6, align 8
%386 = fsub double %384, %385
store double %386, ptr %8, align 8
%387 = load double, ptr %7, align 8
%388 = load double, ptr %6, align 8
%389 = fsub double %387, %388
store double %389, ptr %7, align 8
br label %390
390: ; preds = %374
%391 = load i32, ptr %5, align 4
%392 = add nsw i32 %391, 1
store i32 %392, ptr %5, align 4
br label %369, !llvm.loop !18
393: ; preds = %369
%394 = load i32, ptr @CLOCK_MONOTONIC, align 4
%395 = call i32 @clock_gettime(i32 noundef %394, ptr noundef %12)
%396 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%397 = load i32, ptr %396, align 4
%398 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%399 = load i32, ptr %398, align 4
%400 = call i32 @elapsed_time_hr(i32 %397, i32 %399, ptr noundef @.str.9)
%401 = load i64, ptr %4, align 8
%402 = mul i64 %401, 5
%403 = udiv i64 %402, 8
store i64 %403, ptr %4, align 8
%404 = load i32, ptr @CLOCK_MONOTONIC, align 4
%405 = call i32 @clock_gettime(i32 noundef %404, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %406
406: ; preds = %436, %393
%407 = load i32, ptr %5, align 4
%408 = sext i32 %407 to i64
%409 = load i64, ptr %4, align 8
%410 = icmp ult i64 %408, %409
br i1 %410, label %411, label %439
411: ; preds = %406
%412 = load double, ptr %6, align 8
%413 = load double, ptr %7, align 8
%414 = fsub double %412, %413
store double %414, ptr %8, align 8
%415 = load double, ptr %7, align 8
%416 = load double, ptr %8, align 8
%417 = fsub double %415, %416
store double %417, ptr %6, align 8
%418 = load double, ptr %6, align 8
%419 = load double, ptr %8, align 8
%420 = fsub double %418, %419
store double %420, ptr %7, align 8
%421 = load double, ptr %8, align 8
%422 = load double, ptr %6, align 8
%423 = fsub double %421, %422
store double %423, ptr %8, align 8
%424 = load double, ptr %7, align 8
%425 = load double, ptr %6, align 8
%426 = fsub double %424, %425
store double %426, ptr %7, align 8
%427 = load double, ptr %8, align 8
%428 = load double, ptr %7, align 8
%429 = fsub double %427, %428
store double %429, ptr %8, align 8
%430 = load double, ptr %6, align 8
%431 = load double, ptr %8, align 8
%432 = fsub double %430, %431
store double %432, ptr %6, align 8
%433 = load double, ptr %7, align 8
%434 = load double, ptr %8, align 8
%435 = fsub double %433, %434
store double %435, ptr %7, align 8
br label %436
436: ; preds = %411
%437 = load i32, ptr %5, align 4
%438 = add nsw i32 %437, 1
store i32 %438, ptr %5, align 4
br label %406, !llvm.loop !19
439: ; preds = %406
%440 = load i32, ptr @CLOCK_MONOTONIC, align 4
%441 = call i32 @clock_gettime(i32 noundef %440, ptr noundef %12)
%442 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%443 = load i32, ptr %442, align 4
%444 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%445 = load i32, ptr %444, align 4
%446 = call i32 @elapsed_time_hr(i32 %443, i32 %445, ptr noundef @.str.10)
%447 = load i64, ptr %4, align 8
%448 = udiv i64 %447, 2
store i64 %448, ptr %4, align 8
%449 = load i32, ptr @CLOCK_MONOTONIC, align 4
%450 = call i32 @clock_gettime(i32 noundef %449, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %451
451: ; preds = %487, %439
%452 = load i32, ptr %5, align 4
%453 = sext i32 %452 to i64
%454 = load i64, ptr %4, align 8
%455 = icmp ult i64 %453, %454
br i1 %455, label %456, label %490
456: ; preds = %451
%457 = load double, ptr %6, align 8
%458 = load double, ptr %7, align 8
%459 = fsub double %457, %458
store double %459, ptr %8, align 8
%460 = load double, ptr %7, align 8
%461 = load double, ptr %8, align 8
%462 = fsub double %460, %461
store double %462, ptr %6, align 8
%463 = load double, ptr %6, align 8
%464 = load double, ptr %8, align 8
%465 = fsub double %463, %464
store double %465, ptr %7, align 8
%466 = load double, ptr %8, align 8
%467 = load double, ptr %6, align 8
%468 = fsub double %466, %467
store double %468, ptr %8, align 8
%469 = load double, ptr %7, align 8
%470 = load double, ptr %6, align 8
%471 = fsub double %469, %470
store double %471, ptr %7, align 8
%472 = load double, ptr %8, align 8
%473 = load double, ptr %7, align 8
%474 = fsub double %472, %473
store double %474, ptr %8, align 8
%475 = load double, ptr %6, align 8
%476 = load double, ptr %8, align 8
%477 = fsub double %475, %476
store double %477, ptr %6, align 8
%478 = load double, ptr %7, align 8
%479 = load double, ptr %8, align 8
%480 = fsub double %478, %479
store double %480, ptr %7, align 8
%481 = load double, ptr %7, align 8
%482 = load double, ptr %6, align 8
%483 = fsub double %481, %482
store double %483, ptr %8, align 8
%484 = load double, ptr %8, align 8
%485 = load double, ptr %6, align 8
%486 = fsub double %484, %485
store double %486, ptr %7, align 8
br label %487
487: ; preds = %456
%488 = load i32, ptr %5, align 4
%489 = add nsw i32 %488, 1
store i32 %489, ptr %5, align 4
br label %451, !llvm.loop !20
490: ; preds = %451
%491 = load i32, ptr @CLOCK_MONOTONIC, align 4
%492 = call i32 @clock_gettime(i32 noundef %491, ptr noundef %12)
%493 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%494 = load i32, ptr %493, align 4
%495 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%496 = load i32, ptr %495, align 4
%497 = call i32 @elapsed_time_hr(i32 %494, i32 %496, ptr noundef @.str.11)
br label %989
498: ; preds = %2
store i32 0, ptr %5, align 4
br label %499
499: ; preds = %506, %498
%500 = load i32, ptr %5, align 4
%501 = icmp slt i32 %500, 100
br i1 %501, label %502, label %509
502: ; preds = %499
%503 = load double, ptr %6, align 8
%504 = load double, ptr %7, align 8
%505 = fmul double %503, %504
store double %505, ptr %8, align 8
br label %506
506: ; preds = %502
%507 = load i32, ptr %5, align 4
%508 = add nsw i32 %507, 1
store i32 %508, ptr %5, align 4
br label %499, !llvm.loop !21
509: ; preds = %499
%510 = load i32, ptr @CLOCK_MONOTONIC, align 4
%511 = call i32 @clock_gettime(i32 noundef %510, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %512
512: ; preds = %521, %509
%513 = load i32, ptr %5, align 4
%514 = sext i32 %513 to i64
%515 = load i64, ptr %4, align 8
%516 = icmp ult i64 %514, %515
br i1 %516, label %517, label %524
517: ; preds = %512
%518 = load double, ptr %6, align 8
%519 = load double, ptr %7, align 8
%520 = fmul double %518, %519
store double %520, ptr %8, align 8
br label %521
521: ; preds = %517
%522 = load i32, ptr %5, align 4
%523 = add nsw i32 %522, 1
store i32 %523, ptr %5, align 4
br label %512, !llvm.loop !22
524: ; preds = %512
%525 = load i32, ptr @CLOCK_MONOTONIC, align 4
%526 = call i32 @clock_gettime(i32 noundef %525, ptr noundef %12)
%527 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%528 = load i32, ptr %527, align 4
%529 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%530 = load i32, ptr %529, align 4
%531 = call i32 @elapsed_time_hr(i32 %528, i32 %530, ptr noundef @.str.12)
%532 = load i64, ptr %4, align 8
%533 = udiv i64 %532, 2
store i64 %533, ptr %4, align 8
%534 = load i32, ptr @CLOCK_MONOTONIC, align 4
%535 = call i32 @clock_gettime(i32 noundef %534, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %536
536: ; preds = %548, %524
%537 = load i32, ptr %5, align 4
%538 = sext i32 %537 to i64
%539 = load i64, ptr %4, align 8
%540 = icmp ult i64 %538, %539
br i1 %540, label %541, label %551
541: ; preds = %536
%542 = load double, ptr %6, align 8
%543 = load double, ptr %7, align 8
%544 = fmul double %542, %543
store double %544, ptr %8, align 8
%545 = load double, ptr %7, align 8
%546 = load double, ptr %8, align 8
%547 = fmul double %545, %546
store double %547, ptr %6, align 8
br label %548
548: ; preds = %541
%549 = load i32, ptr %5, align 4
%550 = add nsw i32 %549, 1
store i32 %550, ptr %5, align 4
br label %536, !llvm.loop !23
551: ; preds = %536
%552 = load i32, ptr @CLOCK_MONOTONIC, align 4
%553 = call i32 @clock_gettime(i32 noundef %552, ptr noundef %12)
%554 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%555 = load i32, ptr %554, align 4
%556 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%557 = load i32, ptr %556, align 4
%558 = call i32 @elapsed_time_hr(i32 %555, i32 %557, ptr noundef @.str.13)
%559 = load i64, ptr %4, align 8
%560 = udiv i64 %559, 2
store i64 %560, ptr %4, align 8
%561 = load i32, ptr @CLOCK_MONOTONIC, align 4
%562 = call i32 @clock_gettime(i32 noundef %561, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %563
563: ; preds = %581, %551
%564 = load i32, ptr %5, align 4
%565 = sext i32 %564 to i64
%566 = load i64, ptr %4, align 8
%567 = icmp ult i64 %565, %566
br i1 %567, label %568, label %584
568: ; preds = %563
%569 = load double, ptr %6, align 8
%570 = load double, ptr %7, align 8
%571 = fmul double %569, %570
store double %571, ptr %8, align 8
%572 = load double, ptr %7, align 8
%573 = load double, ptr %8, align 8
%574 = fmul double %572, %573
store double %574, ptr %6, align 8
%575 = load double, ptr %6, align 8
%576 = load double, ptr %8, align 8
%577 = fmul double %575, %576
store double %577, ptr %7, align 8
%578 = load double, ptr %8, align 8
%579 = load double, ptr %6, align 8
%580 = fmul double %578, %579
store double %580, ptr %8, align 8
br label %581
581: ; preds = %568
%582 = load i32, ptr %5, align 4
%583 = add nsw i32 %582, 1
store i32 %583, ptr %5, align 4
br label %563, !llvm.loop !24
584: ; preds = %563
%585 = load i32, ptr @CLOCK_MONOTONIC, align 4
%586 = call i32 @clock_gettime(i32 noundef %585, ptr noundef %12)
%587 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%588 = load i32, ptr %587, align 4
%589 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%590 = load i32, ptr %589, align 4
%591 = call i32 @elapsed_time_hr(i32 %588, i32 %590, ptr noundef @.str.14)
%592 = load i64, ptr %4, align 8
%593 = mul i64 %592, 4
%594 = udiv i64 %593, 5
store i64 %594, ptr %4, align 8
%595 = load i32, ptr @CLOCK_MONOTONIC, align 4
%596 = call i32 @clock_gettime(i32 noundef %595, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %597
597: ; preds = %618, %584
%598 = load i32, ptr %5, align 4
%599 = sext i32 %598 to i64
%600 = load i64, ptr %4, align 8
%601 = icmp ult i64 %599, %600
br i1 %601, label %602, label %621
602: ; preds = %597
%603 = load double, ptr %6, align 8
%604 = load double, ptr %7, align 8
%605 = fmul double %603, %604
store double %605, ptr %8, align 8
%606 = load double, ptr %7, align 8
%607 = load double, ptr %8, align 8
%608 = fmul double %606, %607
store double %608, ptr %6, align 8
%609 = load double, ptr %6, align 8
%610 = load double, ptr %8, align 8
%611 = fmul double %609, %610
store double %611, ptr %7, align 8
%612 = load double, ptr %8, align 8
%613 = load double, ptr %6, align 8
%614 = fmul double %612, %613
store double %614, ptr %8, align 8
%615 = load double, ptr %7, align 8
%616 = load double, ptr %6, align 8
%617 = fmul double %615, %616
store double %617, ptr %7, align 8
br label %618
618: ; preds = %602
%619 = load i32, ptr %5, align 4
%620 = add nsw i32 %619, 1
store i32 %620, ptr %5, align 4
br label %597, !llvm.loop !25
621: ; preds = %597
%622 = load i32, ptr @CLOCK_MONOTONIC, align 4
%623 = call i32 @clock_gettime(i32 noundef %622, ptr noundef %12)
%624 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%625 = load i32, ptr %624, align 4
%626 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%627 = load i32, ptr %626, align 4
%628 = call i32 @elapsed_time_hr(i32 %625, i32 %627, ptr noundef @.str.15)
%629 = load i64, ptr %4, align 8
%630 = mul i64 %629, 5
%631 = udiv i64 %630, 8
store i64 %631, ptr %4, align 8
%632 = load i32, ptr @CLOCK_MONOTONIC, align 4
%633 = call i32 @clock_gettime(i32 noundef %632, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %634
634: ; preds = %664, %621
%635 = load i32, ptr %5, align 4
%636 = sext i32 %635 to i64
%637 = load i64, ptr %4, align 8
%638 = icmp ult i64 %636, %637
br i1 %638, label %639, label %667
639: ; preds = %634
%640 = load double, ptr %6, align 8
%641 = load double, ptr %7, align 8
%642 = fmul double %640, %641
store double %642, ptr %8, align 8
%643 = load double, ptr %7, align 8
%644 = load double, ptr %8, align 8
%645 = fmul double %643, %644
store double %645, ptr %6, align 8
%646 = load double, ptr %6, align 8
%647 = load double, ptr %8, align 8
%648 = fmul double %646, %647
store double %648, ptr %7, align 8
%649 = load double, ptr %8, align 8
%650 = load double, ptr %6, align 8
%651 = fmul double %649, %650
store double %651, ptr %8, align 8
%652 = load double, ptr %7, align 8
%653 = load double, ptr %6, align 8
%654 = fmul double %652, %653
store double %654, ptr %7, align 8
%655 = load double, ptr %8, align 8
%656 = load double, ptr %7, align 8
%657 = fmul double %655, %656
store double %657, ptr %8, align 8
%658 = load double, ptr %6, align 8
%659 = load double, ptr %8, align 8
%660 = fmul double %658, %659
store double %660, ptr %6, align 8
%661 = load double, ptr %7, align 8
%662 = load double, ptr %8, align 8
%663 = fmul double %661, %662
store double %663, ptr %7, align 8
br label %664
664: ; preds = %639
%665 = load i32, ptr %5, align 4
%666 = add nsw i32 %665, 1
store i32 %666, ptr %5, align 4
br label %634, !llvm.loop !26
667: ; preds = %634
%668 = load i32, ptr @CLOCK_MONOTONIC, align 4
%669 = call i32 @clock_gettime(i32 noundef %668, ptr noundef %12)
%670 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%671 = load i32, ptr %670, align 4
%672 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%673 = load i32, ptr %672, align 4
%674 = call i32 @elapsed_time_hr(i32 %671, i32 %673, ptr noundef @.str.16)
%675 = load i64, ptr %4, align 8
%676 = udiv i64 %675, 2
store i64 %676, ptr %4, align 8
%677 = load i32, ptr @CLOCK_MONOTONIC, align 4
%678 = call i32 @clock_gettime(i32 noundef %677, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %679
679: ; preds = %715, %667
%680 = load i32, ptr %5, align 4
%681 = sext i32 %680 to i64
%682 = load i64, ptr %4, align 8
%683 = icmp ult i64 %681, %682
br i1 %683, label %684, label %718
684: ; preds = %679
%685 = load double, ptr %6, align 8
%686 = load double, ptr %7, align 8
%687 = fmul double %685, %686
store double %687, ptr %8, align 8
%688 = load double, ptr %7, align 8
%689 = load double, ptr %8, align 8
%690 = fmul double %688, %689
store double %690, ptr %6, align 8
%691 = load double, ptr %6, align 8
%692 = load double, ptr %8, align 8
%693 = fmul double %691, %692
store double %693, ptr %7, align 8
%694 = load double, ptr %8, align 8
%695 = load double, ptr %6, align 8
%696 = fmul double %694, %695
store double %696, ptr %8, align 8
%697 = load double, ptr %7, align 8
%698 = load double, ptr %6, align 8
%699 = fmul double %697, %698
store double %699, ptr %7, align 8
%700 = load double, ptr %8, align 8
%701 = load double, ptr %7, align 8
%702 = fmul double %700, %701
store double %702, ptr %8, align 8
%703 = load double, ptr %6, align 8
%704 = load double, ptr %8, align 8
%705 = fmul double %703, %704
store double %705, ptr %6, align 8
%706 = load double, ptr %7, align 8
%707 = load double, ptr %8, align 8
%708 = fmul double %706, %707
store double %708, ptr %7, align 8
%709 = load double, ptr %7, align 8
%710 = load double, ptr %6, align 8
%711 = fmul double %709, %710
store double %711, ptr %8, align 8
%712 = load double, ptr %8, align 8
%713 = load double, ptr %6, align 8
%714 = fmul double %712, %713
store double %714, ptr %7, align 8
br label %715
715: ; preds = %684
%716 = load i32, ptr %5, align 4
%717 = add nsw i32 %716, 1
store i32 %717, ptr %5, align 4
br label %679, !llvm.loop !27
718: ; preds = %679
%719 = load i32, ptr @CLOCK_MONOTONIC, align 4
%720 = call i32 @clock_gettime(i32 noundef %719, ptr noundef %12)
%721 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%722 = load i32, ptr %721, align 4
%723 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%724 = load i32, ptr %723, align 4
%725 = call i32 @elapsed_time_hr(i32 %722, i32 %724, ptr noundef @.str.17)
br label %989
726: ; preds = %2
store i32 0, ptr %5, align 4
br label %727
727: ; preds = %735, %726
%728 = load i32, ptr %5, align 4
%729 = icmp slt i32 %728, 100
br i1 %729, label %730, label %738
730: ; preds = %727
%731 = load double, ptr %6, align 8
%732 = load double, ptr %7, align 8
%733 = fdiv double %731, %732
%734 = fptosi double %733 to i32
store volatile i32 %734, ptr %13, align 4
br label %735
735: ; preds = %730
%736 = load i32, ptr %5, align 4
%737 = add nsw i32 %736, 1
store i32 %737, ptr %5, align 4
br label %727, !llvm.loop !28
738: ; preds = %727
%739 = load i32, ptr @CLOCK_MONOTONIC, align 4
%740 = call i32 @clock_gettime(i32 noundef %739, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %741
741: ; preds = %751, %738
%742 = load i32, ptr %5, align 4
%743 = sext i32 %742 to i64
%744 = load i64, ptr %4, align 8
%745 = icmp ult i64 %743, %744
br i1 %745, label %746, label %754
746: ; preds = %741
%747 = load double, ptr %6, align 8
%748 = load double, ptr %7, align 8
%749 = fdiv double %747, %748
%750 = fptosi double %749 to i32
store volatile i32 %750, ptr %13, align 4
br label %751
751: ; preds = %746
%752 = load i32, ptr %5, align 4
%753 = add nsw i32 %752, 1
store i32 %753, ptr %5, align 4
br label %741, !llvm.loop !29
754: ; preds = %741
%755 = load i32, ptr @CLOCK_MONOTONIC, align 4
%756 = call i32 @clock_gettime(i32 noundef %755, ptr noundef %12)
%757 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%758 = load i32, ptr %757, align 4
%759 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%760 = load i32, ptr %759, align 4
%761 = call i32 @elapsed_time_hr(i32 %758, i32 %760, ptr noundef @.str.18)
%762 = load i64, ptr %4, align 8
%763 = udiv i64 %762, 2
store i64 %763, ptr %4, align 8
%764 = load i32, ptr @CLOCK_MONOTONIC, align 4
%765 = call i32 @clock_gettime(i32 noundef %764, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %766
766: ; preds = %780, %754
%767 = load i32, ptr %5, align 4
%768 = sext i32 %767 to i64
%769 = load i64, ptr %4, align 8
%770 = icmp ult i64 %768, %769
br i1 %770, label %771, label %783
771: ; preds = %766
%772 = load double, ptr %6, align 8
%773 = load double, ptr %7, align 8
%774 = fdiv double %772, %773
%775 = fptosi double %774 to i32
store volatile i32 %775, ptr %13, align 4
%776 = load double, ptr %7, align 8
%777 = load double, ptr %8, align 8
%778 = fdiv double %776, %777
%779 = fptosi double %778 to i32
store volatile i32 %779, ptr %14, align 4
br label %780
780: ; preds = %771
%781 = load i32, ptr %5, align 4
%782 = add nsw i32 %781, 1
store i32 %782, ptr %5, align 4
br label %766, !llvm.loop !30
783: ; preds = %766
%784 = load i32, ptr @CLOCK_MONOTONIC, align 4
%785 = call i32 @clock_gettime(i32 noundef %784, ptr noundef %12)
%786 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%787 = load i32, ptr %786, align 4
%788 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%789 = load i32, ptr %788, align 4
%790 = call i32 @elapsed_time_hr(i32 %787, i32 %789, ptr noundef @.str.19)
%791 = load i64, ptr %4, align 8
%792 = udiv i64 %791, 2
store i64 %792, ptr %4, align 8
%793 = load i32, ptr @CLOCK_MONOTONIC, align 4
%794 = call i32 @clock_gettime(i32 noundef %793, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %795
795: ; preds = %817, %783
%796 = load i32, ptr %5, align 4
%797 = sext i32 %796 to i64
%798 = load i64, ptr %4, align 8
%799 = icmp ult i64 %797, %798
br i1 %799, label %800, label %820
800: ; preds = %795
%801 = load double, ptr %6, align 8
%802 = load double, ptr %7, align 8
%803 = fdiv double %801, %802
%804 = fptosi double %803 to i32
store volatile i32 %804, ptr %13, align 4
%805 = load double, ptr %7, align 8
%806 = load double, ptr %8, align 8
%807 = fdiv double %805, %806
%808 = fptosi double %807 to i32
store volatile i32 %808, ptr %14, align 4
%809 = load double, ptr %6, align 8
%810 = load double, ptr %8, align 8
%811 = fdiv double %809, %810
%812 = fptosi double %811 to i32
store volatile i32 %812, ptr %15, align 4
%813 = load double, ptr %7, align 8
%814 = load double, ptr %6, align 8
%815 = fdiv double %813, %814
%816 = fptosi double %815 to i32
store volatile i32 %816, ptr %16, align 4
br label %817
817: ; preds = %800
%818 = load i32, ptr %5, align 4
%819 = add nsw i32 %818, 1
store i32 %819, ptr %5, align 4
br label %795, !llvm.loop !31
820: ; preds = %795
%821 = load i32, ptr @CLOCK_MONOTONIC, align 4
%822 = call i32 @clock_gettime(i32 noundef %821, ptr noundef %12)
%823 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%824 = load i32, ptr %823, align 4
%825 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%826 = load i32, ptr %825, align 4
%827 = call i32 @elapsed_time_hr(i32 %824, i32 %826, ptr noundef @.str.20)
%828 = load i64, ptr %4, align 8
%829 = mul i64 %828, 4
%830 = udiv i64 %829, 5
store i64 %830, ptr %4, align 8
%831 = load i32, ptr @CLOCK_MONOTONIC, align 4
%832 = call i32 @clock_gettime(i32 noundef %831, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %833
833: ; preds = %859, %820
%834 = load i32, ptr %5, align 4
%835 = sext i32 %834 to i64
%836 = load i64, ptr %4, align 8
%837 = icmp ult i64 %835, %836
br i1 %837, label %838, label %862
838: ; preds = %833
%839 = load double, ptr %6, align 8
%840 = load double, ptr %7, align 8
%841 = fdiv double %839, %840
%842 = fptosi double %841 to i32
store volatile i32 %842, ptr %13, align 4
%843 = load double, ptr %7, align 8
%844 = load double, ptr %8, align 8
%845 = fdiv double %843, %844
%846 = fptosi double %845 to i32
store volatile i32 %846, ptr %14, align 4
%847 = load double, ptr %6, align 8
%848 = load double, ptr %8, align 8
%849 = fdiv double %847, %848
%850 = fptosi double %849 to i32
store volatile i32 %850, ptr %15, align 4
%851 = load double, ptr %7, align 8
%852 = load double, ptr %6, align 8
%853 = fdiv double %851, %852
%854 = fptosi double %853 to i32
store volatile i32 %854, ptr %16, align 4
%855 = load double, ptr %8, align 8
%856 = load double, ptr %6, align 8
%857 = fdiv double %855, %856
%858 = fptosi double %857 to i32
store volatile i32 %858, ptr %17, align 4
br label %859
859: ; preds = %838
%860 = load i32, ptr %5, align 4
%861 = add nsw i32 %860, 1
store i32 %861, ptr %5, align 4
br label %833, !llvm.loop !32
862: ; preds = %833
%863 = load i32, ptr @CLOCK_MONOTONIC, align 4
%864 = call i32 @clock_gettime(i32 noundef %863, ptr noundef %12)
%865 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%866 = load i32, ptr %865, align 4
%867 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%868 = load i32, ptr %867, align 4
%869 = call i32 @elapsed_time_hr(i32 %866, i32 %868, ptr noundef @.str.21)
%870 = load i64, ptr %4, align 8
%871 = mul i64 %870, 5
%872 = udiv i64 %871, 8
store i64 %872, ptr %4, align 8
%873 = load i32, ptr @CLOCK_MONOTONIC, align 4
%874 = call i32 @clock_gettime(i32 noundef %873, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %875
875: ; preds = %913, %862
%876 = load i32, ptr %5, align 4
%877 = sext i32 %876 to i64
%878 = load i64, ptr %4, align 8
%879 = icmp ult i64 %877, %878
br i1 %879, label %880, label %916
880: ; preds = %875
%881 = load double, ptr %6, align 8
%882 = load double, ptr %7, align 8
%883 = fdiv double %881, %882
%884 = fptosi double %883 to i32
store volatile i32 %884, ptr %13, align 4
%885 = load double, ptr %7, align 8
%886 = load double, ptr %8, align 8
%887 = fdiv double %885, %886
%888 = fptosi double %887 to i32
store volatile i32 %888, ptr %14, align 4
%889 = load double, ptr %6, align 8
%890 = load double, ptr %8, align 8
%891 = fdiv double %889, %890
%892 = fptosi double %891 to i32
store volatile i32 %892, ptr %15, align 4
%893 = load double, ptr %7, align 8
%894 = load double, ptr %6, align 8
%895 = fdiv double %893, %894
%896 = fptosi double %895 to i32
store volatile i32 %896, ptr %16, align 4
%897 = load double, ptr %8, align 8
%898 = load double, ptr %6, align 8
%899 = fdiv double %897, %898
%900 = fptosi double %899 to i32
store volatile i32 %900, ptr %17, align 4
%901 = load double, ptr %8, align 8
%902 = load double, ptr %7, align 8
%903 = fdiv double %901, %902
%904 = fptosi double %903 to i32
store volatile i32 %904, ptr %18, align 4
%905 = load double, ptr %6, align 8
%906 = load double, ptr %6, align 8
%907 = fdiv double %905, %906
%908 = fptosi double %907 to i32
store volatile i32 %908, ptr %19, align 4
%909 = load double, ptr %7, align 8
%910 = load double, ptr %7, align 8
%911 = fdiv double %909, %910
%912 = fptosi double %911 to i32
store volatile i32 %912, ptr %20, align 4
br label %913
913: ; preds = %880
%914 = load i32, ptr %5, align 4
%915 = add nsw i32 %914, 1
store i32 %915, ptr %5, align 4
br label %875, !llvm.loop !33
916: ; preds = %875
%917 = load i32, ptr @CLOCK_MONOTONIC, align 4
%918 = call i32 @clock_gettime(i32 noundef %917, ptr noundef %12)
%919 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%920 = load i32, ptr %919, align 4
%921 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%922 = load i32, ptr %921, align 4
%923 = call i32 @elapsed_time_hr(i32 %920, i32 %922, ptr noundef @.str.22)
%924 = load i64, ptr %4, align 8
%925 = mul i64 %924, 4
%926 = udiv i64 %925, 5
store i64 %926, ptr %4, align 8
%927 = load i32, ptr @CLOCK_MONOTONIC, align 4
%928 = call i32 @clock_gettime(i32 noundef %927, ptr noundef %11)
store i32 0, ptr %5, align 4
br label %929
929: ; preds = %976, %916
%930 = load i32, ptr %5, align 4
%931 = sext i32 %930 to i64
%932 = load i64, ptr %4, align 8
%933 = icmp ult i64 %931, %932
br i1 %933, label %934, label %979
934: ; preds = %929
%935 = load double, ptr %6, align 8
%936 = load double, ptr %7, align 8
%937 = fdiv double %935, %936
%938 = fptosi double %937 to i32
store volatile i32 %938, ptr %13, align 4
%939 = load double, ptr %7, align 8
%940 = load double, ptr %8, align 8
%941 = fdiv double %939, %940
%942 = fptosi double %941 to i32
store volatile i32 %942, ptr %14, align 4
%943 = load double, ptr %6, align 8
%944 = load double, ptr %8, align 8
%945 = fdiv double %943, %944
%946 = fptosi double %945 to i32
store volatile i32 %946, ptr %15, align 4
%947 = load double, ptr %7, align 8
%948 = load double, ptr %6, align 8
%949 = fdiv double %947, %948
%950 = fptosi double %949 to i32
store volatile i32 %950, ptr %16, align 4
%951 = load double, ptr %8, align 8
%952 = load double, ptr %6, align 8
%953 = fdiv double %951, %952
%954 = fptosi double %953 to i32
store volatile i32 %954, ptr %17, align 4
%955 = load double, ptr %8, align 8
%956 = load double, ptr %7, align 8
%957 = fdiv double %955, %956
%958 = fptosi double %957 to i32
store volatile i32 %958, ptr %18, align 4
%959 = load double, ptr %6, align 8
%960 = load double, ptr %6, align 8
%961 = fdiv double %959, %960
%962 = fptosi double %961 to i32
store volatile i32 %962, ptr %19, align 4
%963 = load double, ptr %7, align 8
%964 = load double, ptr %7, align 8
%965 = fdiv double %963, %964
%966 = fptosi double %965 to i32
store volatile i32 %966, ptr %20, align 4
%967 = load double, ptr %8, align 8
%968 = load double, ptr %8, align 8
%969 = fdiv double %967, %968
%970 = fptosi double %969 to i32
store volatile i32 %970, ptr %21, align 4
%971 = load volatile i32, ptr %22, align 4
%972 = sitofp i32 %971 to double
%973 = load double, ptr %6, align 8
%974 = fdiv double %972, %973
%975 = fptosi double %974 to i32
store volatile i32 %975, ptr %22, align 4
br label %976
976: ; preds = %934
%977 = load i32, ptr %5, align 4
%978 = add nsw i32 %977, 1
store i32 %978, ptr %5, align 4
br label %929, !llvm.loop !34
979: ; preds = %929
%980 = load i32, ptr @CLOCK_MONOTONIC, align 4
%981 = call i32 @clock_gettime(i32 noundef %980, ptr noundef %12)
%982 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%983 = load i32, ptr %982, align 4
%984 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%985 = load i32, ptr %984, align 4
%986 = call i32 @elapsed_time_hr(i32 %983, i32 %985, ptr noundef @.str.23)
br label %989
987: ; preds = %2
%988 = call i32 @printf(ptr noundef @.str.24)
br label %989
989: ; preds = %987, %979, %718, %490, %262
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare double @rand(...) #1
declare i32 @warmup_loop(i64 noundef) #1
declare i32 @loop_timer_nop(i64 noundef) #1
declare i32 @loop_timer(i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @elapsed_time_hr(i32, i32, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphvjsz5w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32 }
@CLOCK_MONOTONIC = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Double Addition - 1 op HR\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Double Addition - 2 ops\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Double Addition - 4 ops\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"Double Addition - 5 ops\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Double Addition - 8 ops\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Double Addition - 10 ops\00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Double Subtraction - 1 op\00", align 1
@.str.7 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 2 ops\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 4 ops\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Double Subtraction - 5 ops\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"Integer Subtraction - 8 ops\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Double Subtraction - 10 ops\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"Double Multiplication - 1 op\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 2 ops\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 4 ops\00", align 1
@.str.15 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 5 ops\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Double Multiplication - 8 ops\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"Double Multiplication - 10 ops\00", align 1
@.str.18 = private unnamed_addr constant [23 x i8] c"Double Division - 1 op\00", align 1
@.str.19 = private unnamed_addr constant [24 x i8] c"Double Division - 2 ops\00", align 1
@.str.20 = private unnamed_addr constant [24 x i8] c"Double Division - 4 ops\00", align 1
@.str.21 = private unnamed_addr constant [24 x i8] c"Double Division - 5 ops\00", align 1
@.str.22 = private unnamed_addr constant [24 x i8] c"Double Division - 8 ops\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"Double Division - 10 ops\00", align 1
@.str.24 = private unnamed_addr constant [60 x i8] c"Only possible operation choices are '+', '-', '*' and '/'.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @double_basic_op(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i8, align 1
%11 = alloca %struct.timespec, align 4
%12 = alloca %struct.timespec, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %10, align 1
%26 = call i64 @time(ptr noundef null)
%27 = trunc i64 %26 to i32
%28 = call i32 @srand(i32 noundef %27)
%29 = call double (...) @rand()
store double %29, ptr %6, align 8
%30 = call double (...) @rand()
store double %30, ptr %7, align 8
%31 = call double (...) @rand()
store double %31, ptr %8, align 8
%32 = call double (...) @rand()
store double %32, ptr %9, align 8
%33 = load i64, ptr %4, align 8
%34 = call i32 @warmup_loop(i64 noundef %33)
%35 = load i64, ptr %4, align 8
%36 = call i32 @loop_timer_nop(i64 noundef %35)
%37 = load i64, ptr %4, align 8
%38 = call i32 @loop_timer(i64 noundef %37)
%39 = load i8, ptr %10, align 1
%40 = sext i8 %39 to i32
switch i32 %40, label %1063 [
i32 43, label %41
i32 45, label %289
i32 42, label %536
i32 47, label %783
]
41: ; preds = %2
store i32 0, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 100
br i1 %43, label %.lr.ph62, label %53
.lr.ph62: ; preds = %41
br label %44
44: ; preds = %.lr.ph62, %48
%45 = load double, ptr %6, align 8
%46 = load double, ptr %7, align 8
%47 = fadd double %45, %46
store double %47, ptr %8, align 8
br label %48
48: ; preds = %44
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %51, 100
br i1 %52, label %44, label %._crit_edge63, !llvm.loop !6
._crit_edge63: ; preds = %48
br label %53
53: ; preds = %._crit_edge63, %41
%54 = load i32, ptr @CLOCK_MONOTONIC, align 4
%55 = call i32 @clock_gettime(i32 noundef %54, ptr noundef %11)
store i32 0, ptr %5, align 4
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = load i64, ptr %4, align 8
%59 = icmp ult i64 %57, %58
br i1 %59, label %.lr.ph65, label %71
.lr.ph65: ; preds = %53
br label %60
60: ; preds = %.lr.ph65, %64
%61 = load double, ptr %6, align 8
%62 = load double, ptr %9, align 8
%63 = fadd double %61, %62
store double %63, ptr %8, align 8
br label %64
64: ; preds = %60
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = load i64, ptr %4, align 8
%70 = icmp ult i64 %68, %69
br i1 %70, label %60, label %._crit_edge66, !llvm.loop !8
._crit_edge66: ; preds = %64
br label %71
71: ; preds = %._crit_edge66, %53
%72 = load i32, ptr @CLOCK_MONOTONIC, align 4
%73 = call i32 @clock_gettime(i32 noundef %72, ptr noundef %12)
%74 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%75 = load i32, ptr %74, align 4
%76 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%77 = load i32, ptr %76, align 4
%78 = call i32 @elapsed_time_hr(i32 %75, i32 %77, ptr noundef @.str)
%79 = load i64, ptr %4, align 8
%80 = udiv i64 %79, 2
store i64 %80, ptr %4, align 8
%81 = load i32, ptr @CLOCK_MONOTONIC, align 4
%82 = call i32 @clock_gettime(i32 noundef %81, ptr noundef %11)
store i32 0, ptr %5, align 4
%83 = load i32, ptr %5, align 4
%84 = sext i32 %83 to i64
%85 = load i64, ptr %4, align 8
%86 = icmp ult i64 %84, %85
br i1 %86, label %.lr.ph68, label %101
.lr.ph68: ; preds = %71
br label %87
87: ; preds = %.lr.ph68, %94
%88 = load double, ptr %6, align 8
%89 = load double, ptr %9, align 8
%90 = fadd double %88, %89
store double %90, ptr %8, align 8
%91 = load double, ptr %9, align 8
%92 = load double, ptr %8, align 8
%93 = fadd double %91, %92
store double %93, ptr %7, align 8
br label %94
94: ; preds = %87
%95 = load i32, ptr %5, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %5, align 4
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = load i64, ptr %4, align 8
%100 = icmp ult i64 %98, %99
br i1 %100, label %87, label %._crit_edge69, !llvm.loop !9
._crit_edge69: ; preds = %94
br label %101
101: ; preds = %._crit_edge69, %71
%102 = load i32, ptr @CLOCK_MONOTONIC, align 4
%103 = call i32 @clock_gettime(i32 noundef %102, ptr noundef %12)
%104 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%105 = load i32, ptr %104, align 4
%106 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%107 = load i32, ptr %106, align 4
%108 = call i32 @elapsed_time_hr(i32 %105, i32 %107, ptr noundef @.str.1)
%109 = load i64, ptr %4, align 8
%110 = udiv i64 %109, 2
store i64 %110, ptr %4, align 8
%111 = load i32, ptr @CLOCK_MONOTONIC, align 4
%112 = call i32 @clock_gettime(i32 noundef %111, ptr noundef %11)
store i32 0, ptr %5, align 4
%113 = load i32, ptr %5, align 4
%114 = sext i32 %113 to i64
%115 = load i64, ptr %4, align 8
%116 = icmp ult i64 %114, %115
br i1 %116, label %.lr.ph71, label %137
.lr.ph71: ; preds = %101
br label %117
117: ; preds = %.lr.ph71, %130
%118 = load double, ptr %6, align 8
%119 = load double, ptr %9, align 8
%120 = fadd double %118, %119
store double %120, ptr %8, align 8
%121 = load double, ptr %9, align 8
%122 = load double, ptr %8, align 8
%123 = fadd double %121, %122
store double %123, ptr %7, align 8
%124 = load double, ptr %7, align 8
%125 = load double, ptr %9, align 8
%126 = fadd double %124, %125
store double %126, ptr %6, align 8
%127 = load double, ptr %9, align 8
%128 = load double, ptr %6, align 8
%129 = fadd double %127, %128
store double %129, ptr %8, align 8
br label %130
130: ; preds = %117
%131 = load i32, ptr %5, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %5, align 4
%133 = load i32, ptr %5, align 4
%134 = sext i32 %133 to i64
%135 = load i64, ptr %4, align 8
%136 = icmp ult i64 %134, %135
br i1 %136, label %117, label %._crit_edge72, !llvm.loop !10
._crit_edge72: ; preds = %130
br label %137
137: ; preds = %._crit_edge72, %101
%138 = load i32, ptr @CLOCK_MONOTONIC, align 4
%139 = call i32 @clock_gettime(i32 noundef %138, ptr noundef %12)
%140 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%141 = load i32, ptr %140, align 4
%142 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%143 = load i32, ptr %142, align 4
%144 = call i32 @elapsed_time_hr(i32 %141, i32 %143, ptr noundef @.str.2)
%145 = load i64, ptr %4, align 8
%146 = mul i64 %145, 4
%147 = udiv i64 %146, 5
store i64 %147, ptr %4, align 8
%148 = load i32, ptr @CLOCK_MONOTONIC, align 4
%149 = call i32 @clock_gettime(i32 noundef %148, ptr noundef %11)
store i32 0, ptr %5, align 4
%150 = load i32, ptr %5, align 4
%151 = sext i32 %150 to i64
%152 = load i64, ptr %4, align 8
%153 = icmp ult i64 %151, %152
br i1 %153, label %.lr.ph74, label %177
.lr.ph74: ; preds = %137
br label %154
154: ; preds = %.lr.ph74, %170
%155 = load double, ptr %6, align 8
%156 = load double, ptr %9, align 8
%157 = fadd double %155, %156
store double %157, ptr %8, align 8
%158 = load double, ptr %9, align 8
%159 = load double, ptr %8, align 8
%160 = fadd double %158, %159
store double %160, ptr %7, align 8
%161 = load double, ptr %7, align 8
%162 = load double, ptr %9, align 8
%163 = fadd double %161, %162
store double %163, ptr %6, align 8
%164 = load double, ptr %9, align 8
%165 = load double, ptr %6, align 8
%166 = fadd double %164, %165
store double %166, ptr %8, align 8
%167 = load double, ptr %8, align 8
%168 = load double, ptr %9, align 8
%169 = fadd double %167, %168
store double %169, ptr %7, align 8
br label %170
170: ; preds = %154
%171 = load i32, ptr %5, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %5, align 4
%173 = load i32, ptr %5, align 4
%174 = sext i32 %173 to i64
%175 = load i64, ptr %4, align 8
%176 = icmp ult i64 %174, %175
br i1 %176, label %154, label %._crit_edge75, !llvm.loop !11
._crit_edge75: ; preds = %170
br label %177
177: ; preds = %._crit_edge75, %137
%178 = load i32, ptr @CLOCK_MONOTONIC, align 4
%179 = call i32 @clock_gettime(i32 noundef %178, ptr noundef %12)
%180 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%181 = load i32, ptr %180, align 4
%182 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%183 = load i32, ptr %182, align 4
%184 = call i32 @elapsed_time_hr(i32 %181, i32 %183, ptr noundef @.str.3)
%185 = load i64, ptr %4, align 8
%186 = mul i64 %185, 5
%187 = udiv i64 %186, 8
store i64 %187, ptr %4, align 8
%188 = load i32, ptr @CLOCK_MONOTONIC, align 4
%189 = call i32 @clock_gettime(i32 noundef %188, ptr noundef %11)
store i32 0, ptr %5, align 4
%190 = load i32, ptr %5, align 4
%191 = sext i32 %190 to i64
%192 = load i64, ptr %4, align 8
%193 = icmp ult i64 %191, %192
br i1 %193, label %.lr.ph77, label %226
.lr.ph77: ; preds = %177
br label %194
194: ; preds = %.lr.ph77, %219
%195 = load double, ptr %6, align 8
%196 = load double, ptr %9, align 8
%197 = fadd double %195, %196
store double %197, ptr %8, align 8
%198 = load double, ptr %9, align 8
%199 = load double, ptr %8, align 8
%200 = fadd double %198, %199
store double %200, ptr %7, align 8
%201 = load double, ptr %7, align 8
%202 = load double, ptr %9, align 8
%203 = fadd double %201, %202
store double %203, ptr %6, align 8
%204 = load double, ptr %9, align 8
%205 = load double, ptr %6, align 8
%206 = fadd double %204, %205
store double %206, ptr %8, align 8
%207 = load double, ptr %8, align 8
%208 = load double, ptr %9, align 8
%209 = fadd double %207, %208
store double %209, ptr %7, align 8
%210 = load double, ptr %9, align 8
%211 = load double, ptr %7, align 8
%212 = fadd double %210, %211
store double %212, ptr %8, align 8
%213 = load double, ptr %9, align 8
%214 = load double, ptr %8, align 8
%215 = fadd double %213, %214
store double %215, ptr %6, align 8
%216 = load double, ptr %6, align 8
%217 = load double, ptr %9, align 8
%218 = fadd double %216, %217
store double %218, ptr %7, align 8
br label %219
219: ; preds = %194
%220 = load i32, ptr %5, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %5, align 4
%222 = load i32, ptr %5, align 4
%223 = sext i32 %222 to i64
%224 = load i64, ptr %4, align 8
%225 = icmp ult i64 %223, %224
br i1 %225, label %194, label %._crit_edge78, !llvm.loop !12
._crit_edge78: ; preds = %219
br label %226
226: ; preds = %._crit_edge78, %177
%227 = load i32, ptr @CLOCK_MONOTONIC, align 4
%228 = call i32 @clock_gettime(i32 noundef %227, ptr noundef %12)
%229 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%230 = load i32, ptr %229, align 4
%231 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%232 = load i32, ptr %231, align 4
%233 = call i32 @elapsed_time_hr(i32 %230, i32 %232, ptr noundef @.str.4)
%234 = load i64, ptr %4, align 8
%235 = mul i64 %234, 4
%236 = udiv i64 %235, 5
store i64 %236, ptr %4, align 8
%237 = load i32, ptr @CLOCK_MONOTONIC, align 4
%238 = call i32 @clock_gettime(i32 noundef %237, ptr noundef %11)
store i32 0, ptr %5, align 4
%239 = load i32, ptr %5, align 4
%240 = sext i32 %239 to i64
%241 = load i64, ptr %4, align 8
%242 = icmp ult i64 %240, %241
br i1 %242, label %.lr.ph80, label %281
.lr.ph80: ; preds = %226
br label %243
243: ; preds = %.lr.ph80, %274
%244 = load double, ptr %6, align 8
%245 = load double, ptr %9, align 8
%246 = fadd double %244, %245
store double %246, ptr %8, align 8
%247 = load double, ptr %9, align 8
%248 = load double, ptr %8, align 8
%249 = fadd double %247, %248
store double %249, ptr %7, align 8
%250 = load double, ptr %7, align 8
%251 = load double, ptr %9, align 8
%252 = fadd double %250, %251
store double %252, ptr %6, align 8
%253 = load double, ptr %9, align 8
%254 = load double, ptr %6, align 8
%255 = fadd double %253, %254
store double %255, ptr %8, align 8
%256 = load double, ptr %8, align 8
%257 = load double, ptr %9, align 8
%258 = fadd double %256, %257
store double %258, ptr %7, align 8
%259 = load double, ptr %9, align 8
%260 = load double, ptr %7, align 8
%261 = fadd double %259, %260
store double %261, ptr %8, align 8
%262 = load double, ptr %9, align 8
%263 = load double, ptr %8, align 8
%264 = fadd double %262, %263
store double %264, ptr %6, align 8
%265 = load double, ptr %6, align 8
%266 = load double, ptr %9, align 8
%267 = fadd double %265, %266
store double %267, ptr %7, align 8
%268 = load double, ptr %7, align 8
%269 = load double, ptr %9, align 8
%270 = fadd double %268, %269
store double %270, ptr %8, align 8
%271 = load double, ptr %8, align 8
%272 = load double, ptr %9, align 8
%273 = fadd double %271, %272
store double %273, ptr %7, align 8
br label %274
274: ; preds = %243
%275 = load i32, ptr %5, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %5, align 4
%277 = load i32, ptr %5, align 4
%278 = sext i32 %277 to i64
%279 = load i64, ptr %4, align 8
%280 = icmp ult i64 %278, %279
br i1 %280, label %243, label %._crit_edge81, !llvm.loop !13
._crit_edge81: ; preds = %274
br label %281
281: ; preds = %._crit_edge81, %226
%282 = load i32, ptr @CLOCK_MONOTONIC, align 4
%283 = call i32 @clock_gettime(i32 noundef %282, ptr noundef %12)
%284 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%285 = load i32, ptr %284, align 4
%286 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%287 = load i32, ptr %286, align 4
%288 = call i32 @elapsed_time_hr(i32 %285, i32 %287, ptr noundef @.str.5)
br label %1065
289: ; preds = %2
store i32 0, ptr %5, align 4
%290 = load i32, ptr %5, align 4
%291 = icmp slt i32 %290, 100
br i1 %291, label %.lr.ph41, label %301
.lr.ph41: ; preds = %289
br label %292
292: ; preds = %.lr.ph41, %296
%293 = load double, ptr %6, align 8
%294 = load double, ptr %7, align 8
%295 = fsub double %293, %294
store double %295, ptr %8, align 8
br label %296
296: ; preds = %292
%297 = load i32, ptr %5, align 4
%298 = add nsw i32 %297, 1
store i32 %298, ptr %5, align 4
%299 = load i32, ptr %5, align 4
%300 = icmp slt i32 %299, 100
br i1 %300, label %292, label %._crit_edge42, !llvm.loop !14
._crit_edge42: ; preds = %296
br label %301
301: ; preds = %._crit_edge42, %289
%302 = load i32, ptr @CLOCK_MONOTONIC, align 4
%303 = call i32 @clock_gettime(i32 noundef %302, ptr noundef %11)
store i32 0, ptr %5, align 4
%304 = load i32, ptr %5, align 4
%305 = sext i32 %304 to i64
%306 = load i64, ptr %4, align 8
%307 = icmp ult i64 %305, %306
br i1 %307, label %.lr.ph44, label %319
.lr.ph44: ; preds = %301
br label %308
308: ; preds = %.lr.ph44, %312
%309 = load double, ptr %6, align 8
%310 = load double, ptr %7, align 8
%311 = fsub double %309, %310
store double %311, ptr %8, align 8
br label %312
312: ; preds = %308
%313 = load i32, ptr %5, align 4
%314 = add nsw i32 %313, 1
store i32 %314, ptr %5, align 4
%315 = load i32, ptr %5, align 4
%316 = sext i32 %315 to i64
%317 = load i64, ptr %4, align 8
%318 = icmp ult i64 %316, %317
br i1 %318, label %308, label %._crit_edge45, !llvm.loop !15
._crit_edge45: ; preds = %312
br label %319
319: ; preds = %._crit_edge45, %301
%320 = load i32, ptr @CLOCK_MONOTONIC, align 4
%321 = call i32 @clock_gettime(i32 noundef %320, ptr noundef %12)
%322 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%323 = load i32, ptr %322, align 4
%324 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%325 = load i32, ptr %324, align 4
%326 = call i32 @elapsed_time_hr(i32 %323, i32 %325, ptr noundef @.str.6)
%327 = load i64, ptr %4, align 8
%328 = udiv i64 %327, 2
store i64 %328, ptr %4, align 8
%329 = load i32, ptr @CLOCK_MONOTONIC, align 4
%330 = call i32 @clock_gettime(i32 noundef %329, ptr noundef %11)
store i32 0, ptr %5, align 4
%331 = load i32, ptr %5, align 4
%332 = sext i32 %331 to i64
%333 = load i64, ptr %4, align 8
%334 = icmp ult i64 %332, %333
br i1 %334, label %.lr.ph47, label %349
.lr.ph47: ; preds = %319
br label %335
335: ; preds = %.lr.ph47, %342
%336 = load double, ptr %6, align 8
%337 = load double, ptr %7, align 8
%338 = fsub double %336, %337
store double %338, ptr %8, align 8
%339 = load double, ptr %7, align 8
%340 = load double, ptr %8, align 8
%341 = fsub double %339, %340
store double %341, ptr %6, align 8
br label %342
342: ; preds = %335
%343 = load i32, ptr %5, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %5, align 4
%345 = load i32, ptr %5, align 4
%346 = sext i32 %345 to i64
%347 = load i64, ptr %4, align 8
%348 = icmp ult i64 %346, %347
br i1 %348, label %335, label %._crit_edge48, !llvm.loop !16
._crit_edge48: ; preds = %342
br label %349
349: ; preds = %._crit_edge48, %319
%350 = load i32, ptr @CLOCK_MONOTONIC, align 4
%351 = call i32 @clock_gettime(i32 noundef %350, ptr noundef %12)
%352 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%353 = load i32, ptr %352, align 4
%354 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%355 = load i32, ptr %354, align 4
%356 = call i32 @elapsed_time_hr(i32 %353, i32 %355, ptr noundef @.str.7)
%357 = load i64, ptr %4, align 8
%358 = udiv i64 %357, 2
store i64 %358, ptr %4, align 8
%359 = load i32, ptr @CLOCK_MONOTONIC, align 4
%360 = call i32 @clock_gettime(i32 noundef %359, ptr noundef %11)
store i32 0, ptr %5, align 4
%361 = load i32, ptr %5, align 4
%362 = sext i32 %361 to i64
%363 = load i64, ptr %4, align 8
%364 = icmp ult i64 %362, %363
br i1 %364, label %.lr.ph50, label %385
.lr.ph50: ; preds = %349
br label %365
365: ; preds = %.lr.ph50, %378
%366 = load double, ptr %6, align 8
%367 = load double, ptr %7, align 8
%368 = fsub double %366, %367
store double %368, ptr %8, align 8
%369 = load double, ptr %7, align 8
%370 = load double, ptr %8, align 8
%371 = fsub double %369, %370
store double %371, ptr %6, align 8
%372 = load double, ptr %6, align 8
%373 = load double, ptr %8, align 8
%374 = fsub double %372, %373
store double %374, ptr %7, align 8
%375 = load double, ptr %8, align 8
%376 = load double, ptr %6, align 8
%377 = fsub double %375, %376
store double %377, ptr %8, align 8
br label %378
378: ; preds = %365
%379 = load i32, ptr %5, align 4
%380 = add nsw i32 %379, 1
store i32 %380, ptr %5, align 4
%381 = load i32, ptr %5, align 4
%382 = sext i32 %381 to i64
%383 = load i64, ptr %4, align 8
%384 = icmp ult i64 %382, %383
br i1 %384, label %365, label %._crit_edge51, !llvm.loop !17
._crit_edge51: ; preds = %378
br label %385
385: ; preds = %._crit_edge51, %349
%386 = load i32, ptr @CLOCK_MONOTONIC, align 4
%387 = call i32 @clock_gettime(i32 noundef %386, ptr noundef %12)
%388 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%389 = load i32, ptr %388, align 4
%390 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%391 = load i32, ptr %390, align 4
%392 = call i32 @elapsed_time_hr(i32 %389, i32 %391, ptr noundef @.str.8)
%393 = load i64, ptr %4, align 8
%394 = mul i64 %393, 4
%395 = udiv i64 %394, 5
store i64 %395, ptr %4, align 8
%396 = load i32, ptr @CLOCK_MONOTONIC, align 4
%397 = call i32 @clock_gettime(i32 noundef %396, ptr noundef %11)
store i32 0, ptr %5, align 4
%398 = load i32, ptr %5, align 4
%399 = sext i32 %398 to i64
%400 = load i64, ptr %4, align 8
%401 = icmp ult i64 %399, %400
br i1 %401, label %.lr.ph53, label %425
.lr.ph53: ; preds = %385
br label %402
402: ; preds = %.lr.ph53, %418
%403 = load double, ptr %6, align 8
%404 = load double, ptr %7, align 8
%405 = fsub double %403, %404
store double %405, ptr %8, align 8
%406 = load double, ptr %7, align 8
%407 = load double, ptr %8, align 8
%408 = fsub double %406, %407
store double %408, ptr %6, align 8
%409 = load double, ptr %6, align 8
%410 = load double, ptr %8, align 8
%411 = fsub double %409, %410
store double %411, ptr %7, align 8
%412 = load double, ptr %8, align 8
%413 = load double, ptr %6, align 8
%414 = fsub double %412, %413
store double %414, ptr %8, align 8
%415 = load double, ptr %7, align 8
%416 = load double, ptr %6, align 8
%417 = fsub double %415, %416
store double %417, ptr %7, align 8
br label %418
418: ; preds = %402
%419 = load i32, ptr %5, align 4
%420 = add nsw i32 %419, 1
store i32 %420, ptr %5, align 4
%421 = load i32, ptr %5, align 4
%422 = sext i32 %421 to i64
%423 = load i64, ptr %4, align 8
%424 = icmp ult i64 %422, %423
br i1 %424, label %402, label %._crit_edge54, !llvm.loop !18
._crit_edge54: ; preds = %418
br label %425
425: ; preds = %._crit_edge54, %385
%426 = load i32, ptr @CLOCK_MONOTONIC, align 4
%427 = call i32 @clock_gettime(i32 noundef %426, ptr noundef %12)
%428 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%429 = load i32, ptr %428, align 4
%430 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%431 = load i32, ptr %430, align 4
%432 = call i32 @elapsed_time_hr(i32 %429, i32 %431, ptr noundef @.str.9)
%433 = load i64, ptr %4, align 8
%434 = mul i64 %433, 5
%435 = udiv i64 %434, 8
store i64 %435, ptr %4, align 8
%436 = load i32, ptr @CLOCK_MONOTONIC, align 4
%437 = call i32 @clock_gettime(i32 noundef %436, ptr noundef %11)
store i32 0, ptr %5, align 4
%438 = load i32, ptr %5, align 4
%439 = sext i32 %438 to i64
%440 = load i64, ptr %4, align 8
%441 = icmp ult i64 %439, %440
br i1 %441, label %.lr.ph56, label %474
.lr.ph56: ; preds = %425
br label %442
442: ; preds = %.lr.ph56, %467
%443 = load double, ptr %6, align 8
%444 = load double, ptr %7, align 8
%445 = fsub double %443, %444
store double %445, ptr %8, align 8
%446 = load double, ptr %7, align 8
%447 = load double, ptr %8, align 8
%448 = fsub double %446, %447
store double %448, ptr %6, align 8
%449 = load double, ptr %6, align 8
%450 = load double, ptr %8, align 8
%451 = fsub double %449, %450
store double %451, ptr %7, align 8
%452 = load double, ptr %8, align 8
%453 = load double, ptr %6, align 8
%454 = fsub double %452, %453
store double %454, ptr %8, align 8
%455 = load double, ptr %7, align 8
%456 = load double, ptr %6, align 8
%457 = fsub double %455, %456
store double %457, ptr %7, align 8
%458 = load double, ptr %8, align 8
%459 = load double, ptr %7, align 8
%460 = fsub double %458, %459
store double %460, ptr %8, align 8
%461 = load double, ptr %6, align 8
%462 = load double, ptr %8, align 8
%463 = fsub double %461, %462
store double %463, ptr %6, align 8
%464 = load double, ptr %7, align 8
%465 = load double, ptr %8, align 8
%466 = fsub double %464, %465
store double %466, ptr %7, align 8
br label %467
467: ; preds = %442
%468 = load i32, ptr %5, align 4
%469 = add nsw i32 %468, 1
store i32 %469, ptr %5, align 4
%470 = load i32, ptr %5, align 4
%471 = sext i32 %470 to i64
%472 = load i64, ptr %4, align 8
%473 = icmp ult i64 %471, %472
br i1 %473, label %442, label %._crit_edge57, !llvm.loop !19
._crit_edge57: ; preds = %467
br label %474
474: ; preds = %._crit_edge57, %425
%475 = load i32, ptr @CLOCK_MONOTONIC, align 4
%476 = call i32 @clock_gettime(i32 noundef %475, ptr noundef %12)
%477 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%478 = load i32, ptr %477, align 4
%479 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%480 = load i32, ptr %479, align 4
%481 = call i32 @elapsed_time_hr(i32 %478, i32 %480, ptr noundef @.str.10)
%482 = load i64, ptr %4, align 8
%483 = udiv i64 %482, 2
store i64 %483, ptr %4, align 8
%484 = load i32, ptr @CLOCK_MONOTONIC, align 4
%485 = call i32 @clock_gettime(i32 noundef %484, ptr noundef %11)
store i32 0, ptr %5, align 4
%486 = load i32, ptr %5, align 4
%487 = sext i32 %486 to i64
%488 = load i64, ptr %4, align 8
%489 = icmp ult i64 %487, %488
br i1 %489, label %.lr.ph59, label %528
.lr.ph59: ; preds = %474
br label %490
490: ; preds = %.lr.ph59, %521
%491 = load double, ptr %6, align 8
%492 = load double, ptr %7, align 8
%493 = fsub double %491, %492
store double %493, ptr %8, align 8
%494 = load double, ptr %7, align 8
%495 = load double, ptr %8, align 8
%496 = fsub double %494, %495
store double %496, ptr %6, align 8
%497 = load double, ptr %6, align 8
%498 = load double, ptr %8, align 8
%499 = fsub double %497, %498
store double %499, ptr %7, align 8
%500 = load double, ptr %8, align 8
%501 = load double, ptr %6, align 8
%502 = fsub double %500, %501
store double %502, ptr %8, align 8
%503 = load double, ptr %7, align 8
%504 = load double, ptr %6, align 8
%505 = fsub double %503, %504
store double %505, ptr %7, align 8
%506 = load double, ptr %8, align 8
%507 = load double, ptr %7, align 8
%508 = fsub double %506, %507
store double %508, ptr %8, align 8
%509 = load double, ptr %6, align 8
%510 = load double, ptr %8, align 8
%511 = fsub double %509, %510
store double %511, ptr %6, align 8
%512 = load double, ptr %7, align 8
%513 = load double, ptr %8, align 8
%514 = fsub double %512, %513
store double %514, ptr %7, align 8
%515 = load double, ptr %7, align 8
%516 = load double, ptr %6, align 8
%517 = fsub double %515, %516
store double %517, ptr %8, align 8
%518 = load double, ptr %8, align 8
%519 = load double, ptr %6, align 8
%520 = fsub double %518, %519
store double %520, ptr %7, align 8
br label %521
521: ; preds = %490
%522 = load i32, ptr %5, align 4
%523 = add nsw i32 %522, 1
store i32 %523, ptr %5, align 4
%524 = load i32, ptr %5, align 4
%525 = sext i32 %524 to i64
%526 = load i64, ptr %4, align 8
%527 = icmp ult i64 %525, %526
br i1 %527, label %490, label %._crit_edge60, !llvm.loop !20
._crit_edge60: ; preds = %521
br label %528
528: ; preds = %._crit_edge60, %474
%529 = load i32, ptr @CLOCK_MONOTONIC, align 4
%530 = call i32 @clock_gettime(i32 noundef %529, ptr noundef %12)
%531 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%532 = load i32, ptr %531, align 4
%533 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%534 = load i32, ptr %533, align 4
%535 = call i32 @elapsed_time_hr(i32 %532, i32 %534, ptr noundef @.str.11)
br label %1065
536: ; preds = %2
store i32 0, ptr %5, align 4
%537 = load i32, ptr %5, align 4
%538 = icmp slt i32 %537, 100
br i1 %538, label %.lr.ph20, label %548
.lr.ph20: ; preds = %536
br label %539
539: ; preds = %.lr.ph20, %543
%540 = load double, ptr %6, align 8
%541 = load double, ptr %7, align 8
%542 = fmul double %540, %541
store double %542, ptr %8, align 8
br label %543
543: ; preds = %539
%544 = load i32, ptr %5, align 4
%545 = add nsw i32 %544, 1
store i32 %545, ptr %5, align 4
%546 = load i32, ptr %5, align 4
%547 = icmp slt i32 %546, 100
br i1 %547, label %539, label %._crit_edge21, !llvm.loop !21
._crit_edge21: ; preds = %543
br label %548
548: ; preds = %._crit_edge21, %536
%549 = load i32, ptr @CLOCK_MONOTONIC, align 4
%550 = call i32 @clock_gettime(i32 noundef %549, ptr noundef %11)
store i32 0, ptr %5, align 4
%551 = load i32, ptr %5, align 4
%552 = sext i32 %551 to i64
%553 = load i64, ptr %4, align 8
%554 = icmp ult i64 %552, %553
br i1 %554, label %.lr.ph23, label %566
.lr.ph23: ; preds = %548
br label %555
555: ; preds = %.lr.ph23, %559
%556 = load double, ptr %6, align 8
%557 = load double, ptr %7, align 8
%558 = fmul double %556, %557
store double %558, ptr %8, align 8
br label %559
559: ; preds = %555
%560 = load i32, ptr %5, align 4
%561 = add nsw i32 %560, 1
store i32 %561, ptr %5, align 4
%562 = load i32, ptr %5, align 4
%563 = sext i32 %562 to i64
%564 = load i64, ptr %4, align 8
%565 = icmp ult i64 %563, %564
br i1 %565, label %555, label %._crit_edge24, !llvm.loop !22
._crit_edge24: ; preds = %559
br label %566
566: ; preds = %._crit_edge24, %548
%567 = load i32, ptr @CLOCK_MONOTONIC, align 4
%568 = call i32 @clock_gettime(i32 noundef %567, ptr noundef %12)
%569 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%570 = load i32, ptr %569, align 4
%571 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%572 = load i32, ptr %571, align 4
%573 = call i32 @elapsed_time_hr(i32 %570, i32 %572, ptr noundef @.str.12)
%574 = load i64, ptr %4, align 8
%575 = udiv i64 %574, 2
store i64 %575, ptr %4, align 8
%576 = load i32, ptr @CLOCK_MONOTONIC, align 4
%577 = call i32 @clock_gettime(i32 noundef %576, ptr noundef %11)
store i32 0, ptr %5, align 4
%578 = load i32, ptr %5, align 4
%579 = sext i32 %578 to i64
%580 = load i64, ptr %4, align 8
%581 = icmp ult i64 %579, %580
br i1 %581, label %.lr.ph26, label %596
.lr.ph26: ; preds = %566
br label %582
582: ; preds = %.lr.ph26, %589
%583 = load double, ptr %6, align 8
%584 = load double, ptr %7, align 8
%585 = fmul double %583, %584
store double %585, ptr %8, align 8
%586 = load double, ptr %7, align 8
%587 = load double, ptr %8, align 8
%588 = fmul double %586, %587
store double %588, ptr %6, align 8
br label %589
589: ; preds = %582
%590 = load i32, ptr %5, align 4
%591 = add nsw i32 %590, 1
store i32 %591, ptr %5, align 4
%592 = load i32, ptr %5, align 4
%593 = sext i32 %592 to i64
%594 = load i64, ptr %4, align 8
%595 = icmp ult i64 %593, %594
br i1 %595, label %582, label %._crit_edge27, !llvm.loop !23
._crit_edge27: ; preds = %589
br label %596
596: ; preds = %._crit_edge27, %566
%597 = load i32, ptr @CLOCK_MONOTONIC, align 4
%598 = call i32 @clock_gettime(i32 noundef %597, ptr noundef %12)
%599 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%600 = load i32, ptr %599, align 4
%601 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%602 = load i32, ptr %601, align 4
%603 = call i32 @elapsed_time_hr(i32 %600, i32 %602, ptr noundef @.str.13)
%604 = load i64, ptr %4, align 8
%605 = udiv i64 %604, 2
store i64 %605, ptr %4, align 8
%606 = load i32, ptr @CLOCK_MONOTONIC, align 4
%607 = call i32 @clock_gettime(i32 noundef %606, ptr noundef %11)
store i32 0, ptr %5, align 4
%608 = load i32, ptr %5, align 4
%609 = sext i32 %608 to i64
%610 = load i64, ptr %4, align 8
%611 = icmp ult i64 %609, %610
br i1 %611, label %.lr.ph29, label %632
.lr.ph29: ; preds = %596
br label %612
612: ; preds = %.lr.ph29, %625
%613 = load double, ptr %6, align 8
%614 = load double, ptr %7, align 8
%615 = fmul double %613, %614
store double %615, ptr %8, align 8
%616 = load double, ptr %7, align 8
%617 = load double, ptr %8, align 8
%618 = fmul double %616, %617
store double %618, ptr %6, align 8
%619 = load double, ptr %6, align 8
%620 = load double, ptr %8, align 8
%621 = fmul double %619, %620
store double %621, ptr %7, align 8
%622 = load double, ptr %8, align 8
%623 = load double, ptr %6, align 8
%624 = fmul double %622, %623
store double %624, ptr %8, align 8
br label %625
625: ; preds = %612
%626 = load i32, ptr %5, align 4
%627 = add nsw i32 %626, 1
store i32 %627, ptr %5, align 4
%628 = load i32, ptr %5, align 4
%629 = sext i32 %628 to i64
%630 = load i64, ptr %4, align 8
%631 = icmp ult i64 %629, %630
br i1 %631, label %612, label %._crit_edge30, !llvm.loop !24
._crit_edge30: ; preds = %625
br label %632
632: ; preds = %._crit_edge30, %596
%633 = load i32, ptr @CLOCK_MONOTONIC, align 4
%634 = call i32 @clock_gettime(i32 noundef %633, ptr noundef %12)
%635 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%636 = load i32, ptr %635, align 4
%637 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%638 = load i32, ptr %637, align 4
%639 = call i32 @elapsed_time_hr(i32 %636, i32 %638, ptr noundef @.str.14)
%640 = load i64, ptr %4, align 8
%641 = mul i64 %640, 4
%642 = udiv i64 %641, 5
store i64 %642, ptr %4, align 8
%643 = load i32, ptr @CLOCK_MONOTONIC, align 4
%644 = call i32 @clock_gettime(i32 noundef %643, ptr noundef %11)
store i32 0, ptr %5, align 4
%645 = load i32, ptr %5, align 4
%646 = sext i32 %645 to i64
%647 = load i64, ptr %4, align 8
%648 = icmp ult i64 %646, %647
br i1 %648, label %.lr.ph32, label %672
.lr.ph32: ; preds = %632
br label %649
649: ; preds = %.lr.ph32, %665
%650 = load double, ptr %6, align 8
%651 = load double, ptr %7, align 8
%652 = fmul double %650, %651
store double %652, ptr %8, align 8
%653 = load double, ptr %7, align 8
%654 = load double, ptr %8, align 8
%655 = fmul double %653, %654
store double %655, ptr %6, align 8
%656 = load double, ptr %6, align 8
%657 = load double, ptr %8, align 8
%658 = fmul double %656, %657
store double %658, ptr %7, align 8
%659 = load double, ptr %8, align 8
%660 = load double, ptr %6, align 8
%661 = fmul double %659, %660
store double %661, ptr %8, align 8
%662 = load double, ptr %7, align 8
%663 = load double, ptr %6, align 8
%664 = fmul double %662, %663
store double %664, ptr %7, align 8
br label %665
665: ; preds = %649
%666 = load i32, ptr %5, align 4
%667 = add nsw i32 %666, 1
store i32 %667, ptr %5, align 4
%668 = load i32, ptr %5, align 4
%669 = sext i32 %668 to i64
%670 = load i64, ptr %4, align 8
%671 = icmp ult i64 %669, %670
br i1 %671, label %649, label %._crit_edge33, !llvm.loop !25
._crit_edge33: ; preds = %665
br label %672
672: ; preds = %._crit_edge33, %632
%673 = load i32, ptr @CLOCK_MONOTONIC, align 4
%674 = call i32 @clock_gettime(i32 noundef %673, ptr noundef %12)
%675 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%676 = load i32, ptr %675, align 4
%677 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%678 = load i32, ptr %677, align 4
%679 = call i32 @elapsed_time_hr(i32 %676, i32 %678, ptr noundef @.str.15)
%680 = load i64, ptr %4, align 8
%681 = mul i64 %680, 5
%682 = udiv i64 %681, 8
store i64 %682, ptr %4, align 8
%683 = load i32, ptr @CLOCK_MONOTONIC, align 4
%684 = call i32 @clock_gettime(i32 noundef %683, ptr noundef %11)
store i32 0, ptr %5, align 4
%685 = load i32, ptr %5, align 4
%686 = sext i32 %685 to i64
%687 = load i64, ptr %4, align 8
%688 = icmp ult i64 %686, %687
br i1 %688, label %.lr.ph35, label %721
.lr.ph35: ; preds = %672
br label %689
689: ; preds = %.lr.ph35, %714
%690 = load double, ptr %6, align 8
%691 = load double, ptr %7, align 8
%692 = fmul double %690, %691
store double %692, ptr %8, align 8
%693 = load double, ptr %7, align 8
%694 = load double, ptr %8, align 8
%695 = fmul double %693, %694
store double %695, ptr %6, align 8
%696 = load double, ptr %6, align 8
%697 = load double, ptr %8, align 8
%698 = fmul double %696, %697
store double %698, ptr %7, align 8
%699 = load double, ptr %8, align 8
%700 = load double, ptr %6, align 8
%701 = fmul double %699, %700
store double %701, ptr %8, align 8
%702 = load double, ptr %7, align 8
%703 = load double, ptr %6, align 8
%704 = fmul double %702, %703
store double %704, ptr %7, align 8
%705 = load double, ptr %8, align 8
%706 = load double, ptr %7, align 8
%707 = fmul double %705, %706
store double %707, ptr %8, align 8
%708 = load double, ptr %6, align 8
%709 = load double, ptr %8, align 8
%710 = fmul double %708, %709
store double %710, ptr %6, align 8
%711 = load double, ptr %7, align 8
%712 = load double, ptr %8, align 8
%713 = fmul double %711, %712
store double %713, ptr %7, align 8
br label %714
714: ; preds = %689
%715 = load i32, ptr %5, align 4
%716 = add nsw i32 %715, 1
store i32 %716, ptr %5, align 4
%717 = load i32, ptr %5, align 4
%718 = sext i32 %717 to i64
%719 = load i64, ptr %4, align 8
%720 = icmp ult i64 %718, %719
br i1 %720, label %689, label %._crit_edge36, !llvm.loop !26
._crit_edge36: ; preds = %714
br label %721
721: ; preds = %._crit_edge36, %672
%722 = load i32, ptr @CLOCK_MONOTONIC, align 4
%723 = call i32 @clock_gettime(i32 noundef %722, ptr noundef %12)
%724 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%725 = load i32, ptr %724, align 4
%726 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%727 = load i32, ptr %726, align 4
%728 = call i32 @elapsed_time_hr(i32 %725, i32 %727, ptr noundef @.str.16)
%729 = load i64, ptr %4, align 8
%730 = udiv i64 %729, 2
store i64 %730, ptr %4, align 8
%731 = load i32, ptr @CLOCK_MONOTONIC, align 4
%732 = call i32 @clock_gettime(i32 noundef %731, ptr noundef %11)
store i32 0, ptr %5, align 4
%733 = load i32, ptr %5, align 4
%734 = sext i32 %733 to i64
%735 = load i64, ptr %4, align 8
%736 = icmp ult i64 %734, %735
br i1 %736, label %.lr.ph38, label %775
.lr.ph38: ; preds = %721
br label %737
737: ; preds = %.lr.ph38, %768
%738 = load double, ptr %6, align 8
%739 = load double, ptr %7, align 8
%740 = fmul double %738, %739
store double %740, ptr %8, align 8
%741 = load double, ptr %7, align 8
%742 = load double, ptr %8, align 8
%743 = fmul double %741, %742
store double %743, ptr %6, align 8
%744 = load double, ptr %6, align 8
%745 = load double, ptr %8, align 8
%746 = fmul double %744, %745
store double %746, ptr %7, align 8
%747 = load double, ptr %8, align 8
%748 = load double, ptr %6, align 8
%749 = fmul double %747, %748
store double %749, ptr %8, align 8
%750 = load double, ptr %7, align 8
%751 = load double, ptr %6, align 8
%752 = fmul double %750, %751
store double %752, ptr %7, align 8
%753 = load double, ptr %8, align 8
%754 = load double, ptr %7, align 8
%755 = fmul double %753, %754
store double %755, ptr %8, align 8
%756 = load double, ptr %6, align 8
%757 = load double, ptr %8, align 8
%758 = fmul double %756, %757
store double %758, ptr %6, align 8
%759 = load double, ptr %7, align 8
%760 = load double, ptr %8, align 8
%761 = fmul double %759, %760
store double %761, ptr %7, align 8
%762 = load double, ptr %7, align 8
%763 = load double, ptr %6, align 8
%764 = fmul double %762, %763
store double %764, ptr %8, align 8
%765 = load double, ptr %8, align 8
%766 = load double, ptr %6, align 8
%767 = fmul double %765, %766
store double %767, ptr %7, align 8
br label %768
768: ; preds = %737
%769 = load i32, ptr %5, align 4
%770 = add nsw i32 %769, 1
store i32 %770, ptr %5, align 4
%771 = load i32, ptr %5, align 4
%772 = sext i32 %771 to i64
%773 = load i64, ptr %4, align 8
%774 = icmp ult i64 %772, %773
br i1 %774, label %737, label %._crit_edge39, !llvm.loop !27
._crit_edge39: ; preds = %768
br label %775
775: ; preds = %._crit_edge39, %721
%776 = load i32, ptr @CLOCK_MONOTONIC, align 4
%777 = call i32 @clock_gettime(i32 noundef %776, ptr noundef %12)
%778 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%779 = load i32, ptr %778, align 4
%780 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%781 = load i32, ptr %780, align 4
%782 = call i32 @elapsed_time_hr(i32 %779, i32 %781, ptr noundef @.str.17)
br label %1065
783: ; preds = %2
store i32 0, ptr %5, align 4
%784 = load i32, ptr %5, align 4
%785 = icmp slt i32 %784, 100
br i1 %785, label %.lr.ph, label %796
.lr.ph: ; preds = %783
br label %786
786: ; preds = %.lr.ph, %791
%787 = load double, ptr %6, align 8
%788 = load double, ptr %7, align 8
%789 = fdiv double %787, %788
%790 = fptosi double %789 to i32
store volatile i32 %790, ptr %13, align 4
br label %791
791: ; preds = %786
%792 = load i32, ptr %5, align 4
%793 = add nsw i32 %792, 1
store i32 %793, ptr %5, align 4
%794 = load i32, ptr %5, align 4
%795 = icmp slt i32 %794, 100
br i1 %795, label %786, label %._crit_edge, !llvm.loop !28
._crit_edge: ; preds = %791
br label %796
796: ; preds = %._crit_edge, %783
%797 = load i32, ptr @CLOCK_MONOTONIC, align 4
%798 = call i32 @clock_gettime(i32 noundef %797, ptr noundef %11)
store i32 0, ptr %5, align 4
%799 = load i32, ptr %5, align 4
%800 = sext i32 %799 to i64
%801 = load i64, ptr %4, align 8
%802 = icmp ult i64 %800, %801
br i1 %802, label %.lr.ph2, label %815
.lr.ph2: ; preds = %796
br label %803
803: ; preds = %.lr.ph2, %808
%804 = load double, ptr %6, align 8
%805 = load double, ptr %7, align 8
%806 = fdiv double %804, %805
%807 = fptosi double %806 to i32
store volatile i32 %807, ptr %13, align 4
br label %808
808: ; preds = %803
%809 = load i32, ptr %5, align 4
%810 = add nsw i32 %809, 1
store i32 %810, ptr %5, align 4
%811 = load i32, ptr %5, align 4
%812 = sext i32 %811 to i64
%813 = load i64, ptr %4, align 8
%814 = icmp ult i64 %812, %813
br i1 %814, label %803, label %._crit_edge3, !llvm.loop !29
._crit_edge3: ; preds = %808
br label %815
815: ; preds = %._crit_edge3, %796
%816 = load i32, ptr @CLOCK_MONOTONIC, align 4
%817 = call i32 @clock_gettime(i32 noundef %816, ptr noundef %12)
%818 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%819 = load i32, ptr %818, align 4
%820 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%821 = load i32, ptr %820, align 4
%822 = call i32 @elapsed_time_hr(i32 %819, i32 %821, ptr noundef @.str.18)
%823 = load i64, ptr %4, align 8
%824 = udiv i64 %823, 2
store i64 %824, ptr %4, align 8
%825 = load i32, ptr @CLOCK_MONOTONIC, align 4
%826 = call i32 @clock_gettime(i32 noundef %825, ptr noundef %11)
store i32 0, ptr %5, align 4
%827 = load i32, ptr %5, align 4
%828 = sext i32 %827 to i64
%829 = load i64, ptr %4, align 8
%830 = icmp ult i64 %828, %829
br i1 %830, label %.lr.ph5, label %847
.lr.ph5: ; preds = %815
br label %831
831: ; preds = %.lr.ph5, %840
%832 = load double, ptr %6, align 8
%833 = load double, ptr %7, align 8
%834 = fdiv double %832, %833
%835 = fptosi double %834 to i32
store volatile i32 %835, ptr %13, align 4
%836 = load double, ptr %7, align 8
%837 = load double, ptr %8, align 8
%838 = fdiv double %836, %837
%839 = fptosi double %838 to i32
store volatile i32 %839, ptr %14, align 4
br label %840
840: ; preds = %831
%841 = load i32, ptr %5, align 4
%842 = add nsw i32 %841, 1
store i32 %842, ptr %5, align 4
%843 = load i32, ptr %5, align 4
%844 = sext i32 %843 to i64
%845 = load i64, ptr %4, align 8
%846 = icmp ult i64 %844, %845
br i1 %846, label %831, label %._crit_edge6, !llvm.loop !30
._crit_edge6: ; preds = %840
br label %847
847: ; preds = %._crit_edge6, %815
%848 = load i32, ptr @CLOCK_MONOTONIC, align 4
%849 = call i32 @clock_gettime(i32 noundef %848, ptr noundef %12)
%850 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%851 = load i32, ptr %850, align 4
%852 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%853 = load i32, ptr %852, align 4
%854 = call i32 @elapsed_time_hr(i32 %851, i32 %853, ptr noundef @.str.19)
%855 = load i64, ptr %4, align 8
%856 = udiv i64 %855, 2
store i64 %856, ptr %4, align 8
%857 = load i32, ptr @CLOCK_MONOTONIC, align 4
%858 = call i32 @clock_gettime(i32 noundef %857, ptr noundef %11)
store i32 0, ptr %5, align 4
%859 = load i32, ptr %5, align 4
%860 = sext i32 %859 to i64
%861 = load i64, ptr %4, align 8
%862 = icmp ult i64 %860, %861
br i1 %862, label %.lr.ph8, label %887
.lr.ph8: ; preds = %847
br label %863
863: ; preds = %.lr.ph8, %880
%864 = load double, ptr %6, align 8
%865 = load double, ptr %7, align 8
%866 = fdiv double %864, %865
%867 = fptosi double %866 to i32
store volatile i32 %867, ptr %13, align 4
%868 = load double, ptr %7, align 8
%869 = load double, ptr %8, align 8
%870 = fdiv double %868, %869
%871 = fptosi double %870 to i32
store volatile i32 %871, ptr %14, align 4
%872 = load double, ptr %6, align 8
%873 = load double, ptr %8, align 8
%874 = fdiv double %872, %873
%875 = fptosi double %874 to i32
store volatile i32 %875, ptr %15, align 4
%876 = load double, ptr %7, align 8
%877 = load double, ptr %6, align 8
%878 = fdiv double %876, %877
%879 = fptosi double %878 to i32
store volatile i32 %879, ptr %16, align 4
br label %880
880: ; preds = %863
%881 = load i32, ptr %5, align 4
%882 = add nsw i32 %881, 1
store i32 %882, ptr %5, align 4
%883 = load i32, ptr %5, align 4
%884 = sext i32 %883 to i64
%885 = load i64, ptr %4, align 8
%886 = icmp ult i64 %884, %885
br i1 %886, label %863, label %._crit_edge9, !llvm.loop !31
._crit_edge9: ; preds = %880
br label %887
887: ; preds = %._crit_edge9, %847
%888 = load i32, ptr @CLOCK_MONOTONIC, align 4
%889 = call i32 @clock_gettime(i32 noundef %888, ptr noundef %12)
%890 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%891 = load i32, ptr %890, align 4
%892 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%893 = load i32, ptr %892, align 4
%894 = call i32 @elapsed_time_hr(i32 %891, i32 %893, ptr noundef @.str.20)
%895 = load i64, ptr %4, align 8
%896 = mul i64 %895, 4
%897 = udiv i64 %896, 5
store i64 %897, ptr %4, align 8
%898 = load i32, ptr @CLOCK_MONOTONIC, align 4
%899 = call i32 @clock_gettime(i32 noundef %898, ptr noundef %11)
store i32 0, ptr %5, align 4
%900 = load i32, ptr %5, align 4
%901 = sext i32 %900 to i64
%902 = load i64, ptr %4, align 8
%903 = icmp ult i64 %901, %902
br i1 %903, label %.lr.ph11, label %932
.lr.ph11: ; preds = %887
br label %904
904: ; preds = %.lr.ph11, %925
%905 = load double, ptr %6, align 8
%906 = load double, ptr %7, align 8
%907 = fdiv double %905, %906
%908 = fptosi double %907 to i32
store volatile i32 %908, ptr %13, align 4
%909 = load double, ptr %7, align 8
%910 = load double, ptr %8, align 8
%911 = fdiv double %909, %910
%912 = fptosi double %911 to i32
store volatile i32 %912, ptr %14, align 4
%913 = load double, ptr %6, align 8
%914 = load double, ptr %8, align 8
%915 = fdiv double %913, %914
%916 = fptosi double %915 to i32
store volatile i32 %916, ptr %15, align 4
%917 = load double, ptr %7, align 8
%918 = load double, ptr %6, align 8
%919 = fdiv double %917, %918
%920 = fptosi double %919 to i32
store volatile i32 %920, ptr %16, align 4
%921 = load double, ptr %8, align 8
%922 = load double, ptr %6, align 8
%923 = fdiv double %921, %922
%924 = fptosi double %923 to i32
store volatile i32 %924, ptr %17, align 4
br label %925
925: ; preds = %904
%926 = load i32, ptr %5, align 4
%927 = add nsw i32 %926, 1
store i32 %927, ptr %5, align 4
%928 = load i32, ptr %5, align 4
%929 = sext i32 %928 to i64
%930 = load i64, ptr %4, align 8
%931 = icmp ult i64 %929, %930
br i1 %931, label %904, label %._crit_edge12, !llvm.loop !32
._crit_edge12: ; preds = %925
br label %932
932: ; preds = %._crit_edge12, %887
%933 = load i32, ptr @CLOCK_MONOTONIC, align 4
%934 = call i32 @clock_gettime(i32 noundef %933, ptr noundef %12)
%935 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%936 = load i32, ptr %935, align 4
%937 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%938 = load i32, ptr %937, align 4
%939 = call i32 @elapsed_time_hr(i32 %936, i32 %938, ptr noundef @.str.21)
%940 = load i64, ptr %4, align 8
%941 = mul i64 %940, 5
%942 = udiv i64 %941, 8
store i64 %942, ptr %4, align 8
%943 = load i32, ptr @CLOCK_MONOTONIC, align 4
%944 = call i32 @clock_gettime(i32 noundef %943, ptr noundef %11)
store i32 0, ptr %5, align 4
%945 = load i32, ptr %5, align 4
%946 = sext i32 %945 to i64
%947 = load i64, ptr %4, align 8
%948 = icmp ult i64 %946, %947
br i1 %948, label %.lr.ph14, label %989
.lr.ph14: ; preds = %932
br label %949
949: ; preds = %.lr.ph14, %982
%950 = load double, ptr %6, align 8
%951 = load double, ptr %7, align 8
%952 = fdiv double %950, %951
%953 = fptosi double %952 to i32
store volatile i32 %953, ptr %13, align 4
%954 = load double, ptr %7, align 8
%955 = load double, ptr %8, align 8
%956 = fdiv double %954, %955
%957 = fptosi double %956 to i32
store volatile i32 %957, ptr %14, align 4
%958 = load double, ptr %6, align 8
%959 = load double, ptr %8, align 8
%960 = fdiv double %958, %959
%961 = fptosi double %960 to i32
store volatile i32 %961, ptr %15, align 4
%962 = load double, ptr %7, align 8
%963 = load double, ptr %6, align 8
%964 = fdiv double %962, %963
%965 = fptosi double %964 to i32
store volatile i32 %965, ptr %16, align 4
%966 = load double, ptr %8, align 8
%967 = load double, ptr %6, align 8
%968 = fdiv double %966, %967
%969 = fptosi double %968 to i32
store volatile i32 %969, ptr %17, align 4
%970 = load double, ptr %8, align 8
%971 = load double, ptr %7, align 8
%972 = fdiv double %970, %971
%973 = fptosi double %972 to i32
store volatile i32 %973, ptr %18, align 4
%974 = load double, ptr %6, align 8
%975 = load double, ptr %6, align 8
%976 = fdiv double %974, %975
%977 = fptosi double %976 to i32
store volatile i32 %977, ptr %19, align 4
%978 = load double, ptr %7, align 8
%979 = load double, ptr %7, align 8
%980 = fdiv double %978, %979
%981 = fptosi double %980 to i32
store volatile i32 %981, ptr %20, align 4
br label %982
982: ; preds = %949
%983 = load i32, ptr %5, align 4
%984 = add nsw i32 %983, 1
store i32 %984, ptr %5, align 4
%985 = load i32, ptr %5, align 4
%986 = sext i32 %985 to i64
%987 = load i64, ptr %4, align 8
%988 = icmp ult i64 %986, %987
br i1 %988, label %949, label %._crit_edge15, !llvm.loop !33
._crit_edge15: ; preds = %982
br label %989
989: ; preds = %._crit_edge15, %932
%990 = load i32, ptr @CLOCK_MONOTONIC, align 4
%991 = call i32 @clock_gettime(i32 noundef %990, ptr noundef %12)
%992 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%993 = load i32, ptr %992, align 4
%994 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%995 = load i32, ptr %994, align 4
%996 = call i32 @elapsed_time_hr(i32 %993, i32 %995, ptr noundef @.str.22)
%997 = load i64, ptr %4, align 8
%998 = mul i64 %997, 4
%999 = udiv i64 %998, 5
store i64 %999, ptr %4, align 8
%1000 = load i32, ptr @CLOCK_MONOTONIC, align 4
%1001 = call i32 @clock_gettime(i32 noundef %1000, ptr noundef %11)
store i32 0, ptr %5, align 4
%1002 = load i32, ptr %5, align 4
%1003 = sext i32 %1002 to i64
%1004 = load i64, ptr %4, align 8
%1005 = icmp ult i64 %1003, %1004
br i1 %1005, label %.lr.ph17, label %1055
.lr.ph17: ; preds = %989
br label %1006
1006: ; preds = %.lr.ph17, %1048
%1007 = load double, ptr %6, align 8
%1008 = load double, ptr %7, align 8
%1009 = fdiv double %1007, %1008
%1010 = fptosi double %1009 to i32
store volatile i32 %1010, ptr %13, align 4
%1011 = load double, ptr %7, align 8
%1012 = load double, ptr %8, align 8
%1013 = fdiv double %1011, %1012
%1014 = fptosi double %1013 to i32
store volatile i32 %1014, ptr %14, align 4
%1015 = load double, ptr %6, align 8
%1016 = load double, ptr %8, align 8
%1017 = fdiv double %1015, %1016
%1018 = fptosi double %1017 to i32
store volatile i32 %1018, ptr %15, align 4
%1019 = load double, ptr %7, align 8
%1020 = load double, ptr %6, align 8
%1021 = fdiv double %1019, %1020
%1022 = fptosi double %1021 to i32
store volatile i32 %1022, ptr %16, align 4
%1023 = load double, ptr %8, align 8
%1024 = load double, ptr %6, align 8
%1025 = fdiv double %1023, %1024
%1026 = fptosi double %1025 to i32
store volatile i32 %1026, ptr %17, align 4
%1027 = load double, ptr %8, align 8
%1028 = load double, ptr %7, align 8
%1029 = fdiv double %1027, %1028
%1030 = fptosi double %1029 to i32
store volatile i32 %1030, ptr %18, align 4
%1031 = load double, ptr %6, align 8
%1032 = load double, ptr %6, align 8
%1033 = fdiv double %1031, %1032
%1034 = fptosi double %1033 to i32
store volatile i32 %1034, ptr %19, align 4
%1035 = load double, ptr %7, align 8
%1036 = load double, ptr %7, align 8
%1037 = fdiv double %1035, %1036
%1038 = fptosi double %1037 to i32
store volatile i32 %1038, ptr %20, align 4
%1039 = load double, ptr %8, align 8
%1040 = load double, ptr %8, align 8
%1041 = fdiv double %1039, %1040
%1042 = fptosi double %1041 to i32
store volatile i32 %1042, ptr %21, align 4
%1043 = load volatile i32, ptr %22, align 4
%1044 = sitofp i32 %1043 to double
%1045 = load double, ptr %6, align 8
%1046 = fdiv double %1044, %1045
%1047 = fptosi double %1046 to i32
store volatile i32 %1047, ptr %22, align 4
br label %1048
1048: ; preds = %1006
%1049 = load i32, ptr %5, align 4
%1050 = add nsw i32 %1049, 1
store i32 %1050, ptr %5, align 4
%1051 = load i32, ptr %5, align 4
%1052 = sext i32 %1051 to i64
%1053 = load i64, ptr %4, align 8
%1054 = icmp ult i64 %1052, %1053
br i1 %1054, label %1006, label %._crit_edge18, !llvm.loop !34
._crit_edge18: ; preds = %1048
br label %1055
1055: ; preds = %._crit_edge18, %989
%1056 = load i32, ptr @CLOCK_MONOTONIC, align 4
%1057 = call i32 @clock_gettime(i32 noundef %1056, ptr noundef %12)
%1058 = getelementptr inbounds %struct.timespec, ptr %11, i32 0, i32 0
%1059 = load i32, ptr %1058, align 4
%1060 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%1061 = load i32, ptr %1060, align 4
%1062 = call i32 @elapsed_time_hr(i32 %1059, i32 %1061, ptr noundef @.str.23)
br label %1065
1063: ; preds = %2
%1064 = call i32 @printf(ptr noundef @.str.24)
br label %1065
1065: ; preds = %1063, %1055, %775, %528, %281
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare double @rand(...) #1
declare i32 @warmup_loop(i64 noundef) #1
declare i32 @loop_timer_nop(i64 noundef) #1
declare i32 @loop_timer(i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @elapsed_time_hr(i32, i32, 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
|
; ModuleID = '/tmp/tmpymcmv2r4.c'
source_filename = "/tmp/tmpymcmv2r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %14, %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 1000
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %12
store i32 420, ptr %13, align 4
br label %14
14: ; preds = %10
%15 = load i32, ptr %1, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %1, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
store i32 -1, ptr %1, align 4
br label %18
18: ; preds = %34, %17
%19 = load i32, ptr %1, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %1, align 4
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %22
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %1, align 4
%27 = icmp slt i32 %26, 1000
br i1 %27, label %28, label %34
28: ; preds = %25
%29 = load i32, ptr %1, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp ne i32 %32, 42
br label %34
34: ; preds = %28, %25
%35 = phi i1 [ false, %25 ], [ %33, %28 ]
br i1 %35, label %18, label %36, !llvm.loop !8
36: ; preds = %34
%37 = load i32, ptr %1, align 4
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %80, %36
%39 = load i32, ptr %3, align 4
%40 = icmp ne i32 %39, 0
%41 = xor i1 %40, true
br i1 %41, label %42, label %83
42: ; preds = %38
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %43
43: ; preds = %77, %42
%44 = load i32, ptr %4, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %80
47: ; preds = %43
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = icmp sgt i32 %51, %56
br i1 %57, label %58, label %76
58: ; preds = %47
store i32 0, ptr %3, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = load i32, ptr %4, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %69
store i32 %67, ptr %70, align 4
%71 = load i32, ptr %5, align 4
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %74
store i32 %71, ptr %75, align 4
br label %76
76: ; preds = %58, %47
br label %77
77: ; preds = %76
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %4, align 4
br label %43, !llvm.loop !9
80: ; preds = %43
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %6, align 4
br label %38, !llvm.loop !10
83: ; preds = %38
store i32 0, ptr %6, align 4
br label %84
84: ; preds = %94, %83
%85 = load i32, ptr %6, align 4
%86 = load i32, ptr %1, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %97
88: ; preds = %84
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = call i32 @printf(ptr noundef @.str.1, i32 noundef %92)
br label %94
94: ; preds = %88
%95 = load i32, ptr %6, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %6, align 4
br label %84, !llvm.loop !11
97: ; preds = %84
%98 = load i32, ptr %1, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %99
%101 = load i32, ptr %100, align 4
%102 = call i32 @printf(ptr noundef @.str.2, i32 noundef %101)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymcmv2r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 1000
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i32, ptr %1, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %11
store i32 420, ptr %12, align 4
br label %13
13: ; preds = %9
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp slt i32 %16, 1000
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i32 -1, ptr %1, align 4
br label %19
19: ; preds = %35, %18
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %23
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %1, align 4
%28 = icmp slt i32 %27, 1000
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i32, ptr %1, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp ne i32 %33, 42
br label %35
35: ; preds = %29, %26
%36 = phi i1 [ false, %26 ], [ %34, %29 ]
br i1 %36, label %19, label %37, !llvm.loop !8
37: ; preds = %35
%38 = load i32, ptr %1, align 4
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp ne i32 %39, 0
%41 = xor i1 %40, true
br i1 %41, label %.lr.ph5, label %88
.lr.ph5: ; preds = %37
br label %42
42: ; preds = %.lr.ph5, %82
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %.lr.ph2, label %82
.lr.ph2: ; preds = %42
br label %46
46: ; preds = %.lr.ph2, %76
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp sgt i32 %50, %55
br i1 %56, label %57, label %75
57: ; preds = %46
store i32 0, ptr %3, align 4
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
store i32 %61, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %68
store i32 %66, ptr %69, align 4
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %73
store i32 %70, ptr %74, align 4
br label %75
75: ; preds = %57, %46
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %4, align 4
%79 = load i32, ptr %4, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %46, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %42
%83 = load i32, ptr %6, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %6, align 4
%85 = load i32, ptr %3, align 4
%86 = icmp ne i32 %85, 0
%87 = xor i1 %86, true
br i1 %87, label %42, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %82
br label %88
88: ; preds = %._crit_edge6, %37
store i32 0, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = load i32, ptr %1, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph8, label %104
.lr.ph8: ; preds = %88
br label %92
92: ; preds = %.lr.ph8, %98
%93 = load i32, ptr %6, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %94
%96 = load i32, ptr %95, align 4
%97 = call i32 @printf(ptr noundef @.str.1, i32 noundef %96)
br label %98
98: ; preds = %92
%99 = load i32, ptr %6, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = load i32, ptr %1, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %92, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %98
br label %104
104: ; preds = %._crit_edge9, %88
%105 = load i32, ptr %1, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = call i32 @printf(ptr noundef @.str.2, i32 noundef %108)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpbthjhoid.c'
source_filename = "/tmp/tmpbthjhoid.c"
target datalayout = "e-m:e-p270: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/tmpbthjhoid.c"
target datalayout = "e-m:e-p270: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.