; LLVM IR from intel/qpl :: sources/middle-layer/compression/huffman_table (huffman_table)

; 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.std::array" = type { [256 x %"struct.qpl::ml::compression::qpl_triplet"] }
%"struct.qpl::ml::compression::qpl_triplet" = type { i8, i8, i16 }
%"class.qpl::ml::compression::huffman_table_t.8" = type { %"struct.qpl::ml::compression::huffman_table_meta_t", i8, ptr, ptr, %"class.std::unique_ptr", %struct.allocator_t }
%"struct.qpl::ml::compression::huffman_table_meta_t" = type { [4 x i8], i32, i8, i8, i8, i8, i32 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.1" = type { ptr }
%struct.allocator_t = type { ptr, ptr }

; 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
declare noundef i32 @_ZN3qpl2ml11compression18huffman_table_initI31qpl_decompression_huffman_tableEEjRT_PKNS1_11qpl_tripletEmj(ptr noundef nonnull align 64 dereferenceable(27584), ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN3qpl2ml11compression15huffman_table_tILNS1_23compression_algorithm_eE2EE4initERKS4_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i16, align 2
  %8 = alloca %"struct.std::array", align 2
  %9 = alloca ptr, align 8
  %10 = alloca i16, align 2
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  %15 = getelementptr inbounds %"class.qpl::ml::compression::huffman_table_t.8", ptr %14, i32 0, i32 0
  %16 = getelementptr inbounds %"struct.qpl::ml::compression::huffman_table_meta_t", ptr %15, i32 0, i32 4
  %17 = load i8, ptr %16, align 2, !tbaa !9
  %18 = icmp eq i8 %17, 2
  br i1 %18, label %19, label %78

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 15, ptr %6, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #5
  store i16 32767, ptr %7, align 2, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1024, ptr %8) #5
  call void @llvm.memset.p0.i64(ptr align 2 %8, i8 0, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.qpl::ml::compression::huffman_table_t.8", ptr %20, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !30
  store ptr %22, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #5
  store i16 0, ptr %10, align 2, !tbaa !28
  br label %23

23:                                               ; preds = %57, %19
  %24 = load i16, ptr %10, align 2, !tbaa !28
  %25 = zext i16 %24 to i32
  %26 = icmp ult i32 %25, 256
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #5
  br label %60

28:                                               ; preds = %23
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load i16, ptr %10, align 2, !tbaa !28
  %31 = zext i16 %30 to i64
  %32 = getelementptr inbounds i32, ptr %29, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !27
  %34 = and i32 %33, 32767
  %35 = trunc i32 %34 to i16
  %36 = load i16, ptr %10, align 2, !tbaa !28
  %37 = zext i16 %36 to i64
  %38 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %8, i64 noundef %37) #5
  %39 = getelementptr inbounds %"struct.qpl::ml::compression::qpl_triplet", ptr %38, i32 0, i32 2
  store i16 %35, ptr %39, align 2, !tbaa !31
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = load i16, ptr %10, align 2, !tbaa !28
  %42 = zext i16 %41 to i64
  %43 = getelementptr inbounds i32, ptr %40, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !27
  %45 = lshr i32 %44, 15
  %46 = trunc i32 %45 to i8
  %47 = load i16, ptr %10, align 2, !tbaa !28
  %48 = zext i16 %47 to i64
  %49 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %8, i64 noundef %48) #5
  %50 = getelementptr inbounds %"struct.qpl::ml::compression::qpl_triplet", ptr %49, i32 0, i32 1
  store i8 %46, ptr %50, align 1, !tbaa !33
  %51 = load i16, ptr %10, align 2, !tbaa !28
  %52 = trunc i16 %51 to i8
  %53 = load i16, ptr %10, align 2, !tbaa !28
  %54 = zext i16 %53 to i64
  %55 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %8, i64 noundef %54) #5
  %56 = getelementptr inbounds %"struct.qpl::ml::compression::qpl_triplet", ptr %55, i32 0, i32 0
  store i8 %52, ptr %56, align 2, !tbaa !34
  br label %57

57:                                               ; preds = %28
  %58 = load i16, ptr %10, align 2, !tbaa !28
  %59 = add i16 %58, 1
  store i16 %59, ptr %10, align 2, !tbaa !28
  br label %23, !llvm.loop !35

60:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %61 = getelementptr inbounds %"class.qpl::ml::compression::huffman_table_t.8", ptr %14, i32 0, i32 3
  %62 = load ptr, ptr %61, align 8, !tbaa !37
  store ptr %62, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = call noundef ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4dataEv(ptr noundef nonnull align 2 dereferenceable(1024) %8) #6
  %65 = call noundef i64 @_ZNKSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4sizeEv(ptr noundef nonnull align 2 dereferenceable(1024) %8) #6
  %66 = getelementptr inbounds %"class.qpl::ml::compression::huffman_table_t.8", ptr %14, i32 0, i32 0
  %67 = getelementptr inbounds %"struct.qpl::ml::compression::huffman_table_meta_t", ptr %66, i32 0, i32 6
  %68 = load i32, ptr %67, align 4, !tbaa !38
  %69 = call noundef i32 @_ZN3qpl2ml11compression18huffman_table_initI31qpl_decompression_huffman_tableEEjRT_PKNS1_11qpl_tripletEmj(ptr noundef nonnull align 64 dereferenceable(27584) %63, ptr noundef %64, i64 noundef %65, i32 noundef %68) #5
  store i32 %69, ptr %12, align 4, !tbaa !27
  %70 = load i32, ptr %12, align 4, !tbaa !27
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %60
  %73 = load i32, ptr %12, align 4, !tbaa !27
  store i32 %73, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %75

74:                                               ; preds = %60
  store i32 0, ptr %13, align 4
  br label %75

75:                                               ; preds = %74, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %76 = load i32, ptr %13, align 4
  switch i32 %76, label %83 [
    i32 0, label %77
    i32 1, label %81
  ]

77:                                               ; preds = %75
  br label %79

78:                                               ; preds = %2
  store i32 52, ptr %3, align 4
  br label %81

79:                                               ; preds = %77
  %80 = getelementptr inbounds %"class.qpl::ml::compression::huffman_table_t.8", ptr %14, i32 0, i32 1
  store i8 1, ptr %80, align 8, !tbaa !39
  store i32 0, ptr %3, align 4
  br label %81

81:                                               ; preds = %79, %78, %75
  %82 = load i32, ptr %3, align 4
  ret i32 %82

83:                                               ; preds = %75
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4dataEv(ptr noundef nonnull align 2 dereferenceable(1024)) #4 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef i64 @_ZNKSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4sizeEv(ptr noundef nonnull align 2 dereferenceable(1024)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress 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 #4 = { mustprogress nounwind willreturn memory(none) 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }

!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++ TBAA"}
!9 = !{!10, !15, i64 10}
!10 = !{!"_ZTSN3qpl2ml11compression15huffman_table_tILNS1_23compression_algorithm_eE2EEE", !11, i64 0, !17, i64 16, !6, i64 24, !6, i64 32, !18, i64 40, !26, i64 56}
!11 = !{!"_ZTSN3qpl2ml11compression20huffman_table_meta_tE", !7, i64 0, !12, i64 4, !13, i64 8, !14, i64 9, !15, i64 10, !16, i64 11, !12, i64 12}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN3qpl2ml11compression23compression_algorithm_eE", !7, i64 0}
!14 = !{!"_ZTSN3qpl2ml11compression15table_version_eE", !7, i64 0}
!15 = !{!"_ZTSN3qpl2ml11compression20huffman_table_type_eE", !7, i64 0}
!16 = !{!"_ZTSN3qpl2ml16execution_path_tE", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSSt10unique_ptrIA_hPFvPvEE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_dataIhPFvPvELb1ELb1EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_implIhPFvPvEE", !21, i64 0}
!21 = !{!"_ZTSSt5tupleIJPhPFvPvEEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Tuple_implILm0EJPhPFvPvEEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt11_Tuple_implILm1EJPFvPvEEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm1EPFvPvELb0EE", !6, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !6, i64 0}
!26 = !{!"_ZTS11allocator_t", !6, i64 0, !6, i64 8}
!27 = !{!12, !12, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"short", !7, i64 0}
!30 = !{!10, !6, i64 24}
!31 = !{!32, !29, i64 2}
!32 = !{!"_ZTSN3qpl2ml11compression11qpl_tripletE", !7, i64 0, !7, i64 1, !29, i64 2}
!33 = !{!32, !7, i64 1}
!34 = !{!32, !7, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!10, !6, i64 32}
!38 = !{!10, !12, i64 12}
!39 = !{!10, !17, i64 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"

%"struct.std::array" = type { [256 x %"struct.qpl::ml::compression::qpl_triplet"] }
%"struct.qpl::ml::compression::qpl_triplet" = type { i8, i8, i16 }

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

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

; Function Attrs: nounwind
declare noundef i32 @_ZN3qpl2ml11compression18huffman_table_initI31qpl_decompression_huffman_tableEEjRT_PKNS1_11qpl_tripletEmj(ptr noundef nonnull align 64 dereferenceable(27584), ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN3qpl2ml11compression15huffman_table_tILNS1_23compression_algorithm_eE2EE4initERKS4_(ptr nocapture noundef nonnull align 8 dereferenceable(72) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(72) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"struct.std::array", align 2
  %4 = getelementptr inbounds i8, ptr %0, i64 10
  %5 = load i8, ptr %4, align 2, !tbaa !5
  %6 = icmp eq i8 %5, 2
  br i1 %6, label %7, label %34

7:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(1024) %3, i8 0, i64 1024, i1 false)
  %8 = getelementptr inbounds i8, ptr %1, i64 24
  %9 = load ptr, ptr %8, align 8, !tbaa !26
  br label %18

10:                                               ; preds = %18
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load ptr, ptr %11, align 8, !tbaa !27
  %13 = call noundef ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4dataEv(ptr noundef nonnull align 2 dereferenceable(1024) %3) #6
  %14 = call noundef i64 @_ZNKSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4sizeEv(ptr noundef nonnull align 2 dereferenceable(1024) %3) #6
  %15 = getelementptr inbounds i8, ptr %0, i64 12
  %16 = load i32, ptr %15, align 4, !tbaa !28
  %17 = call noundef i32 @_ZN3qpl2ml11compression18huffman_table_initI31qpl_decompression_huffman_tableEEjRT_PKNS1_11qpl_tripletEmj(ptr noundef nonnull align 64 dereferenceable(27584) %12, ptr noundef %13, i64 noundef %14, i32 noundef %16) #5
  %.not.not = icmp eq i32 %17, 0
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #5
  br i1 %.not.not, label %32, label %34

18:                                               ; preds = %7, %18
  %indvars.iv = phi i64 [ 0, %7 ], [ %indvars.iv.next, %18 ]
  %19 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv
  %20 = load i32, ptr %19, align 4, !tbaa !29
  %21 = trunc i32 %20 to i16
  %22 = and i16 %21, 32767
  %23 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %3, i64 noundef %indvars.iv) #5
  %24 = getelementptr inbounds i8, ptr %23, i64 2
  store i16 %22, ptr %24, align 2, !tbaa !30
  %25 = load i32, ptr %19, align 4, !tbaa !29
  %26 = lshr i32 %25, 15
  %27 = trunc i32 %26 to i8
  %28 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %3, i64 noundef %indvars.iv) #5
  %29 = getelementptr inbounds i8, ptr %28, i64 1
  store i8 %27, ptr %29, align 1, !tbaa !33
  %30 = trunc i64 %indvars.iv to i8
  %31 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024) %3, i64 noundef %indvars.iv) #5
  store i8 %30, ptr %31, align 2, !tbaa !34
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %10, label %18, !llvm.loop !35

32:                                               ; preds = %10
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 1, ptr %33, align 8, !tbaa !37
  br label %34

34:                                               ; preds = %10, %2, %32
  %.1 = phi i32 [ %17, %10 ], [ 0, %32 ], [ 52, %2 ]
  ret i32 %.1
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(4) ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EEixEm(ptr noundef nonnull align 2 dereferenceable(1024), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4dataEv(ptr noundef nonnull align 2 dereferenceable(1024)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef i64 @_ZNKSt5arrayIN3qpl2ml11compression11qpl_tripletELm256EE4sizeEv(ptr noundef nonnull align 2 dereferenceable(1024)) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress 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 #4 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }

!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, !13, i64 10}
!6 = !{!"_ZTSN3qpl2ml11compression15huffman_table_tILNS1_23compression_algorithm_eE2EEE", !7, i64 0, !15, i64 16, !16, i64 24, !16, i64 32, !17, i64 40, !25, i64 56}
!7 = !{!"_ZTSN3qpl2ml11compression20huffman_table_meta_tE", !8, i64 0, !10, i64 4, !11, i64 8, !12, i64 9, !13, i64 10, !14, i64 11, !10, i64 12}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSN3qpl2ml11compression23compression_algorithm_eE", !8, i64 0}
!12 = !{!"_ZTSN3qpl2ml11compression15table_version_eE", !8, i64 0}
!13 = !{!"_ZTSN3qpl2ml11compression20huffman_table_type_eE", !8, i64 0}
!14 = !{!"_ZTSN3qpl2ml16execution_path_tE", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTSSt10unique_ptrIA_hPFvPvEE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_dataIhPFvPvELb1ELb1EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_implIhPFvPvEE", !20, i64 0}
!20 = !{!"_ZTSSt5tupleIJPhPFvPvEEE", !21, i64 0}
!21 = !{!"_ZTSSt11_Tuple_implILm0EJPhPFvPvEEE", !22, i64 0, !24, i64 8}
!22 = !{!"_ZTSSt11_Tuple_implILm1EJPFvPvEEE", !23, i64 0}
!23 = !{!"_ZTSSt10_Head_baseILm1EPFvPvELb0EE", !16, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPhLb0EE", !16, i64 0}
!25 = !{!"_ZTS11allocator_t", !16, i64 0, !16, i64 8}
!26 = !{!6, !16, i64 24}
!27 = !{!6, !16, i64 32}
!28 = !{!6, !10, i64 12}
!29 = !{!10, !10, i64 0}
!30 = !{!31, !32, i64 2}
!31 = !{!"_ZTSN3qpl2ml11compression11qpl_tripletE", !8, i64 0, !8, i64 1, !32, i64 2}
!32 = !{!"short", !8, i64 0}
!33 = !{!31, !8, i64 1}
!34 = !{!31, !8, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!6, !15, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass