; LLVM IR from NervanaSystems/ngraph :: src/ngraph/frontend/onnx_import/op (lstm)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMNgInputMap" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>, std::_Select1st<std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>>, std::less<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>, std::_Select1st<std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>>, std::less<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput>>::_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 }
%"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes" = type <{ i32, [4 x i8], i64, float, [4 x i8], %"class.std::vector.32", %"class.std::vector.37", %"class.std::vector.37", i8, [7 x i8] }>
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.42", i64 }
%"class.std::shared_ptr.42" = type { %"class.std::__shared_ptr.43" }
%"class.std::__shared_ptr.43" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator.24" = type { i8 }

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

declare i32 @__gxx_personality_v0(...)

; 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
define dso_local void @_ZN6ngraph11onnx_import2op5set_14lstmERKNS0_4NodeE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMNgInputMap", align 8
  %6 = alloca %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::initializer_list", align 8
  %20 = alloca [3 x %"class.ngraph::Output"], align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::allocator.24", align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(16) %23)
  call void @llvm.lifetime.start.p0(i64 104, ptr %6) #6
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(97) %6, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %25 unwind label %72

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %27 unwind label %76

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 5, ptr %11, align 4, !tbaa !9
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %29 unwind label %80

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 6, ptr %12, align 4, !tbaa !9
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %31 unwind label %84

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 4, ptr %13, align 4, !tbaa !9
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %33 unwind label %88

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !9
  %34 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %35 unwind label %92

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 2, ptr %15, align 4, !tbaa !9
  %36 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %37 unwind label %96

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 3, ptr %16, align 4, !tbaa !9
  %38 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %39 unwind label %100

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 7, ptr %17, align 4, !tbaa !9
  %40 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %41 unwind label %104

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 2
  %43 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 4, ptr %18, align 4, !tbaa !10
  %44 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 6
  %45 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 7
  %46 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 5
  %47 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 3
  %48 = getelementptr inbounds %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", ptr %6, i32 0, i32 8
  invoke void @_ZSt11make_sharedIN6ngraph2op2v012LSTMSequenceEJRNS0_6OutputINS0_4NodeEEES7_S7_S7_S7_S7_S7_S7_RlRNS3_9directionENS1_17LSTMWeightsFormatERSt6vectorIfSaIfEESF_RSC_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISL_EERfRbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueEST_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %49 unwind label %108

49:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %20) #6
  store ptr %20, ptr %21, align 8
  %50 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8 %20, ptr noundef nonnull align 8 dereferenceable(680) %50, i64 noundef 0)
          to label %51 unwind label %120

51:                                               ; preds = %49
  %52 = getelementptr inbounds %"class.ngraph::Output", ptr %20, i64 1
  store ptr %52, ptr %21, align 8
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8 %52, ptr noundef nonnull align 8 dereferenceable(680) %53, i64 noundef 1)
          to label %54 unwind label %120

54:                                               ; preds = %51
  %55 = getelementptr inbounds %"class.ngraph::Output", ptr %20, i64 2
  store ptr %55, ptr %21, align 8
  %56 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8 %55, ptr noundef nonnull align 8 dereferenceable(680) %56, i64 noundef 2)
          to label %57 unwind label %120

57:                                               ; preds = %54
  %58 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 0
  store ptr %20, ptr %58, align 8, !tbaa !12
  %59 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 1
  store i64 3, ptr %59, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZNSaIN6ngraph6OutputINS_4NodeEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  %60 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8
  %62 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %63 = load i64, ptr %62, align 8
  invoke void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EEC2ESt16initializer_listIS3_ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %61, i64 %63, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %64 unwind label %131

64:                                               ; preds = %57
  call void @_ZNSt15__new_allocatorIN6ngraph6OutputINS0_4NodeEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  %65 = getelementptr inbounds [3 x %"class.ngraph::Output"], ptr %20, i32 0, i32 0
  %66 = getelementptr inbounds %"class.ngraph::Output", ptr %65, i64 3
  br label %67

67:                                               ; preds = %67, %64
  %68 = phi ptr [ %66, %64 ], [ %69, %67 ]
  %69 = getelementptr inbounds %"class.ngraph::Output", ptr %68, i64 -1
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #6
  %70 = icmp eq ptr %69, %65
  br i1 %70, label %71, label %67

71:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97) %6) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr %6) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  ret void

72:                                               ; preds = %2
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %144

76:                                               ; preds = %25
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  br label %119

80:                                               ; preds = %27
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  br label %118

84:                                               ; preds = %29
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %117

88:                                               ; preds = %31
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %116

92:                                               ; preds = %33
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  br label %115

96:                                               ; preds = %35
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %114

100:                                              ; preds = %37
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  br label %113

104:                                              ; preds = %39
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  br label %112

108:                                              ; preds = %41
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %7, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %112

112:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %113

113:                                              ; preds = %112, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %114

114:                                              ; preds = %113, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %115

115:                                              ; preds = %114, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %116

116:                                              ; preds = %115, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %117

117:                                              ; preds = %116, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %118

118:                                              ; preds = %117, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %119

119:                                              ; preds = %118, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %143

120:                                              ; preds = %54, %51, %49
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  %124 = load ptr, ptr %21, align 8
  %125 = icmp eq ptr %20, %124
  br i1 %125, label %130, label %126

126:                                              ; preds = %126, %120
  %127 = phi ptr [ %124, %120 ], [ %128, %126 ]
  %128 = getelementptr inbounds %"class.ngraph::Output", ptr %127, i64 -1
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #6
  %129 = icmp eq ptr %128, %20
  br i1 %129, label %130, label %126

130:                                              ; preds = %126, %120
  br label %142

131:                                              ; preds = %57
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIN6ngraph6OutputINS0_4NodeEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  %135 = getelementptr inbounds [3 x %"class.ngraph::Output"], ptr %20, i32 0, i32 0
  %136 = getelementptr inbounds %"class.ngraph::Output", ptr %135, i64 3
  br label %137

137:                                              ; preds = %137, %131
  %138 = phi ptr [ %136, %131 ], [ %139, %137 ]
  %139 = getelementptr inbounds %"class.ngraph::Output", ptr %138, i64 -1
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %139) #6
  %140 = icmp eq ptr %139, %135
  br i1 %140, label %141, label %137

141:                                              ; preds = %137
  br label %142

142:                                              ; preds = %141, %130
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %143

143:                                              ; preds = %142, %119
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97) %6) #6
  br label %144

144:                                              ; preds = %143, %72
  call void @llvm.lifetime.end.p0(i64 104, ptr %6) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  br label %145

145:                                              ; preds = %144
  %146 = load ptr, ptr %7, align 8
  %147 = load i32, ptr %8, align 4
  %148 = insertvalue { ptr, i32 } poison, ptr %146, 0
  %149 = insertvalue { ptr, i32 } %148, i32 %147, 1
  resume { ptr, i32 } %149
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(97), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN6ngraph2op2v012LSTMSequenceEJRNS0_6OutputINS0_4NodeEEES7_S7_S7_S7_S7_S7_S7_RlRNS3_9directionENS1_17LSTMWeightsFormatERSt6vectorIfSaIfEESF_RSC_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISL_EERfRbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueEST_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

declare void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97)) unnamed_addr #5 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN6ngraph2op17LSTMWeightsFormatE", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listIN6ngraph6OutputINS0_4NodeEEEE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMNgInputMap" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>, std::_Select1st<std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>>, std::less<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>, std::_Select1st<std::pair<const ngraph::onnx_import::op::(anonymous namespace)::LSTMInput, ngraph::Output<Node>>>, std::less<ngraph::onnx_import::op::(anonymous namespace)::LSTMInput>>::_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 }
%"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes" = type <{ i32, [4 x i8], i64, float, [4 x i8], %"class.std::vector.32", %"class.std::vector.37", %"class.std::vector.37", i8, [7 x i8] }>
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.42", i64 }
%"class.std::shared_ptr.42" = type { %"class.std::__shared_ptr.43" }
%"class.std::__shared_ptr.43" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator.24" = type { i8 }

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

declare i32 @__gxx_personality_v0(...)

; 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
define dso_local void @_ZN6ngraph11onnx_import2op5set_14lstmERKNS0_4NodeE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMNgInputMap", align 8
  %4 = alloca %"struct.ngraph::onnx_import::op::(anonymous namespace)::LSTMAttributes", align 8
  %5 = alloca %"class.std::shared_ptr", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [3 x %"class.ngraph::Output"], align 8
  %16 = alloca %"class.std::allocator.24", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %4) #6
  invoke void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(97) %4, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %17 unwind label %53

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  %18 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %19 unwind label %55

19:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 5, ptr %7, align 4, !tbaa !5
  %20 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %21 unwind label %57

21:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 6, ptr %8, align 4, !tbaa !5
  %22 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %23 unwind label %59

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 4, ptr %9, align 4, !tbaa !5
  %24 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %25 unwind label %61

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 1, ptr %10, align 4, !tbaa !5
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %27 unwind label %63

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store i32 2, ptr %11, align 4, !tbaa !5
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %29 unwind label %65

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store i32 3, ptr %12, align 4, !tbaa !5
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %31 unwind label %67

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store i32 7, ptr %13, align 4, !tbaa !5
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %33 unwind label %69

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %4, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store i32 4, ptr %14, align 4, !tbaa !8
  %35 = getelementptr inbounds i8, ptr %4, i64 48
  %36 = getelementptr inbounds i8, ptr %4, i64 72
  %37 = getelementptr inbounds i8, ptr %4, i64 24
  %38 = getelementptr inbounds i8, ptr %4, i64 16
  %39 = getelementptr inbounds i8, ptr %4, i64 96
  invoke void @_ZSt11make_sharedIN6ngraph2op2v012LSTMSequenceEJRNS0_6OutputINS0_4NodeEEES7_S7_S7_S7_S7_S7_S7_RlRNS3_9directionENS1_17LSTMWeightsFormatERSt6vectorIfSaIfEESF_RSC_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISL_EERfRbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueEST_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %40 unwind label %71

40:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %15) #6
  %41 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::Output") align 8 %15, ptr noundef nonnull align 8 dereferenceable(680) %41, i64 noundef 0)
          to label %43 unwind label %.thread

.thread:                                          ; preds = %40
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %15, i64 24
  %45 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::Output") align 8 %44, ptr noundef nonnull align 8 dereferenceable(680) %45, i64 noundef 1)
          to label %46 unwind label %81

46:                                               ; preds = %43
  %47 = getelementptr inbounds i8, ptr %15, i64 48
  %48 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::Output") align 8 %47, ptr noundef nonnull align 8 dereferenceable(680) %48, i64 noundef 2)
          to label %49 unwind label %81

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIN6ngraph6OutputINS_4NodeEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EEC2ESt16initializer_listIS3_ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nonnull %15, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %50 unwind label %.loopexit.loopexit

50:                                               ; preds = %49
  call void @_ZNSt15__new_allocatorIN6ngraph6OutputINS0_4NodeEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %51 = getelementptr inbounds i8, ptr %15, i64 48
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %52 = getelementptr inbounds i8, ptr %15, i64 24
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97) %4) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %4) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  ret void

53:                                               ; preds = %2
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %91

55:                                               ; preds = %17
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %80

57:                                               ; preds = %19
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %79

59:                                               ; preds = %21
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %78

61:                                               ; preds = %23
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %77

63:                                               ; preds = %25
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %76

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

67:                                               ; preds = %29
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %74

69:                                               ; preds = %31
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %33
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  br label %73

73:                                               ; preds = %71, %69
  %.pn = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %74

74:                                               ; preds = %73, %67
  %.pn.pn = phi { ptr, i32 } [ %.pn, %73 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br label %75

75:                                               ; preds = %74, %65
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %74 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br label %76

76:                                               ; preds = %75, %63
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %75 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %77

77:                                               ; preds = %76, %61
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %76 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br label %78

78:                                               ; preds = %77, %59
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %77 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %79

79:                                               ; preds = %78, %57
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %78 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %80

80:                                               ; preds = %79, %55
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %79 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %90

81:                                               ; preds = %46, %43
  %.0 = phi ptr [ %47, %46 ], [ %44, %43 ]
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %81, %83
  %84 = phi ptr [ %.0, %81 ], [ %85, %83 ]
  %85 = getelementptr inbounds i8, ptr %84, i64 -24
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #6
  %86 = icmp eq ptr %85, %15
  br i1 %86, label %.loopexit, label %83

.loopexit.loopexit:                               ; preds = %49
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN6ngraph6OutputINS0_4NodeEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %88 = getelementptr inbounds i8, ptr %15, i64 48
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %88) #6
  %89 = getelementptr inbounds i8, ptr %15, i64 24
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %89) #6
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %.loopexit

.loopexit:                                        ; preds = %83, %.loopexit.loopexit, %.thread
  %.pn25 = phi { ptr, i32 } [ %42, %.thread ], [ %87, %.loopexit.loopexit ], [ %82, %83 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op2v012LSTMSequenceELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %90

90:                                               ; preds = %.loopexit, %80
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %.loopexit ], [ %.pn.pn.pn.pn.pn.pn.pn.pn, %80 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97) %4) #6
  br label %91

91:                                               ; preds = %90, %53
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %90 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %4) #6
  call void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn25.pn.pn
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMapC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesC2ERKNS0_4NodeE(ptr noundef nonnull align 8 dereferenceable(97), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN6ngraph2op2v012LSTMSequenceEJRNS0_6OutputINS0_4NodeEEES7_S7_S7_S7_S7_S7_S7_RlRNS3_9directionENS1_17LSTMWeightsFormatERSt6vectorIfSaIfEESF_RSC_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISL_EERfRbEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueEST_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMNgInputMap2atERKNS2_9LSTMInputE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

declare void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN6ngraph11onnx_import2op12_GLOBAL__N_114LSTMAttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(97)) unnamed_addr #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"_ZTSN6ngraph2op17LSTMWeightsFormatE", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass