; LLVM IR from NervanaSystems/ngraph :: src/ngraph (validation_util)

; 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.ngraph::Evaluator.128" = type { %"class.std::function.129", %"class.std::map.132", %"class.std::function.129", ptr }
%"class.std::map.132" = type { %"class.std::_Rb_tree.133" }
%"class.std::_Rb_tree.133" = type { %"struct.std::_Rb_tree<ngraph::DiscreteTypeInfo, std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>, std::_Select1st<std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>>, std::less<ngraph::DiscreteTypeInfo>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::DiscreteTypeInfo, std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>, std::_Select1st<std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>>, std::less<ngraph::DiscreteTypeInfo>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::function.129" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr }
%"class.__gnu_cxx::__normal_iterator.147" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.125", i64 }
%"class.std::shared_ptr.125" = type { %"class.std::__shared_ptr.126" }
%"class.std::__shared_ptr.126" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.148" = type { %"class.std::__shared_ptr.149" }
%"class.std::__shared_ptr.149" = type { ptr, %"class.std::__shared_count" }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph14evaluate_nodesERSt3mapINS_13RawNodeOutputESt10shared_ptrINS_7runtime10HostTensorEESt4lessIS1_ESaISt4pairIKS1_S5_EEESD_RKSt6vectorINS_6OutputINS_4NodeEEESaISH_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.ngraph::Evaluator.128", align 8
  %8 = alloca %"class.std::map.132", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::function.129", align 8
  %12 = alloca %class.anon, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %16 = alloca %"class.ngraph::Output", align 8
  %17 = alloca %"class.std::shared_ptr.148", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 120, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #5
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEEC2ERKSt3mapINS_16DiscreteTypeInfoESt8functionIFSt6vectorIS4_SaIS4_EEPNS_4NodeERSB_EESt4lessIS7_ESaISt4pairIKS7_SG_EEERS6_INS_13RawNodeOutputES4_SH_ISQ_ESaISJ_IKSQ_S4_EEE(ptr noundef nonnull align 8 dereferenceable(120) %7, ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %19 unwind label %33

19:                                               ; preds = %3
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %20 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 0
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %21, ptr %20, align 8, !tbaa !5
  call void @"_ZNSt8functionIFSt6vectorISt10shared_ptrIN6ngraph7runtime10HostTensorEESaIS5_EEPNS2_4NodeERS7_EEC2IZNS2_14evaluate_nodesERSt3mapINS2_13RawNodeOutputES5_St4lessISF_ESaISt4pairIKSF_S5_EEESN_RKS0_INS2_6OutputIS8_EESaISP_EEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEE20set_univeral_handlerERKSt8functionIFSt6vectorIS4_SaIS4_EEPNS_4NodeERS9_EE(ptr noundef nonnull align 8 dereferenceable(120) %7, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %22 unwind label %37

22:                                               ; preds = %19
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %23, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %24 = load ptr, ptr %13, align 8, !tbaa !5
  %25 = call ptr @_ZNKSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  %26 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %14, i32 0, i32 0
  store ptr %25, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %27 = load ptr, ptr %13, align 8, !tbaa !5
  %28 = call ptr @_ZNKSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  %29 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %15, i32 0, i32 0
  store ptr %28, ptr %29, align 8
  br label %30

30:                                               ; preds = %44, %22
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %31, label %41, label %32

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %50

33:                                               ; preds = %3
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %9, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %10, align 4
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #5
  br label %52

37:                                               ; preds = %19
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %9, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %51

41:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %42 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEE8evaluateERKNS_6OutputINS_4NodeEEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.148") align 8 %17, ptr noundef nonnull align 8 dereferenceable(120) %7, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %43 unwind label %46

43:                                               ; preds = %41
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime10HostTensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  br label %44

44:                                               ; preds = %43
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %30

46:                                               ; preds = %41
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %9, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %10, align 4
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %51

50:                                               ; preds = %32
  call void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %7) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %7) #5
  ret void

51:                                               ; preds = %46, %37
  call void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %7) #5
  br label %52

52:                                               ; preds = %51, %33
  call void @llvm.lifetime.end.p0(i64 120, ptr %7) #5
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %9, align 8
  %55 = load i32, ptr %10, align 4
  %56 = insertvalue { ptr, i32 } poison, ptr %54, 0
  %57 = insertvalue { ptr, i32 } %56, i32 %55, 1
  resume { ptr, i32 } %57
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFSt6vectorISt10shared_ptrIN6ngraph7runtime10HostTensorEESaIS5_EEPNS2_4NodeERS7_EEC2IZNS2_14evaluate_nodesERSt3mapINS2_13RawNodeOutputES5_St4lessISF_ESaISt4pairIKSF_S5_EEESN_RKS0_INS2_6OutputIS8_EESaISP_EEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6ngraph7runtime10HostTensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #5 = { 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"}


; 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.ngraph::Evaluator.128" = type { %"class.std::function.129", %"class.std::map.132", %"class.std::function.129", ptr }
%"class.std::map.132" = type { %"class.std::_Rb_tree.133" }
%"class.std::_Rb_tree.133" = type { %"struct.std::_Rb_tree<ngraph::DiscreteTypeInfo, std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>, std::_Select1st<std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>>, std::less<ngraph::DiscreteTypeInfo>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::DiscreteTypeInfo, std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>, std::_Select1st<std::pair<const ngraph::DiscreteTypeInfo, std::function<std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> (ngraph::Node *, std::vector<std::shared_ptr<ngraph::runtime::HostTensor>> &)>>>, std::less<ngraph::DiscreteTypeInfo>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::function.129" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr }
%"class.__gnu_cxx::__normal_iterator.147" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.125", i64 }
%"class.std::shared_ptr.125" = type { %"class.std::__shared_ptr.126" }
%"class.std::__shared_ptr.126" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.148" = type { %"class.std::__shared_ptr.149" }
%"class.std::__shared_ptr.149" = type { ptr, %"class.std::__shared_count" }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph14evaluate_nodesERSt3mapINS_13RawNodeOutputESt10shared_ptrINS_7runtime10HostTensorEESt4lessIS1_ESaISt4pairIKS1_S5_EEESD_RKSt6vectorINS_6OutputINS_4NodeEEESaISH_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.ngraph::Evaluator.128", align 8
  %5 = alloca %"class.std::map.132", align 8
  %6 = alloca %"class.std::function.129", align 8
  %7 = alloca %class.anon, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %10 = alloca %"class.ngraph::Output", align 8
  %11 = alloca %"class.std::shared_ptr.148", align 8
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %5, i8 0, i64 48, i1 false)
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEEC2ERKSt3mapINS_16DiscreteTypeInfoESt8functionIFSt6vectorIS4_SaIS4_EEPNS_4NodeERSB_EESt4lessIS7_ESaISt4pairIKS7_SG_EEERS6_INS_13RawNodeOutputES4_SH_ISQ_ESaISJ_IKSQ_S4_EEE(ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %0)
          to label %12 unwind label %17

12:                                               ; preds = %3
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store ptr %1, ptr %7, align 8, !tbaa !5
  call void @"_ZNSt8functionIFSt6vectorISt10shared_ptrIN6ngraph7runtime10HostTensorEESaIS5_EEPNS2_4NodeERS7_EEC2IZNS2_14evaluate_nodesERSt3mapINS2_13RawNodeOutputES5_St4lessISF_ESaISt4pairIKSF_S5_EEESN_RKS0_INS2_6OutputIS8_EESaISP_EEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEE20set_univeral_handlerERKSt8functionIFSt6vectorIS4_SaIS4_EEPNS_4NodeERS9_EE(ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %13 unwind label %19

13:                                               ; preds = %12
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %14 = call ptr @_ZNKSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %14, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %15 = call ptr @_ZNKSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %15, ptr %9, align 8
  %16 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %16, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %22, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %4) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  ret void

17:                                               ; preds = %3
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt3mapIN6ngraph16DiscreteTypeInfoESt8functionIFSt6vectorISt10shared_ptrINS0_7runtime10HostTensorEESaIS7_EEPNS0_4NodeERS9_EESt4lessIS1_ESaISt4pairIKS1_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  br label %28

19:                                               ; preds = %12
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  br label %27

.lr.ph:                                           ; preds = %13, %22
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  %21 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  invoke void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEE8evaluateERKNS_6OutputINS_4NodeEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.148") align 8 %11, ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %22 unwind label %25

22:                                               ; preds = %.lr.ph
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime10HostTensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %24, label %.lr.ph, label %._crit_edge

25:                                               ; preds = %.lr.ph
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %27

27:                                               ; preds = %25, %19
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %20, %19 ]
  call void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120) %4) #5
  br label %28

28:                                               ; preds = %27, %17
  %.pn.pn = phi { ptr, i32 } [ %.pn, %27 ], [ %18, %17 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEE20set_univeral_handlerERKSt8functionIFSt6vectorIS4_SaIS4_EEPNS_4NodeERS9_EE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFSt6vectorISt10shared_ptrIN6ngraph7runtime10HostTensorEESaIS5_EEPNS2_4NodeERS7_EEC2IZNS2_14evaluate_nodesERSt3mapINS2_13RawNodeOutputES5_St4lessISF_ESaISt4pairIKSF_S5_EEESN_RKS0_INS2_6OutputIS8_EESaISP_EEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph9EvaluatorISt10shared_ptrINS_7runtime10HostTensorEEED2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6ngraph7runtime10HostTensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 #5 = { 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"}


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