; LLVM IR from indygreg/python-zstandard :: zstd (zstd)

; 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_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.XXH_NAMESPACEXXH64_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, ptr, %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.XXH_NAMESPACEXXH64_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: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_compress2(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i64 %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i64 %4, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %19, i32 0, i32 3
  %21 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %20, i32 0, i32 15
  %22 = load i32, ptr %21, align 4, !tbaa !11
  store i32 %22, ptr %12, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %23, i32 0, i32 3
  %25 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %24, i32 0, i32 16
  %26 = load i32, ptr %25, align 8, !tbaa !38
  store i32 %26, ptr %13, align 4, !tbaa !37
  br label %27

27:                                               ; preds = %5
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = call i64 @ZSTD_CCtx_reset(ptr noundef %30, i32 noundef 1)
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %32, i32 0, i32 3
  %34 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %33, i32 0, i32 15
  store i32 1, ptr %34, align 4, !tbaa !11
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %35, i32 0, i32 3
  %37 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %36, i32 0, i32 16
  store i32 1, ptr %37, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  store i64 0, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  store i64 0, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i64, ptr %9, align 8, !tbaa !9
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = load i64, ptr %11, align 8, !tbaa !9
  %43 = call i64 @ZSTD_compressStream2_simpleArgs(ptr noundef %38, ptr noundef %39, i64 noundef %40, ptr noundef %14, ptr noundef %41, i64 noundef %42, ptr noundef %15, i32 noundef 2)
  store i64 %43, ptr %16, align 8, !tbaa !9
  %44 = load i32, ptr %12, align 4, !tbaa !37
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %45, i32 0, i32 3
  %47 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %46, i32 0, i32 15
  store i32 %44, ptr %47, align 4, !tbaa !11
  %48 = load i32, ptr %13, align 4, !tbaa !37
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %49, i32 0, i32 3
  %51 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %50, i32 0, i32 16
  store i32 %48, ptr %51, align 8, !tbaa !38
  br label %52

52:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #2
  %53 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %53, ptr %17, align 8, !tbaa !9
  %54 = load i64, ptr %17, align 8, !tbaa !9
  %55 = call i32 @ERR_isError(i64 noundef %54)
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %71

57:                                               ; preds = %52
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  %70 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %70, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %72

71:                                               ; preds = %52
  store i32 0, ptr %18, align 4
  br label %72

72:                                               ; preds = %71, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #2
  %73 = load i32, ptr %18, align 4
  switch i32 %73, label %97 [
    i32 0, label %74
  ]

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  %77 = load i64, ptr %16, align 8, !tbaa !9
  %78 = icmp ne i64 %77, 0
  br i1 %78, label %79, label %95

79:                                               ; preds = %76
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  store i64 -70, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %97

93:                                               ; No predecessors!
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94, %76
  %96 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %96, ptr %6, align 8
  store i32 1, ptr %18, align 4
  br label %97

97:                                               ; preds = %95, %92, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  %98 = load i64, ptr %6, align 8
  ret i64 %98
}

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 140}
!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, !6, 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 = !{!"XXH_NAMESPACEXXH64_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 = !{!13, !13, i64 0}
!38 = !{!12, !13, i64 144}


; 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: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_compress2(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 140
  %9 = getelementptr inbounds i8, ptr %0, i64 144
  %10 = load <2 x i32>, ptr %8, align 4, !tbaa !5
  %11 = tail call i64 @ZSTD_CCtx_reset(ptr noundef %0, i32 noundef 1)
  store i32 1, ptr %8, align 4, !tbaa !9
  store i32 1, ptr %9, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  store i64 0, ptr %6, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #2
  store i64 0, ptr %7, align 8, !tbaa !37
  %12 = call i64 @ZSTD_compressStream2_simpleArgs(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %6, ptr noundef %3, i64 noundef %4, ptr noundef nonnull %7, i32 noundef 2)
  store <2 x i32> %10, ptr %8, align 4, !tbaa !5
  %13 = call i32 @ERR_isError(i64 noundef %12)
  %.not = icmp eq i32 %13, 0
  %.not20 = icmp eq i64 %12, 0
  %14 = load i64, ptr %6, align 8
  %spec.select = select i1 %.not20, i64 %14, i64 -70
  %.1 = select i1 %.not, i64 %spec.select, i64 %12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  ret i64 %.1
}

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass