; LLVM IR from fwip/fastqz :: libzpaq.ll (ZN7libzpaq10Compressor10endSegmentEPKc)

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

%"class.libzpaq::Compressor" = type <{ %"class.libzpaq::ZPAQL", %"class.libzpaq::Encoder", ptr, i32, [4 x i8] }>
%"class.libzpaq::ZPAQL" = type { ptr, ptr, %"class.libzpaq::Array.0", i32, i32, i32, [4 x i8], %"class.libzpaq::Array.0", %"class.libzpaq::Array", %"class.libzpaq::Array", %"class.libzpaq::Array.4", i32, i32, i32, i32, i32, i32, i32, i32, ptr }
%"class.libzpaq::Array.0" = type <{ ptr, i64, i32, [4 x i8] }>
%"class.libzpaq::Array" = type <{ ptr, i64, i32, [4 x i8] }>
%"class.libzpaq::Array.4" = type <{ ptr, i64, i32, [4 x i8] }>
%"class.libzpaq::Encoder" = type { ptr, i32, i32, %"class.libzpaq::Predictor", %"class.libzpaq::Array.4" }
%"class.libzpaq::Predictor" = type <{ i32, i32, [256 x i32], [256 x i32], ptr, [256 x %"struct.libzpaq::Component"], [256 x i32], [1024 x i32], [4096 x i16], [32768 x i16], %"class.libzpaq::StateTable", ptr, i32, [4 x i8] }>
%"struct.libzpaq::Component" = type { i64, i64, i64, i64, i64, %"class.libzpaq::Array", %"class.libzpaq::Array.0", %"class.libzpaq::Array.2" }
%"class.libzpaq::Array.2" = type <{ ptr, i64, i32, [4 x i8] }>
%"class.libzpaq::StateTable" = type { [1024 x i8] }

; 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: mustprogress uwtable
declare dso_local void @_ZN7libzpaq7Encoder8compressEi(ptr noundef nonnull align 8 dereferenceable(110664), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7libzpaq10Compressor10endSegmentEPKc(ptr noundef nonnull align 8 dereferenceable(110868) %0, ptr noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  %7 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  call void @_ZN7libzpaq7Encoder8compressEi(ptr noundef nonnull align 8 dereferenceable(110664) %7, i32 noundef -1)
  %8 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %9 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %8, i32 0, i32 0
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = load ptr, ptr %10, align 8, !tbaa !21
  %12 = getelementptr inbounds ptr, ptr %11, i64 0
  %13 = load ptr, ptr %12, align 8
  call void %13(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0)
  %14 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %15 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = load ptr, ptr %16, align 8, !tbaa !21
  %18 = getelementptr inbounds ptr, ptr %17, i64 0
  %19 = load ptr, ptr %18, align 8
  call void %19(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 0)
  %20 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %21 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = load ptr, ptr %22, align 8, !tbaa !21
  %24 = getelementptr inbounds ptr, ptr %23, i64 0
  %25 = load ptr, ptr %24, align 8
  call void %25(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0)
  %26 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %27 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = load ptr, ptr %28, align 8, !tbaa !21
  %30 = getelementptr inbounds ptr, ptr %29, i64 0
  %31 = load ptr, ptr %30, align 8
  call void %31(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef 0)
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %62

34:                                               ; preds = %2
  %35 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %36 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = load ptr, ptr %37, align 8, !tbaa !21
  %39 = getelementptr inbounds ptr, ptr %38, i64 0
  %40 = load ptr, ptr %39, align 8
  call void %40(ptr noundef nonnull align 8 dereferenceable(8) %37, i32 noundef 253)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  store i32 0, ptr %5, align 4, !tbaa !23
  br label %41

41:                                               ; preds = %58, %34
  %42 = load i32, ptr %5, align 4, !tbaa !23
  %43 = icmp slt i32 %42, 20
  br i1 %43, label %45, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  br label %61

45:                                               ; preds = %41
  %46 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %47 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !23
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i8, ptr %49, i64 %51
  %53 = load i8, ptr %52, align 1, !tbaa !24
  %54 = sext i8 %53 to i32
  %55 = load ptr, ptr %48, align 8, !tbaa !21
  %56 = getelementptr inbounds ptr, ptr %55, i64 0
  %57 = load ptr, ptr %56, align 8
  call void %57(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %54)
  br label %58

58:                                               ; preds = %45
  %59 = load i32, ptr %5, align 4, !tbaa !23
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %5, align 4, !tbaa !23
  br label %41, !llvm.loop !25

61:                                               ; preds = %44
  br label %69

62:                                               ; preds = %2
  %63 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 1
  %64 = getelementptr inbounds %"class.libzpaq::Encoder", ptr %63, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8, !tbaa !9
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = getelementptr inbounds ptr, ptr %66, i64 0
  %68 = load ptr, ptr %67, align 8
  call void %68(ptr noundef nonnull align 8 dereferenceable(8) %65, i32 noundef 254)
  br label %69

69:                                               ; preds = %62, %61
  %70 = getelementptr inbounds %"class.libzpaq::Compressor", ptr %6, i32 0, i32 3
  store i32 3, ptr %70, align 8, !tbaa !27
  ret void
}

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

!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, !6, i64 192}
!10 = !{!"_ZTSN7libzpaq10CompressorE", !11, i64 0, !17, i64 192, !6, i64 110856, !20, i64 110864}
!11 = !{!"_ZTSN7libzpaq5ZPAQLE", !6, i64 0, !6, i64 8, !12, i64 16, !14, i64 40, !14, i64 44, !14, i64 48, !12, i64 56, !15, i64 80, !15, i64 104, !16, i64 128, !14, i64 152, !14, i64 156, !14, i64 160, !14, i64 164, !14, i64 168, !14, i64 172, !14, i64 176, !14, i64 180, !6, i64 184}
!12 = !{!"_ZTSN7libzpaq5ArrayIhEE", !6, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN7libzpaq5ArrayIjEE", !6, i64 0, !13, i64 8, !14, i64 16}
!16 = !{!"_ZTSN7libzpaq5ArrayIcEE", !6, i64 0, !13, i64 8, !14, i64 16}
!17 = !{!"_ZTSN7libzpaq7EncoderE", !6, i64 0, !14, i64 8, !14, i64 12, !18, i64 16, !16, i64 110640}
!18 = !{!"_ZTSN7libzpaq9PredictorE", !14, i64 0, !14, i64 4, !7, i64 8, !7, i64 1032, !6, i64 2056, !7, i64 2064, !7, i64 30736, !7, i64 31760, !7, i64 35856, !7, i64 44048, !19, i64 109584, !6, i64 110608, !14, i64 110616}
!19 = !{!"_ZTSN7libzpaq10StateTableE", !7, i64 0}
!20 = !{!"_ZTSN7libzpaq10CompressorUt_E", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = !{!14, !14, i64 0}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!10, !20, i64 110864}


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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7libzpaq7Encoder8compressEi(ptr noundef nonnull align 8 dereferenceable(110664), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7libzpaq10Compressor10endSegmentEPKc(ptr noundef nonnull align 8 dereferenceable(110868) %0, ptr noundef readonly %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZN7libzpaq7Encoder8compressEi(ptr noundef nonnull align 8 dereferenceable(110664) %3, i32 noundef -1)
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !20
  %6 = load ptr, ptr %5, align 8
  tail call void %6(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0)
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = load ptr, ptr %7, align 8, !tbaa !20
  %9 = load ptr, ptr %8, align 8
  tail call void %9(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0)
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = load ptr, ptr %10, align 8, !tbaa !20
  %12 = load ptr, ptr %11, align 8
  tail call void %12(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0)
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !20
  %15 = load ptr, ptr %14, align 8
  tail call void %15(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0)
  %.not = icmp eq ptr %1, null
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %16, align 8, !tbaa !20
  %18 = load ptr, ptr %17, align 8
  br i1 %.not, label %138, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %2
  tail call void %18(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 253)
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = load i8, ptr %1, align 1, !tbaa !22
  %21 = sext i8 %20 to i32
  %22 = load ptr, ptr %19, align 8, !tbaa !20
  %23 = load ptr, ptr %22, align 8
  tail call void %23(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef %21)
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %1, i64 1
  %26 = load i8, ptr %25, align 1, !tbaa !22
  %27 = sext i8 %26 to i32
  %28 = load ptr, ptr %24, align 8, !tbaa !20
  %29 = load ptr, ptr %28, align 8
  tail call void %29(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef %27)
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %1, i64 2
  %32 = load i8, ptr %31, align 1, !tbaa !22
  %33 = sext i8 %32 to i32
  %34 = load ptr, ptr %30, align 8, !tbaa !20
  %35 = load ptr, ptr %34, align 8
  tail call void %35(ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef %33)
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %1, i64 3
  %38 = load i8, ptr %37, align 1, !tbaa !22
  %39 = sext i8 %38 to i32
  %40 = load ptr, ptr %36, align 8, !tbaa !20
  %41 = load ptr, ptr %40, align 8
  tail call void %41(ptr noundef nonnull align 8 dereferenceable(8) %36, i32 noundef %39)
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %1, i64 4
  %44 = load i8, ptr %43, align 1, !tbaa !22
  %45 = sext i8 %44 to i32
  %46 = load ptr, ptr %42, align 8, !tbaa !20
  %47 = load ptr, ptr %46, align 8
  tail call void %47(ptr noundef nonnull align 8 dereferenceable(8) %42, i32 noundef %45)
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %1, i64 5
  %50 = load i8, ptr %49, align 1, !tbaa !22
  %51 = sext i8 %50 to i32
  %52 = load ptr, ptr %48, align 8, !tbaa !20
  %53 = load ptr, ptr %52, align 8
  tail call void %53(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %51)
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %1, i64 6
  %56 = load i8, ptr %55, align 1, !tbaa !22
  %57 = sext i8 %56 to i32
  %58 = load ptr, ptr %54, align 8, !tbaa !20
  %59 = load ptr, ptr %58, align 8
  tail call void %59(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef %57)
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %1, i64 7
  %62 = load i8, ptr %61, align 1, !tbaa !22
  %63 = sext i8 %62 to i32
  %64 = load ptr, ptr %60, align 8, !tbaa !20
  %65 = load ptr, ptr %64, align 8
  tail call void %65(ptr noundef nonnull align 8 dereferenceable(8) %60, i32 noundef %63)
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %1, i64 8
  %68 = load i8, ptr %67, align 1, !tbaa !22
  %69 = sext i8 %68 to i32
  %70 = load ptr, ptr %66, align 8, !tbaa !20
  %71 = load ptr, ptr %70, align 8
  tail call void %71(ptr noundef nonnull align 8 dereferenceable(8) %66, i32 noundef %69)
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %1, i64 9
  %74 = load i8, ptr %73, align 1, !tbaa !22
  %75 = sext i8 %74 to i32
  %76 = load ptr, ptr %72, align 8, !tbaa !20
  %77 = load ptr, ptr %76, align 8
  tail call void %77(ptr noundef nonnull align 8 dereferenceable(8) %72, i32 noundef %75)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %1, i64 10
  %80 = load i8, ptr %79, align 1, !tbaa !22
  %81 = sext i8 %80 to i32
  %82 = load ptr, ptr %78, align 8, !tbaa !20
  %83 = load ptr, ptr %82, align 8
  tail call void %83(ptr noundef nonnull align 8 dereferenceable(8) %78, i32 noundef %81)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %1, i64 11
  %86 = load i8, ptr %85, align 1, !tbaa !22
  %87 = sext i8 %86 to i32
  %88 = load ptr, ptr %84, align 8, !tbaa !20
  %89 = load ptr, ptr %88, align 8
  tail call void %89(ptr noundef nonnull align 8 dereferenceable(8) %84, i32 noundef %87)
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %1, i64 12
  %92 = load i8, ptr %91, align 1, !tbaa !22
  %93 = sext i8 %92 to i32
  %94 = load ptr, ptr %90, align 8, !tbaa !20
  %95 = load ptr, ptr %94, align 8
  tail call void %95(ptr noundef nonnull align 8 dereferenceable(8) %90, i32 noundef %93)
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %1, i64 13
  %98 = load i8, ptr %97, align 1, !tbaa !22
  %99 = sext i8 %98 to i32
  %100 = load ptr, ptr %96, align 8, !tbaa !20
  %101 = load ptr, ptr %100, align 8
  tail call void %101(ptr noundef nonnull align 8 dereferenceable(8) %96, i32 noundef %99)
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %1, i64 14
  %104 = load i8, ptr %103, align 1, !tbaa !22
  %105 = sext i8 %104 to i32
  %106 = load ptr, ptr %102, align 8, !tbaa !20
  %107 = load ptr, ptr %106, align 8
  tail call void %107(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef %105)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %1, i64 15
  %110 = load i8, ptr %109, align 1, !tbaa !22
  %111 = sext i8 %110 to i32
  %112 = load ptr, ptr %108, align 8, !tbaa !20
  %113 = load ptr, ptr %112, align 8
  tail call void %113(ptr noundef nonnull align 8 dereferenceable(8) %108, i32 noundef %111)
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %1, i64 16
  %116 = load i8, ptr %115, align 1, !tbaa !22
  %117 = sext i8 %116 to i32
  %118 = load ptr, ptr %114, align 8, !tbaa !20
  %119 = load ptr, ptr %118, align 8
  tail call void %119(ptr noundef nonnull align 8 dereferenceable(8) %114, i32 noundef %117)
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %1, i64 17
  %122 = load i8, ptr %121, align 1, !tbaa !22
  %123 = sext i8 %122 to i32
  %124 = load ptr, ptr %120, align 8, !tbaa !20
  %125 = load ptr, ptr %124, align 8
  tail call void %125(ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef %123)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %1, i64 18
  %128 = load i8, ptr %127, align 1, !tbaa !22
  %129 = sext i8 %128 to i32
  %130 = load ptr, ptr %126, align 8, !tbaa !20
  %131 = load ptr, ptr %130, align 8
  tail call void %131(ptr noundef nonnull align 8 dereferenceable(8) %126, i32 noundef %129)
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %1, i64 19
  %134 = load i8, ptr %133, align 1, !tbaa !22
  %135 = sext i8 %134 to i32
  %136 = load ptr, ptr %132, align 8, !tbaa !20
  %137 = load ptr, ptr %136, align 8
  tail call void %137(ptr noundef nonnull align 8 dereferenceable(8) %132, i32 noundef %135)
  br label %.loopexit

138:                                              ; preds = %2
  tail call void %18(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 254)
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %138
  %139 = getelementptr inbounds i8, ptr %0, i64 110864
  store i32 3, ptr %139, align 8, !tbaa !23
  ret void
}

attributes #0 = { mustprogress 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" }

!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, !8, i64 192}
!6 = !{!"_ZTSN7libzpaq10CompressorE", !7, i64 0, !16, i64 192, !8, i64 110856, !19, i64 110864}
!7 = !{!"_ZTSN7libzpaq5ZPAQLE", !8, i64 0, !8, i64 8, !11, i64 16, !13, i64 40, !13, i64 44, !13, i64 48, !11, i64 56, !14, i64 80, !14, i64 104, !15, i64 128, !13, i64 152, !13, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !8, i64 184}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN7libzpaq5ArrayIhEE", !8, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !9, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!"_ZTSN7libzpaq5ArrayIjEE", !8, i64 0, !12, i64 8, !13, i64 16}
!15 = !{!"_ZTSN7libzpaq5ArrayIcEE", !8, i64 0, !12, i64 8, !13, i64 16}
!16 = !{!"_ZTSN7libzpaq7EncoderE", !8, i64 0, !13, i64 8, !13, i64 12, !17, i64 16, !15, i64 110640}
!17 = !{!"_ZTSN7libzpaq9PredictorE", !13, i64 0, !13, i64 4, !9, i64 8, !9, i64 1032, !8, i64 2056, !9, i64 2064, !9, i64 30736, !9, i64 31760, !9, i64 35856, !9, i64 44048, !18, i64 109584, !8, i64 110608, !13, i64 110616}
!18 = !{!"_ZTSN7libzpaq10StateTableE", !9, i64 0}
!19 = !{!"_ZTSN7libzpaq10CompressorUt_E", !9, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !10, i64 0}
!22 = !{!9, !9, i64 0}
!23 = !{!6, !19, i64 110864}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass