; 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"

%struct.vocab_word = type { i64, ptr, ptr, ptr, i8 }

@min_count = external dso_local global i32, align 4
@vocab_size = external dso_local global i64, align 8
@train_words = external dso_local global i64, align 8
@vocab = external dso_local global ptr, align 8
@vocab_hash = 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 i32 @GetWordHash(ptr noundef) #1

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @VocabCompare(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @SortVocab() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %4 = load ptr, ptr @vocab, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.vocab_word, ptr %4, i64 1
  %6 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %7 = sub nsw i64 %6, 1
  call void @qsort(ptr noundef %5, i64 noundef %7, i64 noundef 40, ptr noundef @VocabCompare)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %8

8:                                                ; preds = %16, %0
  %9 = load i32, ptr %1, align 4, !tbaa !11
  %10 = icmp slt i32 %9, 30000000
  br i1 %10, label %11, label %19

11:                                               ; preds = %8
  %12 = load ptr, ptr @vocab_hash, align 8, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !11
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds i32, ptr %12, i64 %14
  store i32 -1, ptr %15, align 4, !tbaa !11
  br label %16

16:                                               ; preds = %11
  %17 = load i32, ptr %1, align 4, !tbaa !11
  %18 = add nsw i32 %17, 1
  store i32 %18, ptr %1, align 4, !tbaa !11
  br label %8, !llvm.loop !13

19:                                               ; preds = %8
  %20 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %21 = trunc i64 %20 to i32
  store i32 %21, ptr %2, align 4, !tbaa !11
  store i64 0, ptr @train_words, align 8, !tbaa !9
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %22

22:                                               ; preds = %82, %19
  %23 = load i32, ptr %1, align 4, !tbaa !11
  %24 = load i32, ptr %2, align 4, !tbaa !11
  %25 = icmp slt i32 %23, %24
  br i1 %25, label %26, label %85

26:                                               ; preds = %22
  %27 = load ptr, ptr @vocab, align 8, !tbaa !5
  %28 = load i32, ptr %1, align 4, !tbaa !11
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds %struct.vocab_word, ptr %27, i64 %29
  %31 = getelementptr inbounds %struct.vocab_word, ptr %30, i32 0, i32 0
  %32 = load i64, ptr %31, align 8, !tbaa !15
  %33 = load i32, ptr @min_count, align 4, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = icmp slt i64 %32, %34
  br i1 %35, label %36, label %48

36:                                               ; preds = %26
  %37 = load i32, ptr %1, align 4, !tbaa !11
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %48

39:                                               ; preds = %36
  %40 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %41 = add nsw i64 %40, -1
  store i64 %41, ptr @vocab_size, align 8, !tbaa !9
  %42 = load ptr, ptr @vocab, align 8, !tbaa !5
  %43 = load i32, ptr %1, align 4, !tbaa !11
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %struct.vocab_word, ptr %42, i64 %44
  %46 = getelementptr inbounds %struct.vocab_word, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !17
  call void @free(ptr noundef %47) #6
  br label %81

48:                                               ; preds = %36, %26
  %49 = load ptr, ptr @vocab, align 8, !tbaa !5
  %50 = load i32, ptr %1, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct.vocab_word, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct.vocab_word, ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = call i32 @GetWordHash(ptr noundef %54)
  store i32 %55, ptr %3, align 4, !tbaa !11
  br label %56

56:                                               ; preds = %63, %48
  %57 = load ptr, ptr @vocab_hash, align 8, !tbaa !5
  %58 = load i32, ptr %3, align 4, !tbaa !11
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds i32, ptr %57, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = icmp ne i32 %61, -1
  br i1 %62, label %63, label %67

63:                                               ; preds = %56
  %64 = load i32, ptr %3, align 4, !tbaa !11
  %65 = add i32 %64, 1
  %66 = urem i32 %65, 30000000
  store i32 %66, ptr %3, align 4, !tbaa !11
  br label %56, !llvm.loop !18

67:                                               ; preds = %56
  %68 = load i32, ptr %1, align 4, !tbaa !11
  %69 = load ptr, ptr @vocab_hash, align 8, !tbaa !5
  %70 = load i32, ptr %3, align 4, !tbaa !11
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  store i32 %68, ptr %72, align 4, !tbaa !11
  %73 = load ptr, ptr @vocab, align 8, !tbaa !5
  %74 = load i32, ptr %1, align 4, !tbaa !11
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %struct.vocab_word, ptr %73, i64 %75
  %77 = getelementptr inbounds %struct.vocab_word, ptr %76, i32 0, i32 0
  %78 = load i64, ptr %77, align 8, !tbaa !15
  %79 = load i64, ptr @train_words, align 8, !tbaa !9
  %80 = add nsw i64 %79, %78
  store i64 %80, ptr @train_words, align 8, !tbaa !9
  br label %81

81:                                               ; preds = %67, %39
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %1, align 4, !tbaa !11
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %1, align 4, !tbaa !11
  br label %22, !llvm.loop !19

85:                                               ; preds = %22
  %86 = load ptr, ptr @vocab, align 8, !tbaa !5
  %87 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %88 = add nsw i64 %87, 1
  %89 = mul i64 %88, 40
  %90 = call ptr @realloc(ptr noundef %86, i64 noundef %89) #7
  store ptr %90, ptr @vocab, align 8, !tbaa !5
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %91

91:                                               ; preds = %109, %85
  %92 = load i32, ptr %1, align 4, !tbaa !11
  %93 = sext i32 %92 to i64
  %94 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %95 = icmp slt i64 %93, %94
  br i1 %95, label %96, label %112

96:                                               ; preds = %91
  %97 = call noalias ptr @calloc(i64 noundef 40, i64 noundef 1) #8
  %98 = load ptr, ptr @vocab, align 8, !tbaa !5
  %99 = load i32, ptr %1, align 4, !tbaa !11
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %struct.vocab_word, ptr %98, i64 %100
  %102 = getelementptr inbounds %struct.vocab_word, ptr %101, i32 0, i32 3
  store ptr %97, ptr %102, align 8, !tbaa !20
  %103 = call noalias ptr @calloc(i64 noundef 40, i64 noundef 4) #8
  %104 = load ptr, ptr @vocab, align 8, !tbaa !5
  %105 = load i32, ptr %1, align 4, !tbaa !11
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds %struct.vocab_word, ptr %104, i64 %106
  %108 = getelementptr inbounds %struct.vocab_word, ptr %107, i32 0, i32 1
  store ptr %103, ptr %108, align 8, !tbaa !21
  br label %109

109:                                              ; preds = %96
  %110 = load i32, ptr %1, align 4, !tbaa !11
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %1, align 4, !tbaa !11
  br label %91, !llvm.loop !22

112:                                              ; preds = %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

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 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind allocsize(1) "no-trapping-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 = { "no-trapping-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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(1) }
attributes #8 = { nounwind allocsize(0,1) }

!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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 0}
!16 = !{!"vocab_word", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32}
!17 = !{!16, !6, i64 16}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{!16, !6, i64 24}
!21 = !{!16, !6, i64 8}
!22 = distinct !{!22, !14}


; 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"

%struct.vocab_word = type { i64, ptr, ptr, ptr, i8 }

@min_count = external dso_local local_unnamed_addr global i32, align 4
@vocab_size = external dso_local local_unnamed_addr global i64, align 8
@train_words = external dso_local local_unnamed_addr global i64, align 8
@vocab = external dso_local local_unnamed_addr global ptr, align 8
@vocab_hash = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i32 @GetWordHash(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @VocabCompare(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @SortVocab() local_unnamed_addr #0 {
  %1 = load ptr, ptr @vocab, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 40
  %3 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %4 = add nsw i64 %3, -1
  tail call void @qsort(ptr noundef nonnull %2, i64 noundef %4, i64 noundef 40, ptr noundef nonnull @VocabCompare) #6
  %5 = load ptr, ptr @vocab_hash, align 8, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(120000000) %5, i8 -1, i64 120000000, i1 false), !tbaa !11
  %6 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %7 = trunc i64 %6 to i32
  store i64 0, ptr @train_words, align 8, !tbaa !9
  %8 = icmp sgt i32 %7, 0
  %.pre43 = load ptr, ptr @vocab, align 8, !tbaa !5
  br i1 %8, label %.lr.ph30.preheader, label %._crit_edge31

.lr.ph30.preheader:                               ; preds = %0
  %wide.trip.count = and i64 %6, 2147483647
  br label %.lr.ph30

.lr.ph30:                                         ; preds = %.lr.ph30.preheader, %41
  %9 = phi ptr [ %.pre43, %.lr.ph30.preheader ], [ %42, %41 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph30.preheader ], [ %indvars.iv.next, %41 ]
  %10 = getelementptr inbounds %struct.vocab_word, ptr %9, i64 %indvars.iv
  %11 = load i64, ptr %10, align 8, !tbaa !13
  %12 = load i32, ptr @min_count, align 4, !tbaa !11
  %13 = sext i32 %12 to i64
  %14 = icmp slt i64 %11, %13
  %15 = icmp ne i64 %indvars.iv, 0
  %or.cond = and i1 %15, %14
  br i1 %or.cond, label %16, label %21

16:                                               ; preds = %.lr.ph30
  %17 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %18 = add nsw i64 %17, -1
  store i64 %18, ptr @vocab_size, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct.vocab_word, ptr %9, i64 %indvars.iv, i32 2
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  tail call void @free(ptr noundef %20) #6
  %.pre = load ptr, ptr @vocab, align 8, !tbaa !5
  br label %41

21:                                               ; preds = %.lr.ph30
  %22 = getelementptr inbounds i8, ptr %10, i64 16
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = tail call i32 @GetWordHash(ptr noundef %23)
  %25 = load ptr, ptr @vocab_hash, align 8, !tbaa !5
  %26 = zext i32 %24 to i64
  %27 = getelementptr inbounds i32, ptr %25, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %.not25 = icmp eq i32 %28, -1
  br i1 %.not25, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %21, %.lr.ph
  %.026 = phi i32 [ %30, %.lr.ph ], [ %24, %21 ]
  %29 = add i32 %.026, 1
  %30 = urem i32 %29, 30000000
  %31 = zext nneg i32 %30 to i64
  %32 = getelementptr inbounds i32, ptr %25, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %.not = icmp eq i32 %33, -1
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph, %21
  %.lcssa24 = phi i64 [ %26, %21 ], [ %31, %.lr.ph ]
  %34 = getelementptr inbounds i32, ptr %25, i64 %.lcssa24
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %35, ptr %34, align 4, !tbaa !11
  %36 = load ptr, ptr @vocab, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.vocab_word, ptr %36, i64 %indvars.iv
  %38 = load i64, ptr %37, align 8, !tbaa !13
  %39 = load i64, ptr @train_words, align 8, !tbaa !9
  %40 = add nsw i64 %39, %38
  store i64 %40, ptr @train_words, align 8, !tbaa !9
  br label %41

41:                                               ; preds = %16, %._crit_edge
  %42 = phi ptr [ %.pre, %16 ], [ %36, %._crit_edge ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge31.loopexit, label %.lr.ph30, !llvm.loop !18

._crit_edge31.loopexit:                           ; preds = %41
  %.pre44 = load i64, ptr @vocab_size, align 8, !tbaa !9
  br label %._crit_edge31

._crit_edge31:                                    ; preds = %._crit_edge31.loopexit, %0
  %43 = phi i64 [ %.pre44, %._crit_edge31.loopexit ], [ %6, %0 ]
  %44 = phi ptr [ %42, %._crit_edge31.loopexit ], [ %.pre43, %0 ]
  %45 = mul i64 %43, 40
  %46 = add i64 %45, 40
  %47 = tail call ptr @realloc(ptr noundef %44, i64 noundef %46) #7
  store ptr %47, ptr @vocab, align 8, !tbaa !5
  %48 = load i64, ptr @vocab_size, align 8, !tbaa !9
  %49 = icmp sgt i64 %48, 0
  br i1 %49, label %.lr.ph34, label %._crit_edge35

.lr.ph34:                                         ; preds = %._crit_edge31, %.lr.ph34
  %indvars.iv38 = phi i64 [ %indvars.iv.next39, %.lr.ph34 ], [ 0, %._crit_edge31 ]
  %50 = tail call noalias dereferenceable_or_null(40) ptr @calloc(i64 noundef 40, i64 noundef 1) #8
  %51 = load ptr, ptr @vocab, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.vocab_word, ptr %51, i64 %indvars.iv38, i32 3
  store ptr %50, ptr %52, align 8, !tbaa !19
  %53 = tail call noalias dereferenceable_or_null(160) ptr @calloc(i64 noundef 40, i64 noundef 4) #8
  %54 = load ptr, ptr @vocab, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.vocab_word, ptr %54, i64 %indvars.iv38, i32 1
  store ptr %53, ptr %55, align 8, !tbaa !20
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %exitcond41.not = icmp eq i64 %indvars.iv.next39, %48
  br i1 %exitcond41.not, label %._crit_edge35, label %.lr.ph34, !llvm.loop !21

._crit_edge35:                                    ; preds = %.lr.ph34, %._crit_edge31
  ret void
}

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-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 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-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 = { nofree "no-trapping-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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(1) }
attributes #8 = { nounwind allocsize(0,1) }

!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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"vocab_word", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32}
!15 = !{!14, !6, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!14, !6, i64 24}
!20 = !{!14, !6, i64 8}
!21 = distinct !{!21, !17}


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