; LLVM IR from DanEngelbrecht/longtail :: lib/zstd/ext/compress (zstd_compress)

; 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.ZSTD_Trace = type { i32, i32, i32, i32, i64, i64, i64, ptr, ptr, ptr }
%struct.ZSTD_CCtx_s = type { i32, i32, i32, %struct.ZSTD_CCtx_params_s, %struct.ZSTD_CCtx_params_s, %struct.ZSTD_CCtx_params_s, i32, i64, %struct.ZSTD_cwksp, i64, i64, i64, i64, %struct.XXH64_state_s, %struct.ZSTD_customMem, ptr, i64, %struct.SeqCollector, i32, i32, %struct.seqStore_t, %struct.ldmState_t, ptr, i64, %struct.rawSeqStore_t, %struct.ZSTD_blockState_t, ptr, i32, ptr, i64, i64, i64, i64, ptr, i64, i64, i64, i32, i32, %struct.ZSTD_inBuffer_s, i64, i64, %struct.ZSTD_localDict, ptr, %struct.ZSTD_prefixDict_s, i64, %struct.ZSTD_blockSplitCtx, ptr, i64 }
%struct.ZSTD_CCtx_params_s = type { i32, %struct.ZSTD_compressionParameters, %struct.ZSTD_frameParameters, i32, i32, i64, i32, i32, i32, i32, i64, i32, i32, %struct.ldmParams_t, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ZSTD_customMem, i32, i32, ptr, ptr, i64, i32 }
%struct.ZSTD_compressionParameters = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_frameParameters = type { i32, i32, i32 }
%struct.ldmParams_t = type { i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_cwksp = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32 }
%struct.XXH64_state_s = type { i64, [4 x i64], [4 x i64], i32, i32, i64 }
%struct.ZSTD_customMem = type { ptr, ptr, ptr }
%struct.SeqCollector = type { i32, ptr, i64, i64 }
%struct.seqStore_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i32, i32 }
%struct.ldmState_t = type { %struct.ZSTD_window_t, ptr, i32, ptr, [64 x i64], [64 x %struct.ldmMatchCandidate_t] }
%struct.ZSTD_window_t = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.ldmMatchCandidate_t = type { ptr, i32, i32, ptr }
%struct.rawSeqStore_t = type { ptr, i64, i64, i64, i64 }
%struct.ZSTD_blockState_t = type { ptr, ptr, %struct.ZSTD_matchState_t }
%struct.ZSTD_matchState_t = type { %struct.ZSTD_window_t, i32, i32, i32, i32, ptr, [8 x i32], i64, i32, ptr, ptr, ptr, i32, i32, %struct.optState_t, ptr, %struct.ZSTD_compressionParameters, ptr, i32, i32 }
%struct.optState_t = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32 }
%struct.ZSTD_inBuffer_s = type { ptr, i64, i64 }
%struct.ZSTD_localDict = type { ptr, ptr, i64, i32, ptr }
%struct.ZSTD_prefixDict_s = type { ptr, i64, i32 }
%struct.ZSTD_blockSplitCtx = type { %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, [196 x i32], %struct.ZSTD_entropyCTablesMetadata_t }
%struct.ZSTD_entropyCTablesMetadata_t = type { %struct.ZSTD_hufCTablesMetadata_t, %struct.ZSTD_fseCTablesMetadata_t }
%struct.ZSTD_hufCTablesMetadata_t = type { i32, [128 x i8], i64 }
%struct.ZSTD_fseCTablesMetadata_t = type { i32, i32, i32, [133 x i8], i64, i64 }

; 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local void @ZSTD_CCtx_trace(ptr noundef %0, i64 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca %struct.ZSTD_Trace, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %7, i32 0, i32 45
  %9 = load i64, ptr %8, align 8, !tbaa !11
  %10 = icmp ne i64 %9, 0
  br i1 %10, label %11, label %61

11:                                               ; preds = %2
  %12 = icmp ne ptr @ZSTD_trace_compress_end, null
  br i1 %12, label %13, label %61

13:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %14, i32 0, i32 29
  %16 = load i64, ptr %15, align 8, !tbaa !37
  %17 = icmp ugt i64 %16, 0
  br i1 %17, label %29, label %18

18:                                               ; preds = %13
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %19, i32 0, i32 34
  %21 = load i64, ptr %20, align 8, !tbaa !38
  %22 = icmp ugt i64 %21, 0
  br i1 %22, label %29, label %23

23:                                               ; preds = %18
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %24, i32 0, i32 4
  %26 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %25, i32 0, i32 9
  %27 = load i32, ptr %26, align 4, !tbaa !39
  %28 = icmp sgt i32 %27, 0
  br label %29

29:                                               ; preds = %23, %18, %13
  %30 = phi i1 [ true, %18 ], [ true, %13 ], [ %28, %23 ]
  %31 = zext i1 %30 to i32
  store i32 %31, ptr %5, align 4, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #4
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 64, i1 false)
  %32 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 0
  store i32 10506, ptr %32, align 8, !tbaa !41
  %33 = load i32, ptr %5, align 4, !tbaa !40
  %34 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 1
  store i32 %33, ptr %34, align 4, !tbaa !43
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %36, align 8, !tbaa !44
  %38 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 2
  store i32 %37, ptr %38, align 8, !tbaa !45
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %39, i32 0, i32 7
  %41 = load i64, ptr %40, align 8, !tbaa !46
  %42 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 4
  store i64 %41, ptr %42, align 8, !tbaa !47
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %43, i32 0, i32 11
  %45 = load i64, ptr %44, align 8, !tbaa !48
  %46 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 5
  store i64 %45, ptr %46, align 8, !tbaa !49
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %47, i32 0, i32 12
  %49 = load i64, ptr %48, align 8, !tbaa !50
  %50 = load i64, ptr %4, align 8, !tbaa !9
  %51 = add i64 %49, %50
  %52 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 6
  store i64 %51, ptr %52, align 8, !tbaa !51
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %53, i32 0, i32 4
  %55 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 7
  store ptr %54, ptr %55, align 8, !tbaa !52
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ZSTD_Trace, ptr %6, i32 0, i32 8
  store ptr %56, ptr %57, align 8, !tbaa !53
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %58, i32 0, i32 45
  %60 = load i64, ptr %59, align 8, !tbaa !11
  call void @ZSTD_trace_compress_end(i64 noundef %60, ptr noundef %6)
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %61

61:                                               ; preds = %29, %11, %2
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %62, i32 0, i32 45
  store i64 0, ptr %63, align 8, !tbaa !11
  ret void
}

declare extern_weak void @ZSTD_trace_compress_end(i64 noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { "no-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}
!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", !7, i64 0}
!11 = !{!12, !20, i64 3728}
!12 = !{!"ZSTD_CCtx_s", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !14, i64 232, !14, i64 448, !13, i64 664, !10, i64 672, !19, i64 680, !10, i64 752, !20, i64 760, !20, i64 768, !20, i64 776, !21, i64 784, !18, i64 872, !6, i64 896, !10, i64 904, !22, i64 912, !13, i64 944, !13, i64 948, !23, i64 952, !24, i64 1032, !6, i64 3144, !10, i64 3152, !26, i64 3160, !27, i64 3200, !6, i64 3520, !13, i64 3528, !6, i64 3536, !10, i64 3544, !10, i64 3552, !10, i64 3560, !10, i64 3568, !6, i64 3576, !10, i64 3584, !10, i64 3592, !10, i64 3600, !13, i64 3608, !13, i64 3612, !30, i64 3616, !10, i64 3640, !10, i64 3648, !31, i64 3656, !6, i64 3696, !32, i64 3704, !20, i64 3728, !33, i64 3736, !6, i64 5232, !10, i64 5240}
!13 = !{!"int", !7, i64 0}
!14 = !{!"ZSTD_CCtx_params_s", !13, i64 0, !15, i64 4, !16, i64 32, !13, i64 44, !13, i64 48, !10, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !10, i64 80, !13, i64 88, !13, i64 92, !17, i64 96, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !18, i64 152, !13, i64 176, !13, i64 180, !6, i64 184, !6, i64 192, !10, i64 200, !13, i64 208}
!15 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!16 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8}
!17 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!18 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !13, i64 60, !13, i64 64, !13, i64 68}
!20 = !{!"long long", !7, i64 0}
!21 = !{!"XXH64_state_s", !10, i64 0, !7, i64 8, !7, i64 40, !13, i64 72, !13, i64 76, !10, i64 80}
!22 = !{!"", !13, i64 0, !6, i64 8, !10, i64 16, !10, i64 24}
!23 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !13, i64 76}
!24 = !{!"", !25, i64 0, !6, i64 40, !13, i64 48, !6, i64 56, !7, i64 64, !7, i64 576}
!25 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32}
!26 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!27 = !{!"", !6, i64 0, !6, i64 8, !28, i64 16}
!28 = !{!"ZSTD_matchState_t", !25, i64 0, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !6, i64 56, !7, i64 64, !10, i64 96, !13, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !13, i64 140, !29, i64 144, !6, i64 248, !15, i64 256, !6, i64 288, !13, i64 296, !13, i64 300}
!29 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !6, i64 88, !13, i64 96}
!30 = !{!"ZSTD_inBuffer_s", !6, i64 0, !10, i64 8, !10, i64 16}
!31 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !13, i64 24, !6, i64 32}
!32 = !{!"ZSTD_prefixDict_s", !6, i64 0, !10, i64 8, !13, i64 16}
!33 = !{!"", !23, i64 0, !23, i64 80, !23, i64 160, !23, i64 240, !23, i64 320, !7, i64 400, !34, i64 1184}
!34 = !{!"", !35, i64 0, !36, i64 144}
!35 = !{!"", !13, i64 0, !7, i64 4, !10, i64 136}
!36 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !10, i64 152, !10, i64 160}
!37 = !{!12, !10, i64 3544}
!38 = !{!12, !10, i64 3584}
!39 = !{!12, !13, i64 308}
!40 = !{!13, !13, i64 0}
!41 = !{!42, !13, i64 0}
!42 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!43 = !{!42, !13, i64 4}
!44 = !{!12, !13, i64 664}
!45 = !{!42, !13, i64 8}
!46 = !{!12, !10, i64 672}
!47 = !{!42, !10, i64 16}
!48 = !{!12, !20, i64 768}
!49 = !{!42, !10, i64 24}
!50 = !{!12, !20, i64 776}
!51 = !{!42, !10, i64 32}
!52 = !{!42, !6, i64 40}
!53 = !{!42, !6, i64 48}


; 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.ZSTD_Trace = type { i32, i32, i32, i32, i64, i64, i64, ptr, ptr, ptr }

; 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local void @ZSTD_CCtx_trace(ptr noundef %0, i64 noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.ZSTD_Trace, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 3728
  %5 = load i64, ptr %4, align 8, !tbaa !5
  %6 = icmp ne i64 %5, 0
  %7 = icmp ne ptr @ZSTD_trace_compress_end, null
  %or.cond = and i1 %7, %6
  br i1 %or.cond, label %8, label %39

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %0, i64 3544
  %10 = load i64, ptr %9, align 8, !tbaa !35
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %11, label %19

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %0, i64 3584
  %13 = load i64, ptr %12, align 8, !tbaa !36
  %.not13 = icmp eq i64 %13, 0
  br i1 %.not13, label %14, label %19

14:                                               ; preds = %11
  %15 = getelementptr inbounds i8, ptr %0, i64 308
  %16 = load i32, ptr %15, align 4, !tbaa !37
  %17 = icmp sgt i32 %16, 0
  %18 = zext i1 %17 to i32
  br label %19

19:                                               ; preds = %14, %11, %8
  %20 = phi i32 [ 1, %11 ], [ 1, %8 ], [ %18, %14 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %21, i8 0, i64 56, i1 false)
  store i32 10506, ptr %3, align 8, !tbaa !38
  %22 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %20, ptr %22, align 4, !tbaa !40
  %23 = getelementptr inbounds i8, ptr %0, i64 664
  %24 = load i32, ptr %23, align 8, !tbaa !41
  %25 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 %24, ptr %25, align 8, !tbaa !42
  %26 = getelementptr inbounds i8, ptr %0, i64 672
  %27 = load i64, ptr %26, align 8, !tbaa !43
  %28 = getelementptr inbounds i8, ptr %3, i64 16
  store i64 %27, ptr %28, align 8, !tbaa !44
  %29 = getelementptr inbounds i8, ptr %0, i64 768
  %30 = load i64, ptr %29, align 8, !tbaa !45
  %31 = getelementptr inbounds i8, ptr %3, i64 24
  store i64 %30, ptr %31, align 8, !tbaa !46
  %32 = getelementptr inbounds i8, ptr %0, i64 776
  %33 = load i64, ptr %32, align 8, !tbaa !47
  %34 = add i64 %33, %1
  %35 = getelementptr inbounds i8, ptr %3, i64 32
  store i64 %34, ptr %35, align 8, !tbaa !48
  %36 = getelementptr inbounds i8, ptr %0, i64 232
  %37 = getelementptr inbounds i8, ptr %3, i64 40
  store ptr %36, ptr %37, align 8, !tbaa !49
  %38 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr %0, ptr %38, align 8, !tbaa !50
  call void @ZSTD_trace_compress_end(i64 noundef %5, ptr noundef nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
  br label %39

39:                                               ; preds = %19, %2
  store i64 0, ptr %4, align 8, !tbaa !5
  ret void
}

declare extern_weak void @ZSTD_trace_compress_end(i64 noundef, ptr noundef) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { "no-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}
!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, !18, i64 3728}
!6 = !{!"ZSTD_CCtx_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 232, !10, i64 448, !7, i64 664, !13, i64 672, !17, i64 680, !13, i64 752, !18, i64 760, !18, i64 768, !18, i64 776, !19, i64 784, !15, i64 872, !16, i64 896, !13, i64 904, !20, i64 912, !7, i64 944, !7, i64 948, !21, i64 952, !22, i64 1032, !16, i64 3144, !13, i64 3152, !24, i64 3160, !25, i64 3200, !16, i64 3520, !7, i64 3528, !16, i64 3536, !13, i64 3544, !13, i64 3552, !13, i64 3560, !13, i64 3568, !16, i64 3576, !13, i64 3584, !13, i64 3592, !13, i64 3600, !7, i64 3608, !7, i64 3612, !28, i64 3616, !13, i64 3640, !13, i64 3648, !29, i64 3656, !16, i64 3696, !30, i64 3704, !18, i64 3728, !31, i64 3736, !16, i64 5232, !13, i64 5240}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"ZSTD_CCtx_params_s", !7, i64 0, !11, i64 4, !12, i64 32, !7, i64 44, !7, i64 48, !13, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !13, i64 80, !7, i64 88, !7, i64 92, !14, i64 96, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !15, i64 152, !7, i64 176, !7, i64 180, !16, i64 184, !16, i64 192, !13, i64 200, !7, i64 208}
!11 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!12 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!15 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !8, i64 56, !7, i64 60, !7, i64 64, !7, i64 68}
!18 = !{!"long long", !8, i64 0}
!19 = !{!"XXH64_state_s", !13, i64 0, !8, i64 8, !8, i64 40, !7, i64 72, !7, i64 76, !13, i64 80}
!20 = !{!"", !7, i64 0, !16, i64 8, !13, i64 16, !13, i64 24}
!21 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !13, i64 56, !13, i64 64, !7, i64 72, !7, i64 76}
!22 = !{!"", !23, i64 0, !16, i64 40, !7, i64 48, !16, i64 56, !8, i64 64, !8, i64 576}
!23 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !7, i64 24, !7, i64 28, !7, i64 32}
!24 = !{!"", !16, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!25 = !{!"", !16, i64 0, !16, i64 8, !26, i64 16}
!26 = !{!"ZSTD_matchState_t", !23, i64 0, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !16, i64 56, !8, i64 64, !13, i64 96, !7, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !7, i64 136, !7, i64 140, !27, i64 144, !16, i64 248, !11, i64 256, !16, i64 288, !7, i64 296, !7, i64 300}
!27 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !16, i64 88, !7, i64 96}
!28 = !{!"ZSTD_inBuffer_s", !16, i64 0, !13, i64 8, !13, i64 16}
!29 = !{!"", !16, i64 0, !16, i64 8, !13, i64 16, !7, i64 24, !16, i64 32}
!30 = !{!"ZSTD_prefixDict_s", !16, i64 0, !13, i64 8, !7, i64 16}
!31 = !{!"", !21, i64 0, !21, i64 80, !21, i64 160, !21, i64 240, !21, i64 320, !8, i64 400, !32, i64 1184}
!32 = !{!"", !33, i64 0, !34, i64 144}
!33 = !{!"", !7, i64 0, !8, i64 4, !13, i64 136}
!34 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !13, i64 152, !13, i64 160}
!35 = !{!6, !13, i64 3544}
!36 = !{!6, !13, i64 3584}
!37 = !{!6, !7, i64 308}
!38 = !{!39, !7, i64 0}
!39 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !16, i64 40, !16, i64 48, !16, i64 56}
!40 = !{!39, !7, i64 4}
!41 = !{!6, !7, i64 664}
!42 = !{!39, !7, i64 8}
!43 = !{!6, !13, i64 672}
!44 = !{!39, !13, i64 16}
!45 = !{!6, !18, i64 768}
!46 = !{!39, !13, i64 24}
!47 = !{!6, !18, i64 776}
!48 = !{!39, !13, i64 32}
!49 = !{!39, !16, i64 40}
!50 = !{!39, !16, i64 48}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass