; LLVM IR from alibaba/BladeDISC :: tao_compiler/mlir/ral/ral_context.ll (ZN3tao3ral7Context4callEPKcPPv)

; 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::function" = 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.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::__detail::_Node_iterator.73" = type { %"struct.std::__detail::_Node_iterator_base.74" }
%"struct.std::__detail::_Node_iterator_base.74" = type { ptr }
%class.anon.75 = type { i8 }
%"struct.tao::ral::internal::Voidifier" = type { i8 }
%"class.tao::ral::internal::LogMessage" = type { %"class.std::__cxx11::basic_ostringstream.base", ptr, i32, i32, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.anon.79 = type { i8 }
%"class.std::allocator" = type { i8 }
%class.anon.81 = type { i8 }
%class.anon.83 = type { i8 }
%"class.tao::ral::Context" = type { ptr, %"class.std::mutex", %"class.std::unique_ptr" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.std::pair.77" = type { ptr, %"class.std::function" }

@.str.6 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

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) #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3tao3ral17TaoRalApiRegistry6GlobalEv() #2

declare void @_ZN3tao3ral17TaoRalApiRegistry4FindERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::function") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFvPPvEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(128)) #0 align 2

declare void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tao3ral7Context11signalErrorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA22_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(22)) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA21_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(21)) #6

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3tao3ral7Context4callEPKcPPv(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.73", align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.73", align 8
  %10 = alloca %class.anon.75, align 1
  %11 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %12 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %13 = alloca i1, align 1
  %14 = alloca i1, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.anon.79, align 1
  %18 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %19 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %20 = alloca i1, align 1
  %21 = alloca i1, align 1
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::function", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %class.anon.81, align 1
  %29 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %30 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %31 = alloca i1, align 1
  %32 = alloca i1, align 1
  %33 = alloca %class.anon.83, align 1
  %34 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %35 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %36 = alloca i1, align 1
  %37 = alloca i1, align 1
  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
  %38 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %39 = getelementptr inbounds %"class.tao::ral::Context", ptr %38, i32 0, i32 2
  %40 = call noundef ptr @_ZNKSt10unique_ptrIN3tao3ral7Context4ImplESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  %41 = call noundef ptr @_ZN3tao3ral7Context4Impl8GetCacheEv(ptr noundef nonnull align 8 dereferenceable(57592) %40)
  store ptr %41, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE4findERSC_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %44 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.73", ptr %8, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.74", ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = call ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %46) #7
  %48 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.73", ptr %9, i32 0, i32 0
  %49 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.74", ptr %48, i32 0, i32 0
  store ptr %47, ptr %49, align 8
  %50 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPKcSt8functionIFvPPvEEELb0EEESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br i1 %50, label %51, label %117

51:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  %52 = call noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_0clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %10, i32 noundef 1, ptr noundef @.str.6)
  %53 = xor i1 %52, true
  %54 = xor i1 %53, true
  %55 = xor i1 %54, true
  %56 = zext i1 %55 to i64
  %57 = call i64 @llvm.expect.i64(i64 %56, i64 1)
  %58 = icmp ne i64 %57, 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  store i1 false, ptr %13, align 1
  store i1 false, ptr %14, align 1
  br i1 %58, label %59, label %60

59:                                               ; preds = %51
  br label %66

60:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 392, ptr %12) #7
  store i1 true, ptr %13, align 1
  call void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %12, ptr noundef @.str.6, i32 noundef 125, i32 noundef 0)
  store i1 true, ptr %14, align 1
  %61 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA29_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %12, ptr noundef nonnull align 1 dereferenceable(29) @.str.12)
          to label %62 unwind label %97

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %61, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %64 unwind label %97

64:                                               ; preds = %62
  invoke void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 8 dereferenceable(128) %63)
          to label %65 unwind label %97

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65, %59
  %67 = load i1, ptr %14, align 1
  br i1 %67, label %68, label %69

68:                                               ; preds = %66
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #7
  br label %69

69:                                               ; preds = %68, %66
  %70 = load i1, ptr %13, align 1
  br i1 %70, label %71, label %72

71:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 392, ptr %12) #7
  br label %72

72:                                               ; preds = %71, %69
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  %73 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcSt8functionIFvPPvEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %74 = getelementptr inbounds %"struct.std::pair.77", ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNKSt8functionIFvPPvEEclES1_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef %75)
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  %76 = call noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_1clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %17, i32 noundef 1, ptr noundef @.str.6)
  %77 = xor i1 %76, true
  %78 = xor i1 %77, true
  %79 = xor i1 %78, true
  %80 = zext i1 %79 to i64
  %81 = call i64 @llvm.expect.i64(i64 %80, i64 1)
  %82 = icmp ne i64 %81, 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i1 false, ptr %20, align 1
  store i1 false, ptr %21, align 1
  br i1 %82, label %83, label %84

83:                                               ; preds = %72
  br label %90

84:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 392, ptr %19) #7
  store i1 true, ptr %20, align 1
  call void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %19, ptr noundef @.str.6, i32 noundef 127, i32 noundef 0)
  store i1 true, ptr %21, align 1
  %85 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA28_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %19, ptr noundef nonnull align 1 dereferenceable(28) @.str.13)
          to label %86 unwind label %107

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %85, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %88 unwind label %107

88:                                               ; preds = %86
  invoke void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 8 dereferenceable(128) %87)
          to label %89 unwind label %107

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89, %83
  %91 = load i1, ptr %21, align 1
  br i1 %91, label %92, label %93

92:                                               ; preds = %90
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %19) #7
  br label %93

93:                                               ; preds = %92, %90
  %94 = load i1, ptr %20, align 1
  br i1 %94, label %95, label %96

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 392, ptr %19) #7
  br label %96

96:                                               ; preds = %95, %93
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  store i32 1, ptr %22, align 4
  br label %205

97:                                               ; preds = %64, %62, %60
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %15, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %16, align 4
  %101 = load i1, ptr %14, align 1
  br i1 %101, label %102, label %103

102:                                              ; preds = %97
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #7
  br label %103

103:                                              ; preds = %102, %97
  %104 = load i1, ptr %13, align 1
  br i1 %104, label %105, label %106

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 392, ptr %12) #7
  br label %106

106:                                              ; preds = %105, %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %255

107:                                              ; preds = %88, %86, %84
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %15, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %16, align 4
  %111 = load i1, ptr %21, align 1
  br i1 %111, label %112, label %113

112:                                              ; preds = %107
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %19) #7
  br label %113

113:                                              ; preds = %112, %107
  %114 = load i1, ptr %20, align 1
  br i1 %114, label %115, label %116

115:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 392, ptr %19) #7
  br label %116

116:                                              ; preds = %115, %113
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %255

117:                                              ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #7
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %118, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %119 unwind label %128

119:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3tao3ral17TaoRalApiRegistry6GlobalEv()
          to label %121 unwind label %132

121:                                              ; preds = %119
  invoke void @_ZN3tao3ral17TaoRalApiRegistry4FindERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::function") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %122 unwind label %132

122:                                              ; preds = %121
  %123 = call noundef zeroext i1 @_ZNKSt8functionIFvPPvEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br i1 %123, label %150, label %124

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %125 unwind label %136

125:                                              ; preds = %124
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.9)
          to label %126 unwind label %140

126:                                              ; preds = %125
  invoke void @_ZN3tao3ral7Context11signalErrorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %38, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %127 unwind label %144

127:                                              ; preds = %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  store i32 1, ptr %22, align 4
  br label %204

128:                                              ; preds = %117
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %15, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %254

132:                                              ; preds = %121, %119
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %15, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %16, align 4
  br label %253

136:                                              ; preds = %124
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %15, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %16, align 4
  br label %149

140:                                              ; preds = %125
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %15, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %16, align 4
  br label %148

144:                                              ; preds = %126
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %15, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %148

148:                                              ; preds = %144, %140
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %149

149:                                              ; preds = %148, %136
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  br label %252

150:                                              ; preds = %122
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %151, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %153 unwind label %208

153:                                              ; preds = %150
  %154 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvPPvEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %152, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %155 unwind label %208

155:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  store i1 false, ptr %31, align 1
  store i1 false, ptr %32, align 1
  %156 = invoke noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_2clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %28, i32 noundef 1, ptr noundef @.str.6)
          to label %157 unwind label %212

157:                                              ; preds = %155
  %158 = xor i1 %156, true
  %159 = xor i1 %158, true
  %160 = xor i1 %159, true
  %161 = zext i1 %160 to i64
  %162 = call i64 @llvm.expect.i64(i64 %161, i64 1)
  %163 = icmp ne i64 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %157
  br label %172

165:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 392, ptr %30) #7
  store i1 true, ptr %31, align 1
  invoke void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef @.str.6, i32 noundef 139, i32 noundef 0)
          to label %166 unwind label %216

166:                                              ; preds = %165
  store i1 true, ptr %32, align 1
  %167 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA22_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef nonnull align 1 dereferenceable(22) @.str.10)
          to label %168 unwind label %220

168:                                              ; preds = %166
  %169 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %167, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %170 unwind label %220

170:                                              ; preds = %168
  invoke void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 8 dereferenceable(128) %169)
          to label %171 unwind label %220

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171, %164
  %173 = load i1, ptr %32, align 1
  br i1 %173, label %174, label %175

174:                                              ; preds = %172
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #7
  br label %175

175:                                              ; preds = %174, %172
  %176 = load i1, ptr %31, align 1
  br i1 %176, label %177, label %178

177:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 392, ptr %30) #7
  br label %178

178:                                              ; preds = %177, %175
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNKSt8functionIFvPPvEEclES1_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %179)
          to label %180 unwind label %208

180:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  store i1 false, ptr %36, align 1
  store i1 false, ptr %37, align 1
  %181 = invoke noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_3clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %33, i32 noundef 1, ptr noundef @.str.6)
          to label %182 unwind label %232

182:                                              ; preds = %180
  %183 = xor i1 %181, true
  %184 = xor i1 %183, true
  %185 = xor i1 %184, true
  %186 = zext i1 %185 to i64
  %187 = call i64 @llvm.expect.i64(i64 %186, i64 1)
  %188 = icmp ne i64 %187, 0
  br i1 %188, label %189, label %190

189:                                              ; preds = %182
  br label %197

190:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 392, ptr %35) #7
  store i1 true, ptr %36, align 1
  invoke void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %35, ptr noundef @.str.6, i32 noundef 141, i32 noundef 0)
          to label %191 unwind label %236

191:                                              ; preds = %190
  store i1 true, ptr %37, align 1
  %192 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA21_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %35, ptr noundef nonnull align 1 dereferenceable(21) @.str.11)
          to label %193 unwind label %240

193:                                              ; preds = %191
  %194 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %192, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %195 unwind label %240

195:                                              ; preds = %193
  invoke void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %34, ptr noundef nonnull align 8 dereferenceable(128) %194)
          to label %196 unwind label %240

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196, %189
  %198 = load i1, ptr %37, align 1
  br i1 %198, label %199, label %200

199:                                              ; preds = %197
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %35) #7
  br label %200

200:                                              ; preds = %199, %197
  %201 = load i1, ptr %36, align 1
  br i1 %201, label %202, label %203

202:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 392, ptr %35) #7
  br label %203

203:                                              ; preds = %202, %200
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  store i32 0, ptr %22, align 4
  br label %204

204:                                              ; preds = %203, %127
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %205

205:                                              ; preds = %204, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  %206 = load i32, ptr %22, align 4
  switch i32 %206, label %261 [
    i32 0, label %207
    i32 1, label %207
  ]

207:                                              ; preds = %205, %205
  ret void

208:                                              ; preds = %178, %153, %150
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %15, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %16, align 4
  br label %252

212:                                              ; preds = %155
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %15, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %16, align 4
  br label %231

216:                                              ; preds = %165
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %15, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %16, align 4
  br label %227

220:                                              ; preds = %170, %168, %166
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %15, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %16, align 4
  %224 = load i1, ptr %32, align 1
  br i1 %224, label %225, label %226

225:                                              ; preds = %220
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #7
  br label %226

226:                                              ; preds = %225, %220
  br label %227

227:                                              ; preds = %226, %216
  %228 = load i1, ptr %31, align 1
  br i1 %228, label %229, label %230

229:                                              ; preds = %227
  call void @llvm.lifetime.end.p0(i64 392, ptr %30) #7
  br label %230

230:                                              ; preds = %229, %227
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  br label %231

231:                                              ; preds = %230, %212
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %252

232:                                              ; preds = %180
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %15, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %16, align 4
  br label %251

236:                                              ; preds = %190
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %15, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %16, align 4
  br label %247

240:                                              ; preds = %195, %193, %191
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %15, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %16, align 4
  %244 = load i1, ptr %37, align 1
  br i1 %244, label %245, label %246

245:                                              ; preds = %240
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %35) #7
  br label %246

246:                                              ; preds = %245, %240
  br label %247

247:                                              ; preds = %246, %236
  %248 = load i1, ptr %36, align 1
  br i1 %248, label %249, label %250

249:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 392, ptr %35) #7
  br label %250

250:                                              ; preds = %249, %247
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  br label %251

251:                                              ; preds = %250, %232
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  br label %252

252:                                              ; preds = %251, %231, %208, %149
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %253

253:                                              ; preds = %252, %132
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %254

254:                                              ; preds = %253, %128
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #7
  br label %255

255:                                              ; preds = %254, %116, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %256

256:                                              ; preds = %255
  %257 = load ptr, ptr %15, align 8
  %258 = load i32, ptr %16, align 4
  %259 = insertvalue { ptr, i32 } poison, ptr %257, 0
  %260 = insertvalue { ptr, i32 } %259, i32 %258, 1
  resume { ptr, i32 } %260

261:                                              ; preds = %205
  unreachable
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_0clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA29_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(29)) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_1clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA28_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(28)) #6

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_2clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_3clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #6 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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.std::function" = 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.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::__detail::_Node_iterator.73" = type { %"struct.std::__detail::_Node_iterator_base.74" }
%"struct.std::__detail::_Node_iterator_base.74" = type { ptr }
%class.anon.75 = type { i8 }
%"struct.tao::ral::internal::Voidifier" = type { i8 }
%"class.tao::ral::internal::LogMessage" = type { %"class.std::__cxx11::basic_ostringstream.base", ptr, i32, i32, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%class.anon.79 = type { i8 }
%"class.std::allocator" = type { i8 }
%class.anon.81 = type { i8 }
%class.anon.83 = type { i8 }

@.str.6 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

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) #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3tao3ral17TaoRalApiRegistry6GlobalEv() local_unnamed_addr #2

declare void @_ZN3tao3ral17TaoRalApiRegistry4FindERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::function") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFvPPvEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #0 align 2

declare void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tao3ral7Context11signalErrorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA22_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(22)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA21_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(21)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3tao3ral7Context4callEPKcPPv(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.73", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.73", align 8
  %7 = alloca %class.anon.75, align 1
  %8 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %9 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %10 = alloca %class.anon.79, align 1
  %11 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %12 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %class.anon.81, align 1
  %19 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %20 = alloca %"class.tao::ral::internal::LogMessage", align 8
  %21 = alloca %class.anon.83, align 1
  %22 = alloca %"struct.tao::ral::internal::Voidifier", align 1
  %23 = alloca %"class.tao::ral::internal::LogMessage", align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 48
  %25 = tail call noundef ptr @_ZNKSt10unique_ptrIN3tao3ral7Context4ImplESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %26 = tail call noundef ptr @_ZN3tao3ral7Context4Impl8GetCacheEv(ptr noundef nonnull align 8 dereferenceable(57592) %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %27 = call ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE4findERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 8 dereferenceable(8) %4)
  store ptr %27, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %28 = call ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %26) #6
  store ptr %28, ptr %6, align 8
  %29 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPKcSt8functionIFvPPvEEELb0EEESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br i1 %29, label %30, label %47

30:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  %31 = call noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_0clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef 1, ptr noundef nonnull @.str.6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  br i1 %31, label %32, label %.critedge54, !prof !9

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %9) #6
  call void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %9, ptr noundef nonnull @.str.6, i32 noundef 125, i32 noundef 0)
  %33 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA29_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %9, ptr noundef nonnull align 1 dereferenceable(29) @.str.12)
          to label %34 unwind label %43

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %33, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.critedge unwind label %43

.critedge:                                        ; preds = %34
  call void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(128) %35)
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %9) #6
  br label %.critedge54

.critedge54:                                      ; preds = %30, %.critedge
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  %36 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPKcSt8functionIFvPPvEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  call void @_ZNKSt8functionIFvPPvEEclES1_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  %38 = call noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_1clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %10, i32 noundef 1, ptr noundef nonnull @.str.6)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  br i1 %38, label %39, label %.critedge57, !prof !9

39:                                               ; preds = %.critedge54
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %12) #6
  call void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %12, ptr noundef nonnull @.str.6, i32 noundef 127, i32 noundef 0)
  %40 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA28_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %12, ptr noundef nonnull align 1 dereferenceable(28) @.str.13)
          to label %41 unwind label %45

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %40, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.critedge56 unwind label %45

.critedge56:                                      ; preds = %41
  call void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 8 dereferenceable(128) %42)
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #6
  br label %.critedge57

.critedge57:                                      ; preds = %.critedge54, %.critedge56
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %91

43:                                               ; preds = %34, %32
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #6
  call void @llvm.lifetime.end.p0(i64 392, 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
  br label %113

45:                                               ; preds = %41, %39
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %113

47:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %48, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %49 unwind label %58

49:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3tao3ral17TaoRalApiRegistry6GlobalEv()
          to label %51 unwind label %60

51:                                               ; preds = %49
  invoke void @_ZN3tao3ral17TaoRalApiRegistry4FindERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::function") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %52 unwind label %60

52:                                               ; preds = %51
  %53 = call noundef zeroext i1 @_ZNKSt8functionIFvPPvEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br i1 %53, label %70, label %54

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %55 unwind label %62

55:                                               ; preds = %54
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.9)
          to label %56 unwind label %64

56:                                               ; preds = %55
  invoke void @_ZN3tao3ral7Context11signalErrorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %57 unwind label %66

57:                                               ; preds = %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  br label %90

58:                                               ; preds = %47
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %112

60:                                               ; preds = %51, %49
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %111

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

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

66:                                               ; preds = %56
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %69

69:                                               ; preds = %68, %62
  %.pn.pn = phi { ptr, i32 } [ %.pn, %68 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  br label %110

70:                                               ; preds = %52
  %71 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt13unordered_mapIPKcSt8functionIFvPPvEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %72 unwind label %92

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvPPvEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %74 unwind label %92

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  %75 = invoke noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_2clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %18, i32 noundef 1, ptr noundef nonnull @.str.6)
          to label %76 unwind label %94

76:                                               ; preds = %74
  br i1 %75, label %77, label %.critedge60, !prof !9

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %20) #6
  invoke void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %20, ptr noundef nonnull @.str.6, i32 noundef 139, i32 noundef 0)
          to label %78 unwind label %96

78:                                               ; preds = %77
  %79 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA22_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %20, ptr noundef nonnull align 1 dereferenceable(22) @.str.10)
          to label %80 unwind label %98

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %79, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.critedge59 unwind label %98

.critedge59:                                      ; preds = %80
  call void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 8 dereferenceable(128) %81)
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %20) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %20) #6
  br label %.critedge60

.critedge60:                                      ; preds = %76, %.critedge59
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  invoke void @_ZNKSt8functionIFvPPvEEclES1_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %2)
          to label %82 unwind label %92

82:                                               ; preds = %.critedge60
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  %83 = invoke noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_3clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1) %21, i32 noundef 1, ptr noundef nonnull @.str.6)
          to label %84 unwind label %102

84:                                               ; preds = %82
  br i1 %83, label %85, label %.critedge63, !prof !9

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %23) #6
  invoke void @_ZN3tao3ral8internal10LogMessageC1EPKcii(ptr noundef nonnull align 8 dereferenceable(128) %23, ptr noundef nonnull @.str.6, i32 noundef 141, i32 noundef 0)
          to label %86 unwind label %104

86:                                               ; preds = %85
  %87 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA21_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %23, ptr noundef nonnull align 1 dereferenceable(21) @.str.11)
          to label %88 unwind label %106

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128) %87, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %.critedge62 unwind label %106

.critedge62:                                      ; preds = %88
  call void @_ZNK3tao3ral8internal9VoidifieranINS1_10LogMessageEEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 8 dereferenceable(128) %89)
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %23) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %23) #6
  br label %.critedge63

.critedge63:                                      ; preds = %84, %.critedge62
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %90

90:                                               ; preds = %.critedge63, %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %91

91:                                               ; preds = %90, %.critedge57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  ret void

92:                                               ; preds = %.critedge60, %72, %70
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %110

94:                                               ; preds = %74
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %101

96:                                               ; preds = %77
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %80, %78
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %20) #6
  br label %100

100:                                              ; preds = %96, %98
  %.pn43 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  br label %101

101:                                              ; preds = %100, %94
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %100 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  br label %110

102:                                              ; preds = %82
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %109

104:                                              ; preds = %85
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %88, %86
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3tao3ral8internal10LogMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %23) #6
  br label %108

108:                                              ; preds = %104, %106
  %.pn46 = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  br label %109

109:                                              ; preds = %108, %102
  %.pn46.pn = phi { ptr, i32 } [ %.pn46, %108 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %110

110:                                              ; preds = %109, %101, %92, %69
  %.pn46.pn.pn = phi { ptr, i32 } [ %.pn46.pn, %109 ], [ %93, %92 ], [ %.pn43.pn, %101 ], [ %.pn.pn, %69 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %111

111:                                              ; preds = %110, %60
  %.pn46.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn, %110 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %112

112:                                              ; preds = %111, %58
  %.pn46.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn46.pn.pn.pn, %111 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %113

113:                                              ; preds = %112, %45, %43
  %.pn52 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ], [ %.pn46.pn.pn.pn.pn, %112 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn52
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN3tao3ral7Context4Impl8GetCacheEv(ptr noundef nonnull align 8 dereferenceable(57592)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_0clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEPKcEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA29_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(29)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_1clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZStlsIN3tao3ral8internal10LogMessageEA28_cEOT_S6_RKT0_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(28)) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_2clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZN3tao3ral7Context4callEPKcPPvENK3$_3clEiS3_"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #5 align 2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass