; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/utils/sc_report/cached (cached)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.sc_core::sc_bind_proxy" = type { ptr, ptr }
%"class.sc_core::sc_signal" = type { %"class.sc_core::sc_signal_inout_if", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, i8, i64, ptr, i8, ptr, ptr }
%"class.sc_core::sc_signal_inout_if" = type { %"class.sc_core::sc_signal_in_if", %"class.sc_core::sc_signal_write_if" }
%"class.sc_core::sc_signal_in_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_interface" = type { ptr }
%"class.sc_core::sc_signal_write_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_prim_channel" = type { %"class.sc_core::sc_object", ptr, ptr }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.sc_core::sc_writer_policy_check" = type { %"struct.sc_core::sc_writer_policy_check_port", %"struct.sc_core::sc_writer_policy_check_write" }
%"struct.sc_core::sc_writer_policy_check_port" = type { ptr }
%"struct.sc_core::sc_writer_policy_check_write" = type { i8, ptr }
%"class.sc_core::sc_signal.8" = type { %"class.sc_core::sc_signal_inout_if.9", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, ptr, i64, ptr }
%"class.sc_core::sc_signal_inout_if.9" = type { %"class.sc_core::sc_signal_in_if.10", %"class.sc_core::sc_signal_write_if.11" }
%"class.sc_core::sc_signal_in_if.10" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.11" = type { %"class.sc_core::sc_interface" }
%struct.M = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", %"class.sc_core::sc_in.17", %"class.sc_core::sc_in", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event" }
%"class.sc_core::sc_module" = type { %"class.sc_core::sc_object", %"class.sc_core::sc_process_host", %"class.sc_core::sc_sensitive", %"class.sc_core::sc_sensitive_pos", %"class.sc_core::sc_sensitive_neg", i8, ptr, i32, ptr, ptr }
%"class.sc_core::sc_process_host" = type { ptr }
%"class.sc_core::sc_sensitive" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_pos" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_neg" = type { ptr, i32, ptr }
%"class.sc_core::sc_in.17" = type { %"class.sc_core::sc_port.18", ptr, ptr }
%"class.sc_core::sc_port.18" = type { %"class.sc_core::sc_port_b.19" }
%"class.sc_core::sc_port_b.19" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.20" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_in" = type { %"class.sc_core::sc_port", ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.25", %"class.std::vector.25", %"class.std::vector.30", %"class.std::vector.30" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN7sc_core17SC_BIND_PROXY_NILE = external global %"struct.sc_core::sc_bind_proxy", align 8
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18dump_cached_reportPKc(ptr noundef) #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @sc_main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.sc_core::sc_signal", align 8
  %6 = alloca %"class.sc_core::sc_signal.8", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.sc_core::sc_signal", align 8
  %10 = alloca %struct.M, align 8
  %11 = alloca %"class.sc_core::sc_module_name", align 8
  %12 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %13 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %14 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  %24 = call noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef @.str.11, i32 noundef 24)
  %25 = call noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef @.str.12, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 224, ptr %5) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5)
  call void @llvm.lifetime.start.p0(i64 200, ptr %6) #7
  invoke void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(200) %6)
          to label %26 unwind label %136

26:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 224, ptr %9) #7
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9)
          to label %27 unwind label %140

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1408, ptr %10) #7
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef @.str.13)
          to label %28 unwind label %144

28:                                               ; preds = %27
  invoke void @_ZN1MC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(1408) %10, ptr noundef %11)
          to label %29 unwind label %148

29:                                               ; preds = %28
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %30 = load ptr, ptr %5, align 8, !tbaa !11
  %31 = getelementptr i8, ptr %30, i64 -48
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %5, i64 %32
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %34 unwind label %152

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %35 = load ptr, ptr %6, align 8, !tbaa !11
  %36 = getelementptr i8, ptr %35, i64 -48
  %37 = load i64, ptr %36, align 8
  %38 = getelementptr inbounds i8, ptr %6, i64 %37
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %39 unwind label %156

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %40 = load ptr, ptr %9, align 8, !tbaa !11
  %41 = getelementptr i8, ptr %40, i64 -48
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %9, i64 %42
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %44 unwind label %160

44:                                               ; preds = %39
  invoke void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232) %10, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE)
          to label %45 unwind label %160

45:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !13
  %46 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %47 unwind label %166

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr @.str.14, ptr %16, align 8, !tbaa !9
  %48 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %6, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %49 unwind label %170

49:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 0, ptr %17, align 1, !tbaa !13
  %50 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %9, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %51 unwind label %174

51:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %52 unwind label %178

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

54:                                               ; preds = %52
  %55 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %56 unwind label %178

56:                                               ; preds = %54
  %57 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 6
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %58 unwind label %178

58:                                               ; preds = %56
  %59 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 5
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %59)
          to label %60 unwind label %178

60:                                               ; preds = %58
  %61 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 7
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %61)
          to label %62 unwind label %178

62:                                               ; preds = %60
  invoke void @_Z18dump_cached_reportPKc(ptr noundef @.str.16)
          to label %63 unwind label %178

63:                                               ; preds = %62
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %64 unwind label %178

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i8 1, ptr %18, align 1, !tbaa !13
  %65 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %66 unwind label %182

66:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store ptr @.str.11, ptr %19, align 8, !tbaa !9
  %67 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %6, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %68 unwind label %186

68:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %69 unwind label %178

69:                                               ; preds = %68
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
          to label %71 unwind label %178

71:                                               ; preds = %69
  %72 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %72)
          to label %73 unwind label %178

73:                                               ; preds = %71
  %74 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 6
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %74)
          to label %75 unwind label %178

75:                                               ; preds = %73
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %76 unwind label %178

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200) %6)
          to label %78 unwind label %178

78:                                               ; preds = %76
  %79 = load ptr, ptr %77, align 8, !tbaa !9
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 0, ptr noundef %79, ptr noundef @.str.18, ptr noundef @.str.19, i32 noundef 300)
          to label %80 unwind label %178

80:                                               ; preds = %78
  %81 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 5
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %81)
          to label %82 unwind label %178

82:                                               ; preds = %80
  %83 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 7
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %83)
          to label %84 unwind label %178

84:                                               ; preds = %82
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %85 unwind label %178

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

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  store i8 1, ptr %20, align 1, !tbaa !13
  %88 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %89 unwind label %190

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store ptr @.str.12, ptr %21, align 8, !tbaa !9
  %90 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %6, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %91 unwind label %194

91:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  store i8 1, ptr %22, align 1, !tbaa !13
  %92 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %9, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %93 unwind label %198

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %94 unwind label %178

94:                                               ; preds = %93
  %95 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %95)
          to label %96 unwind label %178

96:                                               ; preds = %94
  %97 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 6
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %97)
          to label %98 unwind label %178

98:                                               ; preds = %96
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %99 unwind label %178

99:                                               ; preds = %98
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200) %6)
          to label %101 unwind label %178

101:                                              ; preds = %99
  %102 = load ptr, ptr %100, align 8, !tbaa !9
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 0, ptr noundef %102, ptr noundef @.str.21, ptr noundef @.str.19, i32 noundef 310)
          to label %103 unwind label %178

103:                                              ; preds = %101
  %104 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 5
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %104)
          to label %105 unwind label %178

105:                                              ; preds = %103
  %106 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 7
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %106)
          to label %107 unwind label %178

107:                                              ; preds = %105
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %108 unwind label %178

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  store i8 0, ptr %23, align 1, !tbaa !13
  %109 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %110 unwind label %202

110:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %111 unwind label %178

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

113:                                              ; preds = %111
  %114 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %114)
          to label %115 unwind label %178

115:                                              ; preds = %113
  %116 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 5
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %116)
          to label %117 unwind label %178

117:                                              ; preds = %115
  %118 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 6
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %118)
          to label %119 unwind label %178

119:                                              ; preds = %117
  %120 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 7
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %120)
          to label %121 unwind label %178

121:                                              ; preds = %119
  invoke void @_Z18dump_cached_reportPKc(ptr noundef @.str.16)
          to label %122 unwind label %178

122:                                              ; preds = %121
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %123 unwind label %178

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

125:                                              ; preds = %123
  %126 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 4
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %126)
          to label %127 unwind label %178

127:                                              ; preds = %125
  %128 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 5
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %128)
          to label %129 unwind label %178

129:                                              ; preds = %127
  %130 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 6
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %130)
          to label %131 unwind label %178

131:                                              ; preds = %129
  %132 = getelementptr inbounds %struct.M, ptr %10, i32 0, i32 7
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %132)
          to label %133 unwind label %178

133:                                              ; preds = %131
  invoke void @_Z18dump_cached_reportPKc(ptr noundef @.str.16)
          to label %134 unwind label %178

134:                                              ; preds = %133
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %135 unwind label %178

135:                                              ; preds = %134
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408) %10) #7
  call void @llvm.lifetime.end.p0(i64 1408, ptr %10) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %9) #7
  call void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(200) %6) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr %6) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %5) #7
  ret i32 0

136:                                              ; preds = %2
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %7, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %8, align 4
  br label %209

140:                                              ; preds = %26
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %7, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %8, align 4
  br label %208

144:                                              ; preds = %27
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %207

148:                                              ; preds = %28
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #7
  br label %207

152:                                              ; preds = %29
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %165

156:                                              ; preds = %34
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  br label %164

160:                                              ; preds = %44, %39
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %7, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  br label %164

164:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %165

165:                                              ; preds = %164, %152
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %206

166:                                              ; preds = %45
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %7, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %206

170:                                              ; preds = %47
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %7, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %206

174:                                              ; preds = %49
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %206

178:                                              ; preds = %134, %133, %131, %129, %127, %125, %123, %122, %121, %119, %117, %115, %113, %111, %110, %107, %105, %103, %101, %99, %98, %96, %94, %93, %85, %84, %82, %80, %78, %76, %75, %73, %71, %69, %68, %63, %62, %60, %58, %56, %54, %52, %51
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %7, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %8, align 4
  br label %206

182:                                              ; preds = %64
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %7, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %206

186:                                              ; preds = %66
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %7, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %206

190:                                              ; preds = %87
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %7, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  br label %206

194:                                              ; preds = %89
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %7, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %206

198:                                              ; preds = %91
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %7, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  br label %206

202:                                              ; preds = %108
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %7, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  br label %206

206:                                              ; preds = %202, %198, %194, %190, %186, %182, %178, %174, %170, %166, %165
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408) %10) #7
  br label %207

207:                                              ; preds = %206, %148, %144
  call void @llvm.lifetime.end.p0(i64 1408, ptr %10) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %9) #7
  br label %208

208:                                              ; preds = %207, %140
  call void @llvm.lifetime.end.p0(i64 224, ptr %9) #7
  call void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(200) %6) #7
  br label %209

209:                                              ; preds = %208, %136
  call void @llvm.lifetime.end.p0(i64 200, ptr %6) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr %5) #7
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %7, align 8
  %212 = load i32, ptr %8, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

declare noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef, i32 noundef) #3

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) unnamed_addr #3

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

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

declare void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

declare void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef, i32 noundef, i32 noundef) #2

declare void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160)) #3

declare void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408)) unnamed_addr #6 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.sc_core::sc_bind_proxy" = type { ptr, ptr }
%"class.sc_core::sc_signal" = type { %"class.sc_core::sc_signal_inout_if", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, i8, i64, ptr, i8, ptr, ptr }
%"class.sc_core::sc_signal_inout_if" = type { %"class.sc_core::sc_signal_in_if", %"class.sc_core::sc_signal_write_if" }
%"class.sc_core::sc_signal_in_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_interface" = type { ptr }
%"class.sc_core::sc_signal_write_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_prim_channel" = type { %"class.sc_core::sc_object", ptr, ptr }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.sc_core::sc_writer_policy_check" = type { %"struct.sc_core::sc_writer_policy_check_port", %"struct.sc_core::sc_writer_policy_check_write" }
%"struct.sc_core::sc_writer_policy_check_port" = type { ptr }
%"struct.sc_core::sc_writer_policy_check_write" = type { i8, ptr }
%"class.sc_core::sc_signal.8" = type { %"class.sc_core::sc_signal_inout_if.9", %"class.sc_core::sc_prim_channel", %"struct.sc_core::sc_writer_policy_check", ptr, ptr, i64, ptr }
%"class.sc_core::sc_signal_inout_if.9" = type { %"class.sc_core::sc_signal_in_if.10", %"class.sc_core::sc_signal_write_if.11" }
%"class.sc_core::sc_signal_in_if.10" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_signal_write_if.11" = type { %"class.sc_core::sc_interface" }
%struct.M = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", %"class.sc_core::sc_in.17", %"class.sc_core::sc_in", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event" }
%"class.sc_core::sc_module" = type { %"class.sc_core::sc_object", %"class.sc_core::sc_process_host", %"class.sc_core::sc_sensitive", %"class.sc_core::sc_sensitive_pos", %"class.sc_core::sc_sensitive_neg", i8, ptr, i32, ptr, ptr }
%"class.sc_core::sc_process_host" = type { ptr }
%"class.sc_core::sc_sensitive" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_pos" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_neg" = type { ptr, i32, ptr }
%"class.sc_core::sc_in.17" = type { %"class.sc_core::sc_port.18", ptr, ptr }
%"class.sc_core::sc_port.18" = type { %"class.sc_core::sc_port_b.19" }
%"class.sc_core::sc_port_b.19" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.20" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<const char *> *, std::allocator<sc_core::sc_signal_in_if<const char *> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_in" = type { %"class.sc_core::sc_port", ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.25", %"class.std::vector.25", %"class.std::vector.30", %"class.std::vector.30" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_method_process *, std::allocator<sc_core::sc_method_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_thread_process *, std::allocator<sc_core::sc_thread_process *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_module_name" = type <{ ptr, ptr, ptr, ptr, i8, [7 x i8] }>

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN7sc_core17SC_BIND_PROXY_NILE = external global %"struct.sc_core::sc_bind_proxy", align 8
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18dump_cached_reportPKc(ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @sc_main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.sc_core::sc_signal", align 8
  %4 = alloca %"class.sc_core::sc_signal.8", align 8
  %5 = alloca %"class.sc_core::sc_signal", align 8
  %6 = alloca %struct.M, align 8
  %7 = alloca %"class.sc_core::sc_module_name", align 8
  %8 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %9 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %10 = alloca %"struct.sc_core::sc_bind_proxy", align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = tail call noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef nonnull @.str.11, i32 noundef 24)
  %21 = tail call noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef nonnull @.str.12, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %3) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3)
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %4) #7
  invoke void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(200) %4)
          to label %22 unwind label %114

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %5) #7
  invoke void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5)
          to label %23 unwind label %116

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 1408, ptr nonnull %6) #7
  invoke void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull @.str.13)
          to label %24 unwind label %118

24:                                               ; preds = %23
  invoke void @_ZN1MC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(1408) %6, ptr noundef nonnull %7)
          to label %25 unwind label %120

25:                                               ; preds = %24
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr i8, ptr %26, i64 -48
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr %3, i64 %28
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %30 unwind label %122

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr i8, ptr %31, i64 -48
  %33 = load i64, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %4, i64 %33
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %35 unwind label %124

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr i8, ptr %36, i64 -48
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %5, i64 %38
  invoke void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %40 unwind label %126

40:                                               ; preds = %35
  invoke void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232) %6, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE, ptr noundef nonnull align 8 dereferenceable(16) @_ZN7sc_core17SC_BIND_PROXY_NILE)
          to label %41 unwind label %126

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  store i8 0, ptr %11, align 1, !tbaa !8
  %42 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %43 unwind label %130

43:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store ptr @.str.14, ptr %12, align 8, !tbaa !11
  %44 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %4, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %45 unwind label %132

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #7
  store i8 0, ptr %13, align 1, !tbaa !8
  %46 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %47 unwind label %134

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %48 unwind label %136

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

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %6, i64 768
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %51)
          to label %52 unwind label %136

52:                                               ; preds = %50
  %53 = getelementptr inbounds i8, ptr %6, i64 1088
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %54 unwind label %136

54:                                               ; preds = %52
  %55 = getelementptr inbounds i8, ptr %6, i64 928
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %56 unwind label %136

56:                                               ; preds = %54
  %57 = getelementptr inbounds i8, ptr %6, i64 1248
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %58 unwind label %136

58:                                               ; preds = %56
  invoke void @_Z18dump_cached_reportPKc(ptr noundef nonnull @.str.16)
          to label %59 unwind label %136

59:                                               ; preds = %58
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %60 unwind label %136

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  store i8 1, ptr %14, align 1, !tbaa !8
  %61 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %62 unwind label %138

62:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store ptr @.str.11, ptr %15, align 8, !tbaa !11
  %63 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %4, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %64 unwind label %140

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %65 unwind label %136

65:                                               ; preds = %64
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
          to label %67 unwind label %136

67:                                               ; preds = %65
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %51)
          to label %68 unwind label %136

68:                                               ; preds = %67
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %69 unwind label %136

69:                                               ; preds = %68
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %70 unwind label %136

70:                                               ; preds = %69
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200) %4)
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 0, ptr noundef %72, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, i32 noundef 300)
          to label %73 unwind label %136

73:                                               ; preds = %70
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %74 unwind label %136

74:                                               ; preds = %73
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %75 unwind label %136

75:                                               ; preds = %74
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %76 unwind label %136

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
          to label %78 unwind label %136

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  store i8 1, ptr %16, align 1, !tbaa !8
  %79 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %80 unwind label %142

80:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store ptr @.str.12, ptr %17, align 8, !tbaa !11
  %81 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(200) %4, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %82 unwind label %144

82:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  store i8 1, ptr %18, align 1, !tbaa !8
  %83 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %84 unwind label %146

84:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %85 unwind label %136

85:                                               ; preds = %84
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %51)
          to label %86 unwind label %136

86:                                               ; preds = %85
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %87 unwind label %136

87:                                               ; preds = %86
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %88 unwind label %136

88:                                               ; preds = %87
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200) %4)
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 0, ptr noundef %90, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.19, i32 noundef 310)
          to label %91 unwind label %136

91:                                               ; preds = %88
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %92 unwind label %136

92:                                               ; preds = %91
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %93 unwind label %136

93:                                               ; preds = %92
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %94 unwind label %136

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 0, ptr %19, align 1, !tbaa !8
  %95 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EEaSERKb(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %96 unwind label %148

96:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %97 unwind label %136

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

99:                                               ; preds = %97
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %51)
          to label %100 unwind label %136

100:                                              ; preds = %99
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %101 unwind label %136

101:                                              ; preds = %100
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %102 unwind label %136

102:                                              ; preds = %101
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %103 unwind label %136

103:                                              ; preds = %102
  invoke void @_Z18dump_cached_reportPKc(ptr noundef nonnull @.str.16)
          to label %104 unwind label %136

104:                                              ; preds = %103
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %105 unwind label %136

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

107:                                              ; preds = %105
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %51)
          to label %108 unwind label %136

108:                                              ; preds = %107
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %109 unwind label %136

109:                                              ; preds = %108
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %53)
          to label %110 unwind label %136

110:                                              ; preds = %109
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %57)
          to label %111 unwind label %136

111:                                              ; preds = %110
  invoke void @_Z18dump_cached_reportPKc(ptr noundef nonnull @.str.16)
          to label %112 unwind label %136

112:                                              ; preds = %111
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %113 unwind label %136

113:                                              ; preds = %112
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408) %6) #7
  call void @llvm.lifetime.end.p0(i64 1408, ptr nonnull %6) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %5) #7
  call void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(200) %4) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %4) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #7
  ret i32 0

114:                                              ; preds = %2
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %153

116:                                              ; preds = %22
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %152

118:                                              ; preds = %23
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %151

120:                                              ; preds = %24
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #7
  br label %151

122:                                              ; preds = %25
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %129

124:                                              ; preds = %30
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %40, %35
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %128

128:                                              ; preds = %126, %124
  %.pn = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %129

129:                                              ; preds = %128, %122
  %.pn.pn = phi { ptr, i32 } [ %.pn, %128 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %150

130:                                              ; preds = %41
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %150

132:                                              ; preds = %43
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %150

134:                                              ; preds = %45
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #7
  br label %150

136:                                              ; preds = %112, %111, %110, %109, %108, %107, %105, %104, %103, %102, %101, %100, %99, %97, %96, %93, %92, %91, %88, %87, %86, %85, %84, %76, %75, %74, %73, %70, %69, %68, %67, %65, %64, %59, %58, %56, %54, %52, %50, %48, %47
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %150

138:                                              ; preds = %60
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %150

140:                                              ; preds = %62
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %150

142:                                              ; preds = %78
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  br label %150

144:                                              ; preds = %80
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %150

146:                                              ; preds = %82
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  br label %150

148:                                              ; preds = %94
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  br label %150

150:                                              ; preds = %148, %146, %144, %142, %140, %138, %136, %134, %132, %130, %129
  %.pn9 = phi { ptr, i32 } [ %137, %136 ], [ %149, %148 ], [ %147, %146 ], [ %145, %144 ], [ %143, %142 ], [ %141, %140 ], [ %139, %138 ], [ %135, %134 ], [ %133, %132 ], [ %131, %130 ], [ %.pn.pn, %129 ]
  call void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408) %6) #7
  br label %151

151:                                              ; preds = %150, %120, %118
  %.pn9.pn = phi { ptr, i32 } [ %.pn9, %150 ], [ %121, %120 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 1408, ptr nonnull %6) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %5) #7
  br label %152

152:                                              ; preds = %151, %116
  %.pn9.pn.pn = phi { ptr, i32 } [ %.pn9.pn, %151 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %5) #7
  call void @_ZN7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(200) %4) #7
  br label %153

153:                                              ; preds = %152, %114
  %.pn9.pn.pn.pn = phi { ptr, i32 } [ %.pn9.pn.pn, %152 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %4) #7
  call void @_ZN7sc_core9sc_signalIbLNS_16sc_writer_policyE0EED1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #7
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn9.pn.pn.pn
}

declare noundef i32 @_ZN7sc_core17sc_report_handler11set_actionsEPKcj(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) unnamed_addr #3

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

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

declare void @_ZN7sc_core9sc_moduleclERKNS_13sc_bind_proxyES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

declare void @_ZN7sc_core13sc_bind_proxyC1ERNS_12sc_interfaceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #3

declare void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7sc_core9sc_signalIPKcLNS_16sc_writer_policyE0EE4readEv(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN1MD2Ev(ptr noundef nonnull align 8 dereferenceable(1408)) unnamed_addr #6 align 2

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass