; LLVM IR from thunlp/SE-WRL :: word2vec (word2vec)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@vocab_size = external dso_local global i64, align 8
@layer1_size = external dso_local global i64, align 8
@hs = external dso_local global i32, align 4
@negative = external dso_local global i32, align 4
@syn0 = external dso_local global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [26 x i8], align 1
@syn1 = external dso_local global ptr, align 8
@syn1neg = external dso_local global ptr, align 8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @CreateBinaryTree() #1

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @InitNet() #1 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store i64 1, ptr %3, align 8, !tbaa !5
  %4 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %5 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %6 = mul nsw i64 %4, %5
  %7 = mul i64 %6, 4
  %8 = call i32 @posix_memalign(ptr noundef @syn0, i64 noundef 128, i64 noundef %7) #5
  %9 = sext i32 %8 to i64
  store i64 %9, ptr %1, align 8, !tbaa !5
  %10 = load ptr, ptr @syn0, align 8, !tbaa !9
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %0
  %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  call void @exit(i32 noundef 1) #6
  unreachable

14:                                               ; preds = %0
  %15 = load i32, ptr @hs, align 4, !tbaa !11
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %54

17:                                               ; preds = %14
  %18 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %19 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %20 = mul nsw i64 %18, %19
  %21 = mul i64 %20, 4
  %22 = call i32 @posix_memalign(ptr noundef @syn1, i64 noundef 128, i64 noundef %21) #5
  %23 = sext i32 %22 to i64
  store i64 %23, ptr %1, align 8, !tbaa !5
  %24 = load ptr, ptr @syn1, align 8, !tbaa !9
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %28

26:                                               ; preds = %17
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  call void @exit(i32 noundef 1) #6
  unreachable

28:                                               ; preds = %17
  store i64 0, ptr %1, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %50, %28
  %30 = load i64, ptr %1, align 8, !tbaa !5
  %31 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %32 = icmp slt i64 %30, %31
  br i1 %32, label %33, label %53

33:                                               ; preds = %29
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %46, %33
  %35 = load i64, ptr %2, align 8, !tbaa !5
  %36 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %37 = icmp slt i64 %35, %36
  br i1 %37, label %38, label %49

38:                                               ; preds = %34
  %39 = load ptr, ptr @syn1, align 8, !tbaa !9
  %40 = load i64, ptr %1, align 8, !tbaa !5
  %41 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %42 = mul nsw i64 %40, %41
  %43 = load i64, ptr %2, align 8, !tbaa !5
  %44 = add nsw i64 %42, %43
  %45 = getelementptr inbounds float, ptr %39, i64 %44
  store float 0.000000e+00, ptr %45, align 4, !tbaa !13
  br label %46

46:                                               ; preds = %38
  %47 = load i64, ptr %2, align 8, !tbaa !5
  %48 = add nsw i64 %47, 1
  store i64 %48, ptr %2, align 8, !tbaa !5
  br label %34, !llvm.loop !15

49:                                               ; preds = %34
  br label %50

50:                                               ; preds = %49
  %51 = load i64, ptr %1, align 8, !tbaa !5
  %52 = add nsw i64 %51, 1
  store i64 %52, ptr %1, align 8, !tbaa !5
  br label %29, !llvm.loop !17

53:                                               ; preds = %29
  br label %54

54:                                               ; preds = %53, %14
  %55 = load i32, ptr @negative, align 4, !tbaa !11
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %57, label %94

57:                                               ; preds = %54
  %58 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %59 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %60 = mul nsw i64 %58, %59
  %61 = mul i64 %60, 4
  %62 = call i32 @posix_memalign(ptr noundef @syn1neg, i64 noundef 128, i64 noundef %61) #5
  %63 = sext i32 %62 to i64
  store i64 %63, ptr %1, align 8, !tbaa !5
  %64 = load ptr, ptr @syn1neg, align 8, !tbaa !9
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %68

66:                                               ; preds = %57
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  call void @exit(i32 noundef 1) #6
  unreachable

68:                                               ; preds = %57
  store i64 0, ptr %1, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %90, %68
  %70 = load i64, ptr %1, align 8, !tbaa !5
  %71 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %72 = icmp slt i64 %70, %71
  br i1 %72, label %73, label %93

73:                                               ; preds = %69
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %86, %73
  %75 = load i64, ptr %2, align 8, !tbaa !5
  %76 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %77 = icmp slt i64 %75, %76
  br i1 %77, label %78, label %89

78:                                               ; preds = %74
  %79 = load ptr, ptr @syn1neg, align 8, !tbaa !9
  %80 = load i64, ptr %1, align 8, !tbaa !5
  %81 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %82 = mul nsw i64 %80, %81
  %83 = load i64, ptr %2, align 8, !tbaa !5
  %84 = add nsw i64 %82, %83
  %85 = getelementptr inbounds float, ptr %79, i64 %84
  store float 0.000000e+00, ptr %85, align 4, !tbaa !13
  br label %86

86:                                               ; preds = %78
  %87 = load i64, ptr %2, align 8, !tbaa !5
  %88 = add nsw i64 %87, 1
  store i64 %88, ptr %2, align 8, !tbaa !5
  br label %74, !llvm.loop !18

89:                                               ; preds = %74
  br label %90

90:                                               ; preds = %89
  %91 = load i64, ptr %1, align 8, !tbaa !5
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %1, align 8, !tbaa !5
  br label %69, !llvm.loop !19

93:                                               ; preds = %69
  br label %94

94:                                               ; preds = %93, %54
  store i64 0, ptr %1, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %129, %94
  %96 = load i64, ptr %1, align 8, !tbaa !5
  %97 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %98 = icmp slt i64 %96, %97
  br i1 %98, label %99, label %132

99:                                               ; preds = %95
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %100

100:                                              ; preds = %125, %99
  %101 = load i64, ptr %2, align 8, !tbaa !5
  %102 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %103 = icmp slt i64 %101, %102
  br i1 %103, label %104, label %128

104:                                              ; preds = %100
  %105 = load i64, ptr %3, align 8, !tbaa !5
  %106 = mul i64 %105, 25214903917
  %107 = add i64 %106, 11
  store i64 %107, ptr %3, align 8, !tbaa !5
  %108 = load i64, ptr %3, align 8, !tbaa !5
  %109 = and i64 %108, 65535
  %110 = uitofp i64 %109 to float
  %111 = fdiv float %110, 6.553600e+04
  %112 = fpext float %111 to double
  %113 = fsub double %112, 5.000000e-01
  %114 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %115 = sitofp i64 %114 to double
  %116 = fdiv double %113, %115
  %117 = fptrunc double %116 to float
  %118 = load ptr, ptr @syn0, align 8, !tbaa !9
  %119 = load i64, ptr %1, align 8, !tbaa !5
  %120 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %121 = mul nsw i64 %119, %120
  %122 = load i64, ptr %2, align 8, !tbaa !5
  %123 = add nsw i64 %121, %122
  %124 = getelementptr inbounds float, ptr %118, i64 %123
  store float %117, ptr %124, align 4, !tbaa !13
  br label %125

125:                                              ; preds = %104
  %126 = load i64, ptr %2, align 8, !tbaa !5
  %127 = add nsw i64 %126, 1
  store i64 %127, ptr %2, align 8, !tbaa !5
  br label %100, !llvm.loop !20

128:                                              ; preds = %100
  br label %129

129:                                              ; preds = %128
  %130 = load i64, ptr %1, align 8, !tbaa !5
  %131 = add nsw i64 %130, 1
  store i64 %131, ptr %1, align 8, !tbaa !5
  br label %95, !llvm.loop !21

132:                                              ; preds = %95
  call void @CreateBinaryTree()
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

; Function Attrs: nounwind
declare i32 @posix_memalign(ptr noundef, i64 noundef, i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-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 = { "no-trapping-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 nounwind "no-trapping-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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@vocab_size = external dso_local local_unnamed_addr global i64, align 8
@layer1_size = external dso_local local_unnamed_addr global i64, align 8
@hs = external dso_local local_unnamed_addr global i32, align 4
@negative = external dso_local local_unnamed_addr global i32, align 4
@syn0 = external dso_local global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [26 x i8], align 1
@syn1 = external dso_local global ptr, align 8
@syn1neg = external dso_local global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local void @CreateBinaryTree() local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @InitNet() local_unnamed_addr #0 {
  %1 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %2 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %3 = shl i64 %1, 2
  %4 = mul i64 %3, %2
  %5 = tail call i32 @posix_memalign(ptr noundef nonnull @syn0, i64 noundef 128, i64 noundef %4) #4
  %6 = load ptr, ptr @syn0, align 8, !tbaa !9
  %7 = icmp eq ptr %6, null
  br i1 %7, label %8, label %10

8:                                                ; preds = %0
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  tail call void @exit(i32 noundef 1) #5
  unreachable

10:                                               ; preds = %0
  %11 = load i32, ptr @hs, align 4, !tbaa !11
  %.not = icmp eq i32 %11, 0
  %.pre.pre = load i64, ptr @vocab_size, align 8, !tbaa !5
  br i1 %.not, label %.loopexit32, label %12

12:                                               ; preds = %10
  %13 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %14 = shl i64 %.pre.pre, 2
  %15 = mul i64 %14, %13
  %16 = tail call i32 @posix_memalign(ptr noundef nonnull @syn1, i64 noundef 128, i64 noundef %15) #4
  %17 = load ptr, ptr @syn1, align 8, !tbaa !9
  %18 = icmp eq ptr %17, null
  br i1 %18, label %25, label %.preheader31

.preheader31:                                     ; preds = %12
  %19 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %20 = icmp sgt i64 %19, 0
  br i1 %20, label %.preheader30.lr.ph, label %.loopexit32

.preheader30.lr.ph:                               ; preds = %.preheader31
  %21 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %22 = icmp sgt i64 %21, 0
  br i1 %22, label %.preheader30.us.preheader, label %.loopexit32

.preheader30.us.preheader:                        ; preds = %.preheader30.lr.ph
  %23 = mul i64 %19, %21
  %24 = shl i64 %23, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %17, i8 0, i64 %24, i1 false), !tbaa !13
  br label %.loopexit32

25:                                               ; preds = %12
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  tail call void @exit(i32 noundef 1) #5
  unreachable

.loopexit32:                                      ; preds = %.preheader30.lr.ph, %.preheader30.us.preheader, %.preheader31, %10
  %.pre = phi i64 [ %19, %.preheader30.us.preheader ], [ %19, %.preheader31 ], [ %.pre.pre, %10 ], [ %19, %.preheader30.lr.ph ]
  %27 = load i32, ptr @negative, align 4, !tbaa !11
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %29, label %.loopexit

29:                                               ; preds = %.loopexit32
  %30 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %31 = shl i64 %.pre, 2
  %32 = mul i64 %31, %30
  %33 = tail call i32 @posix_memalign(ptr noundef nonnull @syn1neg, i64 noundef 128, i64 noundef %32) #4
  %34 = load ptr, ptr @syn1neg, align 8, !tbaa !9
  %35 = icmp eq ptr %34, null
  br i1 %35, label %42, label %.preheader29

.preheader29:                                     ; preds = %29
  %36 = load i64, ptr @vocab_size, align 8, !tbaa !5
  %37 = icmp sgt i64 %36, 0
  br i1 %37, label %.preheader28.lr.ph, label %._crit_edge42

.preheader28.lr.ph:                               ; preds = %.preheader29
  %38 = load i64, ptr @layer1_size, align 8, !tbaa !5
  %39 = icmp sgt i64 %38, 0
  br i1 %39, label %.preheader28.us.preheader, label %._crit_edge42

.preheader28.us.preheader:                        ; preds = %.preheader28.lr.ph
  %40 = mul i64 %36, %38
  %41 = shl i64 %40, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %34, i8 0, i64 %41, i1 false), !tbaa !13
  br label %.preheader.lr.ph

42:                                               ; preds = %29
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  tail call void @exit(i32 noundef 1) #5
  unreachable

.loopexit:                                        ; preds = %.loopexit32
  %44 = icmp sgt i64 %.pre, 0
  br i1 %44, label %.preheader.lr.ph, label %._crit_edge42

.preheader.lr.ph:                                 ; preds = %.preheader28.us.preheader, %.loopexit
  %.ph = phi i64 [ %36, %.preheader28.us.preheader ], [ %.pre, %.loopexit ]
  %.pr = load i64, ptr @layer1_size, align 8, !tbaa !5
  %45 = icmp sgt i64 %.pr, 0
  %46 = sitofp i64 %.pr to double
  %47 = load ptr, ptr @syn0, align 8
  br i1 %45, label %.preheader.us.preheader, label %._crit_edge42

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter = and i64 %.pr, 1
  %48 = icmp eq i64 %.pr, 1
  %unroll_iter = and i64 %.pr, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us43
  %.041.us = phi i64 [ %.lcssa, %._crit_edge.us43 ], [ 1, %.preheader.us.preheader ]
  %.22440.us = phi i64 [ %83, %._crit_edge.us43 ], [ 0, %.preheader.us.preheader ]
  %49 = mul nuw nsw i64 %.pr, %.22440.us
  %50 = getelementptr float, ptr %47, i64 %49
  br i1 %48, label %._crit_edge.us43.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %.139.us = phi i64 [ %63, %.preheader.us.new ], [ %.041.us, %.preheader.us ]
  %.238.us = phi i64 [ %72, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader.us.new ], [ 0, %.preheader.us ]
  %51 = mul i64 %.139.us, 25214903917
  %52 = add i64 %51, 11
  %53 = and i64 %52, 65535
  %54 = uitofp nneg i64 %53 to float
  %55 = fmul float %54, 0x3EF0000000000000
  %56 = fpext float %55 to double
  %57 = fadd double %56, -5.000000e-01
  %58 = fdiv double %57, %46
  %59 = fptrunc double %58 to float
  %60 = getelementptr float, ptr %50, i64 %.238.us
  store float %59, ptr %60, align 4, !tbaa !13
  %61 = or disjoint i64 %.238.us, 1
  %62 = mul i64 %52, 25214903917
  %63 = add i64 %62, 11
  %64 = and i64 %63, 65535
  %65 = uitofp nneg i64 %64 to float
  %66 = fmul float %65, 0x3EF0000000000000
  %67 = fpext float %66 to double
  %68 = fadd double %67, -5.000000e-01
  %69 = fdiv double %68, %46
  %70 = fptrunc double %69 to float
  %71 = getelementptr float, ptr %50, i64 %61
  store float %70, ptr %71, align 4, !tbaa !13
  %72 = add nuw nsw i64 %.238.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us43.unr-lcssa, label %.preheader.us.new, !llvm.loop !15

._crit_edge.us43.unr-lcssa:                       ; preds = %.preheader.us.new, %.preheader.us
  %.lcssa.ph = phi i64 [ poison, %.preheader.us ], [ %63, %.preheader.us.new ]
  %.139.us.unr = phi i64 [ %.041.us, %.preheader.us ], [ %63, %.preheader.us.new ]
  %.238.us.unr = phi i64 [ 0, %.preheader.us ], [ %72, %.preheader.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us43, label %._crit_edge.us43.epilog-lcssa

._crit_edge.us43.epilog-lcssa:                    ; preds = %._crit_edge.us43.unr-lcssa
  %73 = mul i64 %.139.us.unr, 25214903917
  %74 = add i64 %73, 11
  %75 = and i64 %74, 65535
  %76 = uitofp nneg i64 %75 to float
  %77 = fmul float %76, 0x3EF0000000000000
  %78 = fpext float %77 to double
  %79 = fadd double %78, -5.000000e-01
  %80 = fdiv double %79, %46
  %81 = fptrunc double %80 to float
  %82 = getelementptr float, ptr %50, i64 %.238.us.unr
  store float %81, ptr %82, align 4, !tbaa !13
  br label %._crit_edge.us43

._crit_edge.us43:                                 ; preds = %._crit_edge.us43.unr-lcssa, %._crit_edge.us43.epilog-lcssa
  %.lcssa = phi i64 [ %.lcssa.ph, %._crit_edge.us43.unr-lcssa ], [ %74, %._crit_edge.us43.epilog-lcssa ]
  %83 = add nuw nsw i64 %.22440.us, 1
  %exitcond47.not = icmp eq i64 %83, %.ph
  br i1 %exitcond47.not, label %._crit_edge42, label %.preheader.us, !llvm.loop !17

._crit_edge42:                                    ; preds = %._crit_edge.us43, %.preheader28.lr.ph, %.preheader29, %.preheader.lr.ph, %.loopexit
  tail call void @CreateBinaryTree()
  ret void
}

; Function Attrs: nofree nounwind
declare i32 @posix_memalign(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-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 nounwind "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass