; LLVM IR from NervanaSystems/ngraph :: src/ngraph/op/util (activation_functions)

; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.ngraph::op::util::ActivationFunction" = type { ptr, float, float }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.ngraph::op::util::ActivationFunction" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::hash" = type { i8 }
%"struct.std::equal_to" = type { i8 }
%"class.std::allocator.5" = type { i8 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr", i64 }
%"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 }

@__dso_handle = external hidden global i8
@_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 = external hidden global %"class.std::unordered_map", align 8
@_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZTIN6ngraph2op4util5error25UnknownActivationFunctionE = external dso_local constant { ptr, ptr, ptr }, align 8

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

; Function Attrs: mustprogress uwtable
define dso_local { ptr, <2 x float> } @_ZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %0) #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::initializer_list", align 8
  %5 = alloca [4 x %"struct.std::pair"], align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %11 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %12 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %13 = alloca i1, align 1
  %14 = alloca %"struct.std::hash", align 1
  %15 = alloca %"struct.std::equal_to", align 1
  %16 = alloca %"class.std::allocator.5", align 1
  %17 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %19 = load atomic i8, ptr @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 acquire, align 8
  %20 = icmp eq i8 %19, 0
  br i1 %20, label %21, label %51, !prof !9

21:                                               ; preds = %1
  %22 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #0
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %51

24:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 192, ptr %5) #0
  store i1 true, ptr %13, align 1
  store ptr %5, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #0
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @_ZL7sigmoidRKN6ngraph6OutputINS_4NodeEEEff)
          to label %25 unwind label %64

25:                                               ; preds = %24
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA8_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 1 dereferenceable(8) @.str.1, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %26 unwind label %64

26:                                               ; preds = %25
  %27 = getelementptr inbounds %"struct.std::pair", ptr %5, i64 1
  store ptr %27, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #0
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @_ZL4tanhRKN6ngraph6OutputINS_4NodeEEEff)
          to label %28 unwind label %68

28:                                               ; preds = %26
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA5_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 1 dereferenceable(5) @.str.2, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %29 unwind label %68

29:                                               ; preds = %28
  %30 = getelementptr inbounds %"struct.std::pair", ptr %5, i64 2
  store ptr %30, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #0
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @_ZL4reluRKN6ngraph6OutputINS_4NodeEEEff)
          to label %31 unwind label %72

31:                                               ; preds = %29
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA5_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 1 dereferenceable(5) @.str.3, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %32 unwind label %72

32:                                               ; preds = %31
  %33 = getelementptr inbounds %"struct.std::pair", ptr %5, i64 3
  store ptr %33, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #0
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffEff(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @_ZL11hardsigmoidRKN6ngraph6OutputINS_4NodeEEEff, float noundef 0x3FC99999A0000000, float noundef 5.000000e-01)
          to label %34 unwind label %76

34:                                               ; preds = %32
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA12_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 1 dereferenceable(12) @.str.4, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %35 unwind label %76

35:                                               ; preds = %34
  store i1 false, ptr %13, align 1
  %36 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 0
  store ptr %5, ptr %36, align 8, !tbaa !10
  %37 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 1
  store i64 4, ptr %37, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #0
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  %38 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8
  %40 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %41 = load i64, ptr %40, align 8
  invoke void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEEC2ESt16initializer_listISG_EmRKSB_RKSD_RKSH_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr %39, i64 %41, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %42 unwind label %80

42:                                               ; preds = %35
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #0
  %43 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %5, i32 0, i32 0
  %44 = getelementptr inbounds %"struct.std::pair", ptr %43, i64 4
  br label %45

45:                                               ; preds = %45, %42
  %46 = phi ptr [ %44, %42 ], [ %47, %45 ]
  %47 = getelementptr inbounds %"struct.std::pair", ptr %46, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #0
  %48 = icmp eq ptr %47, %43
  br i1 %48, label %49, label %45

49:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #0
  call void @llvm.lifetime.end.p0(i64 192, ptr %5) #0
  %50 = call i32 @__cxa_atexit(ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEED2Ev, ptr @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #0
  br label %51

51:                                               ; preds = %49, %21, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #0
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %52)
  %54 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %17, i32 0, i32 0
  %55 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %54, i32 0, i32 0
  store ptr %53, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #0
  %56 = call ptr @_ZSt3endISt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SA_EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11)
  %57 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %18, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %57, i32 0, i32 0
  store ptr %56, ptr %58, align 8
  %59 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  br i1 %59, label %60, label %109

60:                                               ; preds = %51
  %61 = call ptr @__cxa_allocate_exception(i64 16) #0
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN6ngraph2op4util5error25UnknownActivationFunctionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %63 unwind label %105

63:                                               ; preds = %60
  call void @__cxa_throw(ptr %61, ptr @_ZTIN6ngraph2op4util5error25UnknownActivationFunctionE, ptr @_ZNSt13runtime_errorD2Ev) #7
  unreachable

64:                                               ; preds = %25, %24
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %8, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %9, align 4
  br label %94

68:                                               ; preds = %28, %26
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  br label %93

72:                                               ; preds = %31, %29
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  br label %92

76:                                               ; preds = %34, %32
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %8, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %9, align 4
  br label %91

80:                                               ; preds = %35
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #0
  %84 = getelementptr inbounds [4 x %"struct.std::pair"], ptr %5, i32 0, i32 0
  %85 = getelementptr inbounds %"struct.std::pair", ptr %84, i64 4
  br label %86

86:                                               ; preds = %86, %80
  %87 = phi ptr [ %85, %80 ], [ %88, %86 ]
  %88 = getelementptr inbounds %"struct.std::pair", ptr %87, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #0
  %89 = icmp eq ptr %88, %84
  br i1 %89, label %90, label %86

90:                                               ; preds = %86
  br label %91

91:                                               ; preds = %90, %76
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #0
  br label %92

92:                                               ; preds = %91, %72
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #0
  br label %93

93:                                               ; preds = %92, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #0
  br label %94

94:                                               ; preds = %93, %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #0
  %95 = load i1, ptr %13, align 1
  br i1 %95, label %96, label %104

96:                                               ; preds = %94
  %97 = load ptr, ptr %6, align 8
  %98 = icmp eq ptr %5, %97
  br i1 %98, label %103, label %99

99:                                               ; preds = %99, %96
  %100 = phi ptr [ %97, %96 ], [ %101, %99 ]
  %101 = getelementptr inbounds %"struct.std::pair", ptr %100, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %101) #0
  %102 = icmp eq ptr %101, %5
  br i1 %102, label %103, label %99

103:                                              ; preds = %99, %96
  br label %104

104:                                              ; preds = %103, %94
  call void @llvm.lifetime.end.p0(i64 192, ptr %5) #0
  call void @__cxa_guard_abort(ptr @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #0
  br label %113

105:                                              ; preds = %60
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  call void @__cxa_free_exception(ptr %61) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #0
  br label %113

109:                                              ; preds = %51
  %110 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #0
  %111 = getelementptr inbounds %"struct.std::pair", ptr %110, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 %111, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #0
  %112 = load { ptr, <2 x float> }, ptr %2, align 8
  ret { ptr, <2 x float> } %112

113:                                              ; preds = %105, %104
  %114 = load ptr, ptr %8, align 8
  %115 = load i32, ptr %9, align 4
  %116 = insertvalue { ptr, i32 } poison, ptr %114, 0
  %117 = insertvalue { ptr, i32 } %116, i32 %115, 1
  resume { ptr, i32 } %117
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL7sigmoidRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL4tanhRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL4reluRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11hardsigmoidRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SA_EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56)) #4

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

declare void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffEff(ptr, ptr, float, float)

declare void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr, ptr)

attributes #0 = { nounwind }
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 nosync nounwind willreturn memory(argmem: readwrite) }
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 "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 = { noreturn }

!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 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !6, i64 0}
!11 = !{!"_ZTSSt16initializer_listISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEE", !6, i64 0, !12, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{i64 0, i64 8, !5, i64 8, i64 4, !15, i64 12, i64 4, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}


; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.ngraph::op::util::ActivationFunction" }
%"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.ngraph::op::util::ActivationFunction" = type { ptr, float, float }
%"struct.std::hash" = type { i8 }
%"struct.std::equal_to" = type { i8 }
%"class.std::allocator.5" = type { i8 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr", i64 }
%"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 }

@__dso_handle = external hidden global i8
@_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 = external hidden global %"class.std::unordered_map", align 8
@_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZTIN6ngraph2op4util5error25UnknownActivationFunctionE = external dso_local constant { ptr, ptr, ptr }, align 8

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local { ptr, <2 x float> } @_ZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %0) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca [4 x %"struct.std::pair"], align 8
  %3 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %4 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %5 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %6 = alloca %"class.ngraph::op::util::ActivationFunction", align 8
  %7 = alloca %"struct.std::hash", align 1
  %8 = alloca %"struct.std::equal_to", align 1
  %9 = alloca %"class.std::allocator.5", align 1
  %10 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %12 = load atomic i8, ptr @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11 acquire, align 8
  %13 = icmp eq i8 %12, 0
  br i1 %13, label %14, label %33, !prof !5

14:                                               ; preds = %1
  %15 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #6
  %.not21 = icmp eq i32 %15, 0
  br i1 %.not21, label %33, label %16

16:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull @_ZL7sigmoidRKN6ngraph6OutputINS_4NodeEEEff)
          to label %17 unwind label %.thread

17:                                               ; preds = %16
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA8_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 1 dereferenceable(8) @.str.1, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %18 unwind label %.thread

18:                                               ; preds = %17
  %19 = getelementptr inbounds i8, ptr %2, i64 48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @_ZL4tanhRKN6ngraph6OutputINS_4NodeEEEff)
          to label %20 unwind label %.thread34

20:                                               ; preds = %18
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA5_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 1 dereferenceable(5) @.str.2, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %21 unwind label %.thread34

21:                                               ; preds = %20
  %22 = getelementptr inbounds i8, ptr %2, i64 96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull @_ZL4reluRKN6ngraph6OutputINS_4NodeEEEff)
          to label %23 unwind label %.thread40

23:                                               ; preds = %21
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA5_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 1 dereferenceable(5) @.str.3, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %24 unwind label %.thread40

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %2, i64 144
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  invoke void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffEff(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull @_ZL11hardsigmoidRKN6ngraph6OutputINS_4NodeEEEff, float noundef 0x3FC99999A0000000, float noundef 5.000000e-01)
          to label %26 unwind label %47

26:                                               ; preds = %24
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEC2IRA12_KcSA_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISH_SI_EEEbE4typeELb1EEEOSH_OSI_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 1 dereferenceable(12) @.str.4, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %27 unwind label %47

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEEC2ESt16initializer_listISG_EmRKSB_RKSD_RKSH_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr nonnull %2, i64 4, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %28 unwind label %.thread44

28:                                               ; preds = %27
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  %29 = getelementptr inbounds i8, ptr %2, i64 144
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  %30 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #6
  %31 = getelementptr inbounds i8, ptr %2, i64 48
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #6
  %32 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEED2Ev, ptr nonnull @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr nonnull @__dso_handle) #6
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #6
  br label %33

33:                                               ; preds = %28, %14, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %34 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %34, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %35 = call ptr @_ZSt3endISt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SA_EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11)
  store ptr %35, ptr %11, align 8
  %36 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br i1 %36, label %37, label %54

37:                                               ; preds = %33
  %38 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN6ngraph2op4util5error25UnknownActivationFunctionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %39 unwind label %52

39:                                               ; preds = %37
  call void @__cxa_throw(ptr nonnull %38, ptr nonnull @_ZTIN6ngraph2op4util5error25UnknownActivationFunctionE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #7
  unreachable

.thread:                                          ; preds = %16, %17
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.loopexit

.thread34:                                        ; preds = %18, %20
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.preheader.preheader

.thread40:                                        ; preds = %21, %23
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.preheader.preheader

.thread44:                                        ; preds = %27
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  %44 = getelementptr inbounds i8, ptr %2, i64 144
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #6
  %45 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  %46 = getelementptr inbounds i8, ptr %2, i64 48
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #6
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.loopexit

47:                                               ; preds = %24, %26
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %47, %.thread40, %.thread34
  %.pn.pn.pn39 = phi { ptr, i32 } [ %41, %.thread34 ], [ %48, %47 ], [ %42, %.thread40 ]
  %.11838 = phi ptr [ %19, %.thread34 ], [ %25, %47 ], [ %22, %.thread40 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %49 = phi ptr [ %50, %.preheader ], [ %.11838, %.preheader.preheader ]
  %50 = getelementptr inbounds i8, ptr %49, i64 -48
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #6
  %51 = icmp eq ptr %50, %2
  br i1 %51, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread44, %.thread
  %.pn.pn.pn.pn32 = phi { ptr, i32 } [ %40, %.thread ], [ %43, %.thread44 ], [ %.pn.pn.pn39, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #6
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN6ngraph2op4util27get_activation_func_by_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8func_mapB5cxx11) #6
  br label %57

52:                                               ; preds = %37
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %57

54:                                               ; preds = %33
  %55 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %56 = getelementptr inbounds i8, ptr %55, i64 32
  %.sroa.06.0.copyload = load ptr, ptr %56, align 8, !tbaa !6
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %55, i64 40
  %.sroa.27.0.copyload = load <2 x float>, ptr %.sroa.27.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %.fca.0.insert = insertvalue { ptr, <2 x float> } poison, ptr %.sroa.06.0.copyload, 0
  %.fca.1.insert = insertvalue { ptr, <2 x float> } %.fca.0.insert, <2 x float> %.sroa.27.0.copyload, 1
  ret { ptr, <2 x float> } %.fca.1.insert

57:                                               ; preds = %52, %.loopexit
  %.pn26 = phi { ptr, i32 } [ %53, %52 ], [ %.pn.pn.pn.pn32, %.loopexit ]
  resume { ptr, i32 } %.pn26
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) 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) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL7sigmoidRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL4tanhRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL4reluRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11hardsigmoidRKN6ngraph6OutputINS_4NodeEEEff(ptr dead_on_unwind noalias writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #1

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN6ngraph2op4util18ActivationFunctionESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SA_EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffEff(ptr, ptr, float, float) local_unnamed_addr

declare void @_ZN6ngraph2op4util18ActivationFunctionC1EPFNS_6OutputINS_4NodeEEERKS5_ffE(ptr, ptr) local_unnamed_addr

attributes #0 = { nofree nounwind }
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 nosync nounwind willreturn memory(argmem: readwrite) }
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 "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 }
attributes #7 = { noreturn }

!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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}


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