; LLVM IR from gem5/gem5 :: util/tlm/examples/slave_port/sc_target.ll (ZN6TargetC2EN7sc_core14sc_module_nameEbyj)

; 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.sc_core::sc_process_handle" = type { ptr }
%struct.Target = type <{ %"class.sc_core::sc_module", %"class.tlm_utils::simple_target_socket", ptr, %"class.sc_core::sc_event", i8, i8, [6 x i8], ptr, ptr, %"class.tlm_utils::peq_with_cb_and_phase", ptr, i64, i32, [4 x i8] }>
%"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_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.3", %"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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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] }
%"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.tlm_utils::simple_target_socket" = type { %"class.tlm::tlm_target_socket", %"class.tlm_utils::simple_target_socket<Target>::fw_process", %"class.tlm_utils::simple_target_socket<Target>::bw_process", %"class.std::map", %"class.sc_core::sc_event", ptr }
%"class.tlm::tlm_target_socket" = type { %"class.tlm::tlm_base_target_socket" }
%"class.tlm::tlm_base_target_socket" = type { %"class.tlm::tlm_base_target_socket_b", %"class.sc_core::sc_export", %"class.sc_core::sc_port" }
%"class.tlm::tlm_base_target_socket_b" = type { ptr }
%"class.sc_core::sc_export" = type { %"class.sc_core::sc_export_base", ptr }
%"class.sc_core::sc_export_base" = type { %"class.sc_core::sc_object" }
%"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.8" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<tlm::tlm_bw_transport_if<> *, std::allocator<tlm::tlm_bw_transport_if<> *>>::_Vector_impl" }
%"struct.std::_Vector_base<tlm::tlm_bw_transport_if<> *, std::allocator<tlm::tlm_bw_transport_if<> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tlm::tlm_bw_transport_if<> *, std::allocator<tlm::tlm_bw_transport_if<> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tlm::tlm_bw_transport_if<> *, std::allocator<tlm::tlm_bw_transport_if<> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.tlm_utils::simple_target_socket<Target>::fw_process" = type { %"class.tlm::tlm_fw_transport_if.base", %"class.tlm::tlm_mm_interface", %"class.tlm_utils::simple_target_socket<Target>::fw_process::process_handle_list", %"class.std::__cxx11::basic_string", ptr, ptr, { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, %"class.tlm_utils::peq_with_get", i8, %"class.sc_core::sc_event", %"class.tlm::tlm_blocking_transport_if", %"class.tlm::tlm_fw_direct_mem_if", %"class.tlm::tlm_transport_dbg_if" }
%"class.tlm::tlm_fw_transport_if.base" = type { %"class.tlm::tlm_fw_nonblocking_transport_if" }
%"class.tlm::tlm_fw_nonblocking_transport_if" = type { %"class.sc_core::sc_interface" }
%"class.sc_core::sc_interface" = type { ptr }
%"class.tlm::tlm_mm_interface" = type { ptr }
%"class.tlm_utils::simple_target_socket<Target>::fw_process::process_handle_list" = type { %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *, std::allocator<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *>>::_Vector_impl" }
%"struct.std::_Vector_base<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *, std::allocator<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *>>::_Vector_impl" = type { %"struct.std::_Vector_base<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *, std::allocator<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *, std::allocator<tlm_utils::simple_target_socket<Target>::fw_process::process_handle_class *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.tlm_utils::peq_with_get" = type { %"class.sc_core::sc_object", %"class.std::multimap", %"class.sc_core::sc_event" }
%"class.std::multimap" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const sc_core::sc_time, std::pair<const sc_core::sc_time, tlm::tlm_generic_payload *>, std::_Select1st<std::pair<const sc_core::sc_time, tlm::tlm_generic_payload *>>, std::less<const sc_core::sc_time>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const sc_core::sc_time, std::pair<const sc_core::sc_time, tlm::tlm_generic_payload *>, std::_Select1st<std::pair<const sc_core::sc_time, tlm::tlm_generic_payload *>>, std::less<const sc_core::sc_time>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.tlm::tlm_blocking_transport_if" = type { %"class.sc_core::sc_interface" }
%"class.tlm::tlm_fw_direct_mem_if" = type { %"class.sc_core::sc_interface" }
%"class.tlm::tlm_transport_dbg_if" = type { %"class.sc_core::sc_interface" }
%"class.tlm_utils::simple_target_socket<Target>::bw_process" = type { %"class.tlm::tlm_bw_transport_if.base", ptr, %"class.tlm::tlm_bw_direct_mem_if" }
%"class.tlm::tlm_bw_transport_if.base" = type { %"class.tlm::tlm_bw_nonblocking_transport_if" }
%"class.tlm::tlm_bw_nonblocking_transport_if" = type { %"class.sc_core::sc_interface" }
%"class.tlm::tlm_bw_direct_mem_if" = type { %"class.sc_core::sc_interface" }
%"class.std::map" = type { %"class.std::_Rb_tree.31" }
%"class.std::_Rb_tree.31" = type { %"struct.std::_Rb_tree<tlm::tlm_generic_payload *, std::pair<tlm::tlm_generic_payload *const, sc_core::sc_event *>, std::_Select1st<std::pair<tlm::tlm_generic_payload *const, sc_core::sc_event *>>, std::less<tlm::tlm_generic_payload *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tlm::tlm_generic_payload *, std::pair<tlm::tlm_generic_payload *const, sc_core::sc_event *>, std::_Select1st<std::pair<tlm::tlm_generic_payload *const, sc_core::sc_event *>>, std::less<tlm::tlm_generic_payload *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.21", %"class.std::vector.21", %"class.std::vector.26", %"class.std::vector.26" }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = 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.tlm_utils::peq_with_cb_and_phase" = type { %"class.sc_core::sc_object", ptr, { i64, i64 }, %"class.tlm_utils::time_ordered_list", %"class.tlm_utils::peq_with_cb_and_phase<Target>::delta_list", %"class.tlm_utils::peq_with_cb_and_phase<Target>::delta_list", %"class.tlm_utils::peq_with_cb_and_phase<Target>::delta_list", %"class.sc_core::sc_event" }
%"class.tlm_utils::time_ordered_list" = type <{ ptr, ptr, ptr, i32, [4 x i8] }>
%"class.tlm_utils::peq_with_cb_and_phase<Target>::delta_list" = type <{ i32, [4 x i8], %"class.std::vector.36", i32, [4 x i8] }>
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>, std::allocator<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>, std::allocator<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>, std::allocator<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>, std::allocator<std::pair<tlm::tlm_generic_payload *, tlm::tlm_phase>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTV6Target = external dso_local unnamed_addr constant { [24 x ptr], [4 x ptr] }, align 8
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [28 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6TargetC2EN7sc_core14sc_module_nameEbyj(ptr noundef nonnull align 8 dereferenceable(2076) %0, ptr noundef %1, i1 noundef zeroext %2, i64 noundef %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca { i64, i64 }, align 8
  %14 = alloca { i64, i64 }, align 8
  %15 = alloca { i64, i64 }, align 8
  %16 = alloca { i64, i64 }, align 8
  %17 = alloca %"class.sc_core::sc_process_handle", align 8
  %18 = alloca { i64, i64 }, align 8
  %19 = alloca %"class.sc_core::sc_process_handle", align 8
  %20 = alloca %"class.sc_core::sc_process_handle", align 8
  %21 = alloca %"class.sc_core::sc_process_handle", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  %22 = zext i1 %2 to i8
  store i8 %22, ptr %8, align 1, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !11
  store i32 %4, ptr %10, align 4, !tbaa !13
  %23 = load ptr, ptr %6, align 8
  call void @_ZN7sc_core9sc_moduleC2Ev(ptr noundef nonnull align 8 dereferenceable(232) %23)
  store ptr getelementptr inbounds inrange(-16, 176) ({ [24 x ptr], [4 x ptr] }, ptr @_ZTV6Target, i32 0, i32 0, i32 2), ptr %23, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %23, i64 112
  store ptr getelementptr inbounds inrange(-16, 16) ({ [24 x ptr], [4 x ptr] }, ptr @_ZTV6Target, i32 0, i32 1, i32 2), ptr %24, align 8, !tbaa !15
  %25 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 1
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(1184) %25, ptr noundef @.str.14)
          to label %26 unwind label %94

26:                                               ; preds = %5
  %27 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 2
  store ptr null, ptr %27, align 8, !tbaa !17
  %28 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 3
  invoke void @_ZN7sc_core8sc_eventC1Ev(ptr noundef nonnull align 8 dereferenceable(160) %28)
          to label %29 unwind label %98

29:                                               ; preds = %26
  %30 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 4
  store i8 0, ptr %30, align 8, !tbaa !93
  %31 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 5
  %32 = load i8, ptr %8, align 1, !tbaa !9, !range !94, !noundef !95
  %33 = trunc i8 %32 to i1
  %34 = zext i1 %33 to i8
  store i8 %34, ptr %31, align 1, !tbaa !96
  %35 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 7
  store ptr null, ptr %35, align 8, !tbaa !97
  %36 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 8
  store ptr null, ptr %36, align 8, !tbaa !98
  %37 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 9
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN6Target6peq_cbERN3tlm19tlm_generic_payloadERKNS0_9tlm_phaseE to i64), i64 0 }, ptr %13, align 8, !tbaa !99
  %38 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %39 = load i64, ptr %38, align 8
  %40 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %41 = load i64, ptr %40, align 8
  invoke void @_ZN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEEC2EPS1_MS1_FvRNS2_19tlm_generic_payloadERKNS2_9tlm_phaseEE(ptr noundef nonnull align 8 dereferenceable(448) %37, ptr noundef %23, i64 %39, i64 %41)
          to label %42 unwind label %102

42:                                               ; preds = %29
  %43 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 11
  %44 = load i64, ptr %9, align 8, !tbaa !11
  store i64 %44, ptr %43, align 8, !tbaa !100
  %45 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 12
  %46 = load i32, ptr %10, align 4, !tbaa !13
  store i32 %46, ptr %45, align 8, !tbaa !101
  %47 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 1
  store { i64, i64 } { i64 153, i64 0 }, ptr %14, align 8, !tbaa !99
  %48 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 0
  %49 = load i64, ptr %48, align 8
  %50 = getelementptr inbounds { i64, i64 }, ptr %14, i32 0, i32 1
  %51 = load i64, ptr %50, align 8
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE20register_b_transportEPS1_MS1_FvRNS2_19tlm_generic_payloadERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184) %47, ptr noundef %23, i64 %49, i64 %51)
          to label %52 unwind label %106

52:                                               ; preds = %42
  %53 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 1
  store { i64, i64 } { i64 161, i64 0 }, ptr %15, align 8, !tbaa !99
  %54 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %55 = load i64, ptr %54, align 8
  %56 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE22register_transport_dbgEPS1_MS1_FjRNS2_19tlm_generic_payloadEE(ptr noundef nonnull align 8 dereferenceable(1184) %53, ptr noundef %23, i64 %55, i64 %57)
          to label %58 unwind label %106

58:                                               ; preds = %52
  %59 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 1
  store { i64, i64 } { i64 169, i64 0 }, ptr %16, align 8, !tbaa !99
  %60 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 0
  %61 = load i64, ptr %60, align 8
  %62 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 1
  %63 = load i64, ptr %62, align 8
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE24register_nb_transport_fwEPS1_MS1_FNS2_13tlm_sync_enumERNS2_19tlm_generic_payloadERNS2_9tlm_phaseERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184) %59, ptr noundef %23, i64 %61, i64 %63)
          to label %64 unwind label %106

64:                                               ; preds = %58
  %65 = load i64, ptr %9, align 8, !tbaa !11
  %66 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %65) #8
          to label %67 unwind label %106

67:                                               ; preds = %64
  %68 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 10
  store ptr %66, ptr %68, align 8, !tbaa !102
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %69 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %70 unwind label %110

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %23, i64 112
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN6Target27execute_transaction_processEv to i64), i64 -112 }, ptr %18, align 8, !tbaa !99
  %72 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 0
  %73 = load i64, ptr %72, align 8
  %74 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 1
  %75 = load i64, ptr %74, align 8
  invoke void @_ZN7sc_core13sc_simcontext21create_method_processEPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr dead_on_unwind writable sret(%"class.sc_core::sc_process_handle") align 8 %17, ptr noundef nonnull align 8 dereferenceable(344) %69, ptr noundef @.str.15, i1 noundef zeroext false, i64 %73, i64 %75, ptr noundef %71, ptr noundef null)
          to label %76 unwind label %110

76:                                               ; preds = %70
  %77 = getelementptr inbounds %"class.sc_core::sc_module", ptr %23, i32 0, i32 2
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %78 unwind label %114

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef %19)
          to label %80 unwind label %118

80:                                               ; preds = %78
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %81 = getelementptr inbounds %"class.sc_core::sc_module", ptr %23, i32 0, i32 3
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %82 unwind label %114

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_poslsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef %20)
          to label %84 unwind label %122

84:                                               ; preds = %82
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %85 = getelementptr inbounds %"class.sc_core::sc_module", ptr %23, i32 0, i32 4
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %86 unwind label %114

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_neglsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef %21)
          to label %88 unwind label %126

88:                                               ; preds = %86
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  %89 = getelementptr inbounds %"class.sc_core::sc_module", ptr %23, i32 0, i32 2
  %90 = getelementptr inbounds %struct.Target, ptr %23, i32 0, i32 3
  %91 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsERKNS_8sc_eventE(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 8 dereferenceable(160) %90)
          to label %92 unwind label %106

92:                                               ; preds = %88
  invoke void @_ZN7sc_core9sc_module15dont_initializeEv(ptr noundef nonnull align 8 dereferenceable(232) %23)
          to label %93 unwind label %106

93:                                               ; preds = %92
  ret void

94:                                               ; preds = %5
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  br label %135

98:                                               ; preds = %26
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  br label %134

102:                                              ; preds = %29
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  br label %133

106:                                              ; preds = %92, %88, %64, %58, %52, %42
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %132

110:                                              ; preds = %70, %67
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  br label %131

114:                                              ; preds = %84, %80, %76
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %12, align 4
  br label %130

118:                                              ; preds = %78
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %11, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %12, align 4
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %130

122:                                              ; preds = %82
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %11, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %12, align 4
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br label %130

126:                                              ; preds = %86
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %11, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %12, align 4
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %130

130:                                              ; preds = %126, %122, %118, %114
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  br label %131

131:                                              ; preds = %130, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %132

132:                                              ; preds = %131, %106
  call void @_ZN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %37) #9
  br label %133

133:                                              ; preds = %132, %102
  call void @_ZN7sc_core8sc_eventD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %28) #9
  br label %134

134:                                              ; preds = %133, %98
  call void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEED2Ev(ptr noundef nonnull align 8 dereferenceable(1184) %25) #9
  br label %135

135:                                              ; preds = %134, %94
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %23) #9
  br label %136

136:                                              ; preds = %135
  %137 = load ptr, ptr %11, align 8
  %138 = load i32, ptr %12, align 4
  %139 = insertvalue { ptr, i32 } poison, ptr %137, 0
  %140 = insertvalue { ptr, i32 } %139, i32 %138, 1
  resume { ptr, i32 } %140
}

declare void @_ZN7sc_core9sc_moduleC2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #2

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

declare void @_ZN7sc_core8sc_eventC1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Target6peq_cbERN3tlm19tlm_generic_payloadERKNS0_9tlm_phaseE(ptr noundef nonnull align 8 dereferenceable(2076), ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv() #4

declare void @_ZN7sc_core13sc_simcontext21create_method_processEPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr dead_on_unwind writable sret(%"class.sc_core::sc_process_handle") align 8, ptr noundef nonnull align 8 dereferenceable(344), ptr noundef, i1 noundef zeroext, i64, i64, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Target27execute_transaction_processEv(ptr noundef nonnull align 8 dereferenceable(2076)) #1 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_poslsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_neglsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsERKNS_8sc_eventE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) #2

declare void @_ZN7sc_core9sc_module15dont_initializeEv(ptr noundef nonnull align 8 dereferenceable(232)) #2

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

; Function Attrs: nounwind
declare void @_ZN7sc_core8sc_eventD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #7

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #7

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !6, i64 1416}
!18 = !{!"_ZTS6Target", !19, i64 0, !39, i64 232, !6, i64 1416, !69, i64 1424, !10, i64 1584, !10, i64 1585, !6, i64 1592, !6, i64 1600, !86, i64 1608, !6, i64 2056, !12, i64 2064, !14, i64 2072}
!19 = !{!"_ZTSN7sc_core9sc_moduleE", !20, i64 0, !32, i64 112, !33, i64 120, !35, i64 144, !37, i64 168, !10, i64 192, !6, i64 200, !14, i64 208, !6, i64 216, !6, i64 224}
!20 = !{!"_ZTSN7sc_core9sc_objectE", !6, i64 8, !21, i64 16, !25, i64 40, !29, i64 64, !6, i64 96, !6, i64 104}
!21 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !31, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!33 = !{!"_ZTSN7sc_core12sc_sensitiveE", !6, i64 0, !34, i64 8, !6, i64 16}
!34 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!35 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !6, i64 0, !36, i64 8, !6, i64 16}
!36 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!37 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !6, i64 0, !38, i64 8, !6, i64 16}
!38 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!39 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEEE", !40, i64 0, !52, i64 280, !79, i64 944, !81, i64 968, !69, i64 1016, !6, i64 1176}
!40 = !{!"_ZTSN3tlm17tlm_target_socketILj32ENS_23tlm_base_protocol_typesELi1ELN7sc_core14sc_port_policyE0EEE", !41, i64 0}
!41 = !{!"_ZTSN3tlm22tlm_base_target_socketILj32ENS_19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEENS_19tlm_bw_transport_ifIS2_EELi1ELN7sc_core14sc_port_policyE0EEE", !42, i64 0, !43, i64 8, !45, i64 128}
!42 = !{!"_ZTSN3tlm24tlm_base_target_socket_bILj32ENS_19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEENS_19tlm_bw_transport_ifIS2_EEEE"}
!43 = !{!"_ZTSN7sc_core9sc_exportIN3tlm19tlm_fw_transport_ifINS1_23tlm_base_protocol_typesEEEEE", !44, i64 0, !6, i64 112}
!44 = !{!"_ZTSN7sc_core14sc_export_baseE", !20, i64 0}
!45 = !{!"_ZTSN7sc_core7sc_portIN3tlm19tlm_bw_transport_ifINS1_23tlm_base_protocol_typesEEELi1ELNS_14sc_port_policyE0EEE", !46, i64 0}
!46 = !{!"_ZTSN7sc_core9sc_port_bIN3tlm19tlm_bw_transport_ifINS1_23tlm_base_protocol_typesEEEEE", !47, i64 0, !6, i64 120, !48, i64 128}
!47 = !{!"_ZTSN7sc_core12sc_port_baseE", !20, i64 0, !6, i64 112}
!48 = !{!"_ZTSSt6vectorIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_processE", !53, i64 0, !54, i64 8, !55, i64 16, !29, i64 40, !6, i64 72, !6, i64 80, !7, i64 88, !7, i64 104, !7, i64 120, !7, i64 136, !60, i64 152, !10, i64 472, !69, i64 480}
!53 = !{!"_ZTSN3tlm19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEE"}
!54 = !{!"_ZTSN3tlm16tlm_mm_interfaceE"}
!55 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process19process_handle_listE", !56, i64 0}
!56 = !{!"_ZTSSt6vectorIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSN9tlm_utils12peq_with_getIN3tlm19tlm_generic_payloadEEE", !20, i64 0, !61, i64 112, !69, i64 160}
!61 = !{!"_ZTSSt8multimapIKN7sc_core7sc_timeEPN3tlm19tlm_generic_payloadESt4lessIS2_ESaISt4pairIS2_S5_EEE", !62, i64 0}
!62 = !{!"_ZTSSt8_Rb_treeIKN7sc_core7sc_timeESt4pairIS2_PN3tlm19tlm_generic_payloadEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE", !63, i64 0}
!63 = !{!"_ZTSNSt8_Rb_treeIKN7sc_core7sc_timeESt4pairIS2_PN3tlm19tlm_generic_payloadEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !64, i64 0, !66, i64 8}
!64 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIKN7sc_core7sc_timeEEE", !65, i64 0}
!65 = !{!"_ZTSSt4lessIKN7sc_core7sc_timeEE"}
!66 = !{!"_ZTSSt15_Rb_tree_header", !67, i64 0, !31, i64 32}
!67 = !{!"_ZTSSt18_Rb_tree_node_base", !68, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!68 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!69 = !{!"_ZTSN7sc_core8sc_eventE", !29, i64 0, !6, i64 32, !6, i64 40, !70, i64 48, !14, i64 52, !6, i64 56, !71, i64 64, !71, i64 88, !75, i64 112, !75, i64 136}
!70 = !{!"_ZTSN7sc_core8sc_event8notify_tE", !7, i64 0}
!71 = !{!"_ZTSSt6vectorIPN7sc_core17sc_method_processESaIS2_EE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!75 = !{!"_ZTSSt6vectorIPN7sc_core17sc_thread_processESaIS2_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!79 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10bw_processE", !80, i64 0, !6, i64 8}
!80 = !{!"_ZTSN3tlm19tlm_bw_transport_ifINS_23tlm_base_protocol_typesEEE"}
!81 = !{!"_ZTSSt3mapIPN3tlm19tlm_generic_payloadEPN7sc_core8sc_eventESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !82, i64 0}
!82 = !{!"_ZTSSt8_Rb_treeIPN3tlm19tlm_generic_payloadESt4pairIKS2_PN7sc_core8sc_eventEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !83, i64 0}
!83 = !{!"_ZTSNSt8_Rb_treeIPN3tlm19tlm_generic_payloadESt4pairIKS2_PN7sc_core8sc_eventEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !84, i64 0, !66, i64 8}
!84 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN3tlm19tlm_generic_payloadEEE", !85, i64 0}
!85 = !{!"_ZTSSt4lessIPN3tlm19tlm_generic_payloadEE"}
!86 = !{!"_ZTSN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEEE", !20, i64 0, !6, i64 112, !7, i64 120, !87, i64 136, !88, i64 168, !88, i64 208, !88, i64 248, !69, i64 288}
!87 = !{!"_ZTSN9tlm_utils17time_ordered_listISt4pairIPN3tlm19tlm_generic_payloadENS2_9tlm_phaseEEEE", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24}
!88 = !{!"_ZTSN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEE10delta_listE", !14, i64 0, !89, i64 8, !14, i64 32}
!89 = !{!"_ZTSSt6vectorISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE", !90, i64 0}
!90 = !{!"_ZTSSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE", !91, i64 0}
!91 = !{!"_ZTSNSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE12_Vector_implE", !92, i64 0}
!92 = !{!"_ZTSNSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!93 = !{!18, !10, i64 1584}
!94 = !{i8 0, i8 2}
!95 = !{}
!96 = !{!18, !10, i64 1585}
!97 = !{!18, !6, i64 1592}
!98 = !{!18, !6, i64 1600}
!99 = !{!7, !7, i64 0}
!100 = !{!18, !12, i64 2064}
!101 = !{!18, !14, i64 2072}
!102 = !{!18, !6, i64 2056}


; 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.sc_core::sc_process_handle" = type { ptr }

@_ZTV6Target = external dso_local unnamed_addr constant { [24 x ptr], [4 x ptr] }, align 8
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [28 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6TargetC2EN7sc_core14sc_module_nameEbyj(ptr noundef nonnull align 8 dereferenceable(2076) %0, ptr nocapture noundef readnone %1, i1 noundef zeroext %2, i64 noundef %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.sc_core::sc_process_handle", align 8
  %7 = alloca %"class.sc_core::sc_process_handle", align 8
  %8 = alloca %"class.sc_core::sc_process_handle", align 8
  %9 = alloca %"class.sc_core::sc_process_handle", align 8
  %10 = zext i1 %2 to i8
  tail call void @_ZN7sc_core9sc_moduleC2Ev(ptr noundef nonnull align 8 dereferenceable(232) %0)
  store ptr getelementptr inbounds inrange(-16, 176) (i8, ptr @_ZTV6Target, i64 16), ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTV6Target, i64 208), ptr %11, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 232
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(1184) %12, ptr noundef nonnull @.str.14)
          to label %13 unwind label %48

13:                                               ; preds = %5
  %14 = getelementptr inbounds i8, ptr %0, i64 1416
  store ptr null, ptr %14, align 8, !tbaa !8
  %15 = getelementptr inbounds i8, ptr %0, i64 1424
  invoke void @_ZN7sc_core8sc_eventC1Ev(ptr noundef nonnull align 8 dereferenceable(160) %15)
          to label %16 unwind label %50

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 1584
  store i8 0, ptr %17, align 8, !tbaa !89
  %18 = getelementptr inbounds i8, ptr %0, i64 1585
  store i8 %10, ptr %18, align 1, !tbaa !90
  %19 = getelementptr inbounds i8, ptr %0, i64 1592
  %20 = getelementptr inbounds i8, ptr %0, i64 1608
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
  invoke void @_ZN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEEC2EPS1_MS1_FvRNS2_19tlm_generic_payloadERKNS2_9tlm_phaseEE(ptr noundef nonnull align 8 dereferenceable(448) %20, ptr noundef nonnull %0, i64 ptrtoint (ptr @_ZN6Target6peq_cbERN3tlm19tlm_generic_payloadERKNS0_9tlm_phaseE to i64), i64 0)
          to label %21 unwind label %52

21:                                               ; preds = %16
  %22 = getelementptr inbounds i8, ptr %0, i64 2064
  store i64 %3, ptr %22, align 8, !tbaa !91
  %23 = getelementptr inbounds i8, ptr %0, i64 2072
  store i32 %4, ptr %23, align 8, !tbaa !92
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE20register_b_transportEPS1_MS1_FvRNS2_19tlm_generic_payloadERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184) %12, ptr noundef nonnull %0, i64 153, i64 0)
          to label %24 unwind label %54

24:                                               ; preds = %21
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE22register_transport_dbgEPS1_MS1_FjRNS2_19tlm_generic_payloadEE(ptr noundef nonnull align 8 dereferenceable(1184) %12, ptr noundef nonnull %0, i64 161, i64 0)
          to label %25 unwind label %54

25:                                               ; preds = %24
  invoke void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE24register_nb_transport_fwEPS1_MS1_FNS2_13tlm_sync_enumERNS2_19tlm_generic_payloadERNS2_9tlm_phaseERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184) %12, ptr noundef nonnull %0, i64 169, i64 0)
          to label %26 unwind label %54

26:                                               ; preds = %25
  %27 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %3) #9
          to label %28 unwind label %54

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %0, i64 2056
  store ptr %27, ptr %29, align 8, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %30 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %31 unwind label %56

31:                                               ; preds = %28
  invoke void @_ZN7sc_core13sc_simcontext21create_method_processEPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr dead_on_unwind nonnull writable sret(%"class.sc_core::sc_process_handle") align 8 %6, ptr noundef nonnull align 8 dereferenceable(344) %30, ptr noundef nonnull @.str.15, i1 noundef zeroext false, i64 ptrtoint (ptr @_ZN6Target27execute_transaction_processEv to i64), i64 -112, ptr noundef nonnull %11, ptr noundef null)
          to label %32 unwind label %56

32:                                               ; preds = %31
  %33 = getelementptr inbounds i8, ptr %0, i64 120
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %34 unwind label %58

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull %7)
          to label %36 unwind label %60

36:                                               ; preds = %34
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %37 unwind label %58

37:                                               ; preds = %36
  %38 = getelementptr inbounds i8, ptr %0, i64 144
  %39 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_poslsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull %8)
          to label %40 unwind label %62

40:                                               ; preds = %37
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  invoke void @_ZN7sc_core17sc_process_handleC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %41 unwind label %58

41:                                               ; preds = %40
  %42 = getelementptr inbounds i8, ptr %0, i64 168
  %43 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_neglsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull %9)
          to label %44 unwind label %64

44:                                               ; preds = %41
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %45 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsERKNS_8sc_eventE(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(160) %15)
          to label %46 unwind label %54

46:                                               ; preds = %44
  invoke void @_ZN7sc_core9sc_module15dont_initializeEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %47 unwind label %54

47:                                               ; preds = %46
  ret void

48:                                               ; preds = %5
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %71

50:                                               ; preds = %13
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %70

52:                                               ; preds = %16
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %69

54:                                               ; preds = %46, %44, %26, %25, %24, %21
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %68

56:                                               ; preds = %31, %28
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %67

58:                                               ; preds = %40, %36, %32
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %66

60:                                               ; preds = %34
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br label %66

62:                                               ; preds = %37
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %66

64:                                               ; preds = %41
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %66

66:                                               ; preds = %64, %62, %60, %58
  %.pn = phi { ptr, i32 } [ %65, %64 ], [ %59, %58 ], [ %63, %62 ], [ %61, %60 ]
  call void @_ZN7sc_core17sc_process_handleD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  br label %67

67:                                               ; preds = %66, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %66 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %68

68:                                               ; preds = %67, %54
  %.pn22 = phi { ptr, i32 } [ %55, %54 ], [ %.pn.pn, %67 ]
  call void @_ZN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %20) #10
  br label %69

69:                                               ; preds = %68, %52
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %68 ], [ %53, %52 ]
  call void @_ZN7sc_core8sc_eventD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %15) #10
  br label %70

70:                                               ; preds = %69, %50
  %.pn22.pn.pn = phi { ptr, i32 } [ %.pn22.pn, %69 ], [ %51, %50 ]
  call void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEED2Ev(ptr noundef nonnull align 8 dereferenceable(1184) %12) #10
  br label %71

71:                                               ; preds = %70, %48
  %.pn22.pn.pn.pn = phi { ptr, i32 } [ %.pn22.pn.pn, %70 ], [ %49, %48 ]
  call void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %0) #10
  resume { ptr, i32 } %.pn22.pn.pn.pn
}

declare void @_ZN7sc_core9sc_moduleC2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #2

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

declare void @_ZN7sc_core8sc_eventC1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Target6peq_cbERN3tlm19tlm_generic_payloadERKNS0_9tlm_phaseE(ptr noundef nonnull align 8 dereferenceable(2076), ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE20register_b_transportEPS1_MS1_FvRNS2_19tlm_generic_payloadERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184), ptr noundef, i64, i64) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE22register_transport_dbgEPS1_MS1_FjRNS2_19tlm_generic_payloadEE(ptr noundef nonnull align 8 dereferenceable(1184), ptr noundef, i64, i64) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE24register_nb_transport_fwEPS1_MS1_FNS2_13tlm_sync_enumERNS2_19tlm_generic_payloadERNS2_9tlm_phaseERN7sc_core7sc_timeEE(ptr noundef nonnull align 8 dereferenceable(1184), ptr noundef, i64, i64) local_unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv() local_unnamed_addr #4

declare void @_ZN7sc_core13sc_simcontext21create_method_processEPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr dead_on_unwind writable sret(%"class.sc_core::sc_process_handle") align 8, ptr noundef nonnull align 8 dereferenceable(344), ptr noundef, i1 noundef zeroext, i64, i64, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Target27execute_transaction_processEv(ptr noundef nonnull align 8 dereferenceable(2076)) #1 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_poslsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core16sc_sensitive_neglsENS_17sc_process_handleE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7sc_core12sc_sensitivelsERKNS_8sc_eventE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #2

declare void @_ZN7sc_core9sc_module15dont_initializeEv(ptr noundef nonnull align 8 dereferenceable(232)) local_unnamed_addr #2

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

; Function Attrs: nounwind
declare void @_ZN7sc_core8sc_eventD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #7

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

; Function Attrs: nounwind
declare void @_ZN7sc_core9sc_moduleD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #7

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 = { 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 "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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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, !12, i64 1416}
!9 = !{!"_ZTS6Target", !10, i64 0, !34, i64 232, !12, i64 1416, !64, i64 1424, !32, i64 1584, !32, i64 1585, !12, i64 1592, !12, i64 1600, !81, i64 1608, !12, i64 2056, !88, i64 2064, !33, i64 2072}
!10 = !{!"_ZTSN7sc_core9sc_moduleE", !11, i64 0, !25, i64 112, !26, i64 120, !28, i64 144, !30, i64 168, !32, i64 192, !12, i64 200, !33, i64 208, !12, i64 216, !12, i64 224}
!11 = !{!"_ZTSN7sc_core9sc_objectE", !12, i64 8, !14, i64 16, !18, i64 40, !22, i64 64, !12, i64 96, !12, i64 104}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!18 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !13, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!24 = !{!"long", !13, i64 0}
!25 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!26 = !{!"_ZTSN7sc_core12sc_sensitiveE", !12, i64 0, !27, i64 8, !12, i64 16}
!27 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !13, i64 0}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !12, i64 0, !29, i64 8, !12, i64 16}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !13, i64 0}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !12, i64 0, !31, i64 8, !12, i64 16}
!31 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !13, i64 0}
!32 = !{!"bool", !13, i64 0}
!33 = !{!"int", !13, i64 0}
!34 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEEE", !35, i64 0, !47, i64 280, !74, i64 944, !76, i64 968, !64, i64 1016, !12, i64 1176}
!35 = !{!"_ZTSN3tlm17tlm_target_socketILj32ENS_23tlm_base_protocol_typesELi1ELN7sc_core14sc_port_policyE0EEE", !36, i64 0}
!36 = !{!"_ZTSN3tlm22tlm_base_target_socketILj32ENS_19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEENS_19tlm_bw_transport_ifIS2_EELi1ELN7sc_core14sc_port_policyE0EEE", !37, i64 0, !38, i64 8, !40, i64 128}
!37 = !{!"_ZTSN3tlm24tlm_base_target_socket_bILj32ENS_19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEENS_19tlm_bw_transport_ifIS2_EEEE"}
!38 = !{!"_ZTSN7sc_core9sc_exportIN3tlm19tlm_fw_transport_ifINS1_23tlm_base_protocol_typesEEEEE", !39, i64 0, !12, i64 112}
!39 = !{!"_ZTSN7sc_core14sc_export_baseE", !11, i64 0}
!40 = !{!"_ZTSN7sc_core7sc_portIN3tlm19tlm_bw_transport_ifINS1_23tlm_base_protocol_typesEEELi1ELNS_14sc_port_policyE0EEE", !41, i64 0}
!41 = !{!"_ZTSN7sc_core9sc_port_bIN3tlm19tlm_bw_transport_ifINS1_23tlm_base_protocol_typesEEEEE", !42, i64 0, !12, i64 120, !43, i64 128}
!42 = !{!"_ZTSN7sc_core12sc_port_baseE", !11, i64 0, !12, i64 112}
!43 = !{!"_ZTSSt6vectorIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN3tlm19tlm_bw_transport_ifINS0_23tlm_base_protocol_typesEEESaIS4_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!47 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_processE", !48, i64 0, !49, i64 8, !50, i64 16, !22, i64 40, !12, i64 72, !12, i64 80, !13, i64 88, !13, i64 104, !13, i64 120, !13, i64 136, !55, i64 152, !32, i64 472, !64, i64 480}
!48 = !{!"_ZTSN3tlm19tlm_fw_transport_ifINS_23tlm_base_protocol_typesEEE"}
!49 = !{!"_ZTSN3tlm16tlm_mm_interfaceE"}
!50 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process19process_handle_listE", !51, i64 0}
!51 = !{!"_ZTSSt6vectorIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIPN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10fw_process20process_handle_classESaIS8_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!55 = !{!"_ZTSN9tlm_utils12peq_with_getIN3tlm19tlm_generic_payloadEEE", !11, i64 0, !56, i64 112, !64, i64 160}
!56 = !{!"_ZTSSt8multimapIKN7sc_core7sc_timeEPN3tlm19tlm_generic_payloadESt4lessIS2_ESaISt4pairIS2_S5_EEE", !57, i64 0}
!57 = !{!"_ZTSSt8_Rb_treeIKN7sc_core7sc_timeESt4pairIS2_PN3tlm19tlm_generic_payloadEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE", !58, i64 0}
!58 = !{!"_ZTSNSt8_Rb_treeIKN7sc_core7sc_timeESt4pairIS2_PN3tlm19tlm_generic_payloadEESt10_Select1stIS7_ESt4lessIS2_ESaIS7_EE13_Rb_tree_implISB_Lb1EEE", !59, i64 0, !61, i64 8}
!59 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIKN7sc_core7sc_timeEEE", !60, i64 0}
!60 = !{!"_ZTSSt4lessIKN7sc_core7sc_timeEE"}
!61 = !{!"_ZTSSt15_Rb_tree_header", !62, i64 0, !24, i64 32}
!62 = !{!"_ZTSSt18_Rb_tree_node_base", !63, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!63 = !{!"_ZTSSt14_Rb_tree_color", !13, i64 0}
!64 = !{!"_ZTSN7sc_core8sc_eventE", !22, i64 0, !12, i64 32, !12, i64 40, !65, i64 48, !33, i64 52, !12, i64 56, !66, i64 64, !66, i64 88, !70, i64 112, !70, i64 136}
!65 = !{!"_ZTSN7sc_core8sc_event8notify_tE", !13, i64 0}
!66 = !{!"_ZTSSt6vectorIPN7sc_core17sc_method_processESaIS2_EE", !67, i64 0}
!67 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE12_Vector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!70 = !{!"_ZTSSt6vectorIPN7sc_core17sc_thread_processESaIS2_EE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!74 = !{!"_ZTSN9tlm_utils20simple_target_socketI6TargetLj32EN3tlm23tlm_base_protocol_typesEE10bw_processE", !75, i64 0, !12, i64 8}
!75 = !{!"_ZTSN3tlm19tlm_bw_transport_ifINS_23tlm_base_protocol_typesEEE"}
!76 = !{!"_ZTSSt3mapIPN3tlm19tlm_generic_payloadEPN7sc_core8sc_eventESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !77, i64 0}
!77 = !{!"_ZTSSt8_Rb_treeIPN3tlm19tlm_generic_payloadESt4pairIKS2_PN7sc_core8sc_eventEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !78, i64 0}
!78 = !{!"_ZTSNSt8_Rb_treeIPN3tlm19tlm_generic_payloadESt4pairIKS2_PN7sc_core8sc_eventEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !79, i64 0, !61, i64 8}
!79 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN3tlm19tlm_generic_payloadEEE", !80, i64 0}
!80 = !{!"_ZTSSt4lessIPN3tlm19tlm_generic_payloadEE"}
!81 = !{!"_ZTSN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEEE", !11, i64 0, !12, i64 112, !13, i64 120, !82, i64 136, !83, i64 168, !83, i64 208, !83, i64 248, !64, i64 288}
!82 = !{!"_ZTSN9tlm_utils17time_ordered_listISt4pairIPN3tlm19tlm_generic_payloadENS2_9tlm_phaseEEEE", !12, i64 0, !12, i64 8, !12, i64 16, !33, i64 24}
!83 = !{!"_ZTSN9tlm_utils21peq_with_cb_and_phaseI6TargetN3tlm23tlm_base_protocol_typesEE10delta_listE", !33, i64 0, !84, i64 8, !33, i64 32}
!84 = !{!"_ZTSSt6vectorISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE", !85, i64 0}
!85 = !{!"_ZTSSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE", !86, i64 0}
!86 = !{!"_ZTSNSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE12_Vector_implE", !87, i64 0}
!87 = !{!"_ZTSNSt12_Vector_baseISt4pairIPN3tlm19tlm_generic_payloadENS1_9tlm_phaseEESaIS5_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!88 = !{!"long long", !13, i64 0}
!89 = !{!9, !32, i64 1584}
!90 = !{!9, !32, i64 1585}
!91 = !{!9, !88, i64 2064}
!92 = !{!9, !33, i64 2072}
!93 = !{!9, !12, i64 2056}


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