; LLVM IR from huawei-noah/bolt :: common/model_spec/src/model_deserialize.ll (Z18deserialize_weightPKhP9ModelSpecPj)

; 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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, DataType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, DataType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, DataType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, DataType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.3" }
%"class.std::_Rb_tree.3" = type { %"struct.std::_Rb_tree<DataType, DataType, std::_Identity<DataType>, std::less<DataType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DataType, DataType, std::_Identity<DataType>, std::less<DataType>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.8" = type { i8 }
%struct.ModelSpec = type { i32, i32, [128 x i8], i32, i32, ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr }
%struct.OperatorSpec = type <{ [128 x i8], i32, i32, ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], ptr, %union.ParameterSpec, [4 x i8] }>
%union.ParameterSpec = type { %struct.MultiHeadAttentionParamSpec }
%struct.MultiHeadAttentionParamSpec = type { [6 x %struct.FullyConnectedParamSpec], %struct.PowerParamSpec, [2 x i8], i32, [4 x %struct.ReshapeParamSpec], [2 x %struct.EltwiseParamSpec] }
%struct.FullyConnectedParamSpec = type { i32, i32, [32 x i32] }
%struct.PowerParamSpec = type { float, float, float }
%struct.ReshapeParamSpec = type { [8 x i32], i32, i32, i32 }
%struct.EltwiseParamSpec = type { i32, %struct.EltwiseSumSpec, i32, %union.ActivationSpec }
%struct.EltwiseSumSpec = type { [8 x float], i32 }
%union.ActivationSpec = type { %struct.ClipParamSpec }
%struct.ClipParamSpec = type { float, float }
%struct.SharedWeightParamSpec = type { %struct.TensorDesc }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%struct.WeightSpec = type { [128 x i8], i32, i32, ptr, i32, ptr, i32, ptr }
%struct.QuantSpec = type { i32, ptr }
%struct.PreAllocatedMemoryParamSpec = type { %struct.TensorDesc, float }

@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@constinit = external hidden constant [6 x i32], align 4

; 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: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z12get_cpu_archv() #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromBINToF32P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) #4

declare i32 @printf(ptr noundef, ...) #5

declare i32 @fflush(ptr noundef) #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z9mt_mallocj(i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI4ToF32P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI4ToF16P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransWeightFromI4ToU8P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIcEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldI8DataTypeEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z15noQuantDataType8DataType(i32 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIfEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18deserialize_weightPKhP9ModelSpecPj(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::map", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::set", align 8
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [6 x i32], align 4
  %33 = alloca %"struct.std::less", align 1
  %34 = alloca %"class.std::allocator.8", align 1
  %35 = alloca ptr, align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca ptr, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds i8, ptr %39, i64 %42
  store ptr %43, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  store ptr %7, ptr %8, align 8, !tbaa !5
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ModelSpec, ptr %46, i32 0, i32 11
  call void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef %44, ptr noundef %45, ptr noundef %47, i32 noundef 1)
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ModelSpec, ptr %48, i32 0, i32 11
  %50 = load i32, ptr %49, align 8, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = mul i64 %51, 176
  %53 = trunc i64 %52 to i32
  %54 = call noundef ptr @_Z9mt_mallocj(i32 noundef %53)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ModelSpec, ptr %55, i32 0, i32 12
  store ptr %54, ptr %56, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ModelSpec, ptr %57, i32 0, i32 12
  %59 = load ptr, ptr %58, align 8, !tbaa !14
  store ptr %59, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %60 = invoke noundef i32 @_Z12get_cpu_archv()
          to label %61 unwind label %69

61:                                               ; preds = %3
  store i32 %60, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %115, %61
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ModelSpec, ptr %64, i32 0, i32 9
  %66 = load i32, ptr %65, align 8, !tbaa !17
  %67 = icmp slt i32 %63, %66
  br i1 %67, label %73, label %68

68:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %118

69:                                               ; preds = %3
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %12, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %13, align 4
  br label %1071

73:                                               ; preds = %62
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ModelSpec, ptr %74, i32 0, i32 10
  %76 = load ptr, ptr %75, align 8, !tbaa !18
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds %struct.OperatorSpec, ptr %76, i64 %78
  %80 = getelementptr inbounds %struct.OperatorSpec, ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 8, !tbaa !19
  %82 = icmp eq i32 50, %81
  br i1 %82, label %83, label %114

83:                                               ; preds = %73
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ModelSpec, ptr %84, i32 0, i32 10
  %86 = load ptr, ptr %85, align 8, !tbaa !18
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds %struct.OperatorSpec, ptr %86, i64 %88
  %90 = getelementptr inbounds %struct.OperatorSpec, ptr %89, i32 0, i32 11
  %91 = getelementptr inbounds %struct.SharedWeightParamSpec, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %struct.TensorDesc, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ModelSpec, ptr %94, i32 0, i32 10
  %96 = load ptr, ptr %95, align 8, !tbaa !18
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds %struct.OperatorSpec, ptr %96, i64 %98
  %100 = getelementptr inbounds %struct.OperatorSpec, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds [128 x i8], ptr %100, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %101, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %102 unwind label %105

102:                                              ; preds = %83
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %104 unwind label %109

104:                                              ; preds = %102
  store i32 %93, ptr %103, align 4, !tbaa !23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %114

105:                                              ; preds = %83
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %12, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %13, align 4
  br label %113

109:                                              ; preds = %102
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %12, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %113

113:                                              ; preds = %109, %105
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %1071

114:                                              ; preds = %104, %73
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %14, align 4, !tbaa !9
  br label %62, !llvm.loop !24

118:                                              ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %929, %118
  %120 = load i32, ptr %17, align 4, !tbaa !9
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ModelSpec, ptr %121, i32 0, i32 11
  %123 = load i32, ptr %122, align 8, !tbaa !11
  %124 = icmp slt i32 %120, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %119
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %944

126:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !9
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef %127, ptr noundef %128, ptr noundef %19, i32 noundef 1)
          to label %129 unwind label %165

129:                                              ; preds = %126
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds %struct.WeightSpec, ptr %132, i64 %134
  %136 = getelementptr inbounds %struct.WeightSpec, ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds [128 x i8], ptr %136, i64 0, i64 0
  invoke void @_Z17deserialize_fieldIcEvPPKhPjPT_i(ptr noundef %130, ptr noundef %131, ptr noundef %137, i32 noundef 128)
          to label %138 unwind label %165

138:                                              ; preds = %129
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %struct.WeightSpec, ptr %141, i64 %143
  %145 = getelementptr inbounds %struct.WeightSpec, ptr %144, i32 0, i32 1
  invoke void @_Z17deserialize_fieldI8DataTypeEvPPKhPjPT_i(ptr noundef %139, ptr noundef %140, ptr noundef %145, i32 noundef 1)
          to label %146 unwind label %165

146:                                              ; preds = %138
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds %struct.WeightSpec, ptr %149, i64 %151
  %153 = getelementptr inbounds %struct.WeightSpec, ptr %152, i32 0, i32 2
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef %147, ptr noundef %148, ptr noundef %153, i32 noundef 1)
          to label %154 unwind label %165

154:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  store ptr %156, ptr %21, align 8, !tbaa !5
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds %struct.WeightSpec, ptr %157, i64 %159
  %161 = getelementptr inbounds %struct.WeightSpec, ptr %160, i32 0, i32 2
  %162 = load i32, ptr %161, align 4, !tbaa !26
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %169

164:                                              ; preds = %154
  store ptr null, ptr %21, align 8, !tbaa !5
  br label %169

165:                                              ; preds = %146, %138, %129, %126
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %13, align 4
  br label %943

169:                                              ; preds = %164, %154
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds %struct.WeightSpec, ptr %170, i64 %172
  %174 = getelementptr inbounds %struct.WeightSpec, ptr %173, i32 0, i32 2
  %175 = load i32, ptr %174, align 4, !tbaa !26
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = zext i32 %175 to i64
  %179 = getelementptr inbounds i8, ptr %177, i64 %178
  store ptr %179, ptr %176, align 8, !tbaa !5
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds %struct.WeightSpec, ptr %180, i64 %182
  %184 = getelementptr inbounds %struct.WeightSpec, ptr %183, i32 0, i32 2
  %185 = load i32, ptr %184, align 4, !tbaa !26
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = add i32 %187, %185
  store i32 %188, ptr %186, align 4, !tbaa !9
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %struct.WeightSpec, ptr %189, i64 %191
  %193 = getelementptr inbounds %struct.WeightSpec, ptr %192, i32 0, i32 2
  %194 = load i32, ptr %193, align 4, !tbaa !26
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %20, align 4, !tbaa !9
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds %struct.WeightSpec, ptr %199, i64 %201
  %203 = getelementptr inbounds %struct.WeightSpec, ptr %202, i32 0, i32 4
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef %197, ptr noundef %198, ptr noundef %203, i32 noundef 1)
          to label %204 unwind label %215

204:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  store ptr %206, ptr %22, align 8, !tbaa !5
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds %struct.WeightSpec, ptr %207, i64 %209
  %211 = getelementptr inbounds %struct.WeightSpec, ptr %210, i32 0, i32 4
  %212 = load i32, ptr %211, align 8, !tbaa !28
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %219

214:                                              ; preds = %204
  store ptr null, ptr %22, align 8, !tbaa !5
  br label %219

215:                                              ; preds = %169
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %12, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %13, align 4
  br label %942

219:                                              ; preds = %214, %204
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds %struct.WeightSpec, ptr %220, i64 %222
  %224 = getelementptr inbounds %struct.WeightSpec, ptr %223, i32 0, i32 4
  %225 = load i32, ptr %224, align 8, !tbaa !28
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = load ptr, ptr %226, align 8, !tbaa !5
  %228 = zext i32 %225 to i64
  %229 = getelementptr inbounds i8, ptr %227, i64 %228
  store ptr %229, ptr %226, align 8, !tbaa !5
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds %struct.WeightSpec, ptr %230, i64 %232
  %234 = getelementptr inbounds %struct.WeightSpec, ptr %233, i32 0, i32 4
  %235 = load i32, ptr %234, align 8, !tbaa !28
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = load i32, ptr %236, align 4, !tbaa !9
  %238 = add i32 %237, %235
  store i32 %238, ptr %236, align 4, !tbaa !9
  %239 = load ptr, ptr %9, align 8, !tbaa !5
  %240 = load i32, ptr %17, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %struct.WeightSpec, ptr %239, i64 %241
  %243 = getelementptr inbounds %struct.WeightSpec, ptr %242, i32 0, i32 4
  %244 = load i32, ptr %243, align 8, !tbaa !28
  %245 = load i32, ptr %20, align 4, !tbaa !9
  %246 = add i32 %245, %244
  store i32 %246, ptr %20, align 4, !tbaa !9
  %247 = load ptr, ptr %8, align 8, !tbaa !5
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = load ptr, ptr %9, align 8, !tbaa !5
  %250 = load i32, ptr %17, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds %struct.WeightSpec, ptr %249, i64 %251
  %253 = getelementptr inbounds %struct.WeightSpec, ptr %252, i32 0, i32 6
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef %247, ptr noundef %248, ptr noundef %253, i32 noundef 1)
          to label %254 unwind label %281

254:                                              ; preds = %219
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = load i32, ptr %17, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds %struct.WeightSpec, ptr %255, i64 %257
  %259 = getelementptr inbounds %struct.WeightSpec, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %259, align 8, !tbaa !29
  %261 = zext i32 %260 to i64
  %262 = mul i64 %261, 16
  %263 = trunc i64 %262 to i32
  %264 = invoke noundef ptr @_Z9mt_mallocj(i32 noundef %263)
          to label %265 unwind label %281

265:                                              ; preds = %254
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = load i32, ptr %17, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds %struct.WeightSpec, ptr %266, i64 %268
  %270 = getelementptr inbounds %struct.WeightSpec, ptr %269, i32 0, i32 7
  store ptr %264, ptr %270, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %271

271:                                              ; preds = %350, %265
  %272 = load i32, ptr %23, align 4, !tbaa !9
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = load i32, ptr %17, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds %struct.WeightSpec, ptr %273, i64 %275
  %277 = getelementptr inbounds %struct.WeightSpec, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %277, align 8, !tbaa !29
  %279 = icmp ult i32 %272, %278
  br i1 %279, label %285, label %280

280:                                              ; preds = %271
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %357

281:                                              ; preds = %884, %878, %857, %837, %831, %811, %805, %757, %736, %700, %694, %668, %621, %595, %567, %561, %518, %512, %478, %452, %424, %418, %398, %392, %254, %219
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %12, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %13, align 4
  br label %941

285:                                              ; preds = %271
  %286 = load ptr, ptr %8, align 8, !tbaa !5
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds %struct.WeightSpec, ptr %288, i64 %290
  %292 = getelementptr inbounds %struct.WeightSpec, ptr %291, i32 0, i32 7
  %293 = load ptr, ptr %292, align 8, !tbaa !30
  %294 = load i32, ptr %23, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = getelementptr inbounds %struct.QuantSpec, ptr %293, i64 %295
  %297 = getelementptr inbounds %struct.QuantSpec, ptr %296, i32 0, i32 0
  invoke void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef %286, ptr noundef %287, ptr noundef %297, i32 noundef 1)
          to label %298 unwind label %353

298:                                              ; preds = %285
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds %struct.WeightSpec, ptr %299, i64 %301
  %303 = getelementptr inbounds %struct.WeightSpec, ptr %302, i32 0, i32 7
  %304 = load ptr, ptr %303, align 8, !tbaa !30
  %305 = load i32, ptr %23, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds %struct.QuantSpec, ptr %304, i64 %306
  %308 = getelementptr inbounds %struct.QuantSpec, ptr %307, i32 0, i32 0
  %309 = load i32, ptr %308, align 8, !tbaa !31
  %310 = sext i32 %309 to i64
  %311 = mul i64 %310, 4
  %312 = trunc i64 %311 to i32
  %313 = invoke noundef ptr @_Z9mt_mallocj(i32 noundef %312)
          to label %314 unwind label %353

314:                                              ; preds = %298
  %315 = load ptr, ptr %9, align 8, !tbaa !5
  %316 = load i32, ptr %17, align 4, !tbaa !9
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds %struct.WeightSpec, ptr %315, i64 %317
  %319 = getelementptr inbounds %struct.WeightSpec, ptr %318, i32 0, i32 7
  %320 = load ptr, ptr %319, align 8, !tbaa !30
  %321 = load i32, ptr %23, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds %struct.QuantSpec, ptr %320, i64 %322
  %324 = getelementptr inbounds %struct.QuantSpec, ptr %323, i32 0, i32 1
  store ptr %313, ptr %324, align 8, !tbaa !33
  %325 = load ptr, ptr %8, align 8, !tbaa !5
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = load ptr, ptr %9, align 8, !tbaa !5
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds %struct.WeightSpec, ptr %327, i64 %329
  %331 = getelementptr inbounds %struct.WeightSpec, ptr %330, i32 0, i32 7
  %332 = load ptr, ptr %331, align 8, !tbaa !30
  %333 = load i32, ptr %23, align 4, !tbaa !9
  %334 = zext i32 %333 to i64
  %335 = getelementptr inbounds %struct.QuantSpec, ptr %332, i64 %334
  %336 = getelementptr inbounds %struct.QuantSpec, ptr %335, i32 0, i32 1
  %337 = load ptr, ptr %336, align 8, !tbaa !33
  %338 = load ptr, ptr %9, align 8, !tbaa !5
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds %struct.WeightSpec, ptr %338, i64 %340
  %342 = getelementptr inbounds %struct.WeightSpec, ptr %341, i32 0, i32 7
  %343 = load ptr, ptr %342, align 8, !tbaa !30
  %344 = load i32, ptr %23, align 4, !tbaa !9
  %345 = zext i32 %344 to i64
  %346 = getelementptr inbounds %struct.QuantSpec, ptr %343, i64 %345
  %347 = getelementptr inbounds %struct.QuantSpec, ptr %346, i32 0, i32 0
  %348 = load i32, ptr %347, align 8, !tbaa !31
  invoke void @_Z17deserialize_fieldIfEvPPKhPjPT_i(ptr noundef %325, ptr noundef %326, ptr noundef %337, i32 noundef %348)
          to label %349 unwind label %353

349:                                              ; preds = %314
  br label %350

350:                                              ; preds = %349
  %351 = load i32, ptr %23, align 4, !tbaa !9
  %352 = add i32 %351, 1
  store i32 %352, ptr %23, align 4, !tbaa !9
  br label %271, !llvm.loop !34

353:                                              ; preds = %314, %298, %285
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %12, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %941

357:                                              ; preds = %280
  %358 = load i32, ptr %19, align 4, !tbaa !9
  %359 = load i32, ptr %20, align 4, !tbaa !9
  %360 = icmp eq i32 %358, %359
  br i1 %360, label %379, label %361

361:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %362 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %363 = trunc i64 %362 to i32
  store i32 %363, ptr %24, align 4, !tbaa !9
  %364 = load i32, ptr %24, align 4, !tbaa !9
  %365 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %364)
          to label %366 unwind label %375

366:                                              ; preds = %361
  %367 = load ptr, ptr @stdout, align 8, !tbaa !5
  %368 = invoke i32 @fflush(ptr noundef %367)
          to label %369 unwind label %375

369:                                              ; preds = %366
  %370 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2)
          to label %371 unwind label %375

371:                                              ; preds = %369
  %372 = load ptr, ptr @stdout, align 8, !tbaa !5
  %373 = invoke i32 @fflush(ptr noundef %372)
          to label %374 unwind label %375

374:                                              ; preds = %371
  call void @exit(i32 noundef 1) #10
  unreachable

375:                                              ; preds = %371, %369, %366, %361
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %12, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %941

379:                                              ; preds = %357
  %380 = load ptr, ptr %5, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ModelSpec, ptr %380, i32 0, i32 3
  %382 = load i32, ptr %381, align 8, !tbaa !35
  %383 = icmp eq i32 %382, 6
  br i1 %383, label %384, label %548

384:                                              ; preds = %379
  %385 = load ptr, ptr %9, align 8, !tbaa !5
  %386 = load i32, ptr %17, align 4, !tbaa !9
  %387 = sext i32 %386 to i64
  %388 = getelementptr inbounds %struct.WeightSpec, ptr %385, i64 %387
  %389 = getelementptr inbounds %struct.WeightSpec, ptr %388, i32 0, i32 1
  %390 = load i32, ptr %389, align 8, !tbaa !36
  %391 = icmp eq i32 %390, 4
  br i1 %391, label %392, label %410

392:                                              ; preds = %384
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = load i32, ptr %17, align 4, !tbaa !9
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds %struct.WeightSpec, ptr %393, i64 %395
  %397 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef %396, ptr noundef %397)
          to label %398 unwind label %281

398:                                              ; preds = %392
  %399 = load ptr, ptr %9, align 8, !tbaa !5
  %400 = load i32, ptr %17, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds %struct.WeightSpec, ptr %399, i64 %401
  %403 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef %402, ptr noundef %403)
          to label %404 unwind label %281

404:                                              ; preds = %398
  %405 = load ptr, ptr %9, align 8, !tbaa !5
  %406 = load i32, ptr %17, align 4, !tbaa !9
  %407 = sext i32 %406 to i64
  %408 = getelementptr inbounds %struct.WeightSpec, ptr %405, i64 %407
  %409 = getelementptr inbounds %struct.WeightSpec, ptr %408, i32 0, i32 1
  store i32 6, ptr %409, align 8, !tbaa !36
  br label %547

410:                                              ; preds = %384
  %411 = load ptr, ptr %9, align 8, !tbaa !5
  %412 = load i32, ptr %17, align 4, !tbaa !9
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %struct.WeightSpec, ptr %411, i64 %413
  %415 = getelementptr inbounds %struct.WeightSpec, ptr %414, i32 0, i32 1
  %416 = load i32, ptr %415, align 8, !tbaa !36
  %417 = icmp eq i32 %416, 5
  br i1 %417, label %418, label %436

418:                                              ; preds = %410
  %419 = load ptr, ptr %9, align 8, !tbaa !5
  %420 = load i32, ptr %17, align 4, !tbaa !9
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds %struct.WeightSpec, ptr %419, i64 %421
  %423 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef %422, ptr noundef %423)
          to label %424 unwind label %281

424:                                              ; preds = %418
  %425 = load ptr, ptr %9, align 8, !tbaa !5
  %426 = load i32, ptr %17, align 4, !tbaa !9
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds %struct.WeightSpec, ptr %425, i64 %427
  %429 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef %428, ptr noundef %429)
          to label %430 unwind label %281

430:                                              ; preds = %424
  %431 = load ptr, ptr %9, align 8, !tbaa !5
  %432 = load i32, ptr %17, align 4, !tbaa !9
  %433 = sext i32 %432 to i64
  %434 = getelementptr inbounds %struct.WeightSpec, ptr %431, i64 %433
  %435 = getelementptr inbounds %struct.WeightSpec, ptr %434, i32 0, i32 1
  store i32 6, ptr %435, align 8, !tbaa !36
  br label %546

436:                                              ; preds = %410
  %437 = load ptr, ptr %9, align 8, !tbaa !5
  %438 = load i32, ptr %17, align 4, !tbaa !9
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds %struct.WeightSpec, ptr %437, i64 %439
  %441 = getelementptr inbounds %struct.WeightSpec, ptr %440, i32 0, i32 1
  %442 = load i32, ptr %441, align 8, !tbaa !36
  %443 = icmp eq i32 %442, 1
  br i1 %443, label %452, label %444

444:                                              ; preds = %436
  %445 = load ptr, ptr %9, align 8, !tbaa !5
  %446 = load i32, ptr %17, align 4, !tbaa !9
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds %struct.WeightSpec, ptr %445, i64 %447
  %449 = getelementptr inbounds %struct.WeightSpec, ptr %448, i32 0, i32 1
  %450 = load i32, ptr %449, align 8, !tbaa !36
  %451 = icmp eq i32 %450, 9
  br i1 %451, label %452, label %470

452:                                              ; preds = %444, %436
  %453 = load ptr, ptr %9, align 8, !tbaa !5
  %454 = load i32, ptr %17, align 4, !tbaa !9
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds %struct.WeightSpec, ptr %453, i64 %455
  %457 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef %456, ptr noundef %457)
          to label %458 unwind label %281

458:                                              ; preds = %452
  %459 = load ptr, ptr %22, align 8, !tbaa !5
  %460 = load ptr, ptr %9, align 8, !tbaa !5
  %461 = load i32, ptr %17, align 4, !tbaa !9
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds %struct.WeightSpec, ptr %460, i64 %462
  %464 = getelementptr inbounds %struct.WeightSpec, ptr %463, i32 0, i32 5
  store ptr %459, ptr %464, align 8, !tbaa !37
  %465 = load ptr, ptr %9, align 8, !tbaa !5
  %466 = load i32, ptr %17, align 4, !tbaa !9
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds %struct.WeightSpec, ptr %465, i64 %467
  %469 = getelementptr inbounds %struct.WeightSpec, ptr %468, i32 0, i32 1
  store i32 6, ptr %469, align 8, !tbaa !36
  br label %545

470:                                              ; preds = %444
  %471 = load ptr, ptr %9, align 8, !tbaa !5
  %472 = load i32, ptr %17, align 4, !tbaa !9
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds %struct.WeightSpec, ptr %471, i64 %473
  %475 = getelementptr inbounds %struct.WeightSpec, ptr %474, i32 0, i32 1
  %476 = load i32, ptr %475, align 8, !tbaa !36
  %477 = icmp eq i32 %476, 15
  br i1 %477, label %478, label %496

478:                                              ; preds = %470
  %479 = load ptr, ptr %9, align 8, !tbaa !5
  %480 = load i32, ptr %17, align 4, !tbaa !9
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds %struct.WeightSpec, ptr %479, i64 %481
  %483 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI4ToF32P10WeightSpecPa(ptr noundef %482, ptr noundef %483)
          to label %484 unwind label %281

484:                                              ; preds = %478
  %485 = load ptr, ptr %22, align 8, !tbaa !5
  %486 = load ptr, ptr %9, align 8, !tbaa !5
  %487 = load i32, ptr %17, align 4, !tbaa !9
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds %struct.WeightSpec, ptr %486, i64 %488
  %490 = getelementptr inbounds %struct.WeightSpec, ptr %489, i32 0, i32 5
  store ptr %485, ptr %490, align 8, !tbaa !37
  %491 = load ptr, ptr %9, align 8, !tbaa !5
  %492 = load i32, ptr %17, align 4, !tbaa !9
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds %struct.WeightSpec, ptr %491, i64 %493
  %495 = getelementptr inbounds %struct.WeightSpec, ptr %494, i32 0, i32 1
  store i32 6, ptr %495, align 8, !tbaa !36
  br label %544

496:                                              ; preds = %470
  %497 = load ptr, ptr %9, align 8, !tbaa !5
  %498 = load i32, ptr %17, align 4, !tbaa !9
  %499 = sext i32 %498 to i64
  %500 = getelementptr inbounds %struct.WeightSpec, ptr %497, i64 %499
  %501 = getelementptr inbounds %struct.WeightSpec, ptr %500, i32 0, i32 1
  %502 = load i32, ptr %501, align 8, !tbaa !36
  %503 = icmp eq i32 %502, 7
  br i1 %503, label %512, label %504

504:                                              ; preds = %496
  %505 = load ptr, ptr %9, align 8, !tbaa !5
  %506 = load i32, ptr %17, align 4, !tbaa !9
  %507 = sext i32 %506 to i64
  %508 = getelementptr inbounds %struct.WeightSpec, ptr %505, i64 %507
  %509 = getelementptr inbounds %struct.WeightSpec, ptr %508, i32 0, i32 1
  %510 = load i32, ptr %509, align 8, !tbaa !36
  %511 = icmp eq i32 %510, 8
  br i1 %511, label %512, label %530

512:                                              ; preds = %504, %496
  %513 = load ptr, ptr %9, align 8, !tbaa !5
  %514 = load i32, ptr %17, align 4, !tbaa !9
  %515 = sext i32 %514 to i64
  %516 = getelementptr inbounds %struct.WeightSpec, ptr %513, i64 %515
  %517 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z23TransWeightFromBINToF32P10WeightSpecPa(ptr noundef %516, ptr noundef %517)
          to label %518 unwind label %281

518:                                              ; preds = %512
  %519 = load ptr, ptr %9, align 8, !tbaa !5
  %520 = load i32, ptr %17, align 4, !tbaa !9
  %521 = sext i32 %520 to i64
  %522 = getelementptr inbounds %struct.WeightSpec, ptr %519, i64 %521
  %523 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef %522, ptr noundef %523)
          to label %524 unwind label %281

524:                                              ; preds = %518
  %525 = load ptr, ptr %9, align 8, !tbaa !5
  %526 = load i32, ptr %17, align 4, !tbaa !9
  %527 = sext i32 %526 to i64
  %528 = getelementptr inbounds %struct.WeightSpec, ptr %525, i64 %527
  %529 = getelementptr inbounds %struct.WeightSpec, ptr %528, i32 0, i32 1
  store i32 6, ptr %529, align 8, !tbaa !36
  br label %543

530:                                              ; preds = %504
  %531 = load ptr, ptr %21, align 8, !tbaa !5
  %532 = load ptr, ptr %9, align 8, !tbaa !5
  %533 = load i32, ptr %17, align 4, !tbaa !9
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds %struct.WeightSpec, ptr %532, i64 %534
  %536 = getelementptr inbounds %struct.WeightSpec, ptr %535, i32 0, i32 3
  store ptr %531, ptr %536, align 8, !tbaa !38
  %537 = load ptr, ptr %22, align 8, !tbaa !5
  %538 = load ptr, ptr %9, align 8, !tbaa !5
  %539 = load i32, ptr %17, align 4, !tbaa !9
  %540 = sext i32 %539 to i64
  %541 = getelementptr inbounds %struct.WeightSpec, ptr %538, i64 %540
  %542 = getelementptr inbounds %struct.WeightSpec, ptr %541, i32 0, i32 5
  store ptr %537, ptr %542, align 8, !tbaa !37
  br label %543

543:                                              ; preds = %530, %524
  br label %544

544:                                              ; preds = %543, %484
  br label %545

545:                                              ; preds = %544, %458
  br label %546

546:                                              ; preds = %545, %430
  br label %547

547:                                              ; preds = %546, %404
  br label %548

548:                                              ; preds = %547, %379
  %549 = load ptr, ptr %5, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.ModelSpec, ptr %549, i32 0, i32 3
  %551 = load i32, ptr %550, align 8, !tbaa !35
  %552 = icmp eq i32 %551, 4
  br i1 %552, label %553, label %655

553:                                              ; preds = %548
  %554 = load ptr, ptr %9, align 8, !tbaa !5
  %555 = load i32, ptr %17, align 4, !tbaa !9
  %556 = sext i32 %555 to i64
  %557 = getelementptr inbounds %struct.WeightSpec, ptr %554, i64 %556
  %558 = getelementptr inbounds %struct.WeightSpec, ptr %557, i32 0, i32 1
  %559 = load i32, ptr %558, align 8, !tbaa !36
  %560 = icmp eq i32 %559, 6
  br i1 %560, label %561, label %579

561:                                              ; preds = %553
  %562 = load ptr, ptr %9, align 8, !tbaa !5
  %563 = load i32, ptr %17, align 4, !tbaa !9
  %564 = sext i32 %563 to i64
  %565 = getelementptr inbounds %struct.WeightSpec, ptr %562, i64 %564
  %566 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef %565, ptr noundef %566)
          to label %567 unwind label %281

567:                                              ; preds = %561
  %568 = load ptr, ptr %9, align 8, !tbaa !5
  %569 = load i32, ptr %17, align 4, !tbaa !9
  %570 = sext i32 %569 to i64
  %571 = getelementptr inbounds %struct.WeightSpec, ptr %568, i64 %570
  %572 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef %571, ptr noundef %572)
          to label %573 unwind label %281

573:                                              ; preds = %567
  %574 = load ptr, ptr %9, align 8, !tbaa !5
  %575 = load i32, ptr %17, align 4, !tbaa !9
  %576 = sext i32 %575 to i64
  %577 = getelementptr inbounds %struct.WeightSpec, ptr %574, i64 %576
  %578 = getelementptr inbounds %struct.WeightSpec, ptr %577, i32 0, i32 1
  store i32 4, ptr %578, align 8, !tbaa !36
  br label %654

579:                                              ; preds = %553
  %580 = load ptr, ptr %9, align 8, !tbaa !5
  %581 = load i32, ptr %17, align 4, !tbaa !9
  %582 = sext i32 %581 to i64
  %583 = getelementptr inbounds %struct.WeightSpec, ptr %580, i64 %582
  %584 = getelementptr inbounds %struct.WeightSpec, ptr %583, i32 0, i32 1
  %585 = load i32, ptr %584, align 8, !tbaa !36
  %586 = icmp eq i32 %585, 1
  br i1 %586, label %595, label %587

587:                                              ; preds = %579
  %588 = load ptr, ptr %9, align 8, !tbaa !5
  %589 = load i32, ptr %17, align 4, !tbaa !9
  %590 = sext i32 %589 to i64
  %591 = getelementptr inbounds %struct.WeightSpec, ptr %588, i64 %590
  %592 = getelementptr inbounds %struct.WeightSpec, ptr %591, i32 0, i32 1
  %593 = load i32, ptr %592, align 8, !tbaa !36
  %594 = icmp eq i32 %593, 5
  br i1 %594, label %595, label %613

595:                                              ; preds = %587, %579
  %596 = load ptr, ptr %9, align 8, !tbaa !5
  %597 = load i32, ptr %17, align 4, !tbaa !9
  %598 = sext i32 %597 to i64
  %599 = getelementptr inbounds %struct.WeightSpec, ptr %596, i64 %598
  %600 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef %599, ptr noundef %600)
          to label %601 unwind label %281

601:                                              ; preds = %595
  %602 = load ptr, ptr %22, align 8, !tbaa !5
  %603 = load ptr, ptr %9, align 8, !tbaa !5
  %604 = load i32, ptr %17, align 4, !tbaa !9
  %605 = sext i32 %604 to i64
  %606 = getelementptr inbounds %struct.WeightSpec, ptr %603, i64 %605
  %607 = getelementptr inbounds %struct.WeightSpec, ptr %606, i32 0, i32 5
  store ptr %602, ptr %607, align 8, !tbaa !37
  %608 = load ptr, ptr %9, align 8, !tbaa !5
  %609 = load i32, ptr %17, align 4, !tbaa !9
  %610 = sext i32 %609 to i64
  %611 = getelementptr inbounds %struct.WeightSpec, ptr %608, i64 %610
  %612 = getelementptr inbounds %struct.WeightSpec, ptr %611, i32 0, i32 1
  store i32 4, ptr %612, align 8, !tbaa !36
  br label %653

613:                                              ; preds = %587
  %614 = load ptr, ptr %9, align 8, !tbaa !5
  %615 = load i32, ptr %17, align 4, !tbaa !9
  %616 = sext i32 %615 to i64
  %617 = getelementptr inbounds %struct.WeightSpec, ptr %614, i64 %616
  %618 = getelementptr inbounds %struct.WeightSpec, ptr %617, i32 0, i32 1
  %619 = load i32, ptr %618, align 8, !tbaa !36
  %620 = icmp eq i32 %619, 15
  br i1 %620, label %621, label %639

621:                                              ; preds = %613
  %622 = load ptr, ptr %9, align 8, !tbaa !5
  %623 = load i32, ptr %17, align 4, !tbaa !9
  %624 = sext i32 %623 to i64
  %625 = getelementptr inbounds %struct.WeightSpec, ptr %622, i64 %624
  %626 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI4ToF16P10WeightSpecPa(ptr noundef %625, ptr noundef %626)
          to label %627 unwind label %281

627:                                              ; preds = %621
  %628 = load ptr, ptr %22, align 8, !tbaa !5
  %629 = load ptr, ptr %9, align 8, !tbaa !5
  %630 = load i32, ptr %17, align 4, !tbaa !9
  %631 = sext i32 %630 to i64
  %632 = getelementptr inbounds %struct.WeightSpec, ptr %629, i64 %631
  %633 = getelementptr inbounds %struct.WeightSpec, ptr %632, i32 0, i32 5
  store ptr %628, ptr %633, align 8, !tbaa !37
  %634 = load ptr, ptr %9, align 8, !tbaa !5
  %635 = load i32, ptr %17, align 4, !tbaa !9
  %636 = sext i32 %635 to i64
  %637 = getelementptr inbounds %struct.WeightSpec, ptr %634, i64 %636
  %638 = getelementptr inbounds %struct.WeightSpec, ptr %637, i32 0, i32 1
  store i32 4, ptr %638, align 8, !tbaa !36
  br label %652

639:                                              ; preds = %613
  %640 = load ptr, ptr %21, align 8, !tbaa !5
  %641 = load ptr, ptr %9, align 8, !tbaa !5
  %642 = load i32, ptr %17, align 4, !tbaa !9
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds %struct.WeightSpec, ptr %641, i64 %643
  %645 = getelementptr inbounds %struct.WeightSpec, ptr %644, i32 0, i32 3
  store ptr %640, ptr %645, align 8, !tbaa !38
  %646 = load ptr, ptr %22, align 8, !tbaa !5
  %647 = load ptr, ptr %9, align 8, !tbaa !5
  %648 = load i32, ptr %17, align 4, !tbaa !9
  %649 = sext i32 %648 to i64
  %650 = getelementptr inbounds %struct.WeightSpec, ptr %647, i64 %649
  %651 = getelementptr inbounds %struct.WeightSpec, ptr %650, i32 0, i32 5
  store ptr %646, ptr %651, align 8, !tbaa !37
  br label %652

652:                                              ; preds = %639, %627
  br label %653

653:                                              ; preds = %652, %601
  br label %654

654:                                              ; preds = %653, %573
  br label %655

655:                                              ; preds = %654, %548
  %656 = load ptr, ptr %5, align 8, !tbaa !5
  %657 = getelementptr inbounds %struct.ModelSpec, ptr %656, i32 0, i32 3
  %658 = load i32, ptr %657, align 8, !tbaa !35
  %659 = icmp eq i32 %658, 9
  br i1 %659, label %660, label %792

660:                                              ; preds = %655
  %661 = load ptr, ptr %9, align 8, !tbaa !5
  %662 = load i32, ptr %17, align 4, !tbaa !9
  %663 = sext i32 %662 to i64
  %664 = getelementptr inbounds %struct.WeightSpec, ptr %661, i64 %663
  %665 = getelementptr inbounds %struct.WeightSpec, ptr %664, i32 0, i32 1
  %666 = load i32, ptr %665, align 8, !tbaa !36
  %667 = icmp eq i32 %666, 9
  br i1 %667, label %668, label %686

668:                                              ; preds = %660
  %669 = load ptr, ptr %9, align 8, !tbaa !5
  %670 = load i32, ptr %17, align 4, !tbaa !9
  %671 = sext i32 %670 to i64
  %672 = getelementptr inbounds %struct.WeightSpec, ptr %669, i64 %671
  %673 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef %672, ptr noundef %673)
          to label %674 unwind label %281

674:                                              ; preds = %668
  %675 = load ptr, ptr %22, align 8, !tbaa !5
  %676 = load ptr, ptr %9, align 8, !tbaa !5
  %677 = load i32, ptr %17, align 4, !tbaa !9
  %678 = sext i32 %677 to i64
  %679 = getelementptr inbounds %struct.WeightSpec, ptr %676, i64 %678
  %680 = getelementptr inbounds %struct.WeightSpec, ptr %679, i32 0, i32 5
  store ptr %675, ptr %680, align 8, !tbaa !37
  %681 = load ptr, ptr %9, align 8, !tbaa !5
  %682 = load i32, ptr %17, align 4, !tbaa !9
  %683 = sext i32 %682 to i64
  %684 = getelementptr inbounds %struct.WeightSpec, ptr %681, i64 %683
  %685 = getelementptr inbounds %struct.WeightSpec, ptr %684, i32 0, i32 1
  store i32 6, ptr %685, align 8, !tbaa !36
  br label %791

686:                                              ; preds = %660
  %687 = load ptr, ptr %9, align 8, !tbaa !5
  %688 = load i32, ptr %17, align 4, !tbaa !9
  %689 = sext i32 %688 to i64
  %690 = getelementptr inbounds %struct.WeightSpec, ptr %687, i64 %689
  %691 = getelementptr inbounds %struct.WeightSpec, ptr %690, i32 0, i32 1
  %692 = load i32, ptr %691, align 8, !tbaa !36
  %693 = icmp eq i32 %692, 4
  br i1 %693, label %694, label %712

694:                                              ; preds = %686
  %695 = load ptr, ptr %9, align 8, !tbaa !5
  %696 = load i32, ptr %17, align 4, !tbaa !9
  %697 = sext i32 %696 to i64
  %698 = getelementptr inbounds %struct.WeightSpec, ptr %695, i64 %697
  %699 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef %698, ptr noundef %699)
          to label %700 unwind label %281

700:                                              ; preds = %694
  %701 = load ptr, ptr %9, align 8, !tbaa !5
  %702 = load i32, ptr %17, align 4, !tbaa !9
  %703 = sext i32 %702 to i64
  %704 = getelementptr inbounds %struct.WeightSpec, ptr %701, i64 %703
  %705 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef %704, ptr noundef %705)
          to label %706 unwind label %281

706:                                              ; preds = %700
  %707 = load ptr, ptr %9, align 8, !tbaa !5
  %708 = load i32, ptr %17, align 4, !tbaa !9
  %709 = sext i32 %708 to i64
  %710 = getelementptr inbounds %struct.WeightSpec, ptr %707, i64 %709
  %711 = getelementptr inbounds %struct.WeightSpec, ptr %710, i32 0, i32 1
  store i32 6, ptr %711, align 8, !tbaa !36
  br label %790

712:                                              ; preds = %686
  %713 = load ptr, ptr %9, align 8, !tbaa !5
  %714 = load i32, ptr %17, align 4, !tbaa !9
  %715 = sext i32 %714 to i64
  %716 = getelementptr inbounds %struct.WeightSpec, ptr %713, i64 %715
  %717 = getelementptr inbounds %struct.WeightSpec, ptr %716, i32 0, i32 1
  %718 = load i32, ptr %717, align 8, !tbaa !36
  %719 = icmp eq i32 %718, 15
  br i1 %719, label %720, label %776

720:                                              ; preds = %712
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #9
  %721 = load ptr, ptr %9, align 8, !tbaa !5
  %722 = load i32, ptr %17, align 4, !tbaa !9
  %723 = sext i32 %722 to i64
  %724 = getelementptr inbounds %struct.WeightSpec, ptr %721, i64 %723
  %725 = getelementptr inbounds %struct.WeightSpec, ptr %724, i32 0, i32 0
  %726 = getelementptr inbounds [128 x i8], ptr %725, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %726, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %727 unwind label %748

727:                                              ; preds = %720
  %728 = invoke noundef i64 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEE5countERSA_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %729 unwind label %752

729:                                              ; preds = %727
  %730 = icmp ne i64 %728, 0
  br i1 %730, label %731, label %734

731:                                              ; preds = %729
  %732 = load i32, ptr %11, align 4, !tbaa !15
  %733 = icmp eq i32 %732, 9
  br label %734

734:                                              ; preds = %731, %729
  %735 = phi i1 [ false, %729 ], [ %733, %731 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br i1 %735, label %736, label %757

736:                                              ; preds = %734
  %737 = load ptr, ptr %9, align 8, !tbaa !5
  %738 = load i32, ptr %17, align 4, !tbaa !9
  %739 = sext i32 %738 to i64
  %740 = getelementptr inbounds %struct.WeightSpec, ptr %737, i64 %739
  %741 = getelementptr inbounds %struct.WeightSpec, ptr %740, i32 0, i32 1
  store i32 10, ptr %741, align 8, !tbaa !36
  %742 = load ptr, ptr %9, align 8, !tbaa !5
  %743 = load i32, ptr %17, align 4, !tbaa !9
  %744 = sext i32 %743 to i64
  %745 = getelementptr inbounds %struct.WeightSpec, ptr %742, i64 %744
  %746 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z21TransWeightFromI4ToU8P10WeightSpecPa(ptr noundef %745, ptr noundef %746)
          to label %747 unwind label %281

747:                                              ; preds = %736
  br label %769

748:                                              ; preds = %720
  %749 = landingpad { ptr, i32 }
          cleanup
  %750 = extractvalue { ptr, i32 } %749, 0
  store ptr %750, ptr %12, align 8
  %751 = extractvalue { ptr, i32 } %749, 1
  store i32 %751, ptr %13, align 4
  br label %756

752:                                              ; preds = %727
  %753 = landingpad { ptr, i32 }
          cleanup
  %754 = extractvalue { ptr, i32 } %753, 0
  store ptr %754, ptr %12, align 8
  %755 = extractvalue { ptr, i32 } %753, 1
  store i32 %755, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %756

756:                                              ; preds = %752, %748
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br label %941

757:                                              ; preds = %734
  %758 = load ptr, ptr %9, align 8, !tbaa !5
  %759 = load i32, ptr %17, align 4, !tbaa !9
  %760 = sext i32 %759 to i64
  %761 = getelementptr inbounds %struct.WeightSpec, ptr %758, i64 %760
  %762 = getelementptr inbounds %struct.WeightSpec, ptr %761, i32 0, i32 1
  store i32 1, ptr %762, align 8, !tbaa !36
  %763 = load ptr, ptr %9, align 8, !tbaa !5
  %764 = load i32, ptr %17, align 4, !tbaa !9
  %765 = sext i32 %764 to i64
  %766 = getelementptr inbounds %struct.WeightSpec, ptr %763, i64 %765
  %767 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef %766, ptr noundef %767)
          to label %768 unwind label %281

768:                                              ; preds = %757
  br label %769

769:                                              ; preds = %768, %747
  %770 = load ptr, ptr %22, align 8, !tbaa !5
  %771 = load ptr, ptr %9, align 8, !tbaa !5
  %772 = load i32, ptr %17, align 4, !tbaa !9
  %773 = sext i32 %772 to i64
  %774 = getelementptr inbounds %struct.WeightSpec, ptr %771, i64 %773
  %775 = getelementptr inbounds %struct.WeightSpec, ptr %774, i32 0, i32 5
  store ptr %770, ptr %775, align 8, !tbaa !37
  br label %789

776:                                              ; preds = %712
  %777 = load ptr, ptr %21, align 8, !tbaa !5
  %778 = load ptr, ptr %9, align 8, !tbaa !5
  %779 = load i32, ptr %17, align 4, !tbaa !9
  %780 = sext i32 %779 to i64
  %781 = getelementptr inbounds %struct.WeightSpec, ptr %778, i64 %780
  %782 = getelementptr inbounds %struct.WeightSpec, ptr %781, i32 0, i32 3
  store ptr %777, ptr %782, align 8, !tbaa !38
  %783 = load ptr, ptr %22, align 8, !tbaa !5
  %784 = load ptr, ptr %9, align 8, !tbaa !5
  %785 = load i32, ptr %17, align 4, !tbaa !9
  %786 = sext i32 %785 to i64
  %787 = getelementptr inbounds %struct.WeightSpec, ptr %784, i64 %786
  %788 = getelementptr inbounds %struct.WeightSpec, ptr %787, i32 0, i32 5
  store ptr %783, ptr %788, align 8, !tbaa !37
  br label %789

789:                                              ; preds = %776, %769
  br label %790

790:                                              ; preds = %789, %706
  br label %791

791:                                              ; preds = %790, %674
  br label %792

792:                                              ; preds = %791, %655
  %793 = load ptr, ptr %5, align 8, !tbaa !5
  %794 = getelementptr inbounds %struct.ModelSpec, ptr %793, i32 0, i32 3
  %795 = load i32, ptr %794, align 8, !tbaa !35
  %796 = icmp eq i32 %795, 5
  br i1 %796, label %797, label %913

797:                                              ; preds = %792
  %798 = load ptr, ptr %9, align 8, !tbaa !5
  %799 = load i32, ptr %17, align 4, !tbaa !9
  %800 = sext i32 %799 to i64
  %801 = getelementptr inbounds %struct.WeightSpec, ptr %798, i64 %800
  %802 = getelementptr inbounds %struct.WeightSpec, ptr %801, i32 0, i32 1
  %803 = load i32, ptr %802, align 8, !tbaa !36
  %804 = icmp eq i32 %803, 6
  br i1 %804, label %805, label %823

805:                                              ; preds = %797
  %806 = load ptr, ptr %9, align 8, !tbaa !5
  %807 = load i32, ptr %17, align 4, !tbaa !9
  %808 = sext i32 %807 to i64
  %809 = getelementptr inbounds %struct.WeightSpec, ptr %806, i64 %808
  %810 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef %809, ptr noundef %810)
          to label %811 unwind label %281

811:                                              ; preds = %805
  %812 = load ptr, ptr %9, align 8, !tbaa !5
  %813 = load i32, ptr %17, align 4, !tbaa !9
  %814 = sext i32 %813 to i64
  %815 = getelementptr inbounds %struct.WeightSpec, ptr %812, i64 %814
  %816 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef %815, ptr noundef %816)
          to label %817 unwind label %281

817:                                              ; preds = %811
  %818 = load ptr, ptr %9, align 8, !tbaa !5
  %819 = load i32, ptr %17, align 4, !tbaa !9
  %820 = sext i32 %819 to i64
  %821 = getelementptr inbounds %struct.WeightSpec, ptr %818, i64 %820
  %822 = getelementptr inbounds %struct.WeightSpec, ptr %821, i32 0, i32 1
  store i32 4, ptr %822, align 8, !tbaa !36
  br label %912

823:                                              ; preds = %797
  %824 = load ptr, ptr %9, align 8, !tbaa !5
  %825 = load i32, ptr %17, align 4, !tbaa !9
  %826 = sext i32 %825 to i64
  %827 = getelementptr inbounds %struct.WeightSpec, ptr %824, i64 %826
  %828 = getelementptr inbounds %struct.WeightSpec, ptr %827, i32 0, i32 1
  %829 = load i32, ptr %828, align 8, !tbaa !36
  %830 = icmp eq i32 %829, 9
  br i1 %830, label %831, label %849

831:                                              ; preds = %823
  %832 = load ptr, ptr %9, align 8, !tbaa !5
  %833 = load i32, ptr %17, align 4, !tbaa !9
  %834 = sext i32 %833 to i64
  %835 = getelementptr inbounds %struct.WeightSpec, ptr %832, i64 %834
  %836 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef %835, ptr noundef %836)
          to label %837 unwind label %281

837:                                              ; preds = %831
  %838 = load ptr, ptr %9, align 8, !tbaa !5
  %839 = load i32, ptr %17, align 4, !tbaa !9
  %840 = sext i32 %839 to i64
  %841 = getelementptr inbounds %struct.WeightSpec, ptr %838, i64 %840
  %842 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef %841, ptr noundef %842)
          to label %843 unwind label %281

843:                                              ; preds = %837
  %844 = load ptr, ptr %9, align 8, !tbaa !5
  %845 = load i32, ptr %17, align 4, !tbaa !9
  %846 = sext i32 %845 to i64
  %847 = getelementptr inbounds %struct.WeightSpec, ptr %844, i64 %846
  %848 = getelementptr inbounds %struct.WeightSpec, ptr %847, i32 0, i32 1
  store i32 4, ptr %848, align 8, !tbaa !36
  br label %911

849:                                              ; preds = %823
  %850 = load ptr, ptr %9, align 8, !tbaa !5
  %851 = load i32, ptr %17, align 4, !tbaa !9
  %852 = sext i32 %851 to i64
  %853 = getelementptr inbounds %struct.WeightSpec, ptr %850, i64 %852
  %854 = getelementptr inbounds %struct.WeightSpec, ptr %853, i32 0, i32 1
  %855 = load i32, ptr %854, align 8, !tbaa !36
  %856 = icmp eq i32 %855, 1
  br i1 %856, label %857, label %870

857:                                              ; preds = %849
  %858 = load ptr, ptr %21, align 8, !tbaa !5
  %859 = load ptr, ptr %9, align 8, !tbaa !5
  %860 = load i32, ptr %17, align 4, !tbaa !9
  %861 = sext i32 %860 to i64
  %862 = getelementptr inbounds %struct.WeightSpec, ptr %859, i64 %861
  %863 = getelementptr inbounds %struct.WeightSpec, ptr %862, i32 0, i32 3
  store ptr %858, ptr %863, align 8, !tbaa !38
  %864 = load ptr, ptr %9, align 8, !tbaa !5
  %865 = load i32, ptr %17, align 4, !tbaa !9
  %866 = sext i32 %865 to i64
  %867 = getelementptr inbounds %struct.WeightSpec, ptr %864, i64 %866
  %868 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef %867, ptr noundef %868)
          to label %869 unwind label %281

869:                                              ; preds = %857
  br label %910

870:                                              ; preds = %849
  %871 = load ptr, ptr %9, align 8, !tbaa !5
  %872 = load i32, ptr %17, align 4, !tbaa !9
  %873 = sext i32 %872 to i64
  %874 = getelementptr inbounds %struct.WeightSpec, ptr %871, i64 %873
  %875 = getelementptr inbounds %struct.WeightSpec, ptr %874, i32 0, i32 1
  %876 = load i32, ptr %875, align 8, !tbaa !36
  %877 = icmp eq i32 %876, 15
  br i1 %877, label %878, label %896

878:                                              ; preds = %870
  %879 = load ptr, ptr %9, align 8, !tbaa !5
  %880 = load i32, ptr %17, align 4, !tbaa !9
  %881 = sext i32 %880 to i64
  %882 = getelementptr inbounds %struct.WeightSpec, ptr %879, i64 %881
  %883 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef %882, ptr noundef %883)
          to label %884 unwind label %281

884:                                              ; preds = %878
  %885 = load ptr, ptr %9, align 8, !tbaa !5
  %886 = load i32, ptr %17, align 4, !tbaa !9
  %887 = sext i32 %886 to i64
  %888 = getelementptr inbounds %struct.WeightSpec, ptr %885, i64 %887
  %889 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef %888, ptr noundef %889)
          to label %890 unwind label %281

890:                                              ; preds = %884
  %891 = load ptr, ptr %9, align 8, !tbaa !5
  %892 = load i32, ptr %17, align 4, !tbaa !9
  %893 = sext i32 %892 to i64
  %894 = getelementptr inbounds %struct.WeightSpec, ptr %891, i64 %893
  %895 = getelementptr inbounds %struct.WeightSpec, ptr %894, i32 0, i32 1
  store i32 1, ptr %895, align 8, !tbaa !36
  br label %909

896:                                              ; preds = %870
  %897 = load ptr, ptr %21, align 8, !tbaa !5
  %898 = load ptr, ptr %9, align 8, !tbaa !5
  %899 = load i32, ptr %17, align 4, !tbaa !9
  %900 = sext i32 %899 to i64
  %901 = getelementptr inbounds %struct.WeightSpec, ptr %898, i64 %900
  %902 = getelementptr inbounds %struct.WeightSpec, ptr %901, i32 0, i32 3
  store ptr %897, ptr %902, align 8, !tbaa !38
  %903 = load ptr, ptr %22, align 8, !tbaa !5
  %904 = load ptr, ptr %9, align 8, !tbaa !5
  %905 = load i32, ptr %17, align 4, !tbaa !9
  %906 = sext i32 %905 to i64
  %907 = getelementptr inbounds %struct.WeightSpec, ptr %904, i64 %906
  %908 = getelementptr inbounds %struct.WeightSpec, ptr %907, i32 0, i32 5
  store ptr %903, ptr %908, align 8, !tbaa !37
  br label %909

909:                                              ; preds = %896, %890
  br label %910

910:                                              ; preds = %909, %869
  br label %911

911:                                              ; preds = %910, %843
  br label %912

912:                                              ; preds = %911, %817
  br label %913

913:                                              ; preds = %912, %792
  %914 = load ptr, ptr %9, align 8, !tbaa !5
  %915 = load i32, ptr %17, align 4, !tbaa !9
  %916 = sext i32 %915 to i64
  %917 = getelementptr inbounds %struct.WeightSpec, ptr %914, i64 %916
  %918 = getelementptr inbounds %struct.WeightSpec, ptr %917, i32 0, i32 1
  %919 = load i32, ptr %918, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  %920 = load ptr, ptr %9, align 8, !tbaa !5
  %921 = load i32, ptr %17, align 4, !tbaa !9
  %922 = sext i32 %921 to i64
  %923 = getelementptr inbounds %struct.WeightSpec, ptr %920, i64 %922
  %924 = getelementptr inbounds %struct.WeightSpec, ptr %923, i32 0, i32 0
  %925 = getelementptr inbounds [128 x i8], ptr %924, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef %925, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %926 unwind label %932

926:                                              ; preds = %913
  %927 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %928 unwind label %936

928:                                              ; preds = %926
  store i32 %919, ptr %927, align 4, !tbaa !23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %929

929:                                              ; preds = %928
  %930 = load i32, ptr %17, align 4, !tbaa !9
  %931 = add nsw i32 %930, 1
  store i32 %931, ptr %17, align 4, !tbaa !9
  br label %119, !llvm.loop !39

932:                                              ; preds = %913
  %933 = landingpad { ptr, i32 }
          cleanup
  %934 = extractvalue { ptr, i32 } %933, 0
  store ptr %934, ptr %12, align 8
  %935 = extractvalue { ptr, i32 } %933, 1
  store i32 %935, ptr %13, align 4
  br label %940

936:                                              ; preds = %926
  %937 = landingpad { ptr, i32 }
          cleanup
  %938 = extractvalue { ptr, i32 } %937, 0
  store ptr %938, ptr %12, align 8
  %939 = extractvalue { ptr, i32 } %937, 1
  store i32 %939, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %940

940:                                              ; preds = %936, %932
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %941

941:                                              ; preds = %940, %756, %375, %353, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %942

942:                                              ; preds = %941, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %943

943:                                              ; preds = %942, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %1071

944:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %945

945:                                              ; preds = %1066, %944
  %946 = load i32, ptr %29, align 4, !tbaa !9
  %947 = load ptr, ptr %5, align 8, !tbaa !5
  %948 = getelementptr inbounds %struct.ModelSpec, ptr %947, i32 0, i32 9
  %949 = load i32, ptr %948, align 8, !tbaa !17
  %950 = icmp slt i32 %946, %949
  br i1 %950, label %952, label %951

951:                                              ; preds = %945
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %1070

952:                                              ; preds = %945
  %953 = load ptr, ptr %5, align 8, !tbaa !5
  %954 = getelementptr inbounds %struct.ModelSpec, ptr %953, i32 0, i32 10
  %955 = load ptr, ptr %954, align 8, !tbaa !18
  %956 = load i32, ptr %29, align 4, !tbaa !9
  %957 = sext i32 %956 to i64
  %958 = getelementptr inbounds %struct.OperatorSpec, ptr %955, i64 %957
  %959 = getelementptr inbounds %struct.OperatorSpec, ptr %958, i32 0, i32 1
  %960 = load i32, ptr %959, align 8, !tbaa !19
  %961 = icmp eq i32 50, %960
  br i1 %961, label %962, label %1026

962:                                              ; preds = %952
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 @constinit, i64 24, i1 false), !tbaa.struct !40
  %963 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %963, align 8, !tbaa !41
  %964 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 6, ptr %964, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #9
  call void @_ZNSaI8DataTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  %965 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %966 = load ptr, ptr %965, align 8
  %967 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %968 = load i64, ptr %967, align 8
  invoke void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EEC2ESt16initializer_listIS0_ERKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr %966, i64 %968, ptr noundef nonnull align 1 dereferenceable(1) %33, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %969 unwind label %1005

969:                                              ; preds = %962
  call void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %970 = load ptr, ptr %5, align 8, !tbaa !5
  %971 = getelementptr inbounds %struct.ModelSpec, ptr %970, i32 0, i32 10
  %972 = load ptr, ptr %971, align 8, !tbaa !18
  %973 = load i32, ptr %29, align 4, !tbaa !9
  %974 = sext i32 %973 to i64
  %975 = getelementptr inbounds %struct.OperatorSpec, ptr %972, i64 %974
  %976 = getelementptr inbounds %struct.OperatorSpec, ptr %975, i32 0, i32 11
  %977 = getelementptr inbounds %struct.SharedWeightParamSpec, ptr %976, i32 0, i32 0
  %978 = getelementptr inbounds %struct.TensorDesc, ptr %977, i32 0, i32 0
  store ptr %978, ptr %35, align 8, !tbaa !5
  %979 = load ptr, ptr %35, align 8, !tbaa !5
  %980 = invoke noundef i64 @_ZNKSt3setI8DataTypeSt4lessIS0_ESaIS0_EE5countERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 4 dereferenceable(4) %979)
          to label %981 unwind label %1009

981:                                              ; preds = %969
  %982 = icmp ne i64 %980, 0
  br i1 %982, label %983, label %1023

983:                                              ; preds = %981
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  %984 = load ptr, ptr %5, align 8, !tbaa !5
  %985 = getelementptr inbounds %struct.ModelSpec, ptr %984, i32 0, i32 10
  %986 = load ptr, ptr %985, align 8, !tbaa !18
  %987 = load i32, ptr %29, align 4, !tbaa !9
  %988 = sext i32 %987 to i64
  %989 = getelementptr inbounds %struct.OperatorSpec, ptr %986, i64 %988
  %990 = getelementptr inbounds %struct.OperatorSpec, ptr %989, i32 0, i32 0
  %991 = getelementptr inbounds [128 x i8], ptr %990, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef %991, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %992 unwind label %1013

992:                                              ; preds = %983
  %993 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %994 unwind label %1017

994:                                              ; preds = %992
  %995 = load i32, ptr %993, align 4, !tbaa !23
  %996 = load ptr, ptr %35, align 8, !tbaa !5
  store i32 %995, ptr %996, align 4, !tbaa !23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  %997 = load i32, ptr %11, align 4, !tbaa !15
  %998 = icmp eq i32 %997, 9
  br i1 %998, label %999, label %1022

999:                                              ; preds = %994
  %1000 = load ptr, ptr %35, align 8, !tbaa !5
  %1001 = load i32, ptr %1000, align 4, !tbaa !23
  %1002 = icmp eq i32 %1001, 1
  br i1 %1002, label %1003, label %1022

1003:                                             ; preds = %999
  %1004 = load ptr, ptr %35, align 8, !tbaa !5
  store i32 10, ptr %1004, align 4, !tbaa !23
  br label %1022

1005:                                             ; preds = %962
  %1006 = landingpad { ptr, i32 }
          cleanup
  %1007 = extractvalue { ptr, i32 } %1006, 0
  store ptr %1007, ptr %12, align 8
  %1008 = extractvalue { ptr, i32 } %1006, 1
  store i32 %1008, ptr %13, align 4
  call void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #9
  br label %1025

1009:                                             ; preds = %969
  %1010 = landingpad { ptr, i32 }
          cleanup
  %1011 = extractvalue { ptr, i32 } %1010, 0
  store ptr %1011, ptr %12, align 8
  %1012 = extractvalue { ptr, i32 } %1010, 1
  store i32 %1012, ptr %13, align 4
  br label %1024

1013:                                             ; preds = %983
  %1014 = landingpad { ptr, i32 }
          cleanup
  %1015 = extractvalue { ptr, i32 } %1014, 0
  store ptr %1015, ptr %12, align 8
  %1016 = extractvalue { ptr, i32 } %1014, 1
  store i32 %1016, ptr %13, align 4
  br label %1021

1017:                                             ; preds = %992
  %1018 = landingpad { ptr, i32 }
          cleanup
  %1019 = extractvalue { ptr, i32 } %1018, 0
  store ptr %1019, ptr %12, align 8
  %1020 = extractvalue { ptr, i32 } %1018, 1
  store i32 %1020, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %1021

1021:                                             ; preds = %1017, %1013
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %1024

1022:                                             ; preds = %1003, %999, %994
  br label %1023

1023:                                             ; preds = %1022, %981
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #9
  br label %1026

1024:                                             ; preds = %1021, %1009
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  br label %1025

1025:                                             ; preds = %1024, %1005
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #9
  br label %1069

1026:                                             ; preds = %1023, %952
  %1027 = load ptr, ptr %5, align 8, !tbaa !5
  %1028 = getelementptr inbounds %struct.ModelSpec, ptr %1027, i32 0, i32 10
  %1029 = load ptr, ptr %1028, align 8, !tbaa !18
  %1030 = load i32, ptr %29, align 4, !tbaa !9
  %1031 = sext i32 %1030 to i64
  %1032 = getelementptr inbounds %struct.OperatorSpec, ptr %1029, i64 %1031
  %1033 = getelementptr inbounds %struct.OperatorSpec, ptr %1032, i32 0, i32 1
  %1034 = load i32, ptr %1033, align 8, !tbaa !19
  %1035 = icmp eq i32 49, %1034
  br i1 %1035, label %1036, label %1065

1036:                                             ; preds = %1026
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %1037 = load ptr, ptr %5, align 8, !tbaa !5
  %1038 = getelementptr inbounds %struct.ModelSpec, ptr %1037, i32 0, i32 10
  %1039 = load ptr, ptr %1038, align 8, !tbaa !18
  %1040 = load i32, ptr %29, align 4, !tbaa !9
  %1041 = sext i32 %1040 to i64
  %1042 = getelementptr inbounds %struct.OperatorSpec, ptr %1039, i64 %1041
  %1043 = getelementptr inbounds %struct.OperatorSpec, ptr %1042, i32 0, i32 11
  %1044 = getelementptr inbounds %struct.PreAllocatedMemoryParamSpec, ptr %1043, i32 0, i32 0
  %1045 = getelementptr inbounds %struct.TensorDesc, ptr %1044, i32 0, i32 0
  store ptr %1045, ptr %38, align 8, !tbaa !5
  %1046 = load ptr, ptr %38, align 8, !tbaa !5
  %1047 = load i32, ptr %1046, align 4, !tbaa !23
  %1048 = icmp eq i32 %1047, 4
  br i1 %1048, label %1053, label %1049

1049:                                             ; preds = %1036
  %1050 = load ptr, ptr %38, align 8, !tbaa !5
  %1051 = load i32, ptr %1050, align 4, !tbaa !23
  %1052 = icmp eq i32 %1051, 6
  br i1 %1052, label %1053, label %1064

1053:                                             ; preds = %1049, %1036
  %1054 = load ptr, ptr %5, align 8, !tbaa !5
  %1055 = getelementptr inbounds %struct.ModelSpec, ptr %1054, i32 0, i32 3
  %1056 = load i32, ptr %1055, align 8, !tbaa !35
  %1057 = invoke noundef i32 @_Z15noQuantDataType8DataType(i32 noundef %1056)
          to label %1058 unwind label %1060

1058:                                             ; preds = %1053
  %1059 = load ptr, ptr %38, align 8, !tbaa !5
  store i32 %1057, ptr %1059, align 4, !tbaa !23
  br label %1064

1060:                                             ; preds = %1053
  %1061 = landingpad { ptr, i32 }
          cleanup
  %1062 = extractvalue { ptr, i32 } %1061, 0
  store ptr %1062, ptr %12, align 8
  %1063 = extractvalue { ptr, i32 } %1061, 1
  store i32 %1063, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %1069

1064:                                             ; preds = %1058, %1049
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %1065

1065:                                             ; preds = %1064, %1026
  br label %1066

1066:                                             ; preds = %1065
  %1067 = load i32, ptr %29, align 4, !tbaa !9
  %1068 = add nsw i32 %1067, 1
  store i32 %1068, ptr %29, align 4, !tbaa !9
  br label %945, !llvm.loop !45

1069:                                             ; preds = %1060, %1025
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %1071

1070:                                             ; preds = %951
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  call void @llvm.lifetime.end.p0(i64 48, 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 8, ptr %7) #9
  ret i32 0

1071:                                             ; preds = %1069, %943, %113, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  call void @llvm.lifetime.end.p0(i64 48, 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 8, ptr %7) #9
  br label %1072

1072:                                             ; preds = %1071
  %1073 = load ptr, ptr %12, align 8
  %1074 = load i32, ptr %13, align 4
  %1075 = insertvalue { ptr, i32 } poison, ptr %1073, 0
  %1076 = insertvalue { ptr, i32 } %1075, i32 %1074, 1
  resume { ptr, i32 } %1076
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

; 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) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI8DataTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { noreturn 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 #7 = { inlinehint 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 192}
!12 = !{!"_ZTS9ModelSpec", !10, i64 0, !10, i64 4, !7, i64 8, !13, i64 136, !10, i64 140, !6, i64 144, !6, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !6, i64 224}
!13 = !{!"_ZTS8DataType", !7, i64 0}
!14 = !{!12, !6, i64 200}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS4Arch", !7, i64 0}
!17 = !{!12, !10, i64 176}
!18 = !{!12, !6, i64 184}
!19 = !{!20, !21, i64 128}
!20 = !{!"_ZTS12OperatorSpec", !7, i64 0, !21, i64 128, !10, i64 132, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !7, i64 184}
!21 = !{!"_ZTS12OperatorType", !7, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!13, !13, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !10, i64 132}
!27 = !{!"_ZTS10WeightSpec", !7, i64 0, !13, i64 128, !10, i64 132, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !6, i64 168}
!28 = !{!27, !10, i64 144}
!29 = !{!27, !10, i64 160}
!30 = !{!27, !6, i64 168}
!31 = !{!32, !10, i64 0}
!32 = !{!"_ZTS9QuantSpec", !10, i64 0, !6, i64 8}
!33 = !{!32, !6, i64 8}
!34 = distinct !{!34, !25}
!35 = !{!12, !13, i64 136}
!36 = !{!27, !13, i64 128}
!37 = !{!27, !6, i64 152}
!38 = !{!27, !6, i64 136}
!39 = distinct !{!39, !25}
!40 = !{i64 0, i64 24, !22}
!41 = !{!42, !6, i64 0}
!42 = !{!"_ZTSSt16initializer_listI8DataTypeE", !6, i64 0, !43, i64 8}
!43 = !{!"long", !7, i64 0}
!44 = !{!42, !43, i64 8}
!45 = distinct !{!45, !25}


; 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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, DataType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, DataType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, DataType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, DataType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree.3" }
%"class.std::_Rb_tree.3" = type { %"struct.std::_Rb_tree<DataType, DataType, std::_Identity<DataType>, std::less<DataType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DataType, DataType, std::_Identity<DataType>, std::less<DataType>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::less" = type { i8 }
%"class.std::allocator.8" = type { i8 }
%struct.OperatorSpec = type <{ [128 x i8], i32, i32, ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], ptr, %union.ParameterSpec, [4 x i8] }>
%union.ParameterSpec = type { %struct.MultiHeadAttentionParamSpec }
%struct.MultiHeadAttentionParamSpec = type { [6 x %struct.FullyConnectedParamSpec], %struct.PowerParamSpec, [2 x i8], i32, [4 x %struct.ReshapeParamSpec], [2 x %struct.EltwiseParamSpec] }
%struct.FullyConnectedParamSpec = type { i32, i32, [32 x i32] }
%struct.PowerParamSpec = type { float, float, float }
%struct.ReshapeParamSpec = type { [8 x i32], i32, i32, i32 }
%struct.EltwiseParamSpec = type { i32, %struct.EltwiseSumSpec, i32, %union.ActivationSpec }
%struct.EltwiseSumSpec = type { [8 x float], i32 }
%union.ActivationSpec = type { %struct.ClipParamSpec }
%struct.ClipParamSpec = type { float, float }
%struct.WeightSpec = type { [128 x i8], i32, i32, ptr, i32, ptr, i32, ptr }
%struct.QuantSpec = type { i32, ptr }

@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@constinit = external hidden local_unnamed_addr constant [6 x i32], align 4

; 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: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z12get_cpu_archv() local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromBINToF32P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z9mt_mallocj(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI4ToF32P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI4ToF16P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransWeightFromI4ToU8P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIcEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldI8DataTypeEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z15noQuantDataType8DataType(i32 noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z17deserialize_fieldIfEvPPKhPjPT_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18deserialize_weightPKhP9ModelSpecPj(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::map", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::set", align 8
  %14 = alloca [6 x i32], align 4
  %15 = alloca %"struct.std::less", align 1
  %16 = alloca %"class.std::allocator.8", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds i8, ptr %0, i64 %20
  store ptr %21, ptr %4, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %1, i64 192
  call void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %22, i32 noundef 1)
  %23 = load i32, ptr %22, align 8, !tbaa !11
  %24 = mul i32 %23, 176
  %25 = call noundef ptr @_Z9mt_mallocj(i32 noundef %24)
  %26 = getelementptr inbounds i8, ptr %1, i64 200
  store ptr %25, ptr %26, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #9
  %27 = invoke noundef i32 @_Z12get_cpu_archv()
          to label %.preheader349 unwind label %37

.preheader349:                                    ; preds = %3
  %28 = getelementptr inbounds i8, ptr %1, i64 176
  %29 = load i32, ptr %28, align 8, !tbaa !15
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph, label %.preheader348

.lr.ph:                                           ; preds = %.preheader349
  %31 = getelementptr inbounds i8, ptr %1, i64 184
  br label %39

.preheader348:                                    ; preds = %57, %.preheader349
  %32 = phi i32 [ %29, %.preheader349 ], [ %58, %57 ]
  %33 = load i32, ptr %22, align 8, !tbaa !11
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph356, label %.preheader

.lr.ph356:                                        ; preds = %.preheader348
  %35 = getelementptr inbounds i8, ptr %1, i64 136
  %36 = icmp eq i32 %27, 9
  br label %66

37:                                               ; preds = %3
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %285

39:                                               ; preds = %.lr.ph, %57
  %40 = phi i32 [ %29, %.lr.ph ], [ %58, %57 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %57 ]
  %41 = load ptr, ptr %31, align 8, !tbaa !16
  %42 = getelementptr inbounds %struct.OperatorSpec, ptr %41, i64 %indvars.iv
  %43 = getelementptr inbounds i8, ptr %42, i64 128
  %44 = load i32, ptr %43, align 8, !tbaa !17
  %45 = icmp eq i32 %44, 50
  br i1 %45, label %46, label %57

46:                                               ; preds = %39
  %47 = getelementptr inbounds i8, ptr %42, i64 184
  %48 = load i32, ptr %47, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %42, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %49 unwind label %52

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %51 unwind label %54

51:                                               ; preds = %49
  store i32 %48, ptr %50, align 4, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  %.pre = load i32, ptr %28, align 8, !tbaa !15
  br label %57

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

54:                                               ; preds = %49
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  br label %56

56:                                               ; preds = %54, %52
  %.pn343 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br label %285

57:                                               ; preds = %39, %51
  %58 = phi i32 [ %40, %39 ], [ %.pre, %51 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = sext i32 %58 to i64
  %60 = icmp slt i64 %indvars.iv.next, %59
  br i1 %60, label %39, label %.preheader348, !llvm.loop !22

.preheader.loopexit:                              ; preds = %225
  %.pre374 = load i32, ptr %28, align 8, !tbaa !15
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader348
  %61 = phi i32 [ %.pre374, %.preheader.loopexit ], [ %32, %.preheader348 ]
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph358, label %._crit_edge359

.lr.ph358:                                        ; preds = %.preheader
  %63 = getelementptr inbounds i8, ptr %1, i64 184
  %64 = icmp eq i32 %27, 9
  %65 = getelementptr inbounds i8, ptr %1, i64 136
  br label %235

66:                                               ; preds = %.lr.ph356, %225
  %indvars.iv365 = phi i64 [ 0, %.lr.ph356 ], [ %indvars.iv.next366, %225 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  store i32 0, ptr %8, align 4, !tbaa !5
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %8, i32 noundef 1)
          to label %67 unwind label %83

67:                                               ; preds = %66
  %68 = getelementptr inbounds %struct.WeightSpec, ptr %25, i64 %indvars.iv365
  invoke void @_Z17deserialize_fieldIcEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef %68, i32 noundef 128)
          to label %69 unwind label %83

69:                                               ; preds = %67
  %70 = getelementptr inbounds i8, ptr %68, i64 128
  invoke void @_Z17deserialize_fieldI8DataTypeEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %70, i32 noundef 1)
          to label %71 unwind label %83

71:                                               ; preds = %69
  %72 = getelementptr inbounds i8, ptr %68, i64 132
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %72, i32 noundef 1)
          to label %73 unwind label %83

73:                                               ; preds = %71
  %74 = load ptr, ptr %4, align 8, !tbaa !9
  %75 = load i32, ptr %72, align 4, !tbaa !24
  %76 = icmp eq i32 %75, 0
  %spec.store.select = select i1 %76, ptr null, ptr %74
  %77 = zext i32 %75 to i64
  %78 = getelementptr inbounds i8, ptr %74, i64 %77
  store ptr %78, ptr %4, align 8, !tbaa !9
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = add i32 %79, %75
  store i32 %80, ptr %2, align 4, !tbaa !5
  %81 = load i32, ptr %72, align 4, !tbaa !24
  %82 = getelementptr inbounds i8, ptr %68, i64 144
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %82, i32 noundef 1)
          to label %85 unwind label %96

83:                                               ; preds = %71, %69, %67, %66
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %234

85:                                               ; preds = %73
  %86 = load ptr, ptr %4, align 8, !tbaa !9
  %87 = load i32, ptr %82, align 8, !tbaa !26
  %88 = icmp eq i32 %87, 0
  %spec.store.select1 = select i1 %88, ptr null, ptr %86
  %89 = zext i32 %87 to i64
  %90 = getelementptr inbounds i8, ptr %86, i64 %89
  store ptr %90, ptr %4, align 8, !tbaa !9
  %91 = load i32, ptr %2, align 4, !tbaa !5
  %92 = add i32 %91, %87
  store i32 %92, ptr %2, align 4, !tbaa !5
  %93 = load i32, ptr %82, align 8, !tbaa !26
  %94 = add i32 %93, %81
  %95 = getelementptr inbounds i8, ptr %68, i64 160
  invoke void @_Z17deserialize_fieldIjEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %95, i32 noundef 1)
          to label %98 unwind label %107

96:                                               ; preds = %73
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %234

98:                                               ; preds = %85
  %99 = load i32, ptr %95, align 8, !tbaa !27
  %100 = shl i32 %99, 4
  %101 = invoke noundef ptr @_Z9mt_mallocj(i32 noundef %100)
          to label %102 unwind label %107

102:                                              ; preds = %98
  %103 = getelementptr inbounds i8, ptr %68, i64 168
  store ptr %101, ptr %103, align 8, !tbaa !28
  %104 = load i32, ptr %95, align 8, !tbaa !27
  %.not360 = icmp eq i32 %104, 0
  br i1 %.not360, label %._crit_edge, label %.lr.ph354

._crit_edge:                                      ; preds = %122, %102
  %105 = load i32, ptr %8, align 4, !tbaa !5
  %106 = icmp eq i32 %105, %94
  br i1 %106, label %137, label %128

107:                                              ; preds = %216, %215, %213, %211, %210, %208, %207, %197, %191, %183, %182, %179, %169, %166, %164, %163, %154, %153, %150, %147, %145, %144, %142, %141, %98, %85
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %234

.lr.ph354:                                        ; preds = %102, %122
  %indvars.iv362 = phi i64 [ %indvars.iv.next363, %122 ], [ 0, %102 ]
  %109 = load ptr, ptr %103, align 8, !tbaa !28
  %110 = getelementptr inbounds %struct.QuantSpec, ptr %109, i64 %indvars.iv362
  invoke void @_Z17deserialize_fieldIiEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef %110, i32 noundef 1)
          to label %111 unwind label %126

111:                                              ; preds = %.lr.ph354
  %112 = load ptr, ptr %103, align 8, !tbaa !28
  %113 = getelementptr inbounds %struct.QuantSpec, ptr %112, i64 %indvars.iv362
  %114 = load i32, ptr %113, align 8, !tbaa !29
  %115 = shl i32 %114, 2
  %116 = invoke noundef ptr @_Z9mt_mallocj(i32 noundef %115)
          to label %117 unwind label %126

117:                                              ; preds = %111
  %118 = load ptr, ptr %103, align 8, !tbaa !28
  %119 = getelementptr inbounds %struct.QuantSpec, ptr %118, i64 %indvars.iv362, i32 1
  store ptr %116, ptr %119, align 8, !tbaa !31
  %120 = getelementptr inbounds %struct.QuantSpec, ptr %118, i64 %indvars.iv362
  %121 = load i32, ptr %120, align 8, !tbaa !29
  invoke void @_Z17deserialize_fieldIfEvPPKhPjPT_i(ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef %116, i32 noundef %121)
          to label %122 unwind label %126

122:                                              ; preds = %117
  %indvars.iv.next363 = add nuw nsw i64 %indvars.iv362, 1
  %123 = load i32, ptr %95, align 8, !tbaa !27
  %124 = zext i32 %123 to i64
  %125 = icmp ult i64 %indvars.iv.next363, %124
  br i1 %125, label %.lr.ph354, label %._crit_edge, !llvm.loop !32

126:                                              ; preds = %117, %111, %.lr.ph354
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %234

128:                                              ; preds = %._crit_edge
  %129 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %130 = trunc i64 %129 to i32
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %130)
  %132 = load ptr, ptr @stdout, align 8, !tbaa !9
  %133 = call i32 @fflush(ptr noundef %132)
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %135 = load ptr, ptr @stdout, align 8, !tbaa !9
  %136 = call i32 @fflush(ptr noundef %135)
  call void @exit(i32 noundef 1) #10
  unreachable

137:                                              ; preds = %._crit_edge
  %138 = load i32, ptr %35, align 8, !tbaa !33
  %139 = icmp eq i32 %138, 6
  %.pre373.pre376.pre.pre = load i32, ptr %70, align 8, !tbaa !34
  br i1 %139, label %140, label %159

140:                                              ; preds = %137
  switch i32 %.pre373.pre376.pre.pre, label %156 [
    i32 4, label %141
    i32 5, label %144
    i32 1, label %147
    i32 9, label %147
    i32 15, label %150
    i32 7, label %153
    i32 8, label %153
  ]

141:                                              ; preds = %140
  invoke void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %142 unwind label %107

142:                                              ; preds = %141
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %143 unwind label %107

143:                                              ; preds = %142
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split

144:                                              ; preds = %140
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %145 unwind label %107

145:                                              ; preds = %144
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %146 unwind label %107

146:                                              ; preds = %145
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split

147:                                              ; preds = %140, %140
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %148 unwind label %107

148:                                              ; preds = %147
  %149 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %149, align 8, !tbaa !35
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split

150:                                              ; preds = %140
  invoke void @_Z22TransWeightFromI4ToF32P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %151 unwind label %107

151:                                              ; preds = %150
  %152 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %152, align 8, !tbaa !35
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split

153:                                              ; preds = %140, %140
  invoke void @_Z23TransWeightFromBINToF32P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %154 unwind label %107

154:                                              ; preds = %153
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %155 unwind label %107

155:                                              ; preds = %154
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split

156:                                              ; preds = %140
  %157 = getelementptr inbounds i8, ptr %68, i64 136
  store ptr %spec.store.select, ptr %157, align 8, !tbaa !36
  %158 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %158, align 8, !tbaa !35
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %146, %151, %156, %155, %148, %143
  %.pre373.pre376.pre381 = phi i32 [ 6, %146 ], [ 6, %151 ], [ %.pre373.pre376.pre.pre, %156 ], [ 6, %155 ], [ 6, %148 ], [ 6, %143 ]
  %.pr = load i32, ptr %35, align 8, !tbaa !33
  br label %159

159:                                              ; preds = %thread-pre-split, %137
  %.pre373.pre376.pre = phi i32 [ %.pre373.pre376.pre381, %thread-pre-split ], [ %.pre373.pre376.pre.pre, %137 ]
  %160 = phi i32 [ %.pr, %thread-pre-split ], [ %138, %137 ]
  %161 = icmp eq i32 %160, 4
  br i1 %161, label %162, label %175

162:                                              ; preds = %159
  switch i32 %.pre373.pre376.pre, label %172 [
    i32 6, label %163
    i32 1, label %166
    i32 5, label %166
    i32 15, label %169
  ]

163:                                              ; preds = %162
  invoke void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %164 unwind label %107

164:                                              ; preds = %163
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %165 unwind label %107

165:                                              ; preds = %164
  store i32 4, ptr %70, align 8, !tbaa !34
  br label %175

166:                                              ; preds = %162, %162
  invoke void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %167 unwind label %107

167:                                              ; preds = %166
  %168 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %168, align 8, !tbaa !35
  store i32 4, ptr %70, align 8, !tbaa !34
  br label %175

169:                                              ; preds = %162
  invoke void @_Z22TransWeightFromI4ToF16P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %170 unwind label %107

170:                                              ; preds = %169
  %171 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %171, align 8, !tbaa !35
  store i32 4, ptr %70, align 8, !tbaa !34
  br label %175

172:                                              ; preds = %162
  %173 = getelementptr inbounds i8, ptr %68, i64 136
  store ptr %spec.store.select, ptr %173, align 8, !tbaa !36
  %174 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %174, align 8, !tbaa !35
  br label %175

175:                                              ; preds = %165, %170, %172, %167, %159
  %.pre373.pre376 = phi i32 [ 4, %165 ], [ 4, %170 ], [ %.pre373.pre376.pre, %172 ], [ 4, %167 ], [ %.pre373.pre376.pre, %159 ]
  %176 = load i32, ptr %35, align 8, !tbaa !33
  %177 = icmp eq i32 %176, 9
  br i1 %177, label %178, label %203

178:                                              ; preds = %175
  switch i32 %.pre373.pre376, label %200 [
    i32 9, label %179
    i32 4, label %182
    i32 15, label %185
  ]

179:                                              ; preds = %178
  invoke void @_Z22TransWeightFromI8ToF32P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %180 unwind label %107

180:                                              ; preds = %179
  %181 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %181, align 8, !tbaa !35
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split346

182:                                              ; preds = %178
  invoke void @_Z23TransWeightFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %183 unwind label %107

183:                                              ; preds = %182
  invoke void @_Z21TransBiasFromF16ToF32P10WeightSpecPt(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %184 unwind label %107

184:                                              ; preds = %183
  store i32 6, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split346

185:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %68, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %186 unwind label %192

186:                                              ; preds = %185
  %187 = invoke noundef i64 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEE5countERSA_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %188 unwind label %194

188:                                              ; preds = %186
  %189 = icmp ne i64 %187, 0
  %190 = and i1 %36, %189
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br i1 %190, label %191, label %197

191:                                              ; preds = %188
  store i32 10, ptr %70, align 8, !tbaa !34
  invoke void @_Z21TransWeightFromI4ToU8P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %198 unwind label %107

192:                                              ; preds = %185
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %186
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %196

196:                                              ; preds = %194, %192
  %.pn335 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %234

197:                                              ; preds = %188
  store i32 1, ptr %70, align 8, !tbaa !34
  invoke void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %198 unwind label %107

198:                                              ; preds = %197, %191
  %199 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %199, align 8, !tbaa !35
  %.pre373.pre.pre = load i32, ptr %70, align 8, !tbaa !34
  br label %thread-pre-split346

200:                                              ; preds = %178
  %201 = getelementptr inbounds i8, ptr %68, i64 136
  store ptr %spec.store.select, ptr %201, align 8, !tbaa !36
  %202 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %202, align 8, !tbaa !35
  br label %thread-pre-split346

thread-pre-split346:                              ; preds = %184, %200, %198, %180
  %.pre373.pre = phi i32 [ 6, %184 ], [ %.pre373.pre376, %200 ], [ %.pre373.pre.pre, %198 ], [ 6, %180 ]
  %.pr347 = load i32, ptr %35, align 8, !tbaa !33
  br label %203

203:                                              ; preds = %thread-pre-split346, %175
  %.pre373 = phi i32 [ %.pre373.pre, %thread-pre-split346 ], [ %.pre373.pre376, %175 ]
  %204 = phi i32 [ %.pr347, %thread-pre-split346 ], [ %176, %175 ]
  %205 = icmp eq i32 %204, 5
  br i1 %205, label %206, label %221

206:                                              ; preds = %203
  switch i32 %.pre373, label %218 [
    i32 6, label %207
    i32 9, label %210
    i32 1, label %213
    i32 15, label %215
  ]

207:                                              ; preds = %206
  invoke void @_Z23TransWeightFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %208 unwind label %107

208:                                              ; preds = %207
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %209 unwind label %107

209:                                              ; preds = %208
  store i32 4, ptr %70, align 8, !tbaa !34
  br label %221

210:                                              ; preds = %206
  invoke void @_Z22TransWeightFromI8ToF16P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %211 unwind label %107

211:                                              ; preds = %210
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %212 unwind label %107

212:                                              ; preds = %211
  store i32 4, ptr %70, align 8, !tbaa !34
  br label %221

213:                                              ; preds = %206
  %214 = getelementptr inbounds i8, ptr %68, i64 136
  store ptr %spec.store.select, ptr %214, align 8, !tbaa !36
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %._crit_edge371 unwind label %107

._crit_edge371:                                   ; preds = %213
  %.pre372 = load i32, ptr %70, align 8, !tbaa !34
  br label %221

215:                                              ; preds = %206
  invoke void @_Z21TransWeightFromI4ToI8P10WeightSpecPa(ptr noundef nonnull %68, ptr noundef %spec.store.select)
          to label %216 unwind label %107

216:                                              ; preds = %215
  invoke void @_Z21TransBiasFromF32ToF16P10WeightSpecPf(ptr noundef nonnull %68, ptr noundef %spec.store.select1)
          to label %217 unwind label %107

217:                                              ; preds = %216
  store i32 1, ptr %70, align 8, !tbaa !34
  br label %221

218:                                              ; preds = %206
  %219 = getelementptr inbounds i8, ptr %68, i64 136
  store ptr %spec.store.select, ptr %219, align 8, !tbaa !36
  %220 = getelementptr inbounds i8, ptr %68, i64 152
  store ptr %spec.store.select1, ptr %220, align 8, !tbaa !35
  br label %221

221:                                              ; preds = %._crit_edge371, %209, %218, %217, %212, %203
  %222 = phi i32 [ %.pre372, %._crit_edge371 ], [ 4, %209 ], [ %.pre373, %218 ], [ 1, %217 ], [ 4, %212 ], [ %.pre373, %203 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %68, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %223 unwind label %229

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %225 unwind label %231

225:                                              ; preds = %223
  store i32 %222, ptr %224, align 4, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  %indvars.iv.next366 = add nuw nsw i64 %indvars.iv365, 1
  %226 = load i32, ptr %22, align 8, !tbaa !11
  %227 = sext i32 %226 to i64
  %228 = icmp slt i64 %indvars.iv.next366, %227
  br i1 %228, label %66, label %.preheader.loopexit, !llvm.loop !37

229:                                              ; preds = %221
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %223
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %233

233:                                              ; preds = %231, %229
  %.pn337 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %234

234:                                              ; preds = %96, %233, %196, %126, %107, %83
  %.pn339.pn.pn = phi { ptr, i32 } [ %84, %83 ], [ %97, %96 ], [ %127, %126 ], [ %.pn337, %233 ], [ %108, %107 ], [ %.pn335, %196 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %285

._crit_edge359:                                   ; preds = %281, %.preheader
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  ret i32 0

235:                                              ; preds = %.lr.ph358, %281
  %indvars.iv368 = phi i64 [ 0, %.lr.ph358 ], [ %indvars.iv.next369, %281 ]
  %236 = load ptr, ptr %63, align 8, !tbaa !16
  %237 = getelementptr inbounds %struct.OperatorSpec, ptr %236, i64 %indvars.iv368, i32 1
  %238 = load i32, ptr %237, align 8, !tbaa !17
  %239 = icmp eq i32 %238, 50
  br i1 %239, label %240, label %269

240:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(24) @constinit, i64 24, i1 false), !tbaa.struct !38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @_ZNSaI8DataTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EEC2ESt16initializer_listIS0_ERKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr nonnull %14, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %241 unwind label %257

241:                                              ; preds = %240
  call void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  %242 = load ptr, ptr %63, align 8, !tbaa !16
  %243 = getelementptr inbounds %struct.OperatorSpec, ptr %242, i64 %indvars.iv368, i32 11
  %244 = invoke noundef i64 @_ZNKSt3setI8DataTypeSt4lessIS0_ESaIS0_EE5countERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 4 dereferenceable(4) %243)
          to label %245 unwind label %259

245:                                              ; preds = %241
  %.not = icmp eq i64 %244, 0
  br i1 %.not, label %266, label %246

246:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  %247 = load ptr, ptr %63, align 8, !tbaa !16
  %248 = getelementptr inbounds %struct.OperatorSpec, ptr %247, i64 %indvars.iv368
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %248, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %249 unwind label %261

249:                                              ; preds = %246
  %250 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %251 unwind label %263

251:                                              ; preds = %249
  %252 = load i32, ptr %250, align 4, !tbaa !21
  store i32 %252, ptr %243, align 4, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br i1 %64, label %253, label %266

253:                                              ; preds = %251
  %254 = load i32, ptr %243, align 4, !tbaa !21
  %255 = icmp eq i32 %254, 1
  br i1 %255, label %256, label %266

256:                                              ; preds = %253
  store i32 10, ptr %243, align 4, !tbaa !21
  br label %266

257:                                              ; preds = %240
  %258 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  br label %268

259:                                              ; preds = %241
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %267

261:                                              ; preds = %246
  %262 = landingpad { ptr, i32 }
          cleanup
  br label %265

263:                                              ; preds = %249
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %265

265:                                              ; preds = %263, %261
  %.pn = phi { ptr, i32 } [ %264, %263 ], [ %262, %261 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br label %267

266:                                              ; preds = %251, %253, %256, %245
  call void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  %.pre375 = load ptr, ptr %63, align 8, !tbaa !16
  br label %269

267:                                              ; preds = %265, %259
  %.pn.pn = phi { ptr, i32 } [ %.pn, %265 ], [ %260, %259 ]
  call void @_ZNSt3setI8DataTypeSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  br label %268

268:                                              ; preds = %267, %257
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %267 ], [ %258, %257 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  br label %285

269:                                              ; preds = %266, %235
  %270 = phi ptr [ %.pre375, %266 ], [ %236, %235 ]
  %271 = getelementptr inbounds %struct.OperatorSpec, ptr %270, i64 %indvars.iv368
  %272 = getelementptr inbounds i8, ptr %271, i64 128
  %273 = load i32, ptr %272, align 8, !tbaa !17
  %274 = icmp eq i32 %273, 49
  br i1 %274, label %275, label %281

275:                                              ; preds = %269
  %276 = getelementptr inbounds i8, ptr %271, i64 184
  %277 = load i32, ptr %276, align 4, !tbaa !21
  switch i32 %277, label %281 [
    i32 4, label %278
    i32 6, label %278
  ]

278:                                              ; preds = %275, %275
  %279 = load i32, ptr %65, align 8, !tbaa !33
  %280 = call noundef i32 @_Z15noQuantDataType8DataType(i32 noundef %279)
  store i32 %280, ptr %276, align 4, !tbaa !21
  br label %281

281:                                              ; preds = %278, %275, %269
  %indvars.iv.next369 = add nuw nsw i64 %indvars.iv368, 1
  %282 = load i32, ptr %28, align 8, !tbaa !15
  %283 = sext i32 %282 to i64
  %284 = icmp slt i64 %indvars.iv.next369, %283
  br i1 %284, label %235, label %._crit_edge359, !llvm.loop !39

285:                                              ; preds = %268, %234, %56, %37
  %.pn343.pn = phi { ptr, i32 } [ %.pn343, %56 ], [ %.pn339.pn.pn, %234 ], [ %.pn.pn.pn, %268 ], [ %38, %37 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn343.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE8DataTypeSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

; 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) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI8DataTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI8DataTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nofree 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 #6 = { noreturn 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 #7 = { inlinehint 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 192}
!12 = !{!"_ZTS9ModelSpec", !6, i64 0, !6, i64 4, !7, i64 8, !13, i64 136, !6, i64 140, !10, i64 144, !10, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !10, i64 184, !6, i64 192, !10, i64 200, !6, i64 208, !10, i64 216, !10, i64 224}
!13 = !{!"_ZTS8DataType", !7, i64 0}
!14 = !{!12, !10, i64 200}
!15 = !{!12, !6, i64 176}
!16 = !{!12, !10, i64 184}
!17 = !{!18, !19, i64 128}
!18 = !{!"_ZTS12OperatorSpec", !7, i64 0, !19, i64 128, !6, i64 132, !10, i64 136, !6, i64 144, !10, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !7, i64 184}
!19 = !{!"_ZTS12OperatorType", !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!13, !13, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !6, i64 132}
!25 = !{!"_ZTS10WeightSpec", !7, i64 0, !13, i64 128, !6, i64 132, !10, i64 136, !6, i64 144, !10, i64 152, !6, i64 160, !10, i64 168}
!26 = !{!25, !6, i64 144}
!27 = !{!25, !6, i64 160}
!28 = !{!25, !10, i64 168}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTS9QuantSpec", !6, i64 0, !10, i64 8}
!31 = !{!30, !10, i64 8}
!32 = distinct !{!32, !23}
!33 = !{!12, !13, i64 136}
!34 = !{!25, !13, i64 128}
!35 = !{!25, !10, i64 152}
!36 = !{!25, !10, i64 136}
!37 = distinct !{!37, !23}
!38 = !{i64 0, i64 24, !20}
!39 = distinct !{!39, !23}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass