; LLVM IR from wmcnamara/crynn :: lib/thirdparty/assimp/contrib/Open3DGC (o3dgcDynamicVectorDecoder)

; 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.o3dgc::Arithmetic_Codec" = type <{ ptr, ptr, ptr, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.o3dgc::Static_Bit_Model" = type { i32 }
%"class.o3dgc::Adaptive_Bit_Model" = type { i32, i32, i32, i32, i32 }
%"class.o3dgc::Adaptive_Data_Model" = type <{ ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.o3dgc::DynamicVectorDecoder" = type <{ i64, i64, i64, i64, i64, ptr, %"class.o3dgc::DVEncodeParams", i32, [4 x i8] }>
%"class.o3dgc::DVEncodeParams" = type { i64, i32, 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5o3dgc12BinaryStream10ReadUInt32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector10GetNVectorEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder14DecodePlayloadERNS_13DynamicVectorERKNS_12BinaryStreamE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(28) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"class.o3dgc::Arithmetic_Codec", align 8
  %15 = alloca %"class.o3dgc::Static_Bit_Model", align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.o3dgc::Adaptive_Bit_Model", align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.o3dgc::Adaptive_Data_Model", align 8
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %30 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %31 = load i64, ptr %30, align 8, !tbaa !11
  store i64 %31, ptr %8, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %34 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 7
  %35 = load i32, ptr %34, align 8, !tbaa !18
  %36 = call noundef i64 @_ZNK5o3dgc12BinaryStream10ReadUInt32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %32, ptr noundef nonnull align 8 dereferenceable(8) %33, i32 noundef %35)
  store i64 %36, ptr %9, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %37)
  store i64 %38, ptr %10, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call noundef i64 @_ZNK5o3dgc13DynamicVector10GetNVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %39)
  store i64 %40, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %41 = load i64, ptr %10, align 8, !tbaa !17
  %42 = load i64, ptr %11, align 8, !tbaa !17
  %43 = mul i64 %41, %42
  store i64 %43, ptr %12, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 0, ptr %13, align 8, !tbaa !17
  br label %44

44:                                               ; preds = %65, %3
  %45 = load i64, ptr %13, align 8, !tbaa !17
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %46)
  %48 = icmp ult i64 %45, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %68

50:                                               ; preds = %44
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load i64, ptr %13, align 8, !tbaa !17
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %55 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 7
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = call noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %53, ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef %56)
  call void @_ZN5o3dgc13DynamicVector6SetMinEmf(ptr noundef nonnull align 8 dereferenceable(48) %51, i64 noundef %52, float noundef %57)
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i64, ptr %13, align 8, !tbaa !17
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %62 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 7
  %63 = load i32, ptr %62, align 8, !tbaa !18
  %64 = call noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %60, ptr noundef nonnull align 8 dereferenceable(8) %61, i32 noundef %63)
  call void @_ZN5o3dgc13DynamicVector6SetMaxEmf(ptr noundef nonnull align 8 dereferenceable(48) %58, i64 noundef %59, float noundef %64)
  br label %65

65:                                               ; preds = %50
  %66 = load i64, ptr %13, align 8, !tbaa !17
  %67 = add i64 %66, 1
  store i64 %67, ptr %13, align 8, !tbaa !17
  br label %44, !llvm.loop !19

68:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #9
  call void @_ZN5o3dgc16Arithmetic_CodecC1Ev(ptr noundef nonnull align 8 dereferenceable(44) %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  invoke void @_ZN5o3dgc16Static_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %69 unwind label %98

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 20, ptr %18) #9
  invoke void @_ZN5o3dgc18Adaptive_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(20) %18)
          to label %70 unwind label %102

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  store ptr null, ptr %19, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = load i64, ptr %8, align 8, !tbaa !17
  %74 = sub i64 %72, %73
  %75 = load i64, ptr %9, align 8, !tbaa !17
  %76 = sub i64 %75, %74
  store i64 %76, ptr %9, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !21
  %77 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 7
  %78 = load i32, ptr %77, align 8, !tbaa !18
  %79 = icmp eq i32 %78, 2
  br i1 %79, label %80, label %110

80:                                               ; preds = %70
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %83 = load i64, ptr %82, align 8, !tbaa !11
  invoke void @_ZNK5o3dgc12BinaryStream9GetBufferEmRPh(ptr noundef nonnull align 8 dereferenceable(28) %81, i64 noundef %83, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %84 unwind label %106

84:                                               ; preds = %80
  %85 = load i64, ptr %9, align 8, !tbaa !17
  %86 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %87 = load i64, ptr %86, align 8, !tbaa !11
  %88 = add i64 %87, %85
  store i64 %88, ptr %86, align 8, !tbaa !11
  %89 = load i64, ptr %9, align 8, !tbaa !17
  %90 = trunc i64 %89 to i32
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN5o3dgc16Arithmetic_Codec10set_bufferEjPh(ptr noundef nonnull align 8 dereferenceable(44) %14, i32 noundef %90, ptr noundef %91)
          to label %92 unwind label %106

92:                                               ; preds = %84
  invoke void @_ZN5o3dgc16Arithmetic_Codec13start_decoderEv(ptr noundef nonnull align 8 dereferenceable(44) %14)
          to label %93 unwind label %106

93:                                               ; preds = %92
  %94 = invoke noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44) %14, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(20) %18)
          to label %95 unwind label %106

95:                                               ; preds = %93
  store i32 %94, ptr %20, align 4, !tbaa !21
  %96 = invoke noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44) %14, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(20) %18)
          to label %97 unwind label %106

97:                                               ; preds = %95
  store i32 %96, ptr %21, align 4, !tbaa !21
  br label %110

98:                                               ; preds = %68
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %16, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %17, align 4
  br label %270

102:                                              ; preds = %69
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %16, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %17, align 4
  br label %269

106:                                              ; preds = %95, %93, %92, %84, %80
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %16, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %17, align 4
  br label %268

110:                                              ; preds = %97, %70
  call void @llvm.lifetime.start.p0(i64 56, ptr %22) #9
  %111 = load i32, ptr %21, align 4, !tbaa !21
  %112 = add i32 %111, 2
  invoke void @_ZN5o3dgc19Adaptive_Data_ModelC1Ej(ptr noundef nonnull align 8 dereferenceable(52) %22, i32 noundef %112)
          to label %113 unwind label %134

113:                                              ; preds = %110
  %114 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 1
  %115 = load i64, ptr %114, align 8, !tbaa !23
  %116 = load i64, ptr %12, align 8, !tbaa !17
  %117 = icmp ult i64 %115, %116
  br i1 %117, label %118, label %142

118:                                              ; preds = %113
  %119 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 5
  %120 = load ptr, ptr %119, align 8, !tbaa !24
  %121 = icmp eq ptr %120, null
  br i1 %121, label %123, label %122

122:                                              ; preds = %118
  call void @_ZdaPv(ptr noundef %120) #10
  br label %123

123:                                              ; preds = %122, %118
  %124 = load i64, ptr %12, align 8, !tbaa !17
  %125 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 1
  store i64 %124, ptr %125, align 8, !tbaa !23
  %126 = load i64, ptr %12, align 8, !tbaa !17
  %127 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %126, i64 8)
  %128 = extractvalue { i64, i1 } %127, 1
  %129 = extractvalue { i64, i1 } %127, 0
  %130 = select i1 %128, i64 -1, i64 %129
  %131 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %130) #11
          to label %132 unwind label %138

132:                                              ; preds = %123
  %133 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 5
  store ptr %131, ptr %133, align 8, !tbaa !24
  br label %142

134:                                              ; preds = %110
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %16, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %17, align 4
  br label %267

138:                                              ; preds = %262, %259, %256, %253, %248, %245, %123
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %16, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %17, align 4
  br label %266

142:                                              ; preds = %132, %113
  %143 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 7
  %144 = load i32, ptr %143, align 8, !tbaa !18
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %183

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  store i64 0, ptr %23, align 8, !tbaa !17
  br label %147

147:                                              ; preds = %179, %146
  %148 = load i64, ptr %23, align 8, !tbaa !17
  %149 = load i64, ptr %11, align 8, !tbaa !17
  %150 = icmp ult i64 %148, %149
  br i1 %150, label %152, label %151

151:                                              ; preds = %147
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %182

152:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  store i64 0, ptr %25, align 8, !tbaa !17
  br label %153

153:                                              ; preds = %171, %152
  %154 = load i64, ptr %25, align 8, !tbaa !17
  %155 = load i64, ptr %10, align 8, !tbaa !17
  %156 = icmp ult i64 %154, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %153
  store i32 8, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %178

158:                                              ; preds = %153
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 4
  %161 = invoke noundef i64 @_ZNK5o3dgc12BinaryStream12ReadIntASCIIERm(ptr noundef nonnull align 8 dereferenceable(28) %159, ptr noundef nonnull align 8 dereferenceable(8) %160)
          to label %162 unwind label %174

162:                                              ; preds = %158
  %163 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 5
  %164 = load ptr, ptr %163, align 8, !tbaa !24
  %165 = load i64, ptr %25, align 8, !tbaa !17
  %166 = load i64, ptr %11, align 8, !tbaa !17
  %167 = mul i64 %165, %166
  %168 = load i64, ptr %23, align 8, !tbaa !17
  %169 = add i64 %167, %168
  %170 = getelementptr inbounds i64, ptr %164, i64 %169
  store i64 %161, ptr %170, align 8, !tbaa !17
  br label %171

171:                                              ; preds = %162
  %172 = load i64, ptr %25, align 8, !tbaa !17
  %173 = add i64 %172, 1
  store i64 %173, ptr %25, align 8, !tbaa !17
  br label %153, !llvm.loop !25

174:                                              ; preds = %158
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %16, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %266

178:                                              ; preds = %157
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %23, align 8, !tbaa !17
  %181 = add i64 %180, 1
  store i64 %181, ptr %23, align 8, !tbaa !17
  br label %147, !llvm.loop !26

182:                                              ; preds = %151
  br label %222

183:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store i64 0, ptr %26, align 8, !tbaa !17
  br label %184

184:                                              ; preds = %218, %183
  %185 = load i64, ptr %26, align 8, !tbaa !17
  %186 = load i64, ptr %11, align 8, !tbaa !17
  %187 = icmp ult i64 %185, %186
  br i1 %187, label %189, label %188

188:                                              ; preds = %184
  store i32 11, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %221

189:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  store i64 0, ptr %27, align 8, !tbaa !17
  br label %190

190:                                              ; preds = %210, %189
  %191 = load i64, ptr %27, align 8, !tbaa !17
  %192 = load i64, ptr %10, align 8, !tbaa !17
  %193 = icmp ult i64 %191, %192
  br i1 %193, label %195, label %194

194:                                              ; preds = %190
  store i32 14, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %217

195:                                              ; preds = %190
  %196 = load i32, ptr %20, align 4, !tbaa !21
  %197 = zext i32 %196 to i64
  %198 = load i32, ptr %21, align 4, !tbaa !21
  %199 = zext i32 %198 to i64
  %200 = invoke noundef i64 @_ZN5o3dgc14DecodeIntACEGCERNS_16Arithmetic_CodecERNS_19Adaptive_Data_ModelERNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelEmm(ptr noundef nonnull align 8 dereferenceable(44) %14, ptr noundef nonnull align 8 dereferenceable(52) %22, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(20) %18, i64 noundef %197, i64 noundef %199)
          to label %201 unwind label %213

201:                                              ; preds = %195
  %202 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 5
  %203 = load ptr, ptr %202, align 8, !tbaa !24
  %204 = load i64, ptr %27, align 8, !tbaa !17
  %205 = load i64, ptr %11, align 8, !tbaa !17
  %206 = mul i64 %204, %205
  %207 = load i64, ptr %26, align 8, !tbaa !17
  %208 = add i64 %206, %207
  %209 = getelementptr inbounds i64, ptr %203, i64 %208
  store i64 %200, ptr %209, align 8, !tbaa !17
  br label %210

210:                                              ; preds = %201
  %211 = load i64, ptr %27, align 8, !tbaa !17
  %212 = add i64 %211, 1
  store i64 %212, ptr %27, align 8, !tbaa !17
  br label %190, !llvm.loop !27

213:                                              ; preds = %195
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %16, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %266

217:                                              ; preds = %194
  br label %218

218:                                              ; preds = %217
  %219 = load i64, ptr %26, align 8, !tbaa !17
  %220 = add i64 %219, 1
  store i64 %220, ptr %26, align 8, !tbaa !17
  br label %184, !llvm.loop !28

221:                                              ; preds = %188
  br label %222

222:                                              ; preds = %221, %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store i64 0, ptr %28, align 8, !tbaa !17
  br label %223

223:                                              ; preds = %238, %222
  %224 = load i64, ptr %28, align 8, !tbaa !17
  %225 = load i64, ptr %10, align 8, !tbaa !17
  %226 = icmp ult i64 %224, %225
  br i1 %226, label %228, label %227

227:                                              ; preds = %223
  store i32 17, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %245

228:                                              ; preds = %223
  %229 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 5
  %230 = load ptr, ptr %229, align 8, !tbaa !24
  %231 = load i64, ptr %28, align 8, !tbaa !17
  %232 = load i64, ptr %11, align 8, !tbaa !17
  %233 = mul i64 %231, %232
  %234 = getelementptr inbounds i64, ptr %230, i64 %233
  %235 = load i64, ptr %11, align 8, !tbaa !17
  %236 = invoke noundef i32 @_ZN5o3dgc10ITransformEPlm(ptr noundef %234, i64 noundef %235)
          to label %237 unwind label %241

237:                                              ; preds = %228
  br label %238

238:                                              ; preds = %237
  %239 = load i64, ptr %28, align 8, !tbaa !17
  %240 = add i64 %239, 1
  store i64 %240, ptr %28, align 8, !tbaa !17
  br label %223, !llvm.loop !29

241:                                              ; preds = %228
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %16, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %266

245:                                              ; preds = %227
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = invoke noundef ptr @_ZN5o3dgc13DynamicVector10GetVectorsEv(ptr noundef nonnull align 8 dereferenceable(48) %246)
          to label %248 unwind label %138

248:                                              ; preds = %245
  %249 = load i64, ptr %11, align 8, !tbaa !17
  %250 = load i64, ptr %10, align 8, !tbaa !17
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = invoke noundef i64 @_ZNK5o3dgc13DynamicVector9GetStrideEv(ptr noundef nonnull align 8 dereferenceable(48) %251)
          to label %253 unwind label %138

253:                                              ; preds = %248
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = invoke noundef ptr @_ZNK5o3dgc13DynamicVector6GetMinEv(ptr noundef nonnull align 8 dereferenceable(48) %254)
          to label %256 unwind label %138

256:                                              ; preds = %253
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = invoke noundef ptr @_ZNK5o3dgc13DynamicVector6GetMaxEv(ptr noundef nonnull align 8 dereferenceable(48) %257)
          to label %259 unwind label %138

259:                                              ; preds = %256
  %260 = getelementptr inbounds %"class.o3dgc::DynamicVectorDecoder", ptr %29, i32 0, i32 6
  %261 = invoke noundef i64 @_ZNK5o3dgc14DVEncodeParams12GetQuantBitsEv(ptr noundef nonnull align 8 dereferenceable(16) %260)
          to label %262 unwind label %138

262:                                              ; preds = %259
  %263 = invoke noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr noundef nonnull align 8 dereferenceable(68) %29, ptr noundef %247, i64 noundef %249, i64 noundef %250, i64 noundef %252, ptr noundef %255, ptr noundef %258, i64 noundef %261)
          to label %264 unwind label %138

264:                                              ; preds = %262
  %265 = load i32, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %24, align 4
  call void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52) %22) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  ret i32 %265

266:                                              ; preds = %241, %213, %174, %138
  call void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52) %22) #9
  br label %267

267:                                              ; preds = %266, %134
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #9
  br label %268

268:                                              ; preds = %267, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %269

269:                                              ; preds = %268, %102
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #9
  br label %270

270:                                              ; preds = %269, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %271

271:                                              ; preds = %270
  %272 = load ptr, ptr %16, align 8
  %273 = load i32, ptr %17, align 4
  %274 = insertvalue { ptr, i32 } poison, ptr %272, 0
  %275 = insertvalue { ptr, i32 } %274, i32 %273, 1
  resume { ptr, i32 } %275
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5o3dgc13DynamicVector6SetMinEmf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5o3dgc13DynamicVector6SetMaxEmf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, float noundef) #3 align 2

declare void @_ZN5o3dgc16Arithmetic_CodecC1Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #4

declare void @_ZN5o3dgc16Static_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @_ZN5o3dgc18Adaptive_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5o3dgc12BinaryStream9GetBufferEmRPh(ptr noundef nonnull align 8 dereferenceable(28), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

declare void @_ZN5o3dgc16Arithmetic_Codec10set_bufferEjPh(ptr noundef nonnull align 8 dereferenceable(44), i32 noundef, ptr noundef) #4

declare void @_ZN5o3dgc16Arithmetic_Codec13start_decoderEv(ptr noundef nonnull align 8 dereferenceable(44)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20)) #2 align 2

declare void @_ZN5o3dgc19Adaptive_Data_ModelC1Ej(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef) unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5o3dgc12BinaryStream12ReadIntASCIIERm(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5o3dgc14DecodeIntACEGCERNS_16Arithmetic_CodecERNS_19Adaptive_Data_ModelERNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelEmm(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20), i64 noundef, i64 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc10ITransformEPlm(ptr noundef, i64 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5o3dgc13DynamicVector10GetVectorsEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector9GetStrideEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5o3dgc13DynamicVector6GetMinEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5o3dgc13DynamicVector6GetMaxEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc14DVEncodeParams12GetQuantBitsEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: nounwind
declare void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #8

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin 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 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 = { 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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nobuiltin allocsize(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 #7 = { inlinehint 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin nounwind }
attributes #11 = { builtin allocsize(0) }

!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, !10, i64 0}
!10 = !{!"_ZTSN5o3dgc14O3DGCErrorCodeE", !7, i64 0}
!11 = !{!12, !13, i64 32}
!12 = !{!"_ZTSN5o3dgc20DynamicVectorDecoderE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !6, i64 40, !14, i64 48, !15, i64 64}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN5o3dgc14DVEncodeParamsE", !13, i64 0, !15, i64 8, !16, i64 12}
!15 = !{!"_ZTSN5o3dgc15O3DGCStreamTypeE", !7, i64 0}
!16 = !{!"_ZTSN5o3dgc19O3DGCDVEncodingModeE", !7, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !15, i64 64}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!12, !13, i64 8}
!24 = !{!12, !6, i64 40}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}


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

%"class.o3dgc::Arithmetic_Codec" = type <{ ptr, ptr, ptr, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.o3dgc::Static_Bit_Model" = type { i32 }
%"class.o3dgc::Adaptive_Bit_Model" = type { i32, i32, i32, i32, i32 }
%"class.o3dgc::Adaptive_Data_Model" = type <{ ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>

; 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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5o3dgc12BinaryStream10ReadUInt32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector10GetNVectorEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder14DecodePlayloadERNS_13DynamicVectorERKNS_12BinaryStreamE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(28) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.o3dgc::Arithmetic_Codec", align 8
  %5 = alloca %"class.o3dgc::Static_Bit_Model", align 4
  %6 = alloca %"class.o3dgc::Adaptive_Bit_Model", align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.o3dgc::Adaptive_Data_Model", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  %12 = load i32, ptr %11, align 8, !tbaa !14
  %13 = tail call noundef i64 @_ZNK5o3dgc12BinaryStream10ReadUInt32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %12)
  %14 = tail call noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %15 = tail call noundef i64 @_ZNK5o3dgc13DynamicVector10GetNVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %16 = mul i64 %15, %14
  %17 = tail call noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %.not = icmp eq i64 %17, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %3
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #8
  call void @_ZN5o3dgc16Arithmetic_CodecC1Ev(ptr noundef nonnull align 8 dereferenceable(44) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  invoke void @_ZN5o3dgc16Static_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %25 unwind label %42

.lr.ph:                                           ; preds = %3, %.lr.ph
  %.07186 = phi i64 [ %22, %.lr.ph ], [ 0, %3 ]
  %18 = load i32, ptr %11, align 8, !tbaa !14
  %19 = tail call noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %18)
  tail call void @_ZN5o3dgc13DynamicVector6SetMinEmf(ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %.07186, float noundef %19)
  %20 = load i32, ptr %11, align 8, !tbaa !14
  %21 = tail call noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %20)
  tail call void @_ZN5o3dgc13DynamicVector6SetMaxEmf(ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %.07186, float noundef %21)
  %22 = add nuw i64 %.07186, 1
  %23 = tail call noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %24 = icmp ult i64 %22, %23
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !15

25:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %6) #8
  invoke void @_ZN5o3dgc18Adaptive_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(20) %6)
          to label %26 unwind label %44

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store ptr null, ptr %7, align 8, !tbaa !17
  %27 = load i64, ptr %9, align 8, !tbaa !5
  %.neg = sub i64 %10, %27
  %28 = add i64 %.neg, %13
  %29 = load i32, ptr %11, align 8, !tbaa !14
  %30 = icmp eq i32 %29, 2
  br i1 %30, label %31, label %48

31:                                               ; preds = %26
  invoke void @_ZNK5o3dgc12BinaryStream9GetBufferEmRPh(ptr noundef nonnull align 8 dereferenceable(28) %2, i64 noundef %27, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %32 unwind label %46

32:                                               ; preds = %31
  %33 = load i64, ptr %9, align 8, !tbaa !5
  %34 = add i64 %33, %28
  store i64 %34, ptr %9, align 8, !tbaa !5
  %35 = trunc i64 %28 to i32
  %36 = load ptr, ptr %7, align 8, !tbaa !17
  invoke void @_ZN5o3dgc16Arithmetic_Codec10set_bufferEjPh(ptr noundef nonnull align 8 dereferenceable(44) %4, i32 noundef %35, ptr noundef %36)
          to label %37 unwind label %46

37:                                               ; preds = %32
  invoke void @_ZN5o3dgc16Arithmetic_Codec13start_decoderEv(ptr noundef nonnull align 8 dereferenceable(44) %4)
          to label %38 unwind label %46

38:                                               ; preds = %37
  %39 = invoke noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44) %4, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(20) %6)
          to label %40 unwind label %46

40:                                               ; preds = %38
  %41 = invoke noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44) %4, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(20) %6)
          to label %48 unwind label %46

42:                                               ; preds = %._crit_edge
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %118

44:                                               ; preds = %25
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %117

46:                                               ; preds = %40, %38, %37, %32, %31
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %116

48:                                               ; preds = %40, %26
  %.064 = phi i32 [ 0, %26 ], [ %39, %40 ]
  %.063 = phi i32 [ 0, %26 ], [ %41, %40 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #8
  %49 = add i32 %.063, 2
  invoke void @_ZN5o3dgc19Adaptive_Data_ModelC1Ej(ptr noundef nonnull align 8 dereferenceable(52) %8, i32 noundef %49)
          to label %50 unwind label %65

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %0, i64 8
  %52 = load i64, ptr %51, align 8, !tbaa !18
  %53 = icmp ult i64 %52, %16
  br i1 %53, label %54, label %69

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %0, i64 40
  %56 = load ptr, ptr %55, align 8, !tbaa !19
  %57 = icmp eq ptr %56, null
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  call void @_ZdaPv(ptr noundef nonnull %56) #9
  br label %59

59:                                               ; preds = %58, %54
  store i64 %16, ptr %51, align 8, !tbaa !18
  %60 = icmp ugt i64 %16, 2305843009213693951
  %61 = shl nuw i64 %16, 3
  %62 = select i1 %60, i64 -1, i64 %61
  %63 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %62) #10
          to label %64 unwind label %67

64:                                               ; preds = %59
  store ptr %63, ptr %55, align 8, !tbaa !19
  br label %69

65:                                               ; preds = %48
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %115

67:                                               ; preds = %._crit_edge99, %59
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %114

69:                                               ; preds = %64, %50
  %70 = load i32, ptr %11, align 8, !tbaa !14
  %71 = icmp eq i32 %70, 1
  %.not102 = icmp eq i64 %15, 0
  br i1 %71, label %.preheader82, label %.preheader84

.preheader84:                                     ; preds = %69
  br i1 %.not102, label %.loopexit, label %.preheader83.lr.ph

.preheader83.lr.ph:                               ; preds = %.preheader84
  %.not101 = icmp eq i64 %14, 0
  %72 = zext i32 %.064 to i64
  %73 = zext i32 %.063 to i64
  %74 = getelementptr inbounds i8, ptr %0, i64 40
  br i1 %.not101, label %._crit_edge99, label %.preheader83.us

.preheader83.us:                                  ; preds = %.preheader83.lr.ph, %._crit_edge89.us
  %.06090.us = phi i64 [ %83, %._crit_edge89.us ], [ 0, %.preheader83.lr.ph ]
  br label %75

75:                                               ; preds = %.preheader83.us, %77
  %.05987.us = phi i64 [ 0, %.preheader83.us ], [ %82, %77 ]
  %76 = invoke noundef i64 @_ZN5o3dgc14DecodeIntACEGCERNS_16Arithmetic_CodecERNS_19Adaptive_Data_ModelERNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelEmm(ptr noundef nonnull align 8 dereferenceable(44) %4, ptr noundef nonnull align 8 dereferenceable(52) %8, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(20) %6, i64 noundef %72, i64 noundef %73)
          to label %77 unwind label %.split.us

77:                                               ; preds = %75
  %78 = load ptr, ptr %74, align 8, !tbaa !19
  %79 = mul i64 %.05987.us, %15
  %80 = getelementptr i64, ptr %78, i64 %79
  %81 = getelementptr i64, ptr %80, i64 %.06090.us
  store i64 %76, ptr %81, align 8, !tbaa !20
  %82 = add nuw i64 %.05987.us, 1
  %exitcond.not = icmp eq i64 %82, %14
  br i1 %exitcond.not, label %._crit_edge89.us, label %75, !llvm.loop !21

._crit_edge89.us:                                 ; preds = %77
  %83 = add nuw i64 %.06090.us, 1
  %exitcond108.not = icmp eq i64 %83, %15
  br i1 %exitcond108.not, label %.lr.ph98, label %.preheader83.us, !llvm.loop !22

.split.us:                                        ; preds = %75
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %114

.preheader82:                                     ; preds = %69
  br i1 %.not102, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader82
  %.not103 = icmp eq i64 %14, 0
  %85 = getelementptr inbounds i8, ptr %0, i64 40
  br i1 %.not103, label %._crit_edge99, label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.lr.ph, %._crit_edge93.us
  %.06294.us = phi i64 [ %94, %._crit_edge93.us ], [ 0, %.preheader.lr.ph ]
  br label %86

86:                                               ; preds = %.preheader.us, %88
  %.06191.us = phi i64 [ 0, %.preheader.us ], [ %93, %88 ]
  %87 = invoke noundef i64 @_ZNK5o3dgc12BinaryStream12ReadIntASCIIERm(ptr noundef nonnull align 8 dereferenceable(28) %2, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %88 unwind label %.split.us95

88:                                               ; preds = %86
  %89 = load ptr, ptr %85, align 8, !tbaa !19
  %90 = mul i64 %.06191.us, %15
  %91 = getelementptr i64, ptr %89, i64 %90
  %92 = getelementptr i64, ptr %91, i64 %.06294.us
  store i64 %87, ptr %92, align 8, !tbaa !20
  %93 = add nuw i64 %.06191.us, 1
  %exitcond109.not = icmp eq i64 %93, %14
  br i1 %exitcond109.not, label %._crit_edge93.us, label %86, !llvm.loop !23

._crit_edge93.us:                                 ; preds = %88
  %94 = add nuw i64 %.06294.us, 1
  %exitcond110.not = icmp eq i64 %94, %15
  br i1 %exitcond110.not, label %.lr.ph98, label %.preheader.us, !llvm.loop !24

.split.us95:                                      ; preds = %86
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %114

.loopexit:                                        ; preds = %.preheader84, %.preheader82
  %.not104 = icmp eq i64 %14, 0
  br i1 %.not104, label %._crit_edge99, label %.lr.ph98

.lr.ph98:                                         ; preds = %._crit_edge89.us, %._crit_edge93.us, %.loopexit
  %96 = getelementptr inbounds i8, ptr %0, i64 40
  br label %104

._crit_edge99:                                    ; preds = %109, %.preheader83.lr.ph, %.preheader.lr.ph, %.loopexit
  %97 = call noundef ptr @_ZN5o3dgc13DynamicVector10GetVectorsEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %98 = call noundef i64 @_ZNK5o3dgc13DynamicVector9GetStrideEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %99 = call noundef ptr @_ZNK5o3dgc13DynamicVector6GetMinEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %100 = call noundef ptr @_ZNK5o3dgc13DynamicVector6GetMaxEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %101 = getelementptr inbounds i8, ptr %0, i64 48
  %102 = call noundef i64 @_ZNK5o3dgc14DVEncodeParams12GetQuantBitsEv(ptr noundef nonnull align 8 dereferenceable(16) %101)
  %103 = invoke noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %97, i64 noundef %15, i64 noundef %14, i64 noundef %98, ptr noundef %99, ptr noundef %100, i64 noundef %102)
          to label %113 unwind label %67

104:                                              ; preds = %.lr.ph98, %109
  %.096 = phi i64 [ 0, %.lr.ph98 ], [ %110, %109 ]
  %105 = load ptr, ptr %96, align 8, !tbaa !19
  %106 = mul i64 %.096, %15
  %107 = getelementptr inbounds i64, ptr %105, i64 %106
  %108 = invoke noundef i32 @_ZN5o3dgc10ITransformEPlm(ptr noundef %107, i64 noundef %15)
          to label %109 unwind label %111

109:                                              ; preds = %104
  %110 = add nuw i64 %.096, 1
  %exitcond111.not = icmp eq i64 %110, %14
  br i1 %exitcond111.not, label %._crit_edge99, label %104, !llvm.loop !25

111:                                              ; preds = %104
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %114

113:                                              ; preds = %._crit_edge99
  call void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52) %8) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44) %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  ret i32 0

114:                                              ; preds = %111, %.split.us, %.split.us95, %67
  %.pn = phi { ptr, i32 } [ %95, %.split.us95 ], [ %112, %111 ], [ %68, %67 ], [ %84, %.split.us ]
  call void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52) %8) #8
  br label %115

115:                                              ; preds = %114, %65
  %.pn.pn = phi { ptr, i32 } [ %.pn, %114 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #8
  br label %116

116:                                              ; preds = %115, %46
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %115 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %117

117:                                              ; preds = %116, %44
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %116 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %6) #8
  br label %118

118:                                              ; preds = %117, %42
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %117 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44) %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector12GetDimVectorEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5o3dgc13DynamicVector6SetMinEmf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK5o3dgc12BinaryStream11ReadFloat32ERmNS_15O3DGCStreamTypeE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5o3dgc13DynamicVector6SetMaxEmf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, float noundef) local_unnamed_addr #3 align 2

declare void @_ZN5o3dgc16Arithmetic_CodecC1Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #4

declare void @_ZN5o3dgc16Static_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @_ZN5o3dgc18Adaptive_Bit_ModelC1Ev(ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5o3dgc12BinaryStream9GetBufferEmRPh(ptr noundef nonnull align 8 dereferenceable(28), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

declare void @_ZN5o3dgc16Arithmetic_Codec10set_bufferEjPh(ptr noundef nonnull align 8 dereferenceable(44), i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5o3dgc16Arithmetic_Codec13start_decoderEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc16Arithmetic_Codec15ExpGolombDecodeEiRNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelE(ptr noundef nonnull align 8 dereferenceable(44), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #2 align 2

declare void @_ZN5o3dgc19Adaptive_Data_ModelC1Ej(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef) unnamed_addr #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5o3dgc12BinaryStream12ReadIntASCIIERm(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5o3dgc14DecodeIntACEGCERNS_16Arithmetic_CodecERNS_19Adaptive_Data_ModelERNS_16Static_Bit_ModelERNS_18Adaptive_Bit_ModelEmm(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20), i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc10ITransformEPlm(ptr noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5o3dgc20DynamicVectorDecoder9IQuantizeEPfmmmPKfS3_m(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5o3dgc13DynamicVector10GetVectorsEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc13DynamicVector9GetStrideEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5o3dgc13DynamicVector6GetMinEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5o3dgc13DynamicVector6GetMaxEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5o3dgc14DVEncodeParams12GetQuantBitsEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN5o3dgc19Adaptive_Data_ModelD1Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #7

; Function Attrs: nounwind
declare void @_ZN5o3dgc16Arithmetic_CodecD1Ev(ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin 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 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 = { 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 = { "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 = { nobuiltin allocsize(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 #6 = { inlinehint 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin nounwind }
attributes #10 = { builtin allocsize(0) }

!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, !7, i64 32}
!6 = !{!"_ZTSN5o3dgc20DynamicVectorDecoderE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !12, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSN5o3dgc14DVEncodeParamsE", !7, i64 0, !12, i64 8, !13, i64 12}
!12 = !{!"_ZTSN5o3dgc15O3DGCStreamTypeE", !8, i64 0}
!13 = !{!"_ZTSN5o3dgc19O3DGCDVEncodingModeE", !8, i64 0}
!14 = !{!6, !12, i64 64}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !10, i64 40}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass