; LLVM IR from catid/Zpng :: zstd (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_compressionParameters = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_customMem = type { ptr, ptr, ptr }
%struct.ZSTD_CCtx_params_s = type { i32, %struct.ZSTD_compressionParameters, %struct.ZSTD_frameParameters, i32, i32, i32, i32, i32, i32, %struct.ldmParams_t, %struct.ZSTD_customMem }
%struct.ZSTD_frameParameters = type { i32, i32, i32 }
%struct.ldmParams_t = type { i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_CCtx_s = type { i32, i32, i32, %struct.ZSTD_CCtx_params_s, %struct.ZSTD_CCtx_params_s, i32, ptr, i64, i64, i64, i64, i64, %struct.XXH64_state_s, %struct.ZSTD_customMem, i64, %struct.seqStore_t, %struct.ldmState_t, ptr, i64, %struct.rawSeqStore_t, %struct.ZSTD_blockState_t, ptr, ptr, i64, i64, i64, i64, ptr, i64, i64, i64, i32, i32, ptr, ptr, %struct.ZSTD_prefixDict_s }
%struct.XXH64_state_s = type { i64, i64, i64, i64, i64, [4 x i64], i32, [2 x i32] }
%struct.seqStore_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32 }
%struct.ldmState_t = type { %struct.ZSTD_window_t, ptr, ptr, i64 }
%struct.ZSTD_window_t = type { ptr, ptr, ptr, i32, i32 }
%struct.rawSeqStore_t = type { ptr, 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, ptr, ptr, %struct.optState_t }
%struct.optState_t = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_prefixDict_s = type { ptr, i64, i32 }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; 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 i64 @ZSTD_freeCDict(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ZSTD_createCDict_advanced(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.ZSTD_compressionParameters) align 8, ptr noundef byval(%struct.ZSTD_customMem) align 8) #2

; Function Attrs: nounwind uwtable
declare dso_local void @ZSTD_getCParamsFromCDict(ptr dead_on_unwind noalias writable sret(%struct.ZSTD_compressionParameters) align 4, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i64 @ZSTD_resetCStream_internal(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.ZSTD_CCtx_params_s) align 8, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_initCStream_internal(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef byval(%struct.ZSTD_CCtx_params_s) align 8 %4, i64 noundef %5) #2 {
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca %struct.ZSTD_compressionParameters, align 8
  %14 = alloca %struct.ZSTD_compressionParameters, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i64 %5, ptr %12, align 8, !tbaa !11
  %15 = load ptr, ptr %9, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %50

17:                                               ; preds = %6
  %18 = load i64, ptr %10, align 8, !tbaa !9
  %19 = icmp uge i64 %18, 8
  br i1 %19, label %20, label %50

20:                                               ; preds = %17
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %21, i32 0, i32 14
  %23 = load i64, ptr %22, align 8, !tbaa !13
  %24 = icmp ne i64 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %20
  store i64 -64, ptr %7, align 8
  br label %73

26:                                               ; preds = %20
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %27, i32 0, i32 33
  %29 = load ptr, ptr %28, align 8, !tbaa !30
  %30 = call i64 @ZSTD_freeCDict(ptr noundef %29)
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = load i64, ptr %10, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %4, i32 0, i32 1
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %34, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 28, ptr %13) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 4 %33, i64 28, i1 false), !tbaa.struct !31
  %36 = call ptr @ZSTD_createCDict_advanced(ptr noundef %31, i64 noundef %32, i32 noundef 0, i32 noundef 0, ptr noundef byval(%struct.ZSTD_compressionParameters) align 8 %13, ptr noundef byval(%struct.ZSTD_customMem) align 8 %35)
  call void @llvm.lifetime.end.p0(i64 28, ptr %13) #3
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %37, i32 0, i32 33
  store ptr %36, ptr %38, align 8, !tbaa !30
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %39, i32 0, i32 33
  %41 = load ptr, ptr %40, align 8, !tbaa !30
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %42, i32 0, i32 34
  store ptr %41, ptr %43, align 8, !tbaa !33
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %44, i32 0, i32 33
  %46 = load ptr, ptr %45, align 8, !tbaa !30
  %47 = icmp eq ptr %46, null
  br i1 %47, label %48, label %49

48:                                               ; preds = %26
  store i64 -64, ptr %7, align 8
  br label %73

49:                                               ; preds = %26
  br label %66

50:                                               ; preds = %17, %6
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %56

53:                                               ; preds = %50
  %54 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %4, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 28, ptr %14) #3
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  call void @ZSTD_getCParamsFromCDict(ptr dead_on_unwind writable sret(%struct.ZSTD_compressionParameters) align 4 %14, ptr noundef %55)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %14, i64 28, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 28, ptr %14) #3
  br label %56

56:                                               ; preds = %53, %50
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %57, i32 0, i32 33
  %59 = load ptr, ptr %58, align 8, !tbaa !30
  %60 = call i64 @ZSTD_freeCDict(ptr noundef %59)
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %61, i32 0, i32 33
  store ptr null, ptr %62, align 8, !tbaa !30
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %64, i32 0, i32 34
  store ptr %63, ptr %65, align 8, !tbaa !33
  br label %66

66:                                               ; preds = %56, %49
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %68, i32 0, i32 34
  %70 = load ptr, ptr %69, align 8, !tbaa !33
  %71 = load i64, ptr %12, align 8, !tbaa !11
  %72 = call i64 @ZSTD_resetCStream_internal(ptr noundef %67, ptr noundef null, i64 noundef 0, i32 noundef 0, ptr noundef %70, ptr noundef byval(%struct.ZSTD_CCtx_params_s) align 8 %4, i64 noundef %71)
  store i64 %72, ptr %7, align 8
  br label %73

73:                                               ; preds = %66, %48, %25
  %74 = load i64, ptr %7, align 8
  ret i64 %74
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !10, i64 424}
!14 = !{!"ZSTD_CCtx_s", !15, i64 0, !15, i64 4, !15, i64 8, !16, i64 16, !16, i64 136, !15, i64 256, !6, i64 264, !10, i64 272, !10, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !21, i64 312, !20, i64 400, !10, i64 424, !22, i64 432, !23, i64 496, !6, i64 552, !10, i64 560, !25, i64 568, !26, i64 600, !6, i64 776, !6, i64 784, !10, i64 792, !10, i64 800, !10, i64 808, !10, i64 816, !6, i64 824, !10, i64 832, !10, i64 840, !10, i64 848, !15, i64 856, !15, i64 860, !6, i64 864, !6, i64 872, !29, i64 880}
!15 = !{!"int", !7, i64 0}
!16 = !{!"ZSTD_CCtx_params_s", !15, i64 0, !17, i64 4, !18, i64 32, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !19, i64 68, !20, i64 96}
!17 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24}
!18 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8}
!19 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"XXH64_state_s", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !7, i64 40, !15, i64 72, !7, i64 76}
!22 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !15, i64 60}
!23 = !{!"", !24, i64 0, !6, i64 32, !6, i64 40, !10, i64 48}
!24 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28}
!25 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!26 = !{!"", !6, i64 0, !6, i64 8, !27, i64 16}
!27 = !{!"", !24, i64 0, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !6, i64 48, !6, i64 56, !6, i64 64, !28, i64 72}
!28 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80}
!29 = !{!"ZSTD_prefixDict_s", !6, i64 0, !10, i64 8, !15, i64 16}
!30 = !{!14, !6, i64 864}
!31 = !{i64 0, i64 4, !32, i64 4, i64 4, !32, i64 8, i64 4, !32, i64 12, i64 4, !32, i64 16, i64 4, !32, i64 20, i64 4, !32, i64 24, i64 4, !32}
!32 = !{!15, !15, i64 0}
!33 = !{!14, !6, i64 872}


; 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_compressionParameters = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_customMem = type { ptr, ptr, ptr }
%struct.ZSTD_CCtx_params_s = type { i32, %struct.ZSTD_compressionParameters, %struct.ZSTD_frameParameters, i32, i32, i32, i32, i32, i32, %struct.ldmParams_t, %struct.ZSTD_customMem }
%struct.ZSTD_frameParameters = type { i32, i32, i32 }
%struct.ldmParams_t = type { i32, i32, i32, i32, i32, i32 }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; 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 uwtable
declare dso_local i64 @ZSTD_freeCDict(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @ZSTD_createCDict_advanced(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.ZSTD_compressionParameters) align 8, ptr noundef byval(%struct.ZSTD_customMem) align 8) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @ZSTD_getCParamsFromCDict(ptr dead_on_unwind noalias writable sret(%struct.ZSTD_compressionParameters) align 4, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i64 @ZSTD_resetCStream_internal(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.ZSTD_CCtx_params_s) align 8, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_initCStream_internal(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef byval(%struct.ZSTD_CCtx_params_s) align 8 %4, i64 noundef %5) local_unnamed_addr #2 {
  %7 = alloca %struct.ZSTD_compressionParameters, align 8
  %8 = icmp ne ptr %1, null
  %9 = icmp ugt i64 %2, 7
  %or.cond = and i1 %8, %9
  br i1 %or.cond, label %10, label %22

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 424
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %.not24 = icmp eq i64 %12, 0
  br i1 %.not24, label %13, label %33

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %0, i64 864
  %15 = load ptr, ptr %14, align 8, !tbaa !27
  %16 = tail call i64 @ZSTD_freeCDict(ptr noundef %15)
  %17 = getelementptr inbounds i8, ptr %4, i64 4
  %18 = getelementptr inbounds i8, ptr %0, i64 400
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %7) #3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(28) %7, ptr noundef nonnull align 4 dereferenceable(28) %17, i64 28, i1 false), !tbaa.struct !28
  %19 = tail call ptr @ZSTD_createCDict_advanced(ptr noundef nonnull %1, i64 noundef %2, i32 noundef 0, i32 noundef 0, ptr noundef nonnull byval(%struct.ZSTD_compressionParameters) align 8 %7, ptr noundef nonnull byval(%struct.ZSTD_customMem) align 8 %18)
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %7) #3
  store ptr %19, ptr %14, align 8, !tbaa !27
  %20 = getelementptr inbounds i8, ptr %0, i64 872
  store ptr %19, ptr %20, align 8, !tbaa !30
  %21 = icmp eq ptr %19, null
  br i1 %21, label %33, label %30

22:                                               ; preds = %6
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %25, label %23

23:                                               ; preds = %22
  %24 = getelementptr inbounds i8, ptr %4, i64 4
  call void @ZSTD_getCParamsFromCDict(ptr dead_on_unwind nonnull writable sret(%struct.ZSTD_compressionParameters) align 4 %24, ptr noundef nonnull %3)
  br label %25

25:                                               ; preds = %23, %22
  %26 = getelementptr inbounds i8, ptr %0, i64 864
  %27 = load ptr, ptr %26, align 8, !tbaa !27
  %28 = call i64 @ZSTD_freeCDict(ptr noundef %27)
  store ptr null, ptr %26, align 8, !tbaa !27
  %29 = getelementptr inbounds i8, ptr %0, i64 872
  store ptr %3, ptr %29, align 8, !tbaa !30
  br label %30

30:                                               ; preds = %13, %25
  %31 = phi ptr [ %19, %13 ], [ %3, %25 ]
  %32 = call i64 @ZSTD_resetCStream_internal(ptr noundef nonnull %0, ptr noundef null, i64 noundef 0, i32 noundef 0, ptr noundef %31, ptr noundef nonnull byval(%struct.ZSTD_CCtx_params_s) align 8 %4, i64 noundef %5)
  br label %33

33:                                               ; preds = %13, %10, %30
  %.0 = phi i64 [ %32, %30 ], [ -64, %10 ], [ -64, %13 ]
  ret i64 %.0
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !16, i64 424}
!6 = !{!"ZSTD_CCtx_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 136, !7, i64 256, !15, i64 264, !16, i64 272, !16, i64 280, !17, i64 288, !17, i64 296, !17, i64 304, !18, i64 312, !14, i64 400, !16, i64 424, !19, i64 432, !20, i64 496, !15, i64 552, !16, i64 560, !22, i64 568, !23, i64 600, !15, i64 776, !15, i64 784, !16, i64 792, !16, i64 800, !16, i64 808, !16, i64 816, !15, i64 824, !16, i64 832, !16, i64 840, !16, i64 848, !7, i64 856, !7, i64 860, !15, i64 864, !15, i64 872, !26, i64 880}
!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, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !13, i64 68, !14, i64 96}
!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 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!14 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"long long", !8, i64 0}
!18 = !{!"XXH64_state_s", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !8, i64 40, !7, i64 72, !8, i64 76}
!19 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !7, i64 56, !7, i64 60}
!20 = !{!"", !21, i64 0, !15, i64 32, !15, i64 40, !16, i64 48}
!21 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16, !7, i64 24, !7, i64 28}
!22 = !{!"", !15, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!23 = !{!"", !15, i64 0, !15, i64 8, !24, i64 16}
!24 = !{!"", !21, i64 0, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !15, i64 48, !15, i64 56, !15, i64 64, !25, i64 72}
!25 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, 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}
!26 = !{!"ZSTD_prefixDict_s", !15, i64 0, !16, i64 8, !7, i64 16}
!27 = !{!6, !15, i64 864}
!28 = !{i64 0, i64 4, !29, i64 4, i64 4, !29, i64 8, i64 4, !29, i64 12, i64 4, !29, i64 16, i64 4, !29, i64 20, i64 4, !29, i64 24, i64 4, !29}
!29 = !{!7, !7, i64 0}
!30 = !{!6, !15, i64 872}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass