; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/1666-2011-compliance/sc_delta_count (sc_delta_count)

; 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_time" = type { i64 }
%"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.Top = type <{ %"class.sc_core::sc_module", %"class.sc_core::sc_process_handle", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event", i32, [4 x i8], %"class.sc_core::sc_time", i8, [7 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.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] }
%"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_process_handle" = type { ptr }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.13" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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] }>

@_ZN7sc_core23SC_ID_ASSERTION_FAILED_E = external constant [0 x i8], align 1
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZN7sc_core12SC_ZERO_TIMEE = external global %"class.sc_core::sc_time", align 8
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 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 %struct.Top, align 8
  %6 = alloca %"class.sc_core::sc_module_name", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  %9 = call noundef i64 @_ZN7sc_core14sc_delta_countEv()
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %11, label %12

11:                                               ; preds = %2
  br label %13

12:                                               ; preds = %2
  call void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str, ptr noundef @.str.2, i32 noundef 184)
  br label %13

13:                                               ; preds = %12, %11
  %14 = phi i32 [ 0, %11 ], [ 0, %12 ]
  call void @llvm.lifetime.start.p0(i64 744, ptr %5) #6
  call void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef @.str.3)
  invoke void @_ZN3TopC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(737) %5, ptr noundef %6)
          to label %15 unwind label %292

15:                                               ; preds = %13
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  invoke void @_ZN7sc_core8sc_startEv()
          to label %16 unwind label %296

16:                                               ; preds = %15
  %17 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %18 unwind label %296

18:                                               ; preds = %16
  %19 = icmp eq i64 %17, 12
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  br label %23

21:                                               ; preds = %18
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 190)
          to label %22 unwind label %296

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22, %20
  %24 = phi i32 [ 0, %20 ], [ 0, %22 ]
  %25 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %26 unwind label %296

26:                                               ; preds = %23
  %27 = icmp eq i32 %25, 32
  br i1 %27, label %28, label %29

28:                                               ; preds = %26
  br label %31

29:                                               ; preds = %26
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 191)
          to label %30 unwind label %296

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30, %28
  %32 = phi i32 [ 0, %28 ], [ 0, %30 ]
  %33 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %33)
          to label %34 unwind label %296

34:                                               ; preds = %31
  invoke void @_ZN7sc_core8sc_startEv()
          to label %35 unwind label %296

35:                                               ; preds = %34
  %36 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %37 unwind label %296

37:                                               ; preds = %35
  %38 = icmp eq i64 %36, 13
  br i1 %38, label %39, label %40

39:                                               ; preds = %37
  br label %42

40:                                               ; preds = %37
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 195)
          to label %41 unwind label %296

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41, %39
  %43 = phi i32 [ 0, %39 ], [ 0, %41 ]
  %44 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %45 unwind label %296

45:                                               ; preds = %42
  %46 = icmp eq i32 %44, 32
  br i1 %46, label %47, label %48

47:                                               ; preds = %45
  br label %50

48:                                               ; preds = %45
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 196)
          to label %49 unwind label %296

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49, %47
  %51 = phi i32 [ 0, %47 ], [ 0, %49 ]
  %52 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %53 unwind label %296

53:                                               ; preds = %50
  %54 = invoke noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef %52)
          to label %55 unwind label %296

55:                                               ; preds = %53
  %56 = zext i1 %54 to i32
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  br label %61

59:                                               ; preds = %55
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 197)
          to label %60 unwind label %296

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60, %58
  %62 = phi i32 [ 0, %58 ], [ 0, %60 ]
  %63 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %64 unwind label %296

64:                                               ; preds = %61
  %65 = invoke noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef %63)
          to label %66 unwind label %296

66:                                               ; preds = %64
  %67 = zext i1 %65 to i32
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %66
  br label %72

70:                                               ; preds = %66
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 198)
          to label %71 unwind label %296

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71, %69
  %73 = phi i32 [ 0, %69 ], [ 0, %71 ]
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %74 unwind label %296

74:                                               ; preds = %72
  %75 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %76 unwind label %296

76:                                               ; preds = %74
  %77 = icmp eq i64 %75, 13
  br i1 %77, label %78, label %79

78:                                               ; preds = %76
  br label %81

79:                                               ; preds = %76
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 201)
          to label %80 unwind label %296

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80, %78
  %82 = phi i32 [ 0, %78 ], [ 0, %80 ]
  %83 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %84 unwind label %296

84:                                               ; preds = %81
  %85 = icmp eq i32 %83, 32
  br i1 %85, label %86, label %87

86:                                               ; preds = %84
  br label %89

87:                                               ; preds = %84
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 203)
          to label %88 unwind label %296

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88, %86
  %90 = phi i32 [ 0, %86 ], [ 0, %88 ]
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %91 unwind label %296

91:                                               ; preds = %89
  %92 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %93 unwind label %296

93:                                               ; preds = %91
  %94 = icmp eq i64 %92, 13
  br i1 %94, label %95, label %96

95:                                               ; preds = %93
  br label %98

96:                                               ; preds = %93
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 205)
          to label %97 unwind label %296

97:                                               ; preds = %96
  br label %98

98:                                               ; preds = %97, %95
  %99 = phi i32 [ 0, %95 ], [ 0, %97 ]
  %100 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %102 unwind label %296

102:                                              ; preds = %98
  %103 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull align 8 dereferenceable(8) %101)
          to label %104 unwind label %296

104:                                              ; preds = %102
  br i1 %103, label %105, label %106

105:                                              ; preds = %104
  br label %108

106:                                              ; preds = %104
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 206)
          to label %107 unwind label %296

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107, %105
  %109 = phi i32 [ 0, %105 ], [ 0, %107 ]
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %110 unwind label %296

110:                                              ; preds = %108
  %111 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %112 unwind label %296

112:                                              ; preds = %110
  %113 = icmp eq i64 %111, 13
  br i1 %113, label %114, label %115

114:                                              ; preds = %112
  br label %117

115:                                              ; preds = %112
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 209)
          to label %116 unwind label %296

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116, %114
  %118 = phi i32 [ 0, %114 ], [ 0, %116 ]
  %119 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 5
  %120 = load i32, ptr %119, align 8, !tbaa !11
  %121 = icmp eq i32 %120, 10
  br i1 %121, label %122, label %123

122:                                              ; preds = %117
  br label %125

123:                                              ; preds = %117
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 210)
          to label %124 unwind label %296

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124, %122
  %126 = phi i32 [ 0, %122 ], [ 0, %124 ]
  %127 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyERKNS_7sc_timeE(ptr noundef nonnull align 8 dereferenceable(160) %127, ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE)
          to label %128 unwind label %296

128:                                              ; preds = %125
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %129 unwind label %296

129:                                              ; preds = %128
  %130 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %131 unwind label %296

131:                                              ; preds = %129
  %132 = icmp eq i64 %130, 14
  br i1 %132, label %133, label %134

133:                                              ; preds = %131
  br label %136

134:                                              ; preds = %131
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 215)
          to label %135 unwind label %296

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %133
  %137 = phi i32 [ 0, %133 ], [ 0, %135 ]
  %138 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %140 unwind label %296

140:                                              ; preds = %136
  %141 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 8 dereferenceable(8) %139)
          to label %142 unwind label %296

142:                                              ; preds = %140
  br i1 %141, label %143, label %144

143:                                              ; preds = %142
  br label %146

144:                                              ; preds = %142
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 216)
          to label %145 unwind label %296

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145, %143
  %147 = phi i32 [ 0, %143 ], [ 0, %145 ]
  %148 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %148, double noundef 1.000000e+00, i32 noundef 2)
          to label %149 unwind label %296

149:                                              ; preds = %146
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %150 unwind label %296

150:                                              ; preds = %149
  %151 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %152 unwind label %296

152:                                              ; preds = %150
  %153 = icmp eq i64 %151, 15
  br i1 %153, label %154, label %155

154:                                              ; preds = %152
  br label %157

155:                                              ; preds = %152
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 220)
          to label %156 unwind label %296

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156, %154
  %158 = phi i32 [ 0, %154 ], [ 0, %156 ]
  %159 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %161 unwind label %296

161:                                              ; preds = %157
  %162 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull align 8 dereferenceable(8) %160)
          to label %163 unwind label %296

163:                                              ; preds = %161
  br i1 %162, label %164, label %165

164:                                              ; preds = %163
  br label %167

165:                                              ; preds = %163
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 221)
          to label %166 unwind label %296

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166, %164
  %168 = phi i32 [ 0, %164 ], [ 0, %166 ]
  %169 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %169, double noundef 2.000000e+00, i32 noundef 2)
          to label %170 unwind label %296

170:                                              ; preds = %167
  %171 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %172 unwind label %296

172:                                              ; preds = %170
  %173 = invoke noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef %171)
          to label %174 unwind label %296

174:                                              ; preds = %172
  %175 = zext i1 %173 to i32
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %174
  br label %180

178:                                              ; preds = %174
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 224)
          to label %179 unwind label %296

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179, %177
  %181 = phi i32 [ 0, %177 ], [ 0, %179 ]
  %182 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %183 unwind label %296

183:                                              ; preds = %180
  %184 = invoke noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef %182)
          to label %185 unwind label %296

185:                                              ; preds = %183
  %186 = zext i1 %184 to i32
  %187 = icmp eq i32 %186, 1
  br i1 %187, label %188, label %189

188:                                              ; preds = %185
  br label %191

189:                                              ; preds = %185
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 225)
          to label %190 unwind label %296

190:                                              ; preds = %189
  br label %191

191:                                              ; preds = %190, %188
  %192 = phi i32 [ 0, %188 ], [ 0, %190 ]
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %193 unwind label %296

193:                                              ; preds = %191
  %194 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %195 unwind label %296

195:                                              ; preds = %193
  %196 = icmp eq i64 %194, 15
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  br label %200

198:                                              ; preds = %195
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 227)
          to label %199 unwind label %296

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199, %197
  %201 = phi i32 [ 0, %197 ], [ 0, %199 ]
  invoke void @_ZN7sc_core8sc_startEv()
          to label %202 unwind label %296

202:                                              ; preds = %200
  %203 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %204 unwind label %296

204:                                              ; preds = %202
  %205 = icmp eq i64 %203, 16
  br i1 %205, label %206, label %207

206:                                              ; preds = %204
  br label %209

207:                                              ; preds = %204
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 230)
          to label %208 unwind label %296

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208, %206
  %210 = phi i32 [ 0, %206 ], [ 0, %208 ]
  %211 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %213 unwind label %296

213:                                              ; preds = %209
  %214 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull align 8 dereferenceable(8) %212)
          to label %215 unwind label %296

215:                                              ; preds = %213
  br i1 %214, label %216, label %217

216:                                              ; preds = %215
  br label %219

217:                                              ; preds = %215
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 231)
          to label %218 unwind label %296

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218, %216
  %220 = phi i32 [ 0, %216 ], [ 0, %218 ]
  %221 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %221)
          to label %222 unwind label %296

222:                                              ; preds = %219
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %223 unwind label %296

223:                                              ; preds = %222
  %224 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %225 unwind label %296

225:                                              ; preds = %223
  %226 = icmp eq i64 %224, 17
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  br label %230

228:                                              ; preds = %225
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 235)
          to label %229 unwind label %296

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229, %227
  %231 = phi i32 [ 0, %227 ], [ 0, %229 ]
  %232 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %234 unwind label %296

234:                                              ; preds = %230
  %235 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull align 8 dereferenceable(8) %233)
          to label %236 unwind label %296

236:                                              ; preds = %234
  br i1 %235, label %237, label %238

237:                                              ; preds = %236
  br label %240

238:                                              ; preds = %236
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 236)
          to label %239 unwind label %296

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239, %237
  %241 = phi i32 [ 0, %237 ], [ 0, %239 ]
  %242 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %243 unwind label %296

243:                                              ; preds = %240
  %244 = icmp eq i32 %242, 32
  br i1 %244, label %245, label %246

245:                                              ; preds = %243
  br label %248

246:                                              ; preds = %243
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 238)
          to label %247 unwind label %296

247:                                              ; preds = %246
  br label %248

248:                                              ; preds = %247, %245
  %249 = phi i32 [ 0, %245 ], [ 0, %247 ]
  %250 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 2
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %250, double noundef 1.000000e+00, i32 noundef 2)
          to label %251 unwind label %296

251:                                              ; preds = %248
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %252 unwind label %296

252:                                              ; preds = %251
  %253 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %254 unwind label %296

254:                                              ; preds = %252
  %255 = icmp eq i32 %253, 64
  br i1 %255, label %256, label %257

256:                                              ; preds = %254
  br label %259

257:                                              ; preds = %254
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 243)
          to label %258 unwind label %296

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258, %256
  %260 = phi i32 [ 0, %256 ], [ 0, %258 ]
  %261 = invoke noundef zeroext i1 @_ZN7sc_core28sc_end_of_simulation_invokedEv()
          to label %262 unwind label %296

262:                                              ; preds = %259
  br i1 %261, label %263, label %264

263:                                              ; preds = %262
  br label %266

264:                                              ; preds = %262
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 244)
          to label %265 unwind label %296

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265, %263
  %267 = phi i32 [ 0, %263 ], [ 0, %265 ]
  %268 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 7
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %270 unwind label %296

270:                                              ; preds = %266
  %271 = invoke noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 8 dereferenceable(8) %269)
          to label %272 unwind label %296

272:                                              ; preds = %270
  br i1 %271, label %273, label %274

273:                                              ; preds = %272
  br label %276

274:                                              ; preds = %272
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 245)
          to label %275 unwind label %296

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275, %273
  %277 = phi i32 [ 0, %273 ], [ 0, %275 ]
  %278 = getelementptr inbounds %struct.Top, ptr %5, i32 0, i32 8
  %279 = load i8, ptr %278, align 8, !tbaa !47, !range !48, !noundef !49
  %280 = trunc i8 %279 to i1
  br i1 %280, label %281, label %282

281:                                              ; preds = %276
  br label %284

282:                                              ; preds = %276
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 246)
          to label %283 unwind label %296

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283, %281
  %285 = phi i32 [ 0, %281 ], [ 0, %283 ]
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %287 unwind label %296

287:                                              ; preds = %284
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %286, ptr noundef @.str.19)
          to label %289 unwind label %296

289:                                              ; preds = %287
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %288, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %291 unwind label %296

291:                                              ; preds = %289
  call void @_ZN3TopD2Ev(ptr noundef nonnull align 8 dereferenceable(737) %5) #6
  call void @llvm.lifetime.end.p0(i64 744, ptr %5) #6
  ret i32 0

292:                                              ; preds = %13
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %7, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %8, align 4
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  br label %300

296:                                              ; preds = %289, %287, %284, %282, %274, %270, %266, %264, %259, %257, %252, %251, %248, %246, %240, %238, %234, %230, %228, %223, %222, %219, %217, %213, %209, %207, %202, %200, %198, %193, %191, %189, %183, %180, %178, %172, %170, %167, %165, %161, %157, %155, %150, %149, %146, %144, %140, %136, %134, %129, %128, %125, %123, %115, %110, %108, %106, %102, %98, %96, %91, %89, %87, %81, %79, %74, %72, %70, %64, %61, %59, %53, %50, %48, %42, %40, %35, %34, %31, %29, %23, %21, %16, %15
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %7, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %8, align 4
  call void @_ZN3TopD2Ev(ptr noundef nonnull align 8 dereferenceable(737) %5) #6
  br label %300

300:                                              ; preds = %296, %292
  call void @llvm.lifetime.end.p0(i64 744, ptr %5) #6
  br label %301

301:                                              ; preds = %300
  %302 = load ptr, ptr %7, align 8
  %303 = load i32, ptr %8, align 4
  %304 = insertvalue { ptr, i32 } poison, ptr %302, 0
  %305 = insertvalue { ptr, i32 } %304, i32 %303, 1
  resume { ptr, i32 } %305
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN7sc_core14sc_delta_countEv() #1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN7sc_core8sc_startEv() #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7sc_core13sc_get_statusEv() #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef) #1

declare void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv() #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) #1

declare void @_ZN7sc_core8sc_event6notifyERKNS_7sc_timeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160), double noundef, i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core28sc_end_of_simulation_invokedEv() #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) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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, !6, i64 720}
!12 = !{!"_ZTS3Top", !13, i64 0, !34, i64 232, !35, i64 240, !35, i64 400, !35, i64 560, !6, i64 720, !45, i64 728, !33, i64 736}
!13 = !{!"_ZTSN7sc_core9sc_moduleE", !14, i64 0, !26, i64 112, !27, i64 120, !29, i64 144, !31, i64 168, !33, i64 192, !10, i64 200, !6, i64 208, !10, i64 216, !10, i64 224}
!14 = !{!"_ZTSN7sc_core9sc_objectE", !10, i64 8, !15, i64 16, !19, i64 40, !23, i64 64, !10, i64 96, !10, i64 104}
!15 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!19 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!27 = !{!"_ZTSN7sc_core12sc_sensitiveE", !10, i64 0, !28, i64 8, !10, i64 16}
!28 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !10, i64 0, !30, i64 8, !10, i64 16}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!31 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !10, i64 0, !32, i64 8, !10, i64 16}
!32 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{!"_ZTSN7sc_core17sc_process_handleE", !10, i64 0}
!35 = !{!"_ZTSN7sc_core8sc_eventE", !23, i64 0, !10, i64 32, !10, i64 40, !36, i64 48, !6, i64 52, !10, i64 56, !37, i64 64, !37, i64 88, !41, i64 112, !41, i64 136}
!36 = !{!"_ZTSN7sc_core8sc_event8notify_tE", !7, i64 0}
!37 = !{!"_ZTSSt6vectorIPN7sc_core17sc_method_processESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!41 = !{!"_ZTSSt6vectorIPN7sc_core17sc_thread_processESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!45 = !{!"_ZTSN7sc_core7sc_timeE", !46, i64 0}
!46 = !{!"long long", !7, i64 0}
!47 = !{!12, !33, i64 736}
!48 = !{i8 0, i8 2}
!49 = !{}


; 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_time" = type { i64 }
%"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.Top = type <{ %"class.sc_core::sc_module", %"class.sc_core::sc_process_handle", %"class.sc_core::sc_event", %"class.sc_core::sc_event", %"class.sc_core::sc_event", i32, [4 x i8], %"class.sc_core::sc_time", i8, [7 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.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] }
%"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_process_handle" = type { ptr }
%"class.sc_core::sc_event" = type { %"class.std::__cxx11::basic_string", ptr, ptr, i32, i32, ptr, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.13" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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] }>

@_ZN7sc_core23SC_ID_ASSERTION_FAILED_E = external constant [0 x i8], align 1
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZN7sc_core12SC_ZERO_TIMEE = external global %"class.sc_core::sc_time", align 8
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 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 %struct.Top, align 8
  %4 = alloca %"class.sc_core::sc_module_name", align 8
  %5 = tail call noundef i64 @_ZN7sc_core14sc_delta_countEv()
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %8, label %7

7:                                                ; preds = %2
  tail call void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 184)
  br label %8

8:                                                ; preds = %2, %7
  call void @llvm.lifetime.start.p0(i64 744, ptr nonnull %3) #6
  call void @_ZN7sc_core14sc_module_nameC1EPKc(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull @.str.3)
  invoke void @_ZN3TopC2EN7sc_core14sc_module_nameE(ptr noundef nonnull align 8 dereferenceable(737) %3, ptr noundef nonnull %4)
          to label %9 unwind label %178

9:                                                ; preds = %8
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #6
  invoke void @_ZN7sc_core8sc_startEv()
          to label %10 unwind label %180

10:                                               ; preds = %9
  %11 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %12 unwind label %180

12:                                               ; preds = %10
  %13 = icmp eq i64 %11, 12
  br i1 %13, label %15, label %14

14:                                               ; preds = %12
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 190)
          to label %15 unwind label %180

15:                                               ; preds = %14, %12
  %16 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %17 unwind label %180

17:                                               ; preds = %15
  %18 = icmp eq i32 %16, 32
  br i1 %18, label %20, label %19

19:                                               ; preds = %17
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 191)
          to label %20 unwind label %180

20:                                               ; preds = %19, %17
  %21 = getelementptr inbounds i8, ptr %3, i64 240
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %21)
          to label %22 unwind label %180

22:                                               ; preds = %20
  invoke void @_ZN7sc_core8sc_startEv()
          to label %23 unwind label %180

23:                                               ; preds = %22
  %24 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %25 unwind label %180

25:                                               ; preds = %23
  %26 = icmp eq i64 %24, 13
  br i1 %26, label %28, label %27

27:                                               ; preds = %25
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 195)
          to label %28 unwind label %180

28:                                               ; preds = %27, %25
  %29 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %30 unwind label %180

30:                                               ; preds = %28
  %31 = icmp eq i32 %29, 32
  br i1 %31, label %33, label %32

32:                                               ; preds = %30
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 196)
          to label %33 unwind label %180

33:                                               ; preds = %32, %30
  %34 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %35 unwind label %180

35:                                               ; preds = %33
  %36 = invoke noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef %34)
          to label %37 unwind label %180

37:                                               ; preds = %35
  br i1 %36, label %38, label %39

38:                                               ; preds = %37
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 197)
          to label %39 unwind label %180

39:                                               ; preds = %38, %37
  %40 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %41 unwind label %180

41:                                               ; preds = %39
  %42 = invoke noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef %40)
          to label %43 unwind label %180

43:                                               ; preds = %41
  br i1 %42, label %44, label %45

44:                                               ; preds = %43
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 198)
          to label %45 unwind label %180

45:                                               ; preds = %44, %43
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %46 unwind label %180

46:                                               ; preds = %45
  %47 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %48 unwind label %180

48:                                               ; preds = %46
  %49 = icmp eq i64 %47, 13
  br i1 %49, label %51, label %50

50:                                               ; preds = %48
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 201)
          to label %51 unwind label %180

51:                                               ; preds = %50, %48
  %52 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %53 unwind label %180

53:                                               ; preds = %51
  %54 = icmp eq i32 %52, 32
  br i1 %54, label %56, label %55

55:                                               ; preds = %53
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 203)
          to label %56 unwind label %180

56:                                               ; preds = %55, %53
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %57 unwind label %180

57:                                               ; preds = %56
  %58 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %59 unwind label %180

59:                                               ; preds = %57
  %60 = icmp eq i64 %58, 13
  br i1 %60, label %62, label %61

61:                                               ; preds = %59
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 205)
          to label %62 unwind label %180

62:                                               ; preds = %61, %59
  %63 = getelementptr inbounds i8, ptr %3, i64 728
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %65 unwind label %180

65:                                               ; preds = %62
  %66 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %64)
  br i1 %66, label %68, label %67

67:                                               ; preds = %65
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 206)
          to label %68 unwind label %180

68:                                               ; preds = %67, %65
  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 %180

69:                                               ; preds = %68
  %70 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %71 unwind label %180

71:                                               ; preds = %69
  %72 = icmp eq i64 %70, 13
  br i1 %72, label %74, label %73

73:                                               ; preds = %71
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 209)
          to label %74 unwind label %180

74:                                               ; preds = %73, %71
  %75 = getelementptr inbounds i8, ptr %3, i64 720
  %76 = load i32, ptr %75, align 8, !tbaa !5
  %77 = icmp eq i32 %76, 10
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 210)
          to label %79 unwind label %180

79:                                               ; preds = %78, %74
  invoke void @_ZN7sc_core8sc_event6notifyERKNS_7sc_timeE(ptr noundef nonnull align 8 dereferenceable(160) %21, ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE)
          to label %80 unwind label %180

80:                                               ; preds = %79
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %81 unwind label %180

81:                                               ; preds = %80
  %82 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %83 unwind label %180

83:                                               ; preds = %81
  %84 = icmp eq i64 %82, 14
  br i1 %84, label %86, label %85

85:                                               ; preds = %83
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 215)
          to label %86 unwind label %180

86:                                               ; preds = %85, %83
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %88 unwind label %180

88:                                               ; preds = %86
  %89 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %87)
  br i1 %89, label %91, label %90

90:                                               ; preds = %88
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 216)
          to label %91 unwind label %180

91:                                               ; preds = %90, %88
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %21, double noundef 1.000000e+00, i32 noundef 2)
          to label %92 unwind label %180

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

93:                                               ; preds = %92
  %94 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %95 unwind label %180

95:                                               ; preds = %93
  %96 = icmp eq i64 %94, 15
  br i1 %96, label %98, label %97

97:                                               ; preds = %95
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 220)
          to label %98 unwind label %180

98:                                               ; preds = %97, %95
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %100 unwind label %180

100:                                              ; preds = %98
  %101 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %99)
  br i1 %101, label %103, label %102

102:                                              ; preds = %100
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 221)
          to label %103 unwind label %180

103:                                              ; preds = %102, %100
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %21, double noundef 2.000000e+00, i32 noundef 2)
          to label %104 unwind label %180

104:                                              ; preds = %103
  %105 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %106 unwind label %180

106:                                              ; preds = %104
  %107 = invoke noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef %105)
          to label %108 unwind label %180

108:                                              ; preds = %106
  br i1 %107, label %109, label %110

109:                                              ; preds = %108
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 224)
          to label %110 unwind label %180

110:                                              ; preds = %109, %108
  %111 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %112 unwind label %180

112:                                              ; preds = %110
  %113 = invoke noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef %111)
          to label %114 unwind label %180

114:                                              ; preds = %112
  br i1 %113, label %116, label %115

115:                                              ; preds = %114
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2, i32 noundef 225)
          to label %116 unwind label %180

116:                                              ; preds = %115, %114
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 1, i32 noundef 2, i32 noundef 1)
          to label %117 unwind label %180

117:                                              ; preds = %116
  %118 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %119 unwind label %180

119:                                              ; preds = %117
  %120 = icmp eq i64 %118, 15
  br i1 %120, label %122, label %121

121:                                              ; preds = %119
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 227)
          to label %122 unwind label %180

122:                                              ; preds = %121, %119
  invoke void @_ZN7sc_core8sc_startEv()
          to label %123 unwind label %180

123:                                              ; preds = %122
  %124 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %125 unwind label %180

125:                                              ; preds = %123
  %126 = icmp eq i64 %124, 16
  br i1 %126, label %128, label %127

127:                                              ; preds = %125
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 230)
          to label %128 unwind label %180

128:                                              ; preds = %127, %125
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %130 unwind label %180

130:                                              ; preds = %128
  %131 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %129)
  br i1 %131, label %133, label %132

132:                                              ; preds = %130
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 231)
          to label %133 unwind label %180

133:                                              ; preds = %132, %130
  invoke void @_ZN7sc_core8sc_event6notifyEv(ptr noundef nonnull align 8 dereferenceable(160) %21)
          to label %134 unwind label %180

134:                                              ; preds = %133
  invoke void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8) @_ZN7sc_core12SC_ZERO_TIMEE, i32 noundef 1)
          to label %135 unwind label %180

135:                                              ; preds = %134
  %136 = invoke noundef i64 @_ZN7sc_core14sc_delta_countEv()
          to label %137 unwind label %180

137:                                              ; preds = %135
  %138 = icmp eq i64 %136, 17
  br i1 %138, label %140, label %139

139:                                              ; preds = %137
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 235)
          to label %140 unwind label %180

140:                                              ; preds = %139, %137
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %142 unwind label %180

142:                                              ; preds = %140
  %143 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %141)
  br i1 %143, label %145, label %144

144:                                              ; preds = %142
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 236)
          to label %145 unwind label %180

145:                                              ; preds = %144, %142
  %146 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %147 unwind label %180

147:                                              ; preds = %145
  %148 = icmp eq i32 %146, 32
  br i1 %148, label %150, label %149

149:                                              ; preds = %147
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 238)
          to label %150 unwind label %180

150:                                              ; preds = %149, %147
  invoke void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160) %21, double noundef 1.000000e+00, i32 noundef 2)
          to label %151 unwind label %180

151:                                              ; preds = %150
  invoke void @_ZN7sc_core8sc_startEiNS_12sc_time_unitENS_20sc_starvation_policyE(i32 noundef 2, i32 noundef 2, i32 noundef 1)
          to label %152 unwind label %180

152:                                              ; preds = %151
  %153 = invoke noundef i32 @_ZN7sc_core13sc_get_statusEv()
          to label %154 unwind label %180

154:                                              ; preds = %152
  %155 = icmp eq i32 %153, 64
  br i1 %155, label %157, label %156

156:                                              ; preds = %154
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2, i32 noundef 243)
          to label %157 unwind label %180

157:                                              ; preds = %156, %154
  %158 = invoke noundef zeroext i1 @_ZN7sc_core28sc_end_of_simulation_invokedEv()
          to label %159 unwind label %180

159:                                              ; preds = %157
  br i1 %158, label %161, label %160

160:                                              ; preds = %159
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 244)
          to label %161 unwind label %180

161:                                              ; preds = %160, %159
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv()
          to label %163 unwind label %180

163:                                              ; preds = %161
  %164 = call noundef zeroext i1 @_ZNK7sc_core7sc_timeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %162)
  br i1 %164, label %166, label %165

165:                                              ; preds = %163
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 245)
          to label %166 unwind label %180

166:                                              ; preds = %165, %163
  %167 = getelementptr inbounds i8, ptr %3, i64 736
  %168 = load i8, ptr %167, align 8, !tbaa !45, !range !46, !noundef !47
  %169 = trunc nuw i8 %168 to i1
  br i1 %169, label %171, label %170

170:                                              ; preds = %166
  invoke void @_ZN7sc_core17sc_report_handler6reportENS_11sc_severityEPKcS3_S3_i(i32 noundef 3, ptr noundef nonnull @_ZN7sc_core23SC_ID_ASSERTION_FAILED_E, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 246)
          to label %171 unwind label %180

171:                                              ; preds = %170, %166
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %173 unwind label %180

173:                                              ; preds = %171
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef nonnull @.str.19)
          to label %175 unwind label %180

175:                                              ; preds = %173
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %177 unwind label %180

177:                                              ; preds = %175
  call void @_ZN3TopD2Ev(ptr noundef nonnull align 8 dereferenceable(737) %3) #6
  call void @llvm.lifetime.end.p0(i64 744, ptr nonnull %3) #6
  ret i32 0

178:                                              ; preds = %8
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7sc_core14sc_module_nameD1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #6
  br label %182

180:                                              ; preds = %175, %173, %171, %170, %165, %161, %160, %157, %156, %152, %151, %150, %149, %145, %144, %140, %139, %135, %134, %133, %132, %128, %127, %123, %122, %121, %117, %116, %115, %112, %110, %109, %106, %104, %103, %102, %98, %97, %93, %92, %91, %90, %86, %85, %81, %80, %79, %78, %73, %69, %68, %67, %62, %61, %57, %56, %55, %51, %50, %46, %45, %44, %41, %39, %38, %35, %33, %32, %28, %27, %23, %22, %20, %19, %15, %14, %10, %9
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3TopD2Ev(ptr noundef nonnull align 8 dereferenceable(737) %3) #6
  br label %182

182:                                              ; preds = %180, %178
  %.pn = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 744, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN7sc_core14sc_delta_countEv() local_unnamed_addr #1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN7sc_core8sc_startEv() local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7sc_core13sc_get_statusEv() local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core35sc_pending_activity_at_current_timeEPKNS_13sc_simcontextE(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core34sc_pending_activity_at_future_timeEPKNS_13sc_simcontextE(ptr noundef) local_unnamed_addr #1

declare void @_ZN7sc_core8sc_startERKNS_7sc_timeENS_20sc_starvation_policyE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN7sc_core13sc_time_stampEv() local_unnamed_addr #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 #1

declare void @_ZN7sc_core8sc_event6notifyERKNS_7sc_timeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7sc_core8sc_event6notifyEdNS_12sc_time_unitE(ptr noundef nonnull align 8 dereferenceable(160), double noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core28sc_end_of_simulation_invokedEv() local_unnamed_addr #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 #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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, !31, i64 720}
!6 = !{!"_ZTS3Top", !7, i64 0, !32, i64 232, !33, i64 240, !33, i64 400, !33, i64 560, !31, i64 720, !43, i64 728, !30, i64 736}
!7 = !{!"_ZTSN7sc_core9sc_moduleE", !8, i64 0, !23, i64 112, !24, i64 120, !26, i64 144, !28, i64 168, !30, i64 192, !9, i64 200, !31, i64 208, !9, i64 216, !9, i64 224}
!8 = !{!"_ZTSN7sc_core9sc_objectE", !9, i64 8, !12, i64 16, !16, i64 40, !20, i64 64, !9, i64 96, !9, i64 104}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!16 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !10, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!22 = !{!"long", !10, i64 0}
!23 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!24 = !{!"_ZTSN7sc_core12sc_sensitiveE", !9, i64 0, !25, i64 8, !9, i64 16}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !10, i64 0}
!26 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !9, i64 0, !27, i64 8, !9, i64 16}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !10, i64 0}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !9, i64 0, !29, i64 8, !9, i64 16}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !10, i64 0}
!30 = !{!"bool", !10, i64 0}
!31 = !{!"int", !10, i64 0}
!32 = !{!"_ZTSN7sc_core17sc_process_handleE", !9, i64 0}
!33 = !{!"_ZTSN7sc_core8sc_eventE", !20, i64 0, !9, i64 32, !9, i64 40, !34, i64 48, !31, i64 52, !9, i64 56, !35, i64 64, !35, i64 88, !39, i64 112, !39, i64 136}
!34 = !{!"_ZTSN7sc_core8sc_event8notify_tE", !10, i64 0}
!35 = !{!"_ZTSSt6vectorIPN7sc_core17sc_method_processESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_method_processESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!39 = !{!"_ZTSSt6vectorIPN7sc_core17sc_thread_processESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core17sc_thread_processESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!43 = !{!"_ZTSN7sc_core7sc_timeE", !44, i64 0}
!44 = !{!"long long", !10, i64 0}
!45 = !{!6, !30, i64 736}
!46 = !{i8 0, i8 2}
!47 = !{}


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