; LLVM IR from huawei-noah/bolt :: inference/engine/src (bolt_dllite)

; 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>, TensorDesc>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, TensorDesc>>, 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>, TensorDesc>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, TensorDesc>>, 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] }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%struct.DLLiteInfo = type { ptr, i8 }
%struct.ModelHandleInfo = type { ptr, ptr, i32, ptr, i8 }
%"struct.bolt::IOTensor" = type { %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.62", %"struct.std::pair" }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@__FUNCTION__._Z22GetInputInfoFromDLLiteB5cxx11PvRKSt6vectorIN4bolt8IOTensorESaIS2_EE = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

declare i32 @fflush(ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18TypeMapDLLite2boltN4bolt10TensorTypeE(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z20LayoutMapDLLite2boltN4bolt12TensorLayoutE(i32 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z22GetInputInfoFromDLLiteB5cxx11PvRKSt6vectorIN4bolt8IOTensorESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #4 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 i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i1, align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %struct.TensorDesc, align 4
  %24 = alloca %struct.TensorDesc, align 4
  %25 = alloca %struct.TensorDesc, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  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
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %27, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.DLLiteInfo, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  store ptr %30, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ModelHandleInfo, ptr %31, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !12
  store ptr %33, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #9
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3CNN14get_input_descB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %10, ptr noundef nonnull align 8 dereferenceable(5265) %34)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %35 = call noundef i64 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  %36 = trunc i64 %35 to i32
  store i32 %36, ptr %11, align 4, !tbaa !15
  %37 = load i32, ptr %11, align 4, !tbaa !15
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %40 = trunc i64 %39 to i32
  %41 = icmp ne i32 %37, %40
  br i1 %41, label %42, label %64

42:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %43 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %44 = trunc i64 %43 to i32
  store i32 %44, ptr %12, align 4, !tbaa !15
  %45 = load i32, ptr %12, align 4, !tbaa !15
  %46 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %45)
          to label %47 unwind label %60

47:                                               ; preds = %42
  %48 = load ptr, ptr @stdout, align 8, !tbaa !5
  %49 = invoke i32 @fflush(ptr noundef %48)
          to label %50 unwind label %60

50:                                               ; preds = %47
  %51 = load i32, ptr %11, align 4, !tbaa !15
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = call noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #9
  %54 = trunc i64 %53 to i32
  %55 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %51, i32 noundef %54)
          to label %56 unwind label %60

56:                                               ; preds = %50
  %57 = load ptr, ptr @stdout, align 8, !tbaa !5
  %58 = invoke i32 @fflush(ptr noundef %57)
          to label %59 unwind label %60

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

60:                                               ; preds = %56, %50, %47, %42
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %13, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %268

64:                                               ; preds = %3
  store i1 false, ptr %15, align 1
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !15
  br label %65

65:                                               ; preds = %257, %64
  %66 = load i32, ptr %16, align 4, !tbaa !15
  %67 = load i32, ptr %11, align 4, !tbaa !15
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %264

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load i32, ptr %16, align 4, !tbaa !15
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #9
  %75 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %74, i32 0, i32 0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %75)
          to label %76 unwind label %98

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %77 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %78 unwind label %102

78:                                               ; preds = %76
  %79 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %18, i32 0, i32 0
  store ptr %77, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %80 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  %81 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %19, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  %82 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescEESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br i1 %82, label %83, label %110

83:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %84 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %85 = trunc i64 %84 to i32
  store i32 %85, ptr %20, align 4, !tbaa !15
  %86 = load i32, ptr %20, align 4, !tbaa !15
  %87 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %86)
          to label %88 unwind label %106

88:                                               ; preds = %83
  %89 = load ptr, ptr @stdout, align 8, !tbaa !5
  %90 = invoke i32 @fflush(ptr noundef %89)
          to label %91 unwind label %106

91:                                               ; preds = %88
  %92 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  %93 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %92)
          to label %94 unwind label %106

94:                                               ; preds = %91
  %95 = load ptr, ptr @stdout, align 8, !tbaa !5
  %96 = invoke i32 @fflush(ptr noundef %95)
          to label %97 unwind label %106

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

98:                                               ; preds = %70
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %13, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %14, align 4
  br label %263

102:                                              ; preds = %76
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %13, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %262

106:                                              ; preds = %94, %91, %88, %83
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %13, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %262

110:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load i32, ptr %16, align 4, !tbaa !15
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %113) #9
  %115 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %114, i32 0, i32 1
  %116 = load i32, ptr %115, align 8, !tbaa !17
  %117 = invoke noundef i32 @_Z18TypeMapDLLite2boltN4bolt10TensorTypeE(i32 noundef %116)
          to label %118 unwind label %128

118:                                              ; preds = %110
  store i32 %117, ptr %21, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %16, align 4, !tbaa !15
  %121 = sext i32 %120 to i64
  %122 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %121) #9
  %123 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %122, i32 0, i32 2
  %124 = load i32, ptr %123, align 4, !tbaa !31
  %125 = invoke noundef i32 @_Z20LayoutMapDLLite2boltN4bolt12TensorLayoutE(i32 noundef %124)
          to label %126 unwind label %132

126:                                              ; preds = %118
  store i32 %125, ptr %22, align 4, !tbaa !32
  %127 = load i32, ptr %22, align 4, !tbaa !32
  switch i32 %127, label %238 [
    i32 14, label %136
    i32 0, label %162
    i32 15, label %204
  ]

128:                                              ; preds = %110
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %13, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %14, align 4
  br label %261

132:                                              ; preds = %118
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %13, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %14, align 4
  br label %260

136:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 92, ptr %23) #9
  %137 = load i32, ptr %21, align 4, !tbaa !29
  %138 = load i32, ptr %22, align 4, !tbaa !32
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = load i32, ptr %16, align 4, !tbaa !15
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %141) #9
  %143 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %142, i32 0, i32 3
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef 0) #9
  %145 = load i64, ptr %144, align 8, !tbaa !34
  %146 = trunc i64 %145 to i32
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = load i32, ptr %16, align 4, !tbaa !15
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %149) #9
  %151 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %150, i32 0, i32 3
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef 1) #9
  %153 = load i64, ptr %152, align 8, !tbaa !34
  %154 = trunc i64 %153 to i32
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %23, i32 noundef %137, i32 noundef %138, i32 noundef %146, i32 noundef %154)
          to label %155 unwind label %158

155:                                              ; preds = %136
  %156 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %157 unwind label %158

157:                                              ; preds = %155
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %156, ptr align 4 %23, i64 92, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 92, ptr %23) #9
  br label %256

158:                                              ; preds = %155, %136
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %13, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 92, ptr %23) #9
  br label %260

162:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 92, ptr %24) #9
  %163 = load i32, ptr %21, align 4, !tbaa !29
  %164 = load i32, ptr %22, align 4, !tbaa !32
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load i32, ptr %16, align 4, !tbaa !15
  %167 = sext i32 %166 to i64
  %168 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %167) #9
  %169 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %168, i32 0, i32 3
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef 0) #9
  %171 = load i64, ptr %170, align 8, !tbaa !34
  %172 = trunc i64 %171 to i32
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load i32, ptr %16, align 4, !tbaa !15
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %175) #9
  %177 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %176, i32 0, i32 3
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef 1) #9
  %179 = load i64, ptr %178, align 8, !tbaa !34
  %180 = trunc i64 %179 to i32
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = load i32, ptr %16, align 4, !tbaa !15
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %183) #9
  %185 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %184, i32 0, i32 3
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef 2) #9
  %187 = load i64, ptr %186, align 8, !tbaa !34
  %188 = trunc i64 %187 to i32
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = load i32, ptr %16, align 4, !tbaa !15
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #9
  %193 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %192, i32 0, i32 3
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef 3) #9
  %195 = load i64, ptr %194, align 8, !tbaa !34
  %196 = trunc i64 %195 to i32
  invoke void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %24, i32 noundef %163, i32 noundef %164, i32 noundef %172, i32 noundef %180, i32 noundef %188, i32 noundef %196)
          to label %197 unwind label %200

197:                                              ; preds = %162
  %198 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %199 unwind label %200

199:                                              ; preds = %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %198, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 92, ptr %24) #9
  br label %256

200:                                              ; preds = %197, %162
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %13, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 92, ptr %24) #9
  br label %260

204:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 92, ptr %25) #9
  %205 = load i32, ptr %21, align 4, !tbaa !29
  %206 = load i32, ptr %22, align 4, !tbaa !32
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = load i32, ptr %16, align 4, !tbaa !15
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #9
  %211 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %210, i32 0, i32 3
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %211, i64 noundef 0) #9
  %213 = load i64, ptr %212, align 8, !tbaa !34
  %214 = trunc i64 %213 to i32
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = load i32, ptr %16, align 4, !tbaa !15
  %217 = sext i32 %216 to i64
  %218 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %217) #9
  %219 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %218, i32 0, i32 3
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef 1) #9
  %221 = load i64, ptr %220, align 8, !tbaa !34
  %222 = trunc i64 %221 to i32
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = load i32, ptr %16, align 4, !tbaa !15
  %225 = sext i32 %224 to i64
  %226 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %225) #9
  %227 = getelementptr inbounds %"struct.bolt::IOTensor", ptr %226, i32 0, i32 3
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef 2) #9
  %229 = load i64, ptr %228, align 8, !tbaa !34
  %230 = trunc i64 %229 to i32
  invoke void @_Z9tensor3df8DataType10DataFormatjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %25, i32 noundef %205, i32 noundef %206, i32 noundef %214, i32 noundef %222, i32 noundef %230)
          to label %231 unwind label %234

231:                                              ; preds = %204
  %232 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %233 unwind label %234

233:                                              ; preds = %231
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %232, ptr align 4 %25, i64 92, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 92, ptr %25) #9
  br label %256

234:                                              ; preds = %231, %204
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %13, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 92, ptr %25) #9
  br label %260

238:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %239 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %240 = trunc i64 %239 to i32
  store i32 %240, ptr %26, align 4, !tbaa !15
  %241 = load i32, ptr %26, align 4, !tbaa !15
  %242 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %241)
          to label %243 unwind label %252

243:                                              ; preds = %238
  %244 = load ptr, ptr @stdout, align 8, !tbaa !5
  %245 = invoke i32 @fflush(ptr noundef %244)
          to label %246 unwind label %252

246:                                              ; preds = %243
  %247 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @__FUNCTION__._Z22GetInputInfoFromDLLiteB5cxx11PvRKSt6vectorIN4bolt8IOTensorESaIS2_EE)
          to label %248 unwind label %252

248:                                              ; preds = %246
  %249 = load ptr, ptr @stdout, align 8, !tbaa !5
  %250 = invoke i32 @fflush(ptr noundef %249)
          to label %251 unwind label %252

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

252:                                              ; preds = %248, %246, %243, %238
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %13, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %260

256:                                              ; preds = %233, %199, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %16, align 4, !tbaa !15
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %16, align 4, !tbaa !15
  br label %65, !llvm.loop !37

260:                                              ; preds = %252, %234, %200, %158, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %261

261:                                              ; preds = %260, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %262

262:                                              ; preds = %261, %106, %102
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %263

263:                                              ; preds = %262, %98
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #9
  br label %268

264:                                              ; preds = %69
  store i1 true, ptr %15, align 1
  %265 = load i1, ptr %15, align 1
  br i1 %265, label %267, label %266

266:                                              ; preds = %264
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #9
  br label %267

267:                                              ; preds = %266, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_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 void

268:                                              ; preds = %263, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_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 %269

269:                                              ; preds = %268
  %270 = load ptr, ptr %13, align 8
  %271 = load i32, ptr %14, align 4
  %272 = insertvalue { ptr, i32 } poison, ptr %270, 0
  %273 = insertvalue { ptr, i32 } %272, i32 %271, 1
  resume { ptr, i32 } %273
}

declare void @_ZN3CNN14get_input_descB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map") align 8, ptr noundef nonnull align 8 dereferenceable(5265)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescEESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #4 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) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tensor3df8DataType10DataFormatjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #8

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #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, !6, i64 0}
!10 = !{!"_ZTS10DLLiteInfo", !6, i64 0, !11, i64 8}
!11 = !{!"bool", !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"_ZTS15ModelHandleInfo", !6, i64 0, !6, i64 8, !14, i64 16, !6, i64 24, !11, i64 32}
!14 = !{!"_ZTS13HARDWARE_TYPE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !22, i64 32}
!18 = !{!"_ZTSN4bolt8IOTensorE", !19, i64 0, !22, i64 32, !23, i64 36, !24, i64 40, !28, i64 64}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN4bolt10TensorTypeE", !7, i64 0}
!23 = !{!"_ZTSN4bolt12TensorLayoutE", !7, i64 0}
!24 = !{!"_ZTSSt6vectorImSaImEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseImSaImEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt4pairIPvmE", !6, i64 0, !21, i64 8}
!29 = !{!30, !30, i64 0}
!30 = !{!"_ZTS8DataType", !7, i64 0}
!31 = !{!18, !23, i64 36}
!32 = !{!33, !33, i64 0}
!33 = !{!"_ZTS10DataFormat", !7, i64 0}
!34 = !{!21, !21, i64 0}
!35 = !{i64 0, i64 4, !29, i64 4, i64 4, !32, i64 8, i64 4, !15, i64 12, i64 80, !36}
!36 = !{!7, !7, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


; 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>, TensorDesc>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, TensorDesc>>, 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>, TensorDesc>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, TensorDesc>>, 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] }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@__FUNCTION__._Z22GetInputInfoFromDLLiteB5cxx11PvRKSt6vectorIN4bolt8IOTensorESaIS2_EE = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18TypeMapDLLite2boltN4bolt10TensorTypeE(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z20LayoutMapDLLite2boltN4bolt12TensorLayoutE(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z22GetInputInfoFromDLLiteB5cxx11PvRKSt6vectorIN4bolt8IOTensorESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0, ptr nocapture noundef readonly %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::map", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %8 = alloca %struct.TensorDesc, align 4
  %9 = alloca %struct.TensorDesc, align 4
  %10 = alloca %struct.TensorDesc, align 4
  %11 = load ptr, ptr %1, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %11, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #10
  call void @_ZN3CNN14get_input_descB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::map") align 8 %4, ptr noundef nonnull align 8 dereferenceable(5265) %13)
  %14 = call noundef i64 @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #10
  %15 = trunc i64 %14 to i32
  %16 = call noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  %17 = trunc i64 %16 to i32
  %.not = icmp eq i32 %15, %17
  br i1 %.not, label %29, label %18

18:                                               ; preds = %3
  %19 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %20 = trunc i64 %19 to i32
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %20)
  %22 = load ptr, ptr @stdout, align 8, !tbaa !14
  %23 = call i32 @fflush(ptr noundef %22)
  %24 = call noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  %25 = trunc i64 %24 to i32
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %15, i32 noundef %25)
  %27 = load ptr, ptr @stdout, align 8, !tbaa !14
  %28 = call i32 @fflush(ptr noundef %27)
  call void @exit(i32 noundef 1) #11
  unreachable

29:                                               ; preds = %3
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  %30 = icmp sgt i32 %15, 0
  br i1 %30, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %29
  %wide.trip.count = and i64 %14, 2147483647
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %136
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %136 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #10
  %31 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %32 unwind label %47

32:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %33 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %34 unwind label %49

34:                                               ; preds = %32
  store ptr %33, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %35 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #10
  store ptr %35, ptr %7, align 8
  %36 = call noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescEESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br i1 %36, label %37, label %51

37:                                               ; preds = %34
  %38 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %39 = trunc i64 %38 to i32
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %39)
  %41 = load ptr, ptr @stdout, align 8, !tbaa !14
  %42 = call i32 @fflush(ptr noundef %41)
  %43 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %43)
  %45 = load ptr, ptr @stdout, align 8, !tbaa !14
  %46 = call i32 @fflush(ptr noundef %45)
  call void @exit(i32 noundef 1) #11
  unreachable

47:                                               ; preds = %.lr.ph
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %138

49:                                               ; preds = %32
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %137

51:                                               ; preds = %34
  %52 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %53 = getelementptr inbounds i8, ptr %52, i64 32
  %54 = load i32, ptr %53, align 8, !tbaa !15
  %55 = invoke noundef i32 @_Z18TypeMapDLLite2boltN4bolt10TensorTypeE(i32 noundef %54)
          to label %56 unwind label %62

56:                                               ; preds = %51
  %57 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %58 = getelementptr inbounds i8, ptr %57, i64 36
  %59 = load i32, ptr %58, align 4, !tbaa !27
  %60 = invoke noundef i32 @_Z20LayoutMapDLLite2boltN4bolt12TensorLayoutE(i32 noundef %59)
          to label %61 unwind label %64

61:                                               ; preds = %56
  switch i32 %60, label %127 [
    i32 14, label %66
    i32 0, label %82
    i32 15, label %107
  ]

62:                                               ; preds = %51
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %137

64:                                               ; preds = %56
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %137

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #10
  %67 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %68 = getelementptr inbounds i8, ptr %67, i64 40
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef 0) #10
  %70 = load i64, ptr %69, align 8, !tbaa !28
  %71 = trunc i64 %70 to i32
  %72 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %73 = getelementptr inbounds i8, ptr %72, i64 40
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef 1) #10
  %75 = load i64, ptr %74, align 8, !tbaa !28
  %76 = trunc i64 %75 to i32
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, i32 noundef %55, i32 noundef 14, i32 noundef %71, i32 noundef %76)
          to label %77 unwind label %80

77:                                               ; preds = %66
  %78 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %79 unwind label %80

79:                                               ; preds = %77
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(92) %78, ptr noundef nonnull align 4 dereferenceable(92) %8, i64 92, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #10
  br label %136

80:                                               ; preds = %77, %66
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #10
  br label %137

82:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %9) #10
  %83 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %84 = getelementptr inbounds i8, ptr %83, i64 40
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef 0) #10
  %86 = load i64, ptr %85, align 8, !tbaa !28
  %87 = trunc i64 %86 to i32
  %88 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %89 = getelementptr inbounds i8, ptr %88, i64 40
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef 1) #10
  %91 = load i64, ptr %90, align 8, !tbaa !28
  %92 = trunc i64 %91 to i32
  %93 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %94 = getelementptr inbounds i8, ptr %93, i64 40
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef 2) #10
  %96 = load i64, ptr %95, align 8, !tbaa !28
  %97 = trunc i64 %96 to i32
  %98 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %99 = getelementptr inbounds i8, ptr %98, i64 40
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef 3) #10
  %101 = load i64, ptr %100, align 8, !tbaa !28
  %102 = trunc i64 %101 to i32
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %9, i32 noundef %55, i32 noundef 0, i32 noundef %87, i32 noundef %92, i32 noundef %97, i32 noundef %102)
  %103 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %104 unwind label %105

104:                                              ; preds = %82
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(92) %103, ptr noundef nonnull align 4 dereferenceable(92) %9, i64 92, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %9) #10
  br label %136

105:                                              ; preds = %82
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %9) #10
  br label %137

107:                                              ; preds = %61
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #10
  %108 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %109 = getelementptr inbounds i8, ptr %108, i64 40
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef 0) #10
  %111 = load i64, ptr %110, align 8, !tbaa !28
  %112 = trunc i64 %111 to i32
  %113 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %114 = getelementptr inbounds i8, ptr %113, i64 40
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef 1) #10
  %116 = load i64, ptr %115, align 8, !tbaa !28
  %117 = trunc i64 %116 to i32
  %118 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %119 = getelementptr inbounds i8, ptr %118, i64 40
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef 2) #10
  %121 = load i64, ptr %120, align 8, !tbaa !28
  %122 = trunc i64 %121 to i32
  call void @_Z9tensor3df8DataType10DataFormatjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, i32 noundef %55, i32 noundef 15, i32 noundef %112, i32 noundef %117, i32 noundef %122)
  %123 = invoke noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %124 unwind label %125

124:                                              ; preds = %107
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(92) %123, ptr noundef nonnull align 4 dereferenceable(92) %10, i64 92, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #10
  br label %136

125:                                              ; preds = %107
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #10
  br label %137

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

136:                                              ; preds = %124, %104, %79
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !37

137:                                              ; preds = %62, %125, %105, %80, %64, %49
  %.pn.pn.pn = phi { ptr, i32 } [ %50, %49 ], [ %63, %62 ], [ %126, %125 ], [ %106, %105 ], [ %81, %80 ], [ %65, %64 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  br label %138

138:                                              ; preds = %137, %47
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %137 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #10
  resume { ptr, i32 } %.pn.pn.pn.pn

._crit_edge:                                      ; preds = %136, %29
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #10
  ret void
}

declare void @_ZN3CNN14get_input_descB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map") align 8, ptr noundef nonnull align 8 dereferenceable(5265)) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN4bolt8IOTensorESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescEESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(92) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE10TensorDescSt4lessIS5_ESaISt4pairIKS5_S6_EEEixERSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tensor3df8DataType10DataFormatjjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #9

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #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 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { 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, !7, i64 0}
!6 = !{!"_ZTS10DLLiteInfo", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"_ZTS15ModelHandleInfo", !7, i64 0, !7, i64 8, !13, i64 16, !7, i64 24, !10, i64 32}
!13 = !{!"_ZTS13HARDWARE_TYPE", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !20, i64 32}
!16 = !{!"_ZTSN4bolt8IOTensorE", !17, i64 0, !20, i64 32, !21, i64 36, !22, i64 40, !26, i64 64}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !8, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!"_ZTSN4bolt10TensorTypeE", !8, i64 0}
!21 = !{!"_ZTSN4bolt12TensorLayoutE", !8, i64 0}
!22 = !{!"_ZTSSt6vectorImSaImEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseImSaImEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!26 = !{!"_ZTSSt4pairIPvmE", !7, i64 0, !19, i64 8}
!27 = !{!16, !21, i64 36}
!28 = !{!19, !19, i64 0}
!29 = !{i64 0, i64 4, !30, i64 4, i64 4, !32, i64 8, i64 4, !34, i64 12, i64 80, !36}
!30 = !{!31, !31, i64 0}
!31 = !{!"_ZTS8DataType", !8, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"_ZTS10DataFormat", !8, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"int", !8, i64 0}
!36 = !{!8, !8, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass