; LLVM IR from openvinotoolkit/model_server :: src/custom_nodes/add_one (add_one)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"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 }
%struct.CustomNodeTensor = type { ptr, ptr, i64, ptr, i64, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, i32 noundef) #0

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

; Function Attrs: 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 #0 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local i32 @execute(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::shared_lock", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i32 %5, ptr %14, align 4, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %31 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %31, ptr %16, align 8, !tbaa !5
  %32 = load ptr, ptr %16, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %40, label %34

34:                                               ; preds = %7
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef 122)
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef @.str.1)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @.str.6)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %334

40:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  %41 = load ptr, ptr %16, align 8, !tbaa !5
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN4ovms19custom_nodes_common32CustomNodeLibraryInternalManager22getInternalManagerLockEv(ptr noundef nonnull align 8 dereferenceable(112) %41)
  call void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %18, ptr noundef nonnull align 8 dereferenceable(56) %42)
  %43 = load i32, ptr %10, align 4, !tbaa !9
  %44 = icmp eq i32 %43, 1
  br i1 %44, label %60, label %45

45:                                               ; preds = %40
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %47 unwind label %56

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %46, i32 noundef 125)
          to label %49 unwind label %56

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.1)
          to label %51 unwind label %56

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef @.str.7)
          to label %53 unwind label %56

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %55 unwind label %56

55:                                               ; preds = %53
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %332

56:                                               ; preds = %75, %73, %71, %69, %67, %53, %51, %49, %47, %45
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %19, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %20, align 4
  br label %333

60:                                               ; preds = %40
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.CustomNodeTensor, ptr %61, i64 0
  %63 = getelementptr inbounds %struct.CustomNodeTensor, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.8) #8
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %78, label %67

67:                                               ; preds = %60
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %69 unwind label %56

69:                                               ; preds = %67
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %68, i32 noundef 126)
          to label %71 unwind label %56

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef @.str.1)
          to label %73 unwind label %56

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.9)
          to label %75 unwind label %56

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %77 unwind label %56

77:                                               ; preds = %75
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %332

78:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.CustomNodeTensor, ptr %79, i64 0
  store ptr %80, ptr %21, align 8, !tbaa !5
  %81 = load ptr, ptr %21, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.CustomNodeTensor, ptr %81, i32 0, i32 5
  %83 = load i32, ptr %82, align 8, !tbaa !15
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %100, label %85

85:                                               ; preds = %78
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %87 unwind label %96

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %86, i32 noundef 130)
          to label %89 unwind label %96

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @.str.1)
          to label %91 unwind label %96

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef @.str.10)
          to label %93 unwind label %96

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %95 unwind label %96

95:                                               ; preds = %93
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %330

96:                                               ; preds = %149, %147, %145, %143, %141, %131, %129, %127, %125, %123, %113, %111, %109, %107, %105, %93, %91, %89, %87, %85
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %19, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %20, align 4
  br label %331

100:                                              ; preds = %78
  %101 = load ptr, ptr %21, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.CustomNodeTensor, ptr %101, i32 0, i32 4
  %103 = load i64, ptr %102, align 8, !tbaa !16
  %104 = icmp eq i64 %103, 2
  br i1 %104, label %116, label %105

105:                                              ; preds = %100
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %107 unwind label %96

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %106, i32 noundef 131)
          to label %109 unwind label %96

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef @.str.1)
          to label %111 unwind label %96

111:                                              ; preds = %109
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef @.str.11)
          to label %113 unwind label %96

113:                                              ; preds = %111
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %115 unwind label %96

115:                                              ; preds = %113
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %330

116:                                              ; preds = %100
  %117 = load ptr, ptr %21, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.CustomNodeTensor, ptr %117, i32 0, i32 3
  %119 = load ptr, ptr %118, align 8, !tbaa !17
  %120 = getelementptr inbounds i64, ptr %119, i64 0
  %121 = load i64, ptr %120, align 8, !tbaa !18
  %122 = icmp eq i64 %121, 1
  br i1 %122, label %134, label %123

123:                                              ; preds = %116
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %125 unwind label %96

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %124, i32 noundef 132)
          to label %127 unwind label %96

127:                                              ; preds = %125
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @.str.1)
          to label %129 unwind label %96

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef @.str.12)
          to label %131 unwind label %96

131:                                              ; preds = %129
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %133 unwind label %96

133:                                              ; preds = %131
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %330

134:                                              ; preds = %116
  %135 = load ptr, ptr %21, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.CustomNodeTensor, ptr %135, i32 0, i32 3
  %137 = load ptr, ptr %136, align 8, !tbaa !17
  %138 = getelementptr inbounds i64, ptr %137, i64 1
  %139 = load i64, ptr %138, align 8, !tbaa !18
  %140 = icmp eq i64 %139, 10
  br i1 %140, label %152, label %141

141:                                              ; preds = %134
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %143 unwind label %96

143:                                              ; preds = %141
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %142, i32 noundef 133)
          to label %145 unwind label %96

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef @.str.1)
          to label %147 unwind label %96

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef @.str.13)
          to label %149 unwind label %96

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %151 unwind label %96

151:                                              ; preds = %149
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %330

152:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %153 unwind label %171

153:                                              ; preds = %152
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = invoke noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %154, i32 noundef %155, i32 noundef 1)
          to label %157 unwind label %175

157:                                              ; preds = %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  store i32 %156, ptr %22, align 4, !tbaa !9
  %158 = load i32, ptr %22, align 4, !tbaa !9
  %159 = icmp sge i32 %158, 0
  br i1 %159, label %184, label %160

160:                                              ; preds = %157
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %162 unwind label %180

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %161, i32 noundef 136)
          to label %164 unwind label %180

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef @.str.1)
          to label %166 unwind label %180

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef @.str.15)
          to label %168 unwind label %180

168:                                              ; preds = %166
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %170 unwind label %180

170:                                              ; preds = %168
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %328

171:                                              ; preds = %152
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %19, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %20, align 4
  br label %179

175:                                              ; preds = %153
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %19, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %329

180:                                              ; preds = %168, %166, %164, %162, %160
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %19, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %20, align 4
  br label %329

184:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %185 unwind label %203

185:                                              ; preds = %184
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = invoke noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %186, i32 noundef %187, i32 noundef 0)
          to label %189 unwind label %207

189:                                              ; preds = %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  store i32 %188, ptr %25, align 4, !tbaa !9
  %190 = load i32, ptr %25, align 4, !tbaa !9
  %191 = icmp sge i32 %190, 0
  br i1 %191, label %216, label %192

192:                                              ; preds = %189
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %194 unwind label %212

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %193, i32 noundef 138)
          to label %196 unwind label %212

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef @.str.1)
          to label %198 unwind label %212

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef @.str.17)
          to label %200 unwind label %212

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %202 unwind label %212

202:                                              ; preds = %200
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %326

203:                                              ; preds = %184
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %19, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %20, align 4
  br label %211

207:                                              ; preds = %185
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %19, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %211

211:                                              ; preds = %207, %203
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  br label %327

212:                                              ; preds = %216, %200, %198, %196, %194, %192
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %19, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %20, align 4
  br label %327

216:                                              ; preds = %189
  %217 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 1, ptr %217, align 4, !tbaa !9
  %218 = load ptr, ptr %16, align 8, !tbaa !5
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = invoke noundef zeroext i1 @_Z10get_bufferI16CustomNodeTensorEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef %218, ptr noundef %219, ptr noundef @.str.18, i64 noundef 48)
          to label %221 unwind label %212

221:                                              ; preds = %216
  br i1 %220, label %223, label %222

222:                                              ; preds = %221
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %326

223:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %224 = load ptr, ptr %11, align 8, !tbaa !5
  %225 = getelementptr inbounds ptr, ptr %224, i64 0
  %226 = load ptr, ptr %225, align 8, !tbaa !5
  store ptr %226, ptr %28, align 8, !tbaa !5
  %227 = load ptr, ptr %28, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.CustomNodeTensor, ptr %227, i32 0, i32 0
  store ptr @.str.19, ptr %228, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  store ptr null, ptr %29, align 8, !tbaa !5
  %229 = load ptr, ptr %16, align 8, !tbaa !5
  %230 = load ptr, ptr %21, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.CustomNodeTensor, ptr %230, i32 0, i32 2
  %232 = load i64, ptr %231, align 8, !tbaa !19
  %233 = mul i64 %232, 1
  %234 = invoke noundef zeroext i1 @_Z10get_bufferIfEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef %229, ptr noundef %29, ptr noundef @.str.19, i64 noundef %233)
          to label %235 unwind label %242

235:                                              ; preds = %223
  br i1 %234, label %246, label %236

236:                                              ; preds = %235
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load ptr, ptr %237, align 8, !tbaa !5
  %239 = load ptr, ptr %16, align 8, !tbaa !5
  %240 = invoke i32 @release(ptr noundef %238, ptr noundef %239)
          to label %241 unwind label %242

241:                                              ; preds = %236
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %325

242:                                              ; preds = %271, %267, %246, %236, %223
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %19, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %327

246:                                              ; preds = %235
  %247 = load ptr, ptr %29, align 8, !tbaa !5
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.CustomNodeTensor, ptr %248, i32 0, i32 1
  %250 = load ptr, ptr %249, align 8, !tbaa !20
  %251 = load ptr, ptr %21, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.CustomNodeTensor, ptr %251, i32 0, i32 2
  %253 = load i64, ptr %252, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %247, ptr align 1 %250, i64 %253, i1 false)
  %254 = load ptr, ptr %29, align 8, !tbaa !5
  %255 = load ptr, ptr %28, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.CustomNodeTensor, ptr %255, i32 0, i32 1
  store ptr %254, ptr %256, align 8, !tbaa !20
  %257 = load ptr, ptr %21, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.CustomNodeTensor, ptr %257, i32 0, i32 2
  %259 = load i64, ptr %258, align 8, !tbaa !19
  %260 = load ptr, ptr %28, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.CustomNodeTensor, ptr %260, i32 0, i32 2
  store i64 %259, ptr %261, align 8, !tbaa !19
  %262 = load ptr, ptr %16, align 8, !tbaa !5
  %263 = load ptr, ptr %28, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.CustomNodeTensor, ptr %263, i32 0, i32 3
  %265 = invoke noundef zeroext i1 @_Z10get_bufferImEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef %262, ptr noundef %264, ptr noundef @.str.20, i64 noundef 16)
          to label %266 unwind label %242

266:                                              ; preds = %246
  br i1 %265, label %277, label %267

267:                                              ; preds = %266
  %268 = load ptr, ptr %29, align 8, !tbaa !5
  %269 = load ptr, ptr %16, align 8, !tbaa !5
  %270 = invoke i32 @release(ptr noundef %268, ptr noundef %269)
          to label %271 unwind label %242

271:                                              ; preds = %267
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  %273 = load ptr, ptr %272, align 8, !tbaa !5
  %274 = load ptr, ptr %16, align 8, !tbaa !5
  %275 = invoke i32 @release(ptr noundef %273, ptr noundef %274)
          to label %276 unwind label %242

276:                                              ; preds = %271
  store i32 1, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %325

277:                                              ; preds = %266
  %278 = load ptr, ptr %21, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.CustomNodeTensor, ptr %278, i32 0, i32 4
  %280 = load i64, ptr %279, align 8, !tbaa !16
  %281 = load ptr, ptr %28, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.CustomNodeTensor, ptr %281, i32 0, i32 4
  store i64 %280, ptr %282, align 8, !tbaa !16
  %283 = load ptr, ptr %28, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.CustomNodeTensor, ptr %283, i32 0, i32 3
  %285 = load ptr, ptr %284, align 8, !tbaa !17
  %286 = getelementptr inbounds i64, ptr %285, i64 0
  store i64 1, ptr %286, align 8, !tbaa !18
  %287 = load ptr, ptr %28, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.CustomNodeTensor, ptr %287, i32 0, i32 3
  %289 = load ptr, ptr %288, align 8, !tbaa !17
  %290 = getelementptr inbounds i64, ptr %289, i64 1
  store i64 10, ptr %290, align 8, !tbaa !18
  %291 = load ptr, ptr %21, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.CustomNodeTensor, ptr %291, i32 0, i32 5
  %293 = load i32, ptr %292, align 8, !tbaa !15
  %294 = load ptr, ptr %28, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.CustomNodeTensor, ptr %294, i32 0, i32 5
  store i32 %293, ptr %295, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store i64 0, ptr %30, align 8, !tbaa !18
  br label %296

296:                                              ; preds = %321, %277
  %297 = load i64, ptr %30, align 8, !tbaa !18
  %298 = load ptr, ptr %28, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.CustomNodeTensor, ptr %298, i32 0, i32 2
  %300 = load i64, ptr %299, align 8, !tbaa !19
  %301 = icmp ult i64 %297, %300
  br i1 %301, label %303, label %302

302:                                              ; preds = %296
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %324

303:                                              ; preds = %296
  %304 = load ptr, ptr %21, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.CustomNodeTensor, ptr %304, i32 0, i32 1
  %306 = load ptr, ptr %305, align 8, !tbaa !20
  %307 = load i64, ptr %30, align 8, !tbaa !18
  %308 = getelementptr inbounds i8, ptr %306, i64 %307
  %309 = load float, ptr %308, align 4, !tbaa !21
  %310 = load i32, ptr %22, align 4, !tbaa !9
  %311 = sitofp i32 %310 to float
  %312 = fadd float %309, %311
  %313 = load i32, ptr %25, align 4, !tbaa !9
  %314 = sitofp i32 %313 to float
  %315 = fsub float %312, %314
  %316 = load ptr, ptr %28, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.CustomNodeTensor, ptr %316, i32 0, i32 1
  %318 = load ptr, ptr %317, align 8, !tbaa !20
  %319 = load i64, ptr %30, align 8, !tbaa !18
  %320 = getelementptr inbounds i8, ptr %318, i64 %319
  store float %315, ptr %320, align 4, !tbaa !21
  br label %321

321:                                              ; preds = %303
  %322 = load i64, ptr %30, align 8, !tbaa !18
  %323 = add i64 %322, 4
  store i64 %323, ptr %30, align 8, !tbaa !18
  br label %296, !llvm.loop !23

324:                                              ; preds = %302
  store i32 0, ptr %8, align 4
  store i32 1, ptr %17, align 4
  br label %325

325:                                              ; preds = %324, %276, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %326

326:                                              ; preds = %325, %222, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %328

327:                                              ; preds = %242, %212, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %329

328:                                              ; preds = %326, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %330

329:                                              ; preds = %327, %180, %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %331

330:                                              ; preds = %328, %151, %133, %115, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %332

331:                                              ; preds = %329, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %333

332:                                              ; preds = %330, %77, %55
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  br label %334

333:                                              ; preds = %331, %56
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %336

334:                                              ; preds = %332, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %335 = load i32, ptr %8, align 4
  ret i32 %335

336:                                              ; preds = %333
  %337 = load ptr, ptr %19, align 8
  %338 = load i32, ptr %20, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340
}

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZN4ovms19custom_nodes_common32CustomNodeLibraryInternalManager22getInternalManagerLockEv(ptr noundef nonnull align 8 dereferenceable(112)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferI16CustomNodeTensorEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferIfEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @release(ptr noundef, ptr noundef) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferImEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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, !6, i64 0}
!12 = !{!"_ZTS16CustomNodeTensor", !6, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !14, i64 40}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTS25CustomNodeTensorPrecision", !7, i64 0}
!15 = !{!12, !14, i64 40}
!16 = !{!12, !13, i64 32}
!17 = !{!12, !6, i64 24}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !13, i64 16}
!20 = !{!12, !6, i64 8}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"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 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress 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 #0 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local range(i32 0, 2) i32 @execute(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::shared_lock", align 8
  %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 ptr, align 8
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %14, label %20

14:                                               ; preds = %7
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 122)
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.1)
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull @.str.6)
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %200

20:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %21 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN4ovms19custom_nodes_common32CustomNodeLibraryInternalManager22getInternalManagerLockEv(ptr noundef nonnull align 8 dereferenceable(112) %6)
  call void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %8, ptr noundef nonnull align 8 dereferenceable(56) %21)
  %22 = icmp eq i32 %1, 1
  br i1 %22, label %31, label %23

23:                                               ; preds = %20
  %24 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %25 unwind label %29

25:                                               ; preds = %23
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef 125)
          to label %27 unwind label %29

27:                                               ; preds = %25
  %28 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str.1)
          to label %.invoke80 unwind label %29

29:                                               ; preds = %.invoke80, %.invoke, %39, %37, %35, %27, %25, %23
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %199

31:                                               ; preds = %20
  %32 = load ptr, ptr %0, align 8, !tbaa !5
  %33 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %32, ptr noundef nonnull dereferenceable(1) @.str.8) #8
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %45, label %35

35:                                               ; preds = %31
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %37 unwind label %29

37:                                               ; preds = %35
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %36, i32 noundef 126)
          to label %39 unwind label %29

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @.str.1)
          to label %.invoke80 unwind label %29

.invoke80:                                        ; preds = %27, %39
  %41 = phi ptr [ %40, %39 ], [ %28, %27 ]
  %42 = phi ptr [ @.str.9, %39 ], [ @.str.7, %27 ]
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull %42)
          to label %.invoke unwind label %29

.invoke:                                          ; preds = %.invoke80
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %29

45:                                               ; preds = %31
  %46 = getelementptr inbounds i8, ptr %0, i64 40
  %47 = load i32, ptr %46, align 8, !tbaa !12
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %57, label %49

49:                                               ; preds = %45
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %51 unwind label %55

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %50, i32 noundef 130)
          to label %53 unwind label %55

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @.str.1)
          to label %.invoke81 unwind label %55

55:                                               ; preds = %.invoke81, %.invoke78, %86, %84, %82, %76, %74, %72, %65, %63, %61, %53, %51, %49
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %199

57:                                               ; preds = %45
  %58 = getelementptr inbounds i8, ptr %0, i64 32
  %59 = load i64, ptr %58, align 8, !tbaa !13
  %60 = icmp eq i64 %59, 2
  br i1 %60, label %67, label %61

61:                                               ; preds = %57
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %63 unwind label %55

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %62, i32 noundef 131)
          to label %65 unwind label %55

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.1)
          to label %.invoke81 unwind label %55

67:                                               ; preds = %57
  %68 = getelementptr inbounds i8, ptr %0, i64 24
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = load i64, ptr %69, align 8, !tbaa !15
  %71 = icmp eq i64 %70, 1
  br i1 %71, label %78, label %72

72:                                               ; preds = %67
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %74 unwind label %55

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %73, i32 noundef 132)
          to label %76 unwind label %55

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull @.str.1)
          to label %.invoke81 unwind label %55

78:                                               ; preds = %67
  %79 = getelementptr inbounds i8, ptr %69, i64 8
  %80 = load i64, ptr %79, align 8, !tbaa !15
  %81 = icmp eq i64 %80, 10
  br i1 %81, label %92, label %82

82:                                               ; preds = %78
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %84 unwind label %55

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %83, i32 noundef 133)
          to label %86 unwind label %55

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull @.str.1)
          to label %.invoke81 unwind label %55

.invoke81:                                        ; preds = %53, %86, %76, %65
  %88 = phi ptr [ %66, %65 ], [ %77, %76 ], [ %87, %86 ], [ %54, %53 ]
  %89 = phi ptr [ @.str.11, %65 ], [ @.str.12, %76 ], [ @.str.13, %86 ], [ @.str.10, %53 ]
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull %89)
          to label %.invoke78 unwind label %55

.invoke78:                                        ; preds = %.invoke81
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %55

92:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %93 unwind label %107

93:                                               ; preds = %92
  %94 = invoke noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef %4, i32 noundef %5, i32 noundef 1)
          to label %95 unwind label %109

95:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  %96 = icmp sgt i32 %94, -1
  br i1 %96, label %114, label %97

97:                                               ; preds = %95
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %99 unwind label %112

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %98, i32 noundef 136)
          to label %101 unwind label %112

101:                                              ; preds = %99
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @.str.1)
          to label %103 unwind label %112

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.15)
          to label %105 unwind label %112

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %112

107:                                              ; preds = %92
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %93
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %111

111:                                              ; preds = %109, %107
  %.pn = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %199

112:                                              ; preds = %105, %103, %101, %99, %97
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %199

114:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %115 unwind label %129

115:                                              ; preds = %114
  %116 = invoke noundef i32 @_Z17get_int_parameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK15CustomNodeParamii(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef %4, i32 noundef %5, i32 noundef 0)
          to label %117 unwind label %131

117:                                              ; preds = %115
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  %118 = icmp sgt i32 %116, -1
  br i1 %118, label %136, label %119

119:                                              ; preds = %117
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %121 unwind label %134

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef 138)
          to label %123 unwind label %134

123:                                              ; preds = %121
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull @.str.1)
          to label %125 unwind label %134

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @.str.17)
          to label %127 unwind label %134

127:                                              ; preds = %125
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %134

129:                                              ; preds = %114
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %133

131:                                              ; preds = %115
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %133

133:                                              ; preds = %131, %129
  %.pn69 = phi { ptr, i32 } [ %132, %131 ], [ %130, %129 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %199

134:                                              ; preds = %136, %127, %125, %123, %121, %119
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %199

136:                                              ; preds = %117
  store i32 1, ptr %3, align 4, !tbaa !16
  %137 = invoke noundef zeroext i1 @_Z10get_bufferI16CustomNodeTensorEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef nonnull %6, ptr noundef %2, ptr noundef nonnull @.str.18, i64 noundef 48)
          to label %138 unwind label %134

138:                                              ; preds = %136
  br i1 %137, label %139, label %198

139:                                              ; preds = %138
  %140 = load ptr, ptr %2, align 8, !tbaa !18
  store ptr @.str.19, ptr %140, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store ptr null, ptr %13, align 8, !tbaa !18
  %141 = getelementptr inbounds i8, ptr %0, i64 16
  %142 = load i64, ptr %141, align 8, !tbaa !19
  %143 = invoke noundef zeroext i1 @_Z10get_bufferIfEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef nonnull %6, ptr noundef nonnull %13, ptr noundef nonnull @.str.19, i64 noundef %142)
          to label %144 unwind label %145

144:                                              ; preds = %139
  br i1 %143, label %147, label %.invoke79

145:                                              ; preds = %.invoke79, %159, %147, %139
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %199

147:                                              ; preds = %144
  %148 = load ptr, ptr %13, align 8, !tbaa !18
  %149 = getelementptr inbounds i8, ptr %0, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !20
  %151 = load i64, ptr %141, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %148, ptr align 1 %150, i64 %151, i1 false)
  %152 = load ptr, ptr %13, align 8, !tbaa !18
  %153 = getelementptr inbounds i8, ptr %140, i64 8
  store ptr %152, ptr %153, align 8, !tbaa !20
  %154 = load i64, ptr %141, align 8, !tbaa !19
  %155 = getelementptr inbounds i8, ptr %140, i64 16
  store i64 %154, ptr %155, align 8, !tbaa !19
  %156 = getelementptr inbounds i8, ptr %140, i64 24
  %157 = invoke noundef zeroext i1 @_Z10get_bufferImEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef nonnull %6, ptr noundef nonnull %156, ptr noundef nonnull @.str.20, i64 noundef 16)
          to label %158 unwind label %145

158:                                              ; preds = %147
  br i1 %157, label %164, label %159

159:                                              ; preds = %158
  %160 = load ptr, ptr %13, align 8, !tbaa !18
  %161 = invoke i32 @release(ptr noundef %160, ptr noundef nonnull %6)
          to label %.invoke79 unwind label %145

.invoke79:                                        ; preds = %159, %144
  %162 = load ptr, ptr %2, align 8, !tbaa !18
  %163 = invoke i32 @release(ptr noundef %162, ptr noundef nonnull %6)
          to label %.loopexit unwind label %145

164:                                              ; preds = %158
  %165 = load i64, ptr %58, align 8, !tbaa !13
  %166 = getelementptr inbounds i8, ptr %140, i64 32
  store i64 %165, ptr %166, align 8, !tbaa !13
  %167 = load ptr, ptr %156, align 8, !tbaa !14
  store i64 1, ptr %167, align 8, !tbaa !15
  %168 = getelementptr inbounds i8, ptr %167, i64 8
  store i64 10, ptr %168, align 8, !tbaa !15
  %169 = load i32, ptr %46, align 8, !tbaa !12
  %170 = getelementptr inbounds i8, ptr %140, i64 40
  store i32 %169, ptr %170, align 8, !tbaa !12
  %171 = load i64, ptr %155, align 8, !tbaa !19
  %.not77 = icmp eq i64 %171, 0
  br i1 %.not77, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %164
  %172 = load ptr, ptr %149, align 8, !tbaa !20
  %173 = uitofp nneg i32 %94 to float
  %174 = uitofp nneg i32 %116 to float
  %175 = load ptr, ptr %153, align 8, !tbaa !20
  %176 = add i64 %171, -1
  %177 = lshr i64 %176, 2
  %178 = add nuw nsw i64 %177, 1
  %min.iters.check = icmp ult i64 %171, 29
  %179 = ptrtoint ptr %175 to i64
  %180 = ptrtoint ptr %172 to i64
  %181 = sub i64 %179, %180
  %diff.check = icmp ult i64 %181, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %178, 9223372036854775800
  %ind.end = shl i64 %n.vec, 2
  %broadcast.splatinsert = insertelement <4 x float> poison, float %173, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert83 = insertelement <4 x float> poison, float %174, i64 0
  %broadcast.splat84 = shufflevector <4 x float> %broadcast.splatinsert83, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 2
  %182 = getelementptr inbounds i8, ptr %172, i64 %offset.idx
  %183 = getelementptr inbounds i8, ptr %182, i64 16
  %wide.load = load <4 x float>, ptr %182, align 4, !tbaa !21
  %wide.load82 = load <4 x float>, ptr %183, align 4, !tbaa !21
  %184 = fadd <4 x float> %wide.load, %broadcast.splat
  %185 = fadd <4 x float> %wide.load82, %broadcast.splat
  %186 = fsub <4 x float> %184, %broadcast.splat84
  %187 = fsub <4 x float> %185, %broadcast.splat84
  %188 = getelementptr inbounds i8, ptr %175, i64 %offset.idx
  %189 = getelementptr inbounds i8, ptr %188, i64 16
  store <4 x float> %186, ptr %188, align 4, !tbaa !21
  store <4 x float> %187, ptr %189, align 4, !tbaa !21
  %index.next = add nuw i64 %index, 8
  %190 = icmp eq i64 %index.next, %n.vec
  br i1 %190, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %178, %n.vec
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %.076.ph = phi i64 [ 0, %.lr.ph ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.076 = phi i64 [ %196, %scalar.ph ], [ %.076.ph, %scalar.ph.preheader ]
  %191 = getelementptr inbounds i8, ptr %172, i64 %.076
  %192 = load float, ptr %191, align 4, !tbaa !21
  %193 = fadd float %192, %173
  %194 = fsub float %193, %174
  %195 = getelementptr inbounds i8, ptr %175, i64 %.076
  store float %194, ptr %195, align 4, !tbaa !21
  %196 = add nuw i64 %.076, 4
  %197 = icmp ult i64 %196, %171
  br i1 %197, label %scalar.ph, label %.loopexit, !llvm.loop !27

.loopexit:                                        ; preds = %scalar.ph, %middle.block, %.invoke79, %164
  %.052 = phi i32 [ 0, %164 ], [ 1, %.invoke79 ], [ 0, %middle.block ], [ 0, %scalar.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %198

198:                                              ; preds = %.invoke78, %.invoke, %.loopexit, %127, %138, %105
  %.4 = phi i32 [ 1, %105 ], [ %.052, %.loopexit ], [ 1, %127 ], [ 1, %138 ], [ 1, %.invoke ], [ 1, %.invoke78 ]
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %200

199:                                              ; preds = %55, %133, %134, %145, %112, %111, %29
  %.pn71.pn.pn.pn = phi { ptr, i32 } [ %30, %29 ], [ %56, %55 ], [ %113, %112 ], [ %.pn, %111 ], [ %146, %145 ], [ %135, %134 ], [ %.pn69, %133 ]
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn71.pn.pn.pn

200:                                              ; preds = %198, %14
  %.5 = phi i32 [ %.4, %198 ], [ 1, %14 ]
  ret i32 %.5
}

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZN4ovms19custom_nodes_common32CustomNodeLibraryInternalManager22getInternalManagerLockEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferI16CustomNodeTensorEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferIfEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @release(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z10get_bufferImEbPN4ovms19custom_nodes_common32CustomNodeLibraryInternalManagerEPPT_PKcm(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9)) 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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 = !{!"_ZTS16CustomNodeTensor", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !11, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTS25CustomNodeTensorPrecision", !8, i64 0}
!12 = !{!6, !11, i64 40}
!13 = !{!6, !10, i64 32}
!14 = !{!6, !7, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !10, i64 16}
!20 = !{!6, !7, i64 8}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !8, i64 0}
!23 = distinct !{!23, !24, !25, !26}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !24, !25}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass